# What changed in @netlify/types

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

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

## @netlify/types 3

### Breaking changes

- Node.js 22.12 or newer is now required to use this package. (3.0.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v3.0.0)

### New APIs and options

- Adds excludedPath to the server config. (3.3.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v3.3.0)
- Adds size to the server config. (3.3.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v3.3.0)
- Basic SSO types were added for access-related integrations. (3.2.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v3.2.0)
- The @netlify/server package was added. (3.1.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v3.1.0)

## @netlify/types 2

### New APIs and options

- Adds function config properties. (2.8.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.8.0)
- Function regions are now exported from the package. (2.7.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.7.0)
- Adds event handler types. (2.6.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.6.0)
- Adds types for platform events. (2.4.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.4.0)
- Adds the skew protection token field to deploy context types. (2.3.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.3.0)
- Function timeout defaults and overrides are implemented in dev. (2.2.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.2.0)

### Fixes and other changes

- Event types were updated; the notes do not specify which types changed. (2.5.0) — [release notes](https://github.com/netlify/primitives/releases/tag/types-v2.5.0)
