@vercel/next
31.0.2 · 20 Nov 2026Apache-2.05.8M / weekRepositoryHomepagenpmAtom feed
408 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x
6.0.0
22 Aug 2026Replace
prerenderClassificationonPrerenderwithinitialMetadata.The platform consumes only the request-time compute mode and the HTML shell size, so the flattened four-field taxonomy (
routeType,response,compute,htmlSize) is reduced to a single grouped field:initialMetadata?: { compute: 'blocking' | 'resuming' | 'static'; htmlSize?: number; }The group is named
initialMetadatabecause the values describe the deployment as it was built: revalidation can regenerate a route's output over the deployment's lifetime, so readers must treat them as initial values, not live state.@vercel/nextreadscomputeandhtmlSizeoff the v4 prerender-manifest taxonomy and deliberately ignoresrouteTypeandresponse; the values are still carried unvalidated so a compute mode added by a future framework release cannot hard-fail a deploy, and they are still set only on the primary output of each prerender group.htmlSize: 0is a real size (a shell that postponed everything);htmlSizeis absent when there is no HTML shell to measure (route handlers, Pages Router). Absence of the whole group remains legitimate (notFoundRoutes, Pages Routerfallback: false, older frameworks).
Minor Changes
Replace
prerenderClassificationonPrerenderwithinitialMetadata.The platform consumes only the request-time compute mode and the HTML shell size, so the flattened four-field taxonomy (
routeType,response,compute,htmlSize) is reduced to a single grouped field:initialMetadata?: { compute: 'blocking' | 'resuming' | 'static'; htmlSize?: number; }The group is named
initialMetadatabecause the values describe the deployment as it was built: revalidation can regenerate a route's output over the deployment's lifetime, so readers must treat them as initial values, not live state.@vercel/nextreadscomputeandhtmlSizeoff the v4 prerender-manifest taxonomy and deliberately ignoresrouteTypeandresponse; the values are still carried unvalidated so a compute mode added by a future framework release cannot hard-fail a deploy, and they are still set only on the primary output of each prerender group.htmlSize: 0is a real size (a shell that postponed everything);htmlSizeis absent when there is no HTML shell to measure (route handlers, Pages Router). Absence of the whole group remains legitimate (notFoundRoutes, Pages Routerfallback: false, older frameworks).
- 5.x
5.0.0
21 Aug 2026Honor
package.jsonpnpm pins without Corepack, and default new projects to pnpm 11.When Corepack is off,
devEngines.packageManageris preferred, then a lockfile-compatiblepackageManagerfield, thenengines.pnpmas a selector. Unpinned lockfile9.0projects created on or after 2026-08-19 use pnpm 11 (Node 22+) if/pnpm11is present in the build image; otherwise they keep pnpm 10.Declare
@vercel/build-utilsas a peer dependency provided by Vercel CLI so builders load correctly with strict dependency isolation, including pnpm global installs.
Patch Changes
Honor
package.jsonpnpm pins without Corepack, and default new projects to pnpm 11.When Corepack is off,
devEngines.packageManageris preferred, then a lockfile-compatiblepackageManagerfield, thenengines.pnpmas a selector. Unpinned lockfile9.0projects created on or after 2026-08-19 use pnpm 11 (Node 22+) if/pnpm11is present in the build image; otherwise they keep pnpm 10.Declare
@vercel/build-utilsas a peer dependency provided by Vercel CLI so builders load correctly with strict dependency isolation, including pnpm global installs.
- 4.x
4.21.7
20 Aug 2026Clean up the
NEXT_EXPERIMENTAL_LARGE_FUNCTIONSflag: routes that individually exceed the default packing budget are now always emitted as their own function, no opt-in required.
4.21.6
15 Aug 2026Declare the postponed state length of a partially prerendered output in bytes, so the CDN splits the output at the right offset when the state contains a multi-byte character.
Update
@next-community/adapter-vercelto0.0.1-beta.27, which includes the postponed state byte-length fix for partially prerendered output.
4.21.4
13 Aug 2026Reading the note…
4.21.3
10 Aug 2026Reading the note…
4.21.2
8 Aug 2026Reading the note…
4.21.1
3 Aug 2026Reading the note…
4.20.5
30 Jul 2026Reading the note…
4.20.4
9 Jul 2026Reading the note…
4.20.3
6 Jul 2026Reading the note…
4.20.2
29 Jun 2026Reading the note…
4.20.1
25 Jun 2026Reading the note…
4.20.0
24 Jun 2026Reading the note…
4.19.1
20 Jun 2026Reading the note…
4.19.0
11 Jun 2026Reading the note…
4.18.0
9 Jun 2026Reading the note…
4.17.6
8 Jun 2026Reading the note…
4.17.5
28 May 2026Reading the note…
4.17.4
22 May 2026Reading the note…
4.17.3
21 May 2026Reading the note…
4.17.2
19 May 2026Reading the note…
4.17.1
4 May 2026Reading the note…
4.17.0
30 Apr 2026Reading the note…
4.16.8
15 Apr 2026Reading the note…
4.16.7
14 Apr 2026Reading the note…
4.16.6
11 Apr 2026Reading the note…
4.16.5
2 Apr 2026Reading the note…
4.16.4
1 Apr 2026Reading the note…
4.16.3
24 Mar 2026Reading the note…
4.16.2
19 Mar 2026Reading the note…
4.16.1
11 Mar 2026Reading the note…
4.16.0
10 Mar 2026Reading the note…
4.15.42
9 Mar 2026Reading the note…
4.15.41
4 Mar 2026Reading the note…
4.15.40
4 Mar 2026Reading the note…
4.15.39
4 Mar 2026Reading the note…
4.15.38
3 Mar 2026Reading the note…
4.15.37
2 Mar 2026Reading the note…
4.15.36
27 Feb 2026Reading the note…
4.15.35
26 Feb 2026Reading the note…
4.15.34
24 Feb 2026Reading the note…
4.15.33
24 Feb 2026Reading the note…
4.15.32
24 Feb 2026Reading the note…
4.15.31
19 Feb 2026Reading the note…
4.15.30
19 Feb 2026Reading the note…
4.15.29
17 Feb 2026Reading the note…
4.15.28
10 Feb 2026Reading the note…
4.15.27
7 Feb 2026Reading the note…
4.15.26
6 Feb 2026Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.