# What changed in @netlify/functions

> 11 changes in @netlify/functions 2 to 6 from its official release notes, upgrade guides and advisories: 5 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/@netlify/functions/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @netlify/functions 6

### Breaking changes

- Node.js 22.12 or newer is required. (6.0.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v6.0.0)

## @netlify/functions 5

### Breaking changes

- The `/dev` export was removed; applications relying on its local development functionality must use `@netlify/functions-dev` instead. (5.0.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.0.0)
- Local development functionality is available in this new package; install it and update imports from `@netlify/functions/dev`. (5.0.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.0.0)

### New APIs and options

- Adds function config properties that developers can use to configure functions. (5.3.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.3.0)
- Event handler types are now exported for developers to use. (5.2.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.2.0)
- Function timeout defaults and overrides are now implemented in dev. (5.1.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.1.0)

### Performance

- 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.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.0.0)

### Fixes and other changes

- The package avoids emitting the global awslambda namespace. (5.1.2) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.1.2)
- Types now allow declaration merging for global.Netlify. (5.0.1) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v5.0.1)

## @netlify/functions 4

### Breaking changes

- The Node.js engine requirement reverts to >=18.0.0, potentially affecting which Node.js versions can use the package. (4.0.0) — [release notes](https://github.com/netlify/primitives/releases/tag/functions-v4.0.0)

## @netlify/functions 2

### Breaking changes

- Exports the v2 API, a breaking change for developers using the package. (2.0.0) — [release notes](https://github.com/netlify/primitives/blob/HEAD/packages/functions/prod/CHANGELOG.md)
