72 of 124 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
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
- Every symbol a code claim names was looked up in the API surface extracted from the locked sources
- 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
- 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
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.
curl -sSo attestation.sigstore.json 'https://contextfile.ai/reports/sha256%3Aac6c682585223a18fce574943f7aca5d3a51e87426c906fb57e7487a4ff39913/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
| Claim | Source | Score | State | Re-check |
|---|---|---|---|---|
CLM-0001 Versions before Next.js 16.1.0 do not support the `upgrade` command. | none | 0 | cut | |
CLM-0002 Versions before Next.js 16.1.0 need `npx @next/codemod@canary upgrade latest` instead of the `upgrade` command. | none | 0 | cut | |
CLM-0003 Next.js 16.1.0 and later use `pnpm next upgrade`, `npx next upgrade`, `yarn next upgrade` or `bunx next upgrade`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx | 1 | verified | |
CLM-0004 To have a coding agent perform and verify the upgrade, run `npx next@canary upgrade --agent=latest`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx | 1 | verified | |
CLM-0005 In `npx @next/codemod upgrade [revision]`, `revision` is optional. | none | 0 | cut | |
CLM-0006 In `npx @next/codemod upgrade [revision]`, `revision` accepts `patch`, `minor` or `major`, an npm dist tag such as `latest`, `canary` or `rc`, or an exact version such as `15.0.0`. | none | 0 | cut | |
CLM-0007 In `npx @next/codemod upgrade [revision]`, `revision` defaults to `minor` for stable versions. | none | 0 | cut | |
CLM-0008 `npx @next/codemod upgrade` supports the `--verbose` flag. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0009 The `--skip-react-upgrade` flag for `npx @next/codemod 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.mdx | 1 | verified | |
CLM-0010 The `--skip-eslint-upgrade` flag for `npx @next/codemod upgrade` preserves `eslint`, `eslint-config-next` and `@next/eslint-plugin-next`, and skips `next-lint-to-eslint-cli`. | none | 0 | cut | |
CLM-0011 The `-y, --yes` flag for `npx @next/codemod upgrade` skips every prompt and accepts the defaults. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0012 The `-y, --yes` flag for `npx @next/codemod upgrade` is auto-enabled when stdin is not a TTY, such as in CI or an AI coding agent. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0013 In `npx @next/codemod upgrade`, if the target version is the same as or lower than the current one, the command exits without changes. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0014 The skip flags in `npx @next/codemod upgrade` do not bypass the target's peer dependency requirements. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0015 After an interrupted install with `npx @next/codemod upgrade`, retry the same exact target with the relevant skip flag. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx | 1 | verified | |
CLM-0016 The upgrading guide lists `forbidden`, `unauthorized`, `forbidden.js`, `unauthorized.js` and the `authInterrupts` config as available in canary. | none | 0 | cut | |
CLM-0017 Next.js version 15 made `cookies`, `headers`, `draftMode`, `params` and `searchParams` asynchronous, with temporary synchronous access. | none | 0 | cut | |
CLM-0018 Starting with Next.js 16, synchronous access to Request APIs is fully removed. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0019 The Next.js 16 `upgrade` codemod does not run every migration. | none | 0 | cut | |
CLM-0020 If your app still accesses Request APIs synchronously in Next.js 16, 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.mdx | 1 | verified | |
CLM-0021 When the async Request API codemod cannot migrate automatically, it adds an `@next-codemod-error` comment and may add a temporary `UnsafeUnwrapped*` cast. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0022 You should complete the migration before removing `@next-codemod-error` comments and temporary `UnsafeUnwrapped*` casts. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0023 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/03-api-reference/02-components/link.mdx | 0 | cut | |
CLM-0024 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.mdx | 0 | cut | |
CLM-0025 In Next.js 16, the `middleware` file convention is renamed to `proxy`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/proxy.mdx | 1 | verified | |
CLM-0026 The codemod `npx @next/codemod@canary middleware-to-proxy .` renames the file 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.mdx | 1 | verified | |
CLM-0027 In Next.js 16, flags containing `middleware` are renamed too, such as `skipMiddlewareUrlNormalize` becoming `skipProxyUrlNormalize`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 0 | cut | |
CLM-0028 The version 16 codemod can update renamed middleware flags. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0029 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.mdx | 1 | verified | |
CLM-0030 In Next.js 16, query strings on local images require `images.localPatterns[].search`, for example `{ pathname: '/assets/**', search: '?v=1' }`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0031 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.mdx | 1 | verified | |
CLM-0032 Setting `images.minimumCacheTTL` back to `60` restores the old behavior in Next.js 16. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0033 In Next.js 16, `16` was removed from the default `images.imageSizes`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0034 Setting `images.imageSizes` to `[16, 32, 48, 64, 96, 128, 256, 384]` restores `16` in Next.js 16. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0035 In Next.js 16, the default for `images.qualities` changed from allowing all qualities to only `[75]`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0036 In Next.js 16, a `quality` prop not in the `images.qualities` array is coerced to the closest listed value, for example 80 becomes 75. | none | 0 | cut | |
CLM-0037 In Next.js 16, unsupported `q` values on direct `/_next/image` requests return `400`. | none | 0 | cut | |
CLM-0038 In Next.js 16, local IP optimization for images is blocked by default. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0039 In Next.js 16, `images.dangerouslyAllowLocalIP: true` should be set only for private networks and enabled only once you understand the SSRF risk. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0040 In Next.js 16, every parallel route slot requires an explicit `default.js`, and builds fail without one. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0041 To keep the old parallel route behavior in Next.js 16, have `default.js` call `notFound()` or return `null`. | none | 0 | cut | |
CLM-0042 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.mdx | 1 | verified | |
CLM-0043 In Next.js 16, Next.js no longer overrides a global `scroll-behavior: smooth` during navigation. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0044 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.mdx | 1 | verified | |
CLM-0045 In Next.js 16, the `size` and `First Load JS` metrics are removed from `next build` output. | none | 0 | cut | |
CLM-0046 In Next.js 16, the config file is no longer loaded twice during `next dev`, so checking `process.argv.includes('dev')` in the config returns `false`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0047 In Next.js 16, `typegen` and `build` are still visible in `process.argv` in the config file. | none | 0 | cut | |
CLM-0048 In Next.js 16, check `process.env.NODE_ENV === 'development'` or use the config `phase` instead of `process.argv.includes('dev')`. | none | 0 | cut | |
CLM-0049 In Next.js 16, the legacy `~` prefix for Sass is not supported in Turbopack; use `@import 'bootstrap/dist/css/bootstrap.min.css';` instead. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0050 In Next.js 16, if you cannot change `~` Sass imports in Turbopack, set `turbopack.resolveAlias: { '~*': '*' }`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0051 In Next.js 16, the Turbopack filesystem cache is enabled by default for `next dev` and `next build`, through `experimental.turbopackFileSystemCacheForDev` and `experimental.turbopackFileSystemCacheForBuild`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0052 In Next.js 16, `turbopack.resolveAlias` supports a `browser` condition, for example `fs: { browser: './empty.ts' }`, though refactoring so client code never imports Node.js native modules is preferable. | none | 0 | cut | |
CLM-0053 Build Adapters were alpha in Next.js 16 via `experimental.adapterPath`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0054 `adapterPath` was promoted to a stable, top-level option in Next.js 16.2.0. | none | 0 | cut | |
CLM-0055 `next lint` scripts can be migrated 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.mdx | 1 | verified | |
CLM-0056 To replace `next lint`, use `"lint": "eslint"` and `"lint:fix": "eslint --fix"`, or Biome with `"lint": "biome check"` and `"format": "biome format --write"`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx | 0.9 | in_review | |
CLM-0057 Scripts and CI should no longer invoke `next lint`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx | 1 | verified | |
CLM-0058 Cache Components requires Next.js 16. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0059 Enabling `cacheComponents: true` in `next.config.ts` replaces `experimental.dynamicIO` and `experimental.useCache`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0060 With `cacheComponents`, `dynamic`, `revalidate` and `fetchCache` are replaced by `use cache` and `cacheLife`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/15-route-handlers.mdx | 0 | cut | |
CLM-0061 Segments that still export `dynamic`, `revalidate` or `fetchCache` will error after `cacheComponents` is enabled. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/15-route-handlers.mdx | 0 | cut | |
CLM-0062 With `cacheComponents`, existing `fetch` and `unstable_cache` caching keeps working, and migrating `unstable_cache` is optional. | none | 0 | cut | |
CLM-0063 When migrating from `fetchCache` to `cacheComponents`, remove `fetchCache` and set caching at the data source. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/caching-without-cache-components.mdx | 0 | cut | |
CLM-0064 With `cacheComponents`, without a `use cache` scope, fetches are uncached. | none | 0 | cut | |
CLM-0065 With `cacheComponents`, wrap data that should stay cached in `use cache`. | none | 0 | cut | |
CLM-0066 With `cacheComponents`, to replace `force-no-store`, leave the data outside a cache scope and remove any explicit cache option. | none | 0 | cut | |
CLM-0067 With `cacheComponents`, move `cache: 'force-cache'` and `next: { revalidate, tags }` on `fetch` 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/caching-without-cache-components.mdx | 0 | cut | |
CLM-0068 With `cacheComponents`, `unstable_noStore()` is not needed and can be removed; for request-time work, call `connection()` before it and wrap it in `<Suspense>`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/connection.mdx | 0 | cut | |
CLM-0069 With `cacheComponents`, `generateStaticParams` must return at least one param, and returning `[]` raises `empty-generate-static-params`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/03-layouts-and-pages.mdx | 0 | cut | |
CLM-0070 Setting `export const instant = false` on a layout, page or parallel slot marks the segment as allowed to block. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0071 Setting `export const instant = false` does not force the route to be dynamic and does not clear synchronous IO build errors from `new Date()`, `Math.random()` or `crypto.randomUUID()`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0072 You can opt out the whole app with `npx @next/codemod@canary cache-components-instant-false ./app`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0073 The `cache-components-instant-false` codemod appears under the 16.3 heading in the codemods guide. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0074 The `cache-components-instant-false` codemod adds the export to every `page`, `layout` and `default` that does not already export `instant`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 0 | cut | |
CLM-0075 The `cache-components-instant-false` codemod skips Client Components and adds an `@next-codemod-ignore` comment. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0076 For the `cache-components-instant-false` codemod, in a `src/` project pass `./src/app`, and a wrong path reports `0 ok` instead of failing. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 1 | verified | |
CLM-0077 The Cache Components adoption skill is installed with `npx skills add vercel/next.js --skill next-cache-components-adoption`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx | 1 | verified | |
CLM-0078 Calling `cookies()` or `headers()` inside a plain `use cache` function throws; read the request outside and pass the value in, or use `use cache: private`. | none | 0 | cut | |
CLM-0079 Arguments to `use cache` functions and `cacheTag` values are stored in plain text, so secrets should not be put in them. | none | 0 | cut | |
CLM-0080 Keep `cacheLife` `stale` at 30 seconds or more, or the scope drops out of prefetching. | none | 0 | cut | |
CLM-0081 A route that also depends on `params` or `searchParams` needs `<Link prefetch={true}>` on its links, and the destination needs Partial Prefetching through the `partialPrefetching` flag or `prefetch = 'partial'` on the segment. | none | 0 | cut | |
CLM-0082 `cacheLife` should be called at most once per function invocation. | none | 0 | cut | |
CLM-0083 Preset `cacheLife` profiles are `seconds`, `minutes`, `hours`, `days`, `weeks` and `max`. | none | 0 | cut | |
CLM-0084 Synchronous embedded-database queries, such as `better-sqlite3` or `node:sqlite`, are prerendered, so for per-request data, call `connection()` before the query. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx | 1 | verified | |
CLM-0085 `use cache` stores entries in memory, which gives frequent misses in serverless. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/01-directives/use-cache-remote.mdx | 1 | verified | |
CLM-0086 `'use cache: remote'` is configured through `cacheHandlers`. | none | 0 | cut | |
CLM-0087 `useFormState` is replaced by `useActionState`, and is still available in React 19 but deprecated and will be removed in a future release. | none | 0 | cut | |
CLM-0088 In Next.js 15, the App Router needs `react` and `react-dom` 19 as a minimum, while the Pages Router supports both 18 and 19. | none | 0 | cut | |
CLM-0089 In Next.js 14 and earlier `cookies` was synchronous, and synchronous access still works in 15 but will be deprecated. | none | 0 | cut | |
CLM-0090 `npx @next/codemod@latest app-dir-runtime-config-experimental-edge .` transforms the Route Segment Config `runtime` value `experimental-edge` to `edge`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx | 0 | cut | |
CLM-0091 In versions older than Next.js 15 an extra rewrite for static assets under `assetPrefix` may be needed for Multi-zones, which is no longer necessary in 15. | none | 0 | cut | |
CLM-0092 `experimental.webpackMemoryOptimizations: true` is available starting in `v15.0.0`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx | 1 | verified | |
CLM-0093 Starting in `14.2.0`, `next build --experimental-debug-memory-usage` prints memory information continuously throughout the build and takes automatic heap snapshots near the limit. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx | 1 | verified | |
CLM-0094 `--experimental-debug-memory-usage` is not compatible with the Webpack build worker option, which is auto-enabled unless you have custom webpack config. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx | 1 | verified | |
CLM-0095 In Next.js 16.5 and later, `next dev` creates and updates managed documentation 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.mdx | 1 | verified | |
CLM-0096 In Next.js 16.3 and 16.4, bundled documentation is included and managed instructions are supported. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx | 1 | verified | |
CLM-0097 In Next.js 16.2, bundled documentation is included but instructions are not generated automatically. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx | 1 | verified | |
CLM-0098 In Next.js 16.1 and earlier, there is no bundled documentation, and `npx @next/codemod@canary agents-md` downloads a copy to `.next-docs/`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx | 1 | verified | |
CLM-0099 `experimental.agentUpgrade: false` disables upgrade reminders and removes the managed upgrade block. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx | 1 | verified | |
CLM-0100 The `logging.browserToTerminal` config forwards browser console errors and warnings to the terminal. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx | 1 | verified | |
CLM-0101 `agentFeedback` is experimental, disabled by default, requires Next.js Telemetry, and does not run in CI. | none | 0 | cut | |
CLM-0102 Passing `--custom-webpack` to `next dev` or `next build` uses a webpack installed in your app instead of the bundled one. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx | 1 | verified | |
CLM-0103 With `--custom-webpack`, Next.js does not validate the installed webpack version; the examples use `webpack@^5.98.0`, and the feature is tested with 5.98.0 and 5.111.0. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx | 1 | verified | |
CLM-0104 If webpack is not installed in the app, the `--custom-webpack` flag reports how to install it. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx | 1 | verified | |
CLM-0105 In Turbopack's `import.meta.glob`, `{ import: 'default' }` returns lazy `() => Promise` values, and adding `eager: true` returns the export values directly. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx | 1 | verified | |
CLM-0106 In Turbopack's `import.meta.glob`, the `query` option accepts a string such as `'?raw'`, or an object that is URL-encoded, for example `{ bar: 'foo', raw: true }` becomes `?bar=foo&raw=true`. | none | 0 | cut | |
CLM-0107 Turbopack has no built-in `?raw` or `?url` handling; 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.mdx | 1 | verified | |
CLM-0108 Vite's `as: 'raw'` option is deprecated in Vite 5, so use `query: '?raw'` instead. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating/from-vite.mdx | 1 | verified | |
CLM-0109 In `import.meta.glob`, the first argument can be an array of patterns, and a `!` prefix excludes matches. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx | 1 | verified | |
CLM-0110 In `import.meta.glob`, the `base` option makes result keys relative to `base` rather than to the importing file. | none | 0 | cut | |
CLM-0111 `transitionTypes` is a prop on `<Link>` that tags a navigation for view transitions, for example `transitionTypes={['nav-forward']}` or `['nav-back']`. | none | 0 | cut | |
CLM-0112 The `_rsc` search parameter must be part of the CDN cache key. | none | 0 | cut | |
CLM-0113 An RSC request with an incorrect `_rsc` value gets a 307 redirect to the URL with the correct hash, and setting `experimental.validateRSCRequestHeaders` to `false` disables this. | none | 0 | cut | |
CLM-0114 `loadEnvConfig(projectDir)` from `@next/env` loads env files the way Next.js does, which is useful in test setup. | none | 0 | cut | |
CLM-0115 The `.env` lookup order, stopping at the first match, is: 1. `process.env`, 2. `.env.$(NODE_ENV).local`, 3. `.env.local` (not checked when `NODE_ENV` is `test`), 4. `.env.$(NODE_ENV)`, 5. `.env`. | none | 0 | cut | |
CLM-0116 With `output: 'export'`, only `GET` Route Handlers are supported, combined with `export const dynamic = 'force-static'`. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/backend-for-frontend.mdx | 1 | verified | |
CLM-0117 Next.js dispatches Server Actions one at a time per client, so using them for data fetching introduces sequential execution. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/server-actions.mdx | 1 | verified | |
CLM-0118 Next.js dispatches Server Actions one at a time per client, so using them for data fetching introduces sequential execution. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx | 1 | verified | |
CLM-0119 A static member such as `Menu.Item` on a Client Component is `undefined` when imported into a Server Component, and React throws "Element type is invalid," so expose the pieces as named exports instead. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/server-and-client-boundary.mdx | 1 | verified | |
CLM-0120 In Cypress with Cache Components, previous pages stay hidden in the DOM after client-side navigation, so use `.filter(':visible')` to narrow `cy.get()` matches. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/cypress.mdx | 1 | verified | |
CLM-0121 The Vitest testing guide uses Vitest 5 and jsdom 31, which need Node.js 24.15 or later in the Node.js 24 release line. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx | 1 | verified | |
CLM-0122 The Vitest guide commands install `@types/node@24`, replacing the `@types/node@20` dependency in `create-next-app` projects. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx | 1 | verified | |
CLM-0123 Vitest does not support `async` Server Components, so use E2E tests for them. | https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx | 1 | verified | |
CODE-0001 Code example 1 (js):
export default async function Image({ params, id }) {
const { slug } = await params
const imageId = await id // Promise<string> when using generateImageMetadata
} | content#code-1 | 1 | verified |