Get started
Verification report · signed

127 of 130 claims verified at floor 0.95.

Every claim below was scored against the source it cites. Check the signature offline with the key at /.well-known/report-keys, or re-run any claim with the pinned judge.

The report

Digestsha256:7e9b901637f0caa9f3fb080b9c285d18483cb368a4d8be3aa44bd5ee6f3aa6d3
Signing key idpem-9ec90d53d901e315
Judgegoogle/gemini-4-argon · v0-dev
Judge prompt hashsha256:1e64388843ffb61194ac8007b4992da06d5edd7ac2671ec35b1e82d8c2a9d04d
AI Source of Truthrecord · entity AI Source of Truth verdict for record 23b37bea2a90
Pipelinecore-4
Mean entailment0.988
Signed2026-11-20
Versionv4
Artifact digestsha256:828c17f09ab7526800164fa11d285103df2d62a1f0614ac5235399da4851afec
Source commitsha256:4950dd53ff5b6e3165843292d7ec675e0166e4bcf3990901882b103551be2daa
Verified at2026-11-20T15:35:14.497Z
Cited byno other product cites this version yet

Agents: fetch the same report with artifacts_get view report (its freshness carries the version, digest, source commit and verified time, and its citation says whether it met its floor), compare versions with view versions, and re-check a claim with claims_verify (no token needed; see the MCP reference).

What this report checked

  • Sources were locked and hashed before any claim was scored
  • The text was split into atomic factual claims
  • Each claim was scored against the source it cites by the pinned judge
  • Each claim was bound to verified, in review or cut at the floor
  • TypeScript and JavaScript snippets were type-checked in a sandbox with a time limit
  • The generated text was scanned for hidden text and injected instructions before the run completed
  • Each source's license (SPDX id), origin URL and upstream commit or retrieval date were recorded
  • The changes between the versions in the locked sources (changelog, API diff, deprecations) were computed without a model and given to the generate stage
  • The generated text was checked for generic overview sections, and any found are named in the report

Checks not run

  • Claims were re-verified after the style pass
  • Every symbol a code claim names was looked up in the API surface extracted from the locked sources
  • Python snippets were parsed at the pinned language version in a sandbox with a time limit
  • Code examples whose checks passed were run in a container with no network, a read-only file system, no added privileges and memory, process and time limits
  • Only the sections that mention a changed symbol or cite a changed source were regenerated and re-verified; the others kept their claims and results
  • The kept sections' symbols and code were checked again against the new release's sources, without a model

What this report does not cover

  • Whether the cited sources are themselves true
  • Factual statements the decomposition step did not extract as claims
  • Safety or security of code, commands or instructions in the artifact
  • Licensing or ownership of the artifact content
  • Parts of a long source that share few words with a claim: the judge saw only the passages of that source closest to the claim
  • Code examples were type-checked or parsed, never run
  • What a code example does when run, beyond its names existing and its syntax and types checking clean
Judge versionv0-dev
Scannerscontextfile.quarantine rules-fc990336207b

Verify it yourself

This report is also an in-toto attestation in a Sigstore bundle, signed with the report key. Check it with cosign and the published key; you need no ContextFile code. Full steps: /docs/verify.

Key idpem-9ec90d53d901e315
Rekornot logged (only reports on the registry are logged; cosign needs --insecure-ignore-tlog=true)
curl -sSo attestation.sigstore.json 'https://contextfile.ai/reports/sha256%3A7e9b901637f0caa9f3fb080b9c285d18483cb368a4d8be3aa44bd5ee6f3aa6d3/attestation.sigstore.json'
curl -sS 'https://contextfile.ai/.well-known/report-keys' | jq -r '.keys[] | select(.key_id == "pem-9ec90d53d901e315") | .pem' > report-key.pem
cosign verify-blob-attestation \
  --new-bundle-format --bundle attestation.sigstore.json \
  --key report-key.pem \
  --type https://contextfile.ai/verification-report/v1 \
  --insecure-ignore-tlog=true \
  ./artifact-file

Replace ./artifact-file with the file you bought; cosign checks that its SHA-256 is the statement subject. To read the scope block from the bundle:

jq -r .dsseEnvelope.payload attestation.sigstore.json | base64 -d | jq .predicate.body.scope

Claims

ClaimSourceScoreStateRe-check
CLM-0001
pnpm next upgrade updates to the latest version.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0002
npx next upgrade updates to the latest version.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0003
yarn next upgrade updates to the latest version.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0004
bunx next upgrade updates to the latest version.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0005
Versions before Next.js 16.1.0 do not support the upgrade command.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0006
For versions before Next.js 16.1.0, npx @next/codemod@canary upgrade latest should be used instead of next upgrade.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0007
npx next@canary upgrade --agent=latest has a coding agent perform and verify the upgrade.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0008
next upgrade --agent checks for an upgrade, gathers the version-matched migration guides, and hands the task to a coding agent.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0009
To move to canary, you must first be on the latest version and have a working application.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0010
To move to canary after being on the latest working version, run npm i next@canary, pnpm add next@canary, yarn add next@canary, or bun add next@canary.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0011
forbidden, unauthorized, forbidden.js, unauthorized.js, and the authInterrupts config are listed as available in canary.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1verified
CLM-0012
In @next/codemod upgrade, the revision argument is optional.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0013
In @next/codemod upgrade, revision takes patch, minor, or major, an npm dist tag such as latest, canary, or rc, or an exact version such as 15.0.0.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0014
In @next/codemod upgrade, revision defaults to minor for stable versions.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0015
In @next/codemod upgrade, --verbose shows more detailed output.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0016
In @next/codemod upgrade, --skip-react-upgrade preserves React dependencies, types, and overrides, and skips React codemods.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0017
In @next/codemod upgrade, --skip-eslint-upgrade preserves eslint, eslint-config-next, and @next/eslint-plugin-next, and skips next-lint-to-eslint-cli.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0018
In @next/codemod upgrade, -y or --yes skips every prompt and accepts the defaults.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0019
In @next/codemod upgrade, -y or --yes is auto-enabled when stdin is not a TTY (such as in CI, an AI coding agent, or any non-interactive shell).
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0020
In @next/codemod upgrade, if the target version is the same as or lower than the current version, the command exits without changes.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0021
In @next/codemod upgrade, the skip flags do not bypass the target's peer dependency requirements.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0022
In @next/codemod upgrade, if installation failed, you should repair the dependencies and retry the same exact target with the relevant flag.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0023
The cache-components-instant-false codemod is run via npx @next/codemod@canary cache-components-instant-false ./app.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0024
The cache-components-instant-false codemod adds export const instant = false to every page, layout, and default file that doesn't already export instant.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0025
The cache-components-instant-false codemod skips Client Components ("use client") and files that already declare instant.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0026
For the cache-components-instant-false codemod in a src/ project, pass ./src/app.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0027
Passing a wrong path to the cache-components-instant-false codemod reports 0 ok instead of failing.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0028
Cache Components requires Next.js 16.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0029
Cache Components is enabled with cacheComponents: true in next.config.ts.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0030
cacheComponents: true replaces experimental.dynamicIO and experimental.useCache.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0031
With cacheComponents enabled, the route segment configs dynamic, revalidate, and fetchCache are replaced by use cache and cacheLife.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0032
With cacheComponents enabled, routes that still export dynamic, revalidate, or fetchCache will error.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0033
With cacheComponents enabled, existing fetch and unstable_cache caching keeps working, and migrating unstable_cache is optional.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0034
To defer a route that fails instant-navigation validation when migrating to cacheComponents, add export const instant = false to the layout, page, or parallel slot that raised it.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0035
instant = false marks a segment as allowed to block and does not force the route to be dynamic.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0036
instant = false does not clear synchronous IO build errors from calls like new Date(), Math.random(), and crypto.randomUUID().
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0037
When migrating fetchCache to cacheComponents, remove the config; fetches are uncached unless they run inside a use cache scope.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0038
When migrating fetchCache to cacheComponents, for default-cache, only-cache, or force-cache, wrap the data in use cache.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0039
When migrating fetchCache to cacheComponents, for *-no-store values, leave the data outside a cache scope, and if force-no-store overrode an explicit cache option, remove that option too.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0040
When migrating fetch options to cacheComponents, cache: 'force-cache' and next: { revalidate, tags } move into a use cache function, where revalidate and tags become cacheLife and cacheTag.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0041
With cacheComponents, unstable_noStore (noStore()) is not needed and can be removed.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0042
With cacheComponents, for request-time work, call connection() before it and wrap it in <Suspense>.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0043
With cacheComponents, generateStaticParams returning [] errors with empty-generate-static-params and must return at least one param.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0044
npx skills add vercel/next.js --skill next-cache-components-adoption installs the Cache Components adoption skill.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1verified
CLM-0045
Running npx @next/codemod@canary upgrade latest to migrate to Version 16 updates next.config.js to the turbopack config, migrates next lint to the ESLint CLI, migrates middleware to proxy, removes the unstable_ prefix from stabilized APIs, and removes experimental_ppr Route Segment Config.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0046
The upgrade codemod does not run every migration codemod.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0047
If your app still uses synchronous params, searchParams, cookies(), headers(), or draftMode(), you must also run npx @next/codemod@canary next-async-request-api .
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0048
In Next.js 16, synchronous access to the async Request APIs introduced in 15 is fully removed.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0049
In Next.js 16, in opengraph-image, twitter-image, icon, and apple-icon, the image function receives params and id as promises.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0050
In Next.js 16, generateImageMetadata still receives synchronous params.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0051
In Next.js 16, the id passed to the sitemap function is an async parameter.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0052
In Next.js 16, all parallel route slots require an explicit default.js, or the build fails.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0053
To keep the old parallel route slot behavior in Next.js 16, have default.js call notFound() or return null.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0054
In Next.js 16, @next/eslint-plugin-next defaults to ESLint Flat Config.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0055
In Next.js 16, Next.js no longer overrides scroll-behavior during navigation.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0056
To restore the scroll-behavior override in Next.js 16, add data-scroll-behavior="smooth" to <html>.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0057
In Next.js 16, next build output no longer shows the size and First Load JS metrics.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0058
In Next.js 16, the config file is no longer loaded by the next dev command itself, so checking process.argv.includes('dev') in the Next config returns false.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0059
In Next.js 16, you should check NODE_ENV === 'development' or use phase instead of process.argv.includes('dev'), though typegen and build are still visible in process.argv.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0060
Turbopack does not support the Sass tilde (~) import prefix.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0061
Instead of the Sass tilde import prefix in Turbopack, write @import 'bootstrap/dist/css/bootstrap.min.css'; or alias with turbopack.resolveAlias: { '~*': '*' }.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0062
In Next.js 16, Turbopack filesystem caching is enabled by default for next dev and next build via experimental.turbopackFileSystemCacheForDev and experimental.turbopackFileSystemCacheForBuild.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0063
experimental.adapterPath was promoted to a stable top-level adapterPath option in 16.2.0.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0064
In Next.js 16, AMP support is removed.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0065
In Next.js 16, a local image src with a query string requires images.localPatterns.search, e.g. { pathname: '/assets/**', search: '?v=1' }.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0066
In Next.js 16, the default for images.minimumCacheTTL changed from 60 seconds to 4 hours (14400).
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0067
In Next.js 16, 16 was removed from the default images.imageSizes, and can be restored by setting [16, 32, 48, 64, 96, 128, 256, 384].
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0068
In Next.js 16, the default for images.qualities changed from all qualities to only [75].
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0069
In Next.js 16, local IP optimization for images is blocked by default and can be enabled for private networks by setting images.dangerouslyAllowLocalIP: true.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0070
In Next.js 16, a quality prop not in images.qualities is coerced to the closest value (for example, with [50, 75, 100], 80 becomes 75).
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0071
In Next.js 16, direct /_next/image requests with unsupported q values return 400.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0072
Running npx @next/codemod@canary middleware-to-proxy . renames middleware.ts to proxy.ts and the function from middleware to proxy.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/proxy.mdx1verified
CLM-0073
In Next.js 16, flags containing middleware are renamed, such as skipMiddlewareUrlNormalize becoming skipProxyUrlNormalize.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0074
Edge middleware should not be blindly renamed to proxy.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0075
Migrating scripts from next lint to the ESLint CLI is done with npx @next/codemod@canary next-lint-to-eslint-cli .
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx1verified
CLM-0076
When migrating from next lint, the scripts become "lint": "eslint" and "lint:fix": "eslint --fix", or for Biome "lint": "biome check" and "format": "biome format --write".
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx0.9in_review
CLM-0077
In Next.js 15, cookies, headers, draftMode, params, and searchParams became asynchronous.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx1verified
CLM-0078
In Next.js 15, params became asynchronous in layout.js, page.js, route.js, default.js, opengraph-image, twitter-image, icon, and apple-icon, and searchParams became asynchronous in page.js.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx1verified
CLM-0079
Synchronous access to cookies, headers, draftMode, params, and searchParams was temporarily allowed in Next.js 15.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx1verified
CLM-0080
The codemod npx @next/codemod@latest next-async-request-api . adds @next-codemod-error comments and may add temporary UnsafeUnwrapped* casts where migration isn't automatic.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0081
In Next.js 15, React 19 is the minimum for the App Router, while the Pages Router supports React 18 and 19.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx1verified
CLM-0082
In Next.js 15, useFormState is deprecated in favor of useActionState.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx1verified
CLM-0083
The codemod npx @next/codemod@latest app-dir-runtime-config-experimental-edge . transforms export const runtime = 'experimental-edge' to 'edge'.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1verified
CLM-0084
Before Next.js 15, an extra rewrites entry (beforeFiles, /blog-static/_next/:path+ to /_next/:path+) was needed for assetPrefix static assets in multi-zones, which is no longer necessary in 15.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/multi-zones.mdx1verified
CLM-0085
--webpack uses the webpack bundled with Next.js.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx1verified
CLM-0086
To use your application's webpack, install it (e.g. pnpm add -D webpack@^5.98.0) and pass --custom-webpack to next dev or next build.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx1verified
CLM-0087
With --custom-webpack, Next.js does not validate the installed webpack version, and the feature is tested with webpack 5.98.0 and 5.111.0.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx1verified
CLM-0088
experimental.webpackMemoryOptimizations: true is available starting in v15.0.0, reduces max memory usage, and may slightly increase compile times.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx1verified
CLM-0089
next build --experimental-debug-memory-usage is available starting in 14.2.0 and is not compatible with the Webpack build worker option, which is auto-enabled unless you have a custom webpack config.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx1verified
CLM-0090
In Turbopack's import.meta.glob, without eager, each value is () => Promise<exportValue>, and with eager: true, it is the export value directly.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx0.5cut
CLM-0091
In Turbopack's import.meta.glob, query accepts an object, e.g. { bar: 'foo', raw: true }, which is equivalent to '?bar=foo&raw=true'.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx1verified
CLM-0092
Turbopack has no built-in ?raw or ?url handling, so you must match the query with a rule such as turbopack: { rules: { '*.txt': { condition: { query: '?raw' }, type: 'text' } } }.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx1verified
CLM-0093
Vite's as: 'raw' option (deprecated in Vite 5) is replaced by query: '?raw' in Turbopack, which also needs a Turbopack rule.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating/from-vite.mdx1verified
CLM-0094
In Turbopack's import.meta.glob, the base option resolves patterns against a different directory, so result keys are relative to base.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx1verified
CLM-0095
<Link href={...} transitionTypes={['nav-forward']}> tags a navigation for view transitions, and nav-back is used in the guide on links that return to a previous page.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/view-transitions.mdx1verified
CLM-0096
In Next.js 16.5 and later, next dev creates and updates managed docs instructions in AGENTS.md by default, and setting agentRules: false disables this.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0097
Next.js 16.3 and 16.4 include bundled docs and support managed instructions, while 16.2 includes bundled docs but does not generate instructions automatically.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0098
Next.js 16.1 and earlier have no bundled docs, and npx @next/codemod@canary agents-md downloads a version-matched copy to .next-docs/ and indexes it in AGENTS.md.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0099
Bundled docs live in node_modules/next/dist/docs/.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx1verified
CLM-0100
experimental.agentUpgrade shows security upgrade reminders during next dev and next build by default, and setting experimental.agentUpgrade: false disables them and removes the managed upgrade block.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0101
agentFeedback is experimental, disabled by default, requires Next.js Telemetry, and does not run in CI.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0102
next dev forwards browser console errors and warnings to the terminal via the logging.browserToTerminal config.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0103
Next.js docs are available as Markdown at each page's .md URL or with an Accept: text/markdown header, with the index at /docs/llms.txt and the single file at /docs/llms-full.txt.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx1verified
CLM-0104
cacheHandler (singular) covers ISR, route handlers, patched fetch/unstable_cache, and image optimization.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx1verified
CLM-0105
cacheHandlers (plural) configures 'use cache' directive backends.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx1verified
CLM-0106
'use cache: remote' requires cacheComponents: true, and its handler is configured via cacheHandlers.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/01-directives/use-cache-remote.mdx1verified
CLM-0107
Plain use cache and 'use cache: remote' cannot read runtime values like cookies or search params directly; the values must be passed in as arguments.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/01-directives/use-cache-remote.mdx1verified
CLM-0108
Reading cookies() or headers() inside a plain use cache function throws; you must read them outside or use use cache: private.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx1verified
CLM-0109
cacheTag values and cache-function arguments are stored in plain text, so secrets should not be put in them.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx1verified
CLM-0110
Keep cacheLife stale at 30 seconds or more, or the scope drops out of prefetching.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx1verified
CLM-0111
Call cacheLife in the same function or component where caching is defined, and ensure only one call executes per invocation.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/cacheLife.mdx1verified
CLM-0112
A route that depends on params or searchParams needs <Link prefetch={true}> on its links, and the destination needs Partial Prefetching via the partialPrefetching flag or prefetch = 'partial' on the segment.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx1verified
CLM-0113
Next.js dispatches Server Actions one at a time per client, with each waiting for the previous one to finish, so using them for data fetching introduces sequential execution.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/server-actions.mdx1verified
CLM-0114
Next.js dispatches Server Actions one at a time per client, with each waiting for the previous one to finish, so using them for data fetching introduces sequential execution.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/server-actions.mdx1verified
CLM-0115
cookies is async; synchronous access still works in Next.js 15 for compatibility but will be deprecated.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/cookies.mdx1verified
CLM-0116
cookies().delete can only be called in a Server Function or Route Handler.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/cookies.mdx1verified
CLM-0117
The _rsc search parameter must be in the CDN cache key.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/cdn-caching.mdx1verified
CLM-0118
An RSC request without the correct _rsc value gets a 307 redirect to the URL with the correct hash, which can be disabled by setting experimental.validateRSCRequestHeaders to false.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/cdn-caching.mdx1verified
CLM-0119
import { loadEnvConfig } from '@next/env' followed by loadEnvConfig(process.cwd()) loads env variables the way Next.js does, such as in a Jest global setup.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx1verified
CLM-0120
The environment variable lookup order in Next.js is process.env, .env.$(NODE_ENV).local, .env.local, .env.$(NODE_ENV), .env, and .env.local is not checked when NODE_ENV is test.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx1verified
CLM-0121
If NODE_ENV is unassigned, Next.js sets it to development for next dev and production for all other commands.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx1verified
CLM-0122
Go Route Handlers have no build-time prerendering, cannot produce static response files for output: 'export', and do not support static export or output: 'standalone'.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx1verified
CLM-0123
Self-hosting with Go Route Handlers uses Turbopack next build and next start.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx1verified
CLM-0124
Go builds in Next.js use CGO disabled, do not download dependencies or modify go.mod or go.sum, and do not support WebSocket upgrades or HTTP trailers.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx1verified
CLM-0125
In Go Route Handlers, use go:embed for assets because runtime file reads are not traced.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx1verified
CLM-0126
The Go Route Handlers experiment also enables proxy.go.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx1verified
CLM-0127
Vitest 5 and jsdom 31 need Node.js 24.15 or later in the 24 line, and the setup commands install @types/node@24, replacing the @types/node@20 that create-next-app generates.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx1verified
CLM-0128
Vitest does not support async Server Components, so E2E tests should be used for them.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx1verified
CLM-0129
With Cache Components, previous pages remain hidden in the DOM after client-side navigation, so you should use Cypress .filter(':visible') before asserting.
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/cypress.mdx1verified
CODE-0001
Code example 1 (js): const defaults = import.meta.glob('./dir/*.js', { import: 'default' }) const setups = import.meta.glob('./dir/*.js', { import: 'setup', eager: true }) const rawFiles = import.meta.glob('./dir/*.txt', { query: '?raw' }) const modules = import.meta.glob(['./src/**/*.js', '!**/*.test.js'])
content#code-10cut