Get started
Listing · doc · versions

Every version keeps its own digest, source commit and signed report.

Compare two versions claim by claim, or subscribe and get a notice with the diff when the source changes. Back to the listing.

All versions

VersionArtifact digestSourceReportClaims verifiedSignedStatus
v4sha256:828c17f09ab75268…sha256:4950d…sha256:7e9b90163…127 of 1302026-11-20latest at floor
v3sha256:29942196079f0da6…sha256:4950d…sha256:ac6c68258…72 of 1242026-11-20below floor
v2sha256:09988b8fecc40c77…sha256:4950d…sha256:1f7479279…91 of 912026-11-19superseded
v1sha256:e4618e38394f25c6…sha256:4950d…sha256:cee322154…109 of 1092026-11-18superseded

Address any version by number or digest: b4cb4be4-1cdf-4231-a93c-39fd95ec6cdb@latest, b4cb4be4-1cdf-4231-a93c-39fd95ec6cdb@v1 or sha256:… in get_artifact. @latest is the newest version whose report meets its floor.

Claim-level diff

v3 to v4: 68 added, 57 changed, 62 removed, 5 unchanged (hidden).

Instructions an agent will follow changed between these versions

doc.md
- - Check `process.env.NODE_ENV === 'development'` instead, or use the config `phase`.
- - Use `"lint": "eslint"` and `"lint:fix": "eslint --fix"`, or Biome with `"lint": "biome check"` and `"format": "biome format --write"`. [50c0f493-fade-46b2-8c0
- - Call `cacheLife` at most once per function invocation. [b9b24c1c-1296-4bfa-ba5c-b1a85405bc5f]
- Only `GET` Route Handlers are supported, combined with `export const dynamic = 'force-static'`. [e52877e7-d6d8-409c-936b-5e5da34bede0]
+ - Run `npx @next/codemod@canary cache-components-instant-false ./app`. [2c03b8ee-1dda-478c-8731-16afcf2d78dc]
+ - Remove the config. Fetches are uncached unless they run inside a `use cache` scope.
+ Run `npx @next/codemod@canary upgrade latest` to migrate. It updates `next.config.js` to the `turbopack` config, migrates `next lint` to the ESLint CLI, migrate
+ - Run `npx @next/codemod@canary middleware-to-proxy .`. It renames `middleware.ts` to `proxy.ts` and the function from `middleware` to `proxy`. [40f3c6de-2900-4
+ - Call `cacheLife` in the same function or component where caching is defined, and ensure only one call executes per invocation. [b9b24c1c-1296-4bfa-ba5c-b1a854
+ - Use `go:embed` for assets, because runtime file reads are not traced. [3beb2601-7f03-4f7c-92bb-c557737f56b1]
ChangeClaimSourceMatch
changed (entailment, state)
CLM-0024 In Next.js 16, `generateImageMetadata` still receives synchronous `params`.
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.mdxsame text
changed (source, entailment, state)
CLM-0001 Versions before Next.js 16.1.0 do not support the `upgrade` command.
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.mdxsame text
changed (source, entailment, state)
CLM-0023 In Next.js 16, in `opengraph-image`, `twitter-image`, `icon` and `apple-icon`, the image function receives `params` and `id` as Promises.
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.mdxsame text
changed (source, entailment, state)
CLM-0101 `agentFeedback` is experimental, disabled by default, requires Next.js Telemetry, and does not run in CI.
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.mdxsame text
changed (source, entailment, state)
CLM-0080 Keep `cacheLife` `stale` at 30 seconds or more, or the scope drops out of prefetching.
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.mdxsame text
changed (text, source, entailment, state)
CLM-0062 With `cacheComponents`, existing `fetch` and `unstable_cache` caching keeps working, and migrating `unstable_cache` is optional.
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.mdxsimilarity 0.978
changed (text, source, entailment, state)
CLM-0041 To keep the old parallel route behavior in Next.js 16, have `default.js` call `notFound()` or return `null`.
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.mdxsimilarity 0.977
changed (text)
CLM-0014 The skip flags in `npx @next/codemod upgrade` do not bypass the target's peer dependency requirements.
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.mdxsimilarity 0.973
changed (text)
CLM-0035 In Next.js 16, the default for `images.qualities` changed from allowing all qualities to only `[75]`.
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.mdxsimilarity 0.973
changed (text)
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.
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.mdxsimilarity 0.972
changed (text, source, entailment, state)
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.
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.mdxsimilarity 0.971
changed (text, source, entailment, state)
CLM-0027 In Next.js 16, flags containing `middleware` are renamed too, such as `skipMiddlewareUrlNormalize` becoming `skipProxyUrlNormalize`.
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.mdxsimilarity 0.966
changed (text, source, entailment, state)
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`.
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.mdxsimilarity 0.964
changed (text)
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.
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.mdxsimilarity 0.96
changed (text)
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.
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.mdxsimilarity 0.959
changed (text, source, entailment, state)
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`.
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.mdxsimilarity 0.957
changed (text)
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' } }`.
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.mdxsimilarity 0.955
changed (text, source, entailment, state)
CLM-0037 In Next.js 16, unsupported `q` values on direct `/_next/image` requests return `400`.
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.mdxsimilarity 0.938
changed (text, source, entailment, state)
CLM-0007 In `npx @next/codemod upgrade [revision]`, `revision` defaults to `minor` for stable versions.
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.mdxsimilarity 0.934
changed (text)
CLM-0077 The Cache Components adoption skill is installed with `npx skills add vercel/next.js --skill next-cache-components-adoption`.
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.mdxsimilarity 0.929
changed (text, source, entailment, state)
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`.
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.mdxsimilarity 0.929
changed (text)
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`.
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.mdxsimilarity 0.925
changed (text, source, entailment, state)
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`.
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.mdxsimilarity 0.925
changed (text)
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`.
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.mdxsimilarity 0.924
changed (text)
CLM-0043 In Next.js 16, Next.js no longer overrides a global `scroll-behavior: smooth` during navigation.
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.mdxsimilarity 0.922
changed (text, source, entailment, state)
CLM-0069 With `cacheComponents`, `generateStaticParams` must return at least one param, and returning `[]` raises `empty-generate-static-params`.
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.mdxsimilarity 0.918
changed (text)
CLM-0009 The `--skip-react-upgrade` flag for `npx @next/codemod upgrade` preserves React dependencies, types and overrides, and skips React codemods.
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.mdxsimilarity 0.914
changed (text)
CLM-0100 The `logging.browserToTerminal` config forwards browser console errors and warnings to the terminal.
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.mdxsimilarity 0.913
changed (text, source, entailment, state)
CLM-0079 Arguments to `use cache` functions and `cacheTag` values are stored in plain text, so secrets should not be put in them.
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.mdxsimilarity 0.91
changed (text)
CLM-0004 To have a coding agent perform and verify the upgrade, run `npx next@canary upgrade --agent=latest`.
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.mdxsimilarity 0.901
changed (text, entailment, state)
CLM-0090 `npx @next/codemod@latest app-dir-runtime-config-experimental-edge .` transforms the Route Segment Config `runtime` value `experimental-edge` to `edge`.
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.mdxsimilarity 0.892
changed (text)
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"`.
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.mdxsimilarity 0.891
changed (text, source, entailment, state)
CLM-0112 The `_rsc` search parameter must be part of the CDN cache key.
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.mdxsimilarity 0.889
changed (text, source, entailment, state)
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.
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.mdxsimilarity 0.881
changed (text, source, entailment, state)
CLM-0016 The upgrading guide lists `forbidden`, `unauthorized`, `forbidden.js`, `unauthorized.js` and the `authInterrupts` config as available in canary.
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.mdxsimilarity 0.878
changed (text, source, entailment, state)
CLM-0054 `adapterPath` was promoted to a stable, top-level option in Next.js 16.2.0.
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.mdxsimilarity 0.877
changed (text)
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.
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.mdxsimilarity 0.87
changed (text)
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/`.
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.mdxsimilarity 0.87
changed (text, source, entailment, state)
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.
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.mdxsimilarity 0.87
changed (text, source, entailment, state)
CLM-0060 With `cacheComponents`, `dynamic`, `revalidate` and `fetchCache` are replaced by `use cache` and `cacheLife`.
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.mdxsimilarity 0.866
changed (text)
CLM-0123 Vitest does not support `async` Server Components, so use E2E tests for them.
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.mdxsimilarity 0.859
changed (text, source, entailment, state)
CLM-0074 The `cache-components-instant-false` codemod adds the export to every `page`, `layout` and `default` that does not already export `instant`.
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.mdxsimilarity 0.858
changed (text, source, entailment, state)
CLM-0045 In Next.js 16, the `size` and `First Load JS` metrics are removed from `next build` output.
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.mdxsimilarity 0.857
changed (text)
CLM-0117 Next.js dispatches Server Actions one at a time per client, so using them for data fetching introduces sequential execution.
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.mdxsimilarity 0.856
changed (text, source)
CLM-0118 Next.js dispatches Server Actions one at a time per client, so using them for data fetching introduces sequential execution.
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.mdxsimilarity 0.856
changed (text, source, entailment, state)
CLM-0002 Versions before Next.js 16.1.0 need `npx @next/codemod@canary upgrade latest` instead of the `upgrade` command.
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.mdxsimilarity 0.852
changed (text)
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.
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.mdxsimilarity 0.847
changed (text)
CLM-0055 `next lint` scripts can be migrated with `npx @next/codemod@canary next-lint-to-eslint-cli .`.
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.mdxsimilarity 0.828
changed (text, source, entailment, state)
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>`.
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.mdxsimilarity 0.825
changed (text, source, entailment, state)
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.
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.mdxsimilarity 0.822
changed (text)
CLM-0011 The `-y, --yes` flag for `npx @next/codemod upgrade` skips every prompt and accepts the defaults.
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.mdxsimilarity 0.819
changed (text, source, entailment, state)
CLM-0019 The Next.js 16 `upgrade` codemod does not run every migration.
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.mdxsimilarity 0.818
changed (text)
CLM-0059 Enabling `cacheComponents: true` in `next.config.ts` replaces `experimental.dynamicIO` and `experimental.useCache`.
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.mdxsimilarity 0.816
changed (text)
CLM-0026 The codemod `npx @next/codemod@canary middleware-to-proxy .` renames the file and the function from `middleware` to `proxy`.
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.mdxsimilarity 0.816
changed (text, source, entailment, state)
CLM-0061 Segments that still export `dynamic`, `revalidate` or `fetchCache` will error after `cacheComponents` is enabled.
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.mdxsimilarity 0.815
changed (text, source, entailment, state)
CLM-0005 In `npx @next/codemod upgrade [revision]`, `revision` is optional.
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.mdxsimilarity 0.804
changed (text)
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.
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.mdxsimilarity 0.803
addedCLM-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.mdxclosest removed claim CLM-0003, similarity 0.486, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0008, similarity 0.5, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0003, similarity 0.486, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0003, similarity 0.486, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0003, similarity 0.37, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0110, similarity 0.275, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0020, similarity 0.396, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0008, similarity 0.471, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0015, similarity 0.67, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0072, similarity 0.694, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0075, similarity 0.699, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0075, similarity 0.434, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0065, similarity 0.364, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0070, similarity 0.558, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0070, similarity 0.564, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0071, similarity 0.759, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0064, similarity 0.58, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0066, similarity 0.498, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0066, similarity 0.761, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0087, similarity 0.303, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0025, similarity 0.464, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0020, similarity 0.68, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0018, similarity 0.7, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0025, similarity 0.56, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0040, similarity 0.616, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0048, similarity 0.778, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0049, similarity 0.371, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0049, similarity 0.678, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0033, similarity 0.567, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0030, similarity 0.668, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0034, similarity 0.794, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0038, similarity 0.797, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0017, similarity 0.722, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0040, similarity 0.503, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0017, similarity 0.688, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0021, similarity 0.649, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0087, similarity 0.472, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0091, similarity 0.708, below the match threshold
addedCLM-0085 --webpack uses the webpack bundled with Next.js.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdxclosest removed claim CLM-0102, similarity 0.569, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0102, similarity 0.559, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0092, similarity 0.739, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0105, similarity 0.536, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0106, similarity 0.764, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0108, similarity 0.712, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0110, similarity 0.653, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0111, similarity 0.734, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0096, similarity 0.656, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0047, similarity 0.251, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0099, similarity 0.751, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0015, similarity 0.274, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0066, similarity 0.177, below the match threshold
addedCLM-0105 cacheHandlers (plural) configures 'use cache' directive backends.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdxclosest removed claim CLM-0086, similarity 0.429, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0086, similarity 0.629, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0078, similarity 0.561, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0078, similarity 0.797, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0082, similarity 0.27, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0089, similarity 0.713, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0078, similarity 0.274, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0114, similarity 0.674, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0114, similarity 0.341, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0116, similarity 0.402, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0003, similarity 0.39, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0078, similarity 0.273, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0047, similarity 0.246, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0073, similarity 0.193, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0122, similarity 0.748, below the match threshold
addedCLM-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.mdxclosest removed claim CLM-0120, similarity 0.762, below the match threshold
addedCODE-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-1closest removed claim CLM-0105, similarity 0.382, below the match threshold
removedCLM-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.mdxclosest added claim CLM-0001, similarity 0.486
removedCLM-0008 `npx @next/codemod upgrade` supports the `--verbose` flag.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdxclosest added claim CLM-0002, similarity 0.5
removedCLM-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.mdxclosest added claim CLM-0022, similarity 0.67
removedCLM-0017 Next.js version 15 made `cookies`, `headers`, `draftMode`, `params` and `searchParams` asynchronous, with temporary synchronous access.closest added claim CLM-0077, similarity 0.722
removedCLM-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.mdxclosest added claim CLM-0048, similarity 0.7
removedCLM-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.mdxclosest added claim CLM-0047, similarity 0.68
removedCLM-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.mdxclosest added claim CLM-0080, similarity 0.649
removedCLM-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.mdxclosest added claim CLM-0080, similarity 0.586
removedCLM-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.mdxclosest added claim CLM-0051, similarity 0.56
removedCLM-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.mdxclosest added claim CLM-0067, similarity 0.295
removedCLM-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.mdxclosest added claim CLM-0065, similarity 0.668
removedCLM-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.mdxclosest added claim CLM-0051, similarity 0.454
removedCLM-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.mdxclosest added claim CLM-0067, similarity 0.756
removedCLM-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.mdxclosest added claim CLM-0067, similarity 0.794
removedCLM-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.mdxclosest added claim CLM-0069, similarity 0.797
removedCLM-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.mdxclosest added claim CLM-0069, similarity 0.539
removedCLM-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.mdxclosest added claim CLM-0052, similarity 0.616
removedCLM-0047 In Next.js 16, `typegen` and `build` are still visible in `process.argv` in the config file.closest added claim CLM-0059, similarity 0.67
removedCLM-0048 In Next.js 16, check `process.env.NODE_ENV === 'development'` or use the config `phase` instead of `process.argv.includes('dev')`.closest added claim CLM-0059, similarity 0.778
removedCLM-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.mdxclosest added claim CLM-0061, similarity 0.678
removedCLM-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.mdxclosest added claim CLM-0064, similarity 0.406
removedCLM-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.closest added claim CLM-0064, similarity 0.369
removedCLM-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.mdxclosest added claim CLM-0064, similarity 0.426
removedCLM-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.mdxclosest added claim CLM-0100, similarity 0.26
removedCLM-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.mdxclosest added claim CLM-0037, similarity 0.445
removedCLM-0064 With `cacheComponents`, without a `use cache` scope, fetches are uncached.closest added claim CLM-0037, similarity 0.58
removedCLM-0065 With `cacheComponents`, wrap data that should stay cached in `use cache`.closest added claim CLM-0038, similarity 0.487
removedCLM-0066 With `cacheComponents`, to replace `force-no-store`, leave the data outside a cache scope and remove any explicit cache option.closest added claim CLM-0039, similarity 0.761
removedCLM-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.mdxclosest added claim CLM-0035, similarity 0.564
removedCLM-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.mdxclosest added claim CLM-0036, similarity 0.759
removedCLM-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.mdxclosest added claim CLM-0023, similarity 0.694
removedCLM-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.mdxclosest added claim CLM-0023, similarity 0.524
removedCLM-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.mdxclosest added claim CLM-0025, similarity 0.699
removedCLM-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`.closest added claim CLM-0108, similarity 0.797
removedCLM-0082 `cacheLife` should be called at most once per function invocation.closest added claim CLM-0111, similarity 0.27
removedCLM-0083 Preset `cacheLife` profiles are `seconds`, `minutes`, `hours`, `days`, `weeks` and `max`.closest added claim CLM-0100, similarity 0.141
removedCLM-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.mdxclosest added claim CLM-0111, similarity 0.222
removedCLM-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.mdxclosest added claim CLM-0038, similarity 0.336
removedCLM-0086 `'use cache: remote'` is configured through `cacheHandlers`.closest added claim CLM-0106, similarity 0.629
removedCLM-0087 `useFormState` is replaced by `useActionState`, and is still available in React 19 but deprecated and will be removed in a future release.closest added claim CLM-0082, similarity 0.472
removedCLM-0089 In Next.js 14 and earlier `cookies` was synchronous, and synchronous access still works in 15 but will be deprecated.closest added claim CLM-0115, similarity 0.713
removedCLM-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.closest added claim CLM-0084, similarity 0.708
removedCLM-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.mdxclosest added claim CLM-0088, similarity 0.739
removedCLM-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.mdxclosest added claim CLM-0088, similarity 0.339
removedCLM-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.mdxclosest added claim CLM-0097, similarity 0.656
removedCLM-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.mdxclosest added claim CLM-0097, similarity 0.531
removedCLM-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.mdxclosest added claim CLM-0100, similarity 0.751
removedCLM-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.mdxclosest added claim CLM-0085, similarity 0.569
removedCLM-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.mdxclosest added claim CLM-0085, similarity 0.414
removedCLM-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.mdxclosest added claim CLM-0090, similarity 0.536
removedCLM-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`.closest added claim CLM-0091, similarity 0.764
removedCLM-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.mdxclosest added claim CLM-0093, similarity 0.712
removedCLM-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.mdxclosest added claim CLM-0094, similarity 0.337
removedCLM-0110 In `import.meta.glob`, the `base` option makes result keys relative to `base` rather than to the importing file.closest added claim CLM-0094, similarity 0.653
removedCLM-0111 `transitionTypes` is a prop on `<Link>` that tags a navigation for view transitions, for example `transitionTypes={['nav-forward']}` or `['nav-back']`.closest added claim CLM-0095, similarity 0.734
removedCLM-0114 `loadEnvConfig(projectDir)` from `@next/env` loads env files the way Next.js does, which is useful in test setup.closest added claim CLM-0119, similarity 0.674
removedCLM-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.mdxclosest added claim CLM-0122, similarity 0.402
removedCLM-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.mdxclosest added claim CLM-0095, similarity 0.291
removedCLM-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.mdxclosest added claim CLM-0129, similarity 0.762
removedCLM-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.mdxclosest added claim CLM-0127, similarity 0.745
removedCLM-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.mdxclosest added claim CLM-0127, similarity 0.748
removedCODE-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-1closest added claim CODE-0001, similarity 0.26

Claims match by cited source and text, then by similarity at or above the match threshold (0.8, an Example value). A weaker pair shows as one removed and one added claim, with its score.

The same diff, for agents

{
  "method": "tools/call",
  "params": {
    "name": "get_changes",
    "arguments": {
      "artifact_id": "b4cb4be4-1cdf-4231-a93c-39fd95ec6cdb",
      "from": 3,
      "to": 4
    }
  }
}

Also GET /v1/artifacts/b4cb4be4-1cdf-4231-a93c-39fd95ec6cdb/changes?from=&to=. See the MCP reference.

Update notices

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "resources/subscribe",
  "params": {
    "uri": "contextfile://artifact/b4cb4be4-1cdf-4231-a93c-39fd95ec6cdb"
  }
}

When a new version passes verification, a subscribed session gets notifications/resources/updated and the subscriber's webhooks get artifact.version_published with the diff summary.