unstale

npm / @netlify/functions

@netlify/functions

What changed in @netlify/functions 2 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.

5 breaking3 new APIs and options1 performance2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.3 on npm

@netlify/functions 61 changes

Breaking changes 1

@netlify/functions 58 changes

Breaking changes 2

  • The /dev export was removed; applications relying on its local development functionality must use @netlify/functions-dev instead.

    5.0.0release notes

  • Local development functionality is available in this new package; install it and update imports from @netlify/functions/dev.

    5.0.0release notes

New APIs and options 3

  • Adds function config properties that developers can use to configure functions.

    5.3.0release notes

  • Event handler types are now exported for developers to use.

    5.2.0release notes

  • Function timeout defaults and overrides are now implemented in dev.

    5.1.0release notes

Performance 1

  • The package's install size decreased from 82 MB to 84 KB, with direct dependencies reduced from 13 to 1 and total transitive dependencies from 311 to 1.

    5.0.0release notes

Fixes and other changes 2

  • The package avoids emitting the global awslambda namespace.

    5.1.2release notes

  • Types now allow declaration merging for global.Netlify.

    5.0.1release notes

@netlify/functions 41 changes

Breaking changes 1

  • The Node.js engine requirement reverts to >=18.0.0, potentially affecting which Node.js versions can use the package.

    4.0.0release notes

@netlify/functions 21 changes

Breaking changes 1

  • Exports the v2 API, a breaking change for developers using the package.

    2.0.0release notes