vercel/next.js
### [`v13.1.6`](https://togithub.com/vercel/next.js/releases/tag/v13.1.6)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.5...v13.1.6)
##### Core Changes
- Add debug info to static bailout message: [#45192](https://togithub.com/vercel/next.js/issues/45192)
- Fix dynamic no ssr with babel transform: [#45091](https://togithub.com/vercel/next.js/issues/45091)
- Fix React.lazy preloading during SSR: [#45160](https://togithub.com/vercel/next.js/issues/45160)
- Fix error overlay links in parenthesis: [#45155](https://togithub.com/vercel/next.js/issues/45155)
- Add build time error if error.js is missing "use client": [#44961](https://togithub.com/vercel/next.js/issues/44961)
- Show component stack in error overlay on hydration error: [#45089](https://togithub.com/vercel/next.js/issues/45089)
- Reduce component stack spacing for components without metadata: [#45218](https://togithub.com/vercel/next.js/issues/45218)
- Revert "Revert "Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"" ([#45113](https://togithub.com/vercel/next.js/issues/45113))"": [#45196](https://togithub.com/vercel/next.js/issues/45196)
- Update handling of autoscrolling on navigation in app: [#43845](https://togithub.com/vercel/next.js/issues/43845)
- perf: avoid sync re-renders when using next/link and next/image: [#45165](https://togithub.com/vercel/next.js/issues/45165)
- Support metadata icons field: [#45105](https://togithub.com/vercel/next.js/issues/45105)
- Add editor links to RSC build error: [#45179](https://togithub.com/vercel/next.js/issues/45179)
- misc: change strategy for link prefetch test: [#45234](https://togithub.com/vercel/next.js/issues/45234)
- Add handling for app/pages manifest race condition: [#45244](https://togithub.com/vercel/next.js/issues/45244)
- Update transform exports and tests: [#45251](https://togithub.com/vercel/next.js/issues/45251)
- Attach exports information in SWC transforms: [#45261](https://togithub.com/vercel/next.js/issues/45261)
- Update app cache handling in development: [#45248](https://togithub.com/vercel/next.js/issues/45248)
- TS plugin: warn about `amp` config in app: [#45254](https://togithub.com/vercel/next.js/issues/45254)
- Fix typo in TS plugin: [#45279](https://togithub.com/vercel/next.js/issues/45279)
- Allow metadata related exports in TS plugin: [#45282](https://togithub.com/vercel/next.js/issues/45282)
- build(cargo): update turbopack to turbopack-230125.1: [#45283](https://togithub.com/vercel/next.js/issues/45283)
- \[edge] improve `fetch` stack traces in edge runtime: [#44750](https://togithub.com/vercel/next.js/issues/44750)
- Move router reducer to separate file: [#45236](https://togithub.com/vercel/next.js/issues/45236)
- add next.config.js options currently supported by turbopack: [#45309](https://togithub.com/vercel/next.js/issues/45309)
- Update debug logs for app cache: [#45291](https://togithub.com/vercel/next.js/issues/45291)
- Improved `pnpm clean`: [#45312](https://togithub.com/vercel/next.js/issues/45312)
- Fix:Manage Firefox and Safari Network error message: [#44929](https://togithub.com/vercel/next.js/issues/44929)
- build(cargo): update turbopack to turbopack-230126.1: [#45322](https://togithub.com/vercel/next.js/issues/45322)
- add `pageExtensions` as a supported turbopack option: [#45321](https://togithub.com/vercel/next.js/issues/45321)
- Ensure we warn for middleware with next export: [#45288](https://togithub.com/vercel/next.js/issues/45288)
- Add unit test for shouldHardNavigate: [#45303](https://togithub.com/vercel/next.js/issues/45303)
- Add unit test for redirect.ts: [#45223](https://togithub.com/vercel/next.js/issues/45223)
- Add test for fillCacheWithNewSubTreeData: [#45298](https://togithub.com/vercel/next.js/issues/45298)
- Add test for isNavigatingToNewRootLayout: [#45305](https://togithub.com/vercel/next.js/issues/45305)
- Remove unused optimistic tree parameters: [#45264](https://togithub.com/vercel/next.js/issues/45264)
- Ensure invalidateCacheBelowFlightSegmentPath file name is in line with the rest: [#45299](https://togithub.com/vercel/next.js/issues/45299)
- Resolve metadata fields: [#45237](https://togithub.com/vercel/next.js/issues/45237)
- Add turbopack route resolve handling: [#45314](https://togithub.com/vercel/next.js/issues/45314)
- Remove extra .ts from test file: [#45328](https://togithub.com/vercel/next.js/issues/45328)
- Add test for createOptimisticTree: [#45330](https://togithub.com/vercel/next.js/issues/45330)
- Clean up resolved todos: [#45332](https://togithub.com/vercel/next.js/issues/45332)
- add `turbopackLoaders` to config validation: [#45337](https://togithub.com/vercel/next.js/issues/45337)
##### Documentation Changes
- Update example test file name in cypress example: [#45146](https://togithub.com/vercel/next.js/issues/45146)
- chore: fix invalid-new-link error typo: [#45157](https://togithub.com/vercel/next.js/issues/45157)
- Update testing.md: [#45216](https://togithub.com/vercel/next.js/issues/45216)
- Update no-html-link-for-pages.md: [#45247](https://togithub.com/vercel/next.js/issues/45247)
- Update getting-started documentation: [#45284](https://togithub.com/vercel/next.js/issues/45284)
##### Example Changes
- Update README.md for examples/with-mqtt-js: [#45162](https://togithub.com/vercel/next.js/issues/45162)
- Pin library version in Convex example: [#45206](https://togithub.com/vercel/next.js/issues/45206)
- Updates with-supertokens example app: [#45214](https://togithub.com/vercel/next.js/issues/45214)
##### Misc Changes
- Re-prompt on invalid import alias: [#45194](https://togithub.com/vercel/next.js/issues/45194)
- create-next-app: warn if project dir isn't empty before prompts: [#45195](https://togithub.com/vercel/next.js/issues/45195)
- Add timeout for actions/cache restoring: [#45198](https://togithub.com/vercel/next.js/issues/45198)
- Update testing.md to reflect that we don't use `yarn` anymore: [#45185](https://togithub.com/vercel/next.js/issues/45185)
- fix: add src prefix on index page: [#45150](https://togithub.com/vercel/next.js/issues/45150)
- Ensure ctrl + c handling works with CNA prompts correctly: [#45205](https://togithub.com/vercel/next.js/issues/45205)
- Fix turbo cache miss due to depending on gitignored files: [#45166](https://togithub.com/vercel/next.js/issues/45166)
- Allow unit tests to be written in packages/next/src: [#45222](https://togithub.com/vercel/next.js/issues/45222)
- Run dev tests against default CNA templates: [#45211](https://togithub.com/vercel/next.js/issues/45211)
- Increase cache timeout for swc built files: [#45243](https://togithub.com/vercel/next.js/issues/45243)
- refactor(create-next-app): simplify import alias validation logic: [#45241](https://togithub.com/vercel/next.js/issues/45241)
- ci(workflow): notify new releases to vercel/turbo via repo_dispatch: [#45201](https://togithub.com/vercel/next.js/issues/45201)
- Revert "Fix new-error command": [#45221](https://togithub.com/vercel/next.js/issues/45221)
- Update flakey test cases: [#45290](https://togithub.com/vercel/next.js/issues/45290)
- Update flakey polyfills and acceptance tests: [#45313](https://togithub.com/vercel/next.js/issues/45313)
- Add docs on how to use MDX with app: [#44923](https://togithub.com/vercel/next.js/issues/44923)
- Update flakey fetch stack test: [#45318](https://togithub.com/vercel/next.js/issues/45318)
- Enable JS CNA tests for turbopack: [#45323](https://togithub.com/vercel/next.js/issues/45323)
##### Credits
Huge thanks to [@MaxLeiter](https://togithub.com/MaxLeiter), [@CachorroC](https://togithub.com/CachorroC), [@ijjk](https://togithub.com/ijjk), [@asadnq](https://togithub.com/asadnq), [@huozhi](https://togithub.com/huozhi), [@JanKaifer](https://togithub.com/JanKaifer), [@ilyasmez](https://togithub.com/ilyasmez), [@juliusmarminge](https://togithub.com/juliusmarminge), [@thomasballinger](https://togithub.com/thomasballinger), [@tissawd](https://togithub.com/tissawd), [@hanneslund](https://togithub.com/hanneslund), [@shuding](https://togithub.com/shuding), [@timneutkens](https://togithub.com/timneutkens), [@feedthejim](https://togithub.com/feedthejim), [@ClemensPaumgarten](https://togithub.com/ClemensPaumgarten), [@kwonoj](https://togithub.com/kwonoj), [@Angelfire](https://togithub.com/Angelfire), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@HyunseungLee-Travis](https://togithub.com/HyunseungLee-Travis), [@wbinnssmith](https://togithub.com/wbinnssmith), [@Schniz](https://togithub.com/Schniz), [@ForsakenHarmony](https://togithub.com/ForsakenHarmony), [@wyattjoh](https://togithub.com/wyattjoh), and [@dtrucs](https://togithub.com/dtrucs) for helping!
### [`v13.1.5`](https://togithub.com/vercel/next.js/releases/tag/v13.1.5)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.4...v13.1.5)
##### Core Changes
- Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"": [#45113](https://togithub.com/vercel/next.js/issues/45113)
- Update incremental cache handler for minimal mode: [#45123](https://togithub.com/vercel/next.js/issues/45123)
- build(cargo): update turbopack: [#45126](https://togithub.com/vercel/next.js/issues/45126)
- Revert "Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"" ([#45113](https://togithub.com/vercel/next.js/issues/45113))": [#45130](https://togithub.com/vercel/next.js/issues/45130)
- Update reducer comments: [#45127](https://togithub.com/vercel/next.js/issues/45127)
- Ensure config warnings only show once: [#45142](https://togithub.com/vercel/next.js/issues/45142)
- Don't log suppressed error during export: [#45100](https://togithub.com/vercel/next.js/issues/45100)
- Add support for node: prefix when importing Node.js builtin modules: [#45149](https://togithub.com/vercel/next.js/issues/45149)
##### Example Changes
- update Mux Player to latest, pin to ^1 and pin upchunk to ^3 add Mux …: [#45121](https://togithub.com/vercel/next.js/issues/45121)
##### Misc Changes
- Update CODEOWNERS: [#45178](https://togithub.com/vercel/next.js/issues/45178)
- Switch from `yarn pack` to `pnpm pack` in tests: [#45167](https://togithub.com/vercel/next.js/issues/45167)
##### Credits
Huge thanks to [@shuding](https://togithub.com/shuding), [@dylanjha](https://togithub.com/dylanjha), [@ijjk](https://togithub.com/ijjk), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@timneutkens](https://togithub.com/timneutkens), [@hanneslund](https://togithub.com/hanneslund), [@feedthejim](https://togithub.com/feedthejim), and [@JanKaifer](https://togithub.com/JanKaifer) for helping!
### [`v13.1.4`](https://togithub.com/vercel/next.js/releases/tag/v13.1.4)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.3...v13.1.4)
##### Core Changes
- Initial support for metadata: [#44729](https://togithub.com/vercel/next.js/issues/44729)
- Improve swc transforms: [#45083](https://togithub.com/vercel/next.js/issues/45083)
- Update swc_core to `v0.56.0`: [#44792](https://togithub.com/vercel/next.js/issues/44792)
- fix([#44077](https://togithub.com/vercel/next.js/issues/44077)): allow edge runtime for api routes inside src/ folder: [#45093](https://togithub.com/vercel/next.js/issues/45093)
- Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))": [#45111](https://togithub.com/vercel/next.js/issues/45111)
- build(cargo): update turbopack: [#45109](https://togithub.com/vercel/next.js/issues/45109)
##### Documentation Changes
- Fix broken argument for rewrites on link reference docs: [#45073](https://togithub.com/vercel/next.js/issues/45073)
- Cannot redeclare block-scoped variable 'cookie'.: [#45079](https://togithub.com/vercel/next.js/issues/45079)
##### Misc Changes
- Fix metadata e2e test on deploy: [#45104](https://togithub.com/vercel/next.js/issues/45104)
- Update @next/font/google data: [#45092](https://togithub.com/vercel/next.js/issues/45092)
##### Credits
Huge thanks to [@guilhermefront](https://togithub.com/guilhermefront), [@shuding](https://togithub.com/shuding), [@kdy1](https://togithub.com/kdy1), [@iamrobins](https://togithub.com/iamrobins), [@hanneslund](https://togithub.com/hanneslund), [@feugy](https://togithub.com/feugy), and [@jridgewell](https://togithub.com/jridgewell) for helping!
### [`v13.1.3`](https://togithub.com/vercel/next.js/releases/tag/v13.1.3)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.2...v13.1.3)
##### Core Changes
- Refactor next dynamic: [#44832](https://togithub.com/vercel/next.js/issues/44832)
- Add built-in server-only and client-only: [#44861](https://togithub.com/vercel/next.js/issues/44861)
- Handle empty module from the next dynamic loader: [#44873](https://togithub.com/vercel/next.js/issues/44873)
- Update pre-compiled: [#44874](https://togithub.com/vercel/next.js/issues/44874)
- Use sequentialRead while encoding images with sharp: [#44881](https://togithub.com/vercel/next.js/issues/44881)
- Move server-external-packages to JSON: [#44910](https://togithub.com/vercel/next.js/issues/44910)
- fix standalone wrong url being logged: [#44887](https://togithub.com/vercel/next.js/issues/44887)
- Custom RSC compiler error message in pages/: [#44865](https://togithub.com/vercel/next.js/issues/44865)
- Replace eslint rule for `no-shadow` with `typescript-eslint/no-shadow`: [#44936](https://togithub.com/vercel/next.js/issues/44936)
- Ensure rootLayoutIncluded is set on partial render: [#44958](https://togithub.com/vercel/next.js/issues/44958)
- Fix force-static description in next-typescript: [#44951](https://togithub.com/vercel/next.js/issues/44951)
- Fix CSS imports being tracked multiple times: [#44938](https://togithub.com/vercel/next.js/issues/44938)
- Use withoutEnlargement instead of sharp.metadata(): [#44890](https://togithub.com/vercel/next.js/issues/44890)
- Update res.revalidate to pass through headers: [#44981](https://togithub.com/vercel/next.js/issues/44981)
- Add experimental.allowedRevalidateHeaderKeys config: [#44985](https://togithub.com/vercel/next.js/issues/44985)
- Gracefully handle telemetry not being available: [#44986](https://togithub.com/vercel/next.js/issues/44986)
- Add proper error when app path switches static to dynamic: [#44989](https://togithub.com/vercel/next.js/issues/44989)
- Ensure force-dynamic is honored during build: [#45015](https://togithub.com/vercel/next.js/issues/45015)
- Fix turbo usage in tests: [#44715](https://togithub.com/vercel/next.js/issues/44715)
- Add project directory rename/remove handling: [#44911](https://togithub.com/vercel/next.js/issues/44911)
- chore: open dev overlay error links in new tab: [#45018](https://togithub.com/vercel/next.js/issues/45018)
- Remove next-app-loader from import trace: [#44996](https://togithub.com/vercel/next.js/issues/44996)
- Ensure additional windows are not created on Windows OS: [#45022](https://togithub.com/vercel/next.js/issues/45022)
- Don't dispaly "Error: " twice when router isn't mounted: [#45038](https://togithub.com/vercel/next.js/issues/45038)
- Display the reason of hydration error in error overlay: [#44857](https://togithub.com/vercel/next.js/issues/44857)
- Fix typescript plugin: [#44128](https://togithub.com/vercel/next.js/issues/44128)
- Add shiki and vscode-oniguruma to default server-external packages: [#44968](https://togithub.com/vercel/next.js/issues/44968)
- Fix error when CSS [@import](https://togithub.com/import) fails to resolve: [#45010](https://togithub.com/vercel/next.js/issues/45010)
- Fix next/dynamic non ssr in pages when appDir is enabled: [#45066](https://togithub.com/vercel/next.js/issues/45066)
##### Documentation Changes
- Update building-forms.md: [#44862](https://togithub.com/vercel/next.js/issues/44862)
- Prompt for custom import alias and store preferences in CNA: [#44872](https://togithub.com/vercel/next.js/issues/44872)
- Next/Script documentation beforeInteractive inconsistency: [#44898](https://togithub.com/vercel/next.js/issues/44898)
- fix(docs): update broken link for preset.ts: [#44916](https://togithub.com/vercel/next.js/issues/44916)
- Fix Node.js version to 14.6.0 in Upgrading guide.: [#44939](https://togithub.com/vercel/next.js/issues/44939)
- update redirects.md: [#44960](https://togithub.com/vercel/next.js/issues/44960)
- Add AsyncLocalStorage to edge-runtime APIs: [#44975](https://togithub.com/vercel/next.js/issues/44975)
##### Example Changes
- Removes title warning from cms example: [#44894](https://togithub.com/vercel/next.js/issues/44894)
- Fix `with-stencil` example: [#44964](https://togithub.com/vercel/next.js/issues/44964)
- refactor: Latest Tigris sdk and example using decorators: [#44256](https://togithub.com/vercel/next.js/issues/44256)
##### Misc Changes
- port `type: needs investigation` into linear: [#44823](https://togithub.com/vercel/next.js/issues/44823)
- Create new action that will auto-label issues that have some activity after we mark them as "verify-canary" or "add repro"": [#44815](https://togithub.com/vercel/next.js/issues/44815)
- test(snapshot): allow snapshot test not invalidate with --turbo: [#43545](https://togithub.com/vercel/next.js/issues/43545)
- Remove extra styled-components disabled test: [#44870](https://togithub.com/vercel/next.js/issues/44870)
- Fix prepublish compiled handling: [#44914](https://togithub.com/vercel/next.js/issues/44914)
- Update test env variable passing: [#44912](https://togithub.com/vercel/next.js/issues/44912)
- Support Prefer Offline for testing: [#44935](https://togithub.com/vercel/next.js/issues/44935)
- Update test env for E2E deploy mode: [#44937](https://togithub.com/vercel/next.js/issues/44937)
- Update build env for test timings: [#44970](https://togithub.com/vercel/next.js/issues/44970)
- Update to skip test timings on docs change: [#44971](https://togithub.com/vercel/next.js/issues/44971)
- Update some flakey acceptance tests: [#44984](https://togithub.com/vercel/next.js/issues/44984)
- Optimize to skip upload for non-publish swc builds: [#44987](https://togithub.com/vercel/next.js/issues/44987)
- Update codesandbox link in issue template: [#44995](https://togithub.com/vercel/next.js/issues/44995)
- Update test timings token env: [#45014](https://togithub.com/vercel/next.js/issues/45014)
- Remove useless ts-ignores: [#45025](https://togithub.com/vercel/next.js/issues/45025)
- Fix release stats: [#45027](https://togithub.com/vercel/next.js/issues/45027)
- Remove legacy safari test: [#45055](https://togithub.com/vercel/next.js/issues/45055)
##### Credits
Huge thanks to [@huozhi](https://togithub.com/huozhi), [@ijjk](https://togithub.com/ijjk), [@kwonoj](https://togithub.com/kwonoj), [@josuareich](https://togithub.com/josuareich), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@JanKaifer](https://togithub.com/JanKaifer), [@rajavijayasaradhi](https://togithub.com/rajavijayasaradhi), [@rortan134](https://togithub.com/rortan134), [@IgnisDa](https://togithub.com/IgnisDa), [@ChanhyukPark-Tech](https://togithub.com/ChanhyukPark-Tech), [@hanneslund](https://togithub.com/hanneslund), [@wyattjoh](https://togithub.com/wyattjoh), [@leerob](https://togithub.com/leerob), [@kristian240](https://togithub.com/kristian240), [@deli-ght](https://togithub.com/deli-ght), [@shuding](https://togithub.com/shuding), [@ITJesse](https://togithub.com/ITJesse), [@dunklesToast](https://togithub.com/dunklesToast), [@therealrinku](https://togithub.com/therealrinku), [@adilansari](https://togithub.com/adilansari), [@reiss-d](https://togithub.com/reiss-d), and [@selenecodes](https://togithub.com/selenecodes) for helping!
### [`v13.1.2`](https://togithub.com/vercel/next.js/releases/tag/v13.1.2)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.1...v13.1.2)
##### Core Changes
- Add special error message for class component in server component: [#44265](https://togithub.com/vercel/next.js/issues/44265)
- Update license year: [#44403](https://togithub.com/vercel/next.js/issues/44403)
- Move core files to src folder and move JS files to TypeScript: [#44405](https://togithub.com/vercel/next.js/issues/44405)
- refactor: add warning helper for removed experimental option: [#44213](https://togithub.com/vercel/next.js/issues/44213)
- types: remove config.experimental.profiling: [#44507](https://togithub.com/vercel/next.js/issues/44507)
- chore: addresses leftover from [#44045](https://togithub.com/vercel/next.js/issues/44045): [#44080](https://togithub.com/vercel/next.js/issues/44080)
- Fix cookie parsing removing extra `=`: [#44218](https://togithub.com/vercel/next.js/issues/44218)
- Update server-external-packages to include aws-crt: [#44214](https://togithub.com/vercel/next.js/issues/44214)
- Collapse sequences of call stack frames from React and Next.js in the error overlay: [#44137](https://togithub.com/vercel/next.js/issues/44137)
- Update json5 dependency to latest: [#44548](https://togithub.com/vercel/next.js/issues/44548)
- Improve errors caused by client hook called in a server component: [#44538](https://togithub.com/vercel/next.js/issues/44538)
- Remove unused `target: es5` from `tsconfig.json`: [#44567](https://togithub.com/vercel/next.js/issues/44567)
- Make static page prefetch apply on navigation in app dir: [#44502](https://togithub.com/vercel/next.js/issues/44502)
- Improve errors caused by Next.js client hook called in a server component: [#44588](https://togithub.com/vercel/next.js/issues/44588)
- Add updated flush handling on sigterm: [#44614](https://togithub.com/vercel/next.js/issues/44614)
- chore: improves console warnings related to edge runtime: [#44563](https://togithub.com/vercel/next.js/issues/44563)
- hmr error improvements: [#30616](https://togithub.com/vercel/next.js/issues/30616)
- feat(standalone): allow configuring `HOSTNAME` via env var: [#44627](https://togithub.com/vercel/next.js/issues/44627)
- Add experimental pre-compiled next-server: [#43198](https://togithub.com/vercel/next.js/issues/43198)
- Fix check-precompiled for next-server: [#44669](https://togithub.com/vercel/next.js/issues/44669)
- Refactor use of AsyncLocalStorage: [#44668](https://togithub.com/vercel/next.js/issues/44668)
- Add required default value for the ids parameter: [#44694](https://togithub.com/vercel/next.js/issues/44694)
- Start client compiler when server components are finished compiling: [#44716](https://togithub.com/vercel/next.js/issues/44716)
- fix: support runtime value when using multiple declarations per export: [#44732](https://togithub.com/vercel/next.js/issues/44732)
- land(Fix: Add trailing slash to locale redirect based on next config): [#44735](https://togithub.com/vercel/next.js/issues/44735)
- Fix IPv6 hostname formatting in CLI: [#43491](https://togithub.com/vercel/next.js/issues/43491)
- Hydration error link is appended multiple times in app-dir: [#44741](https://togithub.com/vercel/next.js/issues/44741)
- Improve errors caused by Class Component rendered in a server component.: [#44726](https://togithub.com/vercel/next.js/issues/44726)
- Update `jsonwebtoken`: [#44748](https://togithub.com/vercel/next.js/issues/44748)
- [@next/font](https://togithub.com/next/font): Add preconnect tag when fonts are used but not preloaded in app-dir: [#44746](https://togithub.com/vercel/next.js/issues/44746)
- Ensure folder exists for standalone server: [#44745](https://togithub.com/vercel/next.js/issues/44745)
- chore: Update `swc_core` to `v0.53.0`: [#44707](https://togithub.com/vercel/next.js/issues/44707)
- Revert "chore: Update `swc_core` to `v0.53.0`": [#44760](https://togithub.com/vercel/next.js/issues/44760)
- chore: fix typo: [#44761](https://togithub.com/vercel/next.js/issues/44761)
- Fix app ISR handling with no generateStaticParams: [#44787](https://togithub.com/vercel/next.js/issues/44787)
- Update to latest version of pnpm: [#44791](https://togithub.com/vercel/next.js/issues/44791)
- Fix router.refresh() resetting state and Suspense boundaries: [#44775](https://togithub.com/vercel/next.js/issues/44775)
- Fix capitalization in formatted server errors: [#44798](https://togithub.com/vercel/next.js/issues/44798)
- examples: Bump SWR to v2.0.0: [#44790](https://togithub.com/vercel/next.js/issues/44790)
- Fix image emittion for pure client image: [#44831](https://togithub.com/vercel/next.js/issues/44831)
##### Documentation Changes
- Update custom-app.md: [#44351](https://togithub.com/vercel/next.js/issues/44351)
- Update `next/head` docs.: [#44454](https://togithub.com/vercel/next.js/issues/44454)
- uses spelling: [#44399](https://togithub.com/vercel/next.js/issues/44399)
- Update Turbopack docs.: [#44468](https://togithub.com/vercel/next.js/issues/44468)
- Fix link to next-image-to-legacy-image codemod: [#44471](https://togithub.com/vercel/next.js/issues/44471)
- Add module transpilation docs: [#44518](https://togithub.com/vercel/next.js/issues/44518)
- Update TypeScript API Route example: [#44517](https://togithub.com/vercel/next.js/issues/44517)
- Update config-shared docs link: [#44547](https://togithub.com/vercel/next.js/issues/44547)
- Docs: Update `next/font` to `@next/font`: [#44573](https://togithub.com/vercel/next.js/issues/44573)
- Improve modularized imports docs and add config options to example: [#44560](https://togithub.com/vercel/next.js/issues/44560)
- Remove old links in docs.: [#44580](https://togithub.com/vercel/next.js/issues/44580)
- Test navigation between multiple root layouts: [#43762](https://togithub.com/vercel/next.js/issues/43762)
- \[docs/bugfix] fix code example for "Prefixing the Default Locale" - NEXT_LOCALE cookie usage: [#44587](https://togithub.com/vercel/next.js/issues/44587)
- Correct link to full list of `Permissions-Policy` permissions: [#44607](https://togithub.com/vercel/next.js/issues/44607)
- Update subset validation in @next/font/google and fix CJK bug: [#44594](https://togithub.com/vercel/next.js/issues/44594)
- Update mdx docs example to show merging config: [#44656](https://togithub.com/vercel/next.js/issues/44656)
- docs: clarify default `basePath` value: [#44642](https://togithub.com/vercel/next.js/issues/44642)
- docs(middleware): add \_next/image to match ignore: [#44659](https://togithub.com/vercel/next.js/issues/44659)
- Update redirects.md to fix a typo.: [#44677](https://togithub.com/vercel/next.js/issues/44677)
- Fix broken links in [@next/font](https://togithub.com/next/font) API reference: [#44714](https://togithub.com/vercel/next.js/issues/44714)
- Add missing modularizeImports on config snippets: [#44734](https://togithub.com/vercel/next.js/issues/44734)
- Update prompts for CNA and add default @/\* alias: [#44672](https://togithub.com/vercel/next.js/issues/44672)
- Clarify middleware.ts location in docs: [#44788](https://togithub.com/vercel/next.js/issues/44788)
##### Example Changes
- Update with-sentry README.md Next.js version: [#44374](https://togithub.com/vercel/next.js/issues/44374)
- fix link to index page in Image Component Example: [#44388](https://togithub.com/vercel/next.js/issues/44388)
- Update get-api-cookie.ts: [#44466](https://togithub.com/vercel/next.js/issues/44466)
- Update .gitignore in pwa example: [#44391](https://togithub.com/vercel/next.js/issues/44391)
- Use the stable GraphQL Yoga v3 in the GraphQL example: [#44488](https://togithub.com/vercel/next.js/issues/44488)
- \[examples] add @types/testing-library\_\_jest-dom package: [#44533](https://togithub.com/vercel/next.js/issues/44533)
- Improvements to Cloudinary Example: [#44572](https://togithub.com/vercel/next.js/issues/44572)
- Create i18n example using app-dir and middleware: [#44257](https://togithub.com/vercel/next.js/issues/44257)
- Add lang, generateStaticParams, and server-only for i18n example: [#44597](https://togithub.com/vercel/next.js/issues/44597)
- remove unnecessary babel.config.js in react native web example: [#43939](https://togithub.com/vercel/next.js/issues/43939)
- Update to with-supertokens example: [#44640](https://togithub.com/vercel/next.js/issues/44640)
- Add support for rendering MDX as a server component: [#44651](https://togithub.com/vercel/next.js/issues/44651)
- Update: SharedModal.tsx swipe bug in with-cloudinary: [#44771](https://togithub.com/vercel/next.js/issues/44771)
- \[example] Add missing package in app dir i18n example: [#44820](https://togithub.com/vercel/next.js/issues/44820)
##### Misc Changes
- docs: add pnpm to template readme: [#44427](https://togithub.com/vercel/next.js/issues/44427)
- Added actual error message to log output: [#44453](https://togithub.com/vercel/next.js/issues/44453)
- Fix isolated tests on windows and update azure config: [#44457](https://togithub.com/vercel/next.js/issues/44457)
- docs: Update GitHub CLI clone command in `developing.md`: [#44509](https://togithub.com/vercel/next.js/issues/44509)
- Cache package lock when running tests to speed up installation: [#44520](https://togithub.com/vercel/next.js/issues/44520)
- Test server component error recovery in dev: [#44155](https://togithub.com/vercel/next.js/issues/44155)
- Fix taskr watching core files
- add `testonly` variants for all test modes and refactored `test` as alias of `testheadless`: [#44528](https://togithub.com/vercel/next.js/issues/44528)
- Use test timings token when available: [#44549](https://togithub.com/vercel/next.js/issues/44549)
- Remove un-used app-dir test fixture: [#44546](https://togithub.com/vercel/next.js/issues/44546)
- Fix prettierignore_staged for compiled: [#44550](https://togithub.com/vercel/next.js/issues/44550)
- Revert "Use turbo for packing files in test setup ([#44074](https://togithub.com/vercel/next.js/issues/44074))": [#44566](https://togithub.com/vercel/next.js/issues/44566)
- Remove extra pnp test: [#44576](https://togithub.com/vercel/next.js/issues/44576)
- Update CNA tests running: [#44577](https://togithub.com/vercel/next.js/issues/44577)
- misc: fix benchmark script: [#44592](https://togithub.com/vercel/next.js/issues/44592)
- Change `NextInstance.fetch` Signature: [#44575](https://togithub.com/vercel/next.js/issues/44575)
- Update CNA test skipping: [#44606](https://togithub.com/vercel/next.js/issues/44606)
- Disable telemetry for `pnpm next` when contributing locally: [#44610](https://togithub.com/vercel/next.js/issues/44610)
- Update flakey styled-components test: [#44613](https://togithub.com/vercel/next.js/issues/44613)
- Temporarily disable Azure e2e tests: [#44616](https://togithub.com/vercel/next.js/issues/44616)
- Fix docs only change for canary: [#44617](https://togithub.com/vercel/next.js/issues/44617)
- Fix font unit test on Azure: [#44618](https://togithub.com/vercel/next.js/issues/44618)
- Fix paths for check-examples script: [#44661](https://togithub.com/vercel/next.js/issues/44661)
- Change test template to use TS and improve template for `app-dir`: [#44227](https://togithub.com/vercel/next.js/issues/44227)
- Replace usage of example.com in gssp-redirect tests: [#44664](https://togithub.com/vercel/next.js/issues/44664)
- Ensure yarn is used for next-with-deps: [#44666](https://togithub.com/vercel/next.js/issues/44666)
- Recommend next-with-deps for running examples: [#44667](https://togithub.com/vercel/next.js/issues/44667)
- Fix new-error command: [#44720](https://togithub.com/vercel/next.js/issues/44720)
- @next/font/google unknown font error: [#44713](https://togithub.com/vercel/next.js/issues/44713)
- Migrate set-output usage to $GITHB_OUTPUT: [#44757](https://togithub.com/vercel/next.js/issues/44757)
- Add simple test that custom server works: [#44536](https://togithub.com/vercel/next.js/issues/44536)
- Migrate basic-basepath tests into basic: [#44776](https://togithub.com/vercel/next.js/issues/44776)
- Autolabel with linear when labeled with kind: bug: [#44774](https://togithub.com/vercel/next.js/issues/44774)
- Exposing NextFont types: [#44772](https://togithub.com/vercel/next.js/issues/44772)
- Fix set output handling for DOCS_CHANGE env: [#44789](https://togithub.com/vercel/next.js/issues/44789)
- Fix echoing DOCS_CHANGE result
- Correctly handle @next/font/google fonts without any preloadable subsets: [#44809](https://togithub.com/vercel/next.js/issues/44809)
- Update release stats for newer pnpm version: [#44828](https://togithub.com/vercel/next.js/issues/44828)
- Fix FreeBSD next-swc build: [#44833](https://togithub.com/vercel/next.js/issues/44833)
##### Credits
Huge thanks to [@shuding](https://togithub.com/shuding), [@chogyejin](https://togithub.com/chogyejin), [@ijjk](https://togithub.com/ijjk), [@smeubank](https://togithub.com/smeubank), [@h4x0rlol](https://togithub.com/h4x0rlol), [@leerob](https://togithub.com/leerob), [@arch-user-france1](https://togithub.com/arch-user-france1), [@konojunya](https://togithub.com/konojunya), [@nora-soderlund](https://togithub.com/nora-soderlund), [@IDrumsey](https://togithub.com/IDrumsey), [@dirheimerb](https://togithub.com/dirheimerb), [@timneutkens](https://togithub.com/timneutkens), [@BrandNewLifeJackie26](https://togithub.com/BrandNewLifeJackie26), [@hyeongrok7874](https://togithub.com/hyeongrok7874), [@ardatan](https://togithub.com/ardatan), [@chibicode](https://togithub.com/chibicode), [@JanKaifer](https://togithub.com/JanKaifer), [@hanneslund](https://togithub.com/hanneslund), [@abir-taheer](https://togithub.com/abir-taheer), [@SukkaW](https://togithub.com/SukkaW), [@promer94](https://togithub.com/promer94), [@feugy](https://togithub.com/feugy), [@fli](https://togithub.com/fli), [@seawatts](https://togithub.com/seawatts), [@awareness481](https://togithub.com/awareness481), [@delbaoliveira](https://togithub.com/delbaoliveira), [@Nutlope](https://togithub.com/Nutlope), [@styfle](https://togithub.com/styfle), [@feedthejim](https://togithub.com/feedthejim), [@wyattjoh](https://togithub.com/wyattjoh), [@Cielquan](https://togithub.com/Cielquan), [@NiedziolkaMichal](https://togithub.com/NiedziolkaMichal), [@nissy-dev](https://togithub.com/nissy-dev), [@balazsorban44](https://togithub.com/balazsorban44), [@raulfdm](https://togithub.com/raulfdm), [@sokra](https://togithub.com/sokra), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@wbinnssmith](https://togithub.com/wbinnssmith), [@CuriosBasant](https://togithub.com/CuriosBasant), [@gurkerl83](https://togithub.com/gurkerl83), [@akshitsinha](https://togithub.com/akshitsinha), [@ianldgs](https://togithub.com/ianldgs), [@kdy1](https://togithub.com/kdy1), [@sorrycc](https://togithub.com/sorrycc), [@tapaskumar05](https://togithub.com/tapaskumar05), [@stuartkeith](https://togithub.com/stuartkeith), [@EmilianoGarciaLopez](https://togithub.com/EmilianoGarciaLopez), [@valentinpolitov](https://togithub.com/valentinpolitov), and [@huozhi](https://togithub.com/huozhi) for helping!
Configuration
📅 Schedule: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
13.1.1
->13.1.6
Release Notes
vercel/next.js
### [`v13.1.6`](https://togithub.com/vercel/next.js/releases/tag/v13.1.6) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.5...v13.1.6) ##### Core Changes - Add debug info to static bailout message: [#45192](https://togithub.com/vercel/next.js/issues/45192) - Fix dynamic no ssr with babel transform: [#45091](https://togithub.com/vercel/next.js/issues/45091) - Fix React.lazy preloading during SSR: [#45160](https://togithub.com/vercel/next.js/issues/45160) - Fix error overlay links in parenthesis: [#45155](https://togithub.com/vercel/next.js/issues/45155) - Add build time error if error.js is missing "use client": [#44961](https://togithub.com/vercel/next.js/issues/44961) - Show component stack in error overlay on hydration error: [#45089](https://togithub.com/vercel/next.js/issues/45089) - Reduce component stack spacing for components without metadata: [#45218](https://togithub.com/vercel/next.js/issues/45218) - Revert "Revert "Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"" ([#45113](https://togithub.com/vercel/next.js/issues/45113))"": [#45196](https://togithub.com/vercel/next.js/issues/45196) - Update handling of autoscrolling on navigation in app: [#43845](https://togithub.com/vercel/next.js/issues/43845) - perf: avoid sync re-renders when using next/link and next/image: [#45165](https://togithub.com/vercel/next.js/issues/45165) - Support metadata icons field: [#45105](https://togithub.com/vercel/next.js/issues/45105) - Add editor links to RSC build error: [#45179](https://togithub.com/vercel/next.js/issues/45179) - misc: change strategy for link prefetch test: [#45234](https://togithub.com/vercel/next.js/issues/45234) - Add handling for app/pages manifest race condition: [#45244](https://togithub.com/vercel/next.js/issues/45244) - Update transform exports and tests: [#45251](https://togithub.com/vercel/next.js/issues/45251) - Attach exports information in SWC transforms: [#45261](https://togithub.com/vercel/next.js/issues/45261) - Update app cache handling in development: [#45248](https://togithub.com/vercel/next.js/issues/45248) - TS plugin: warn about `amp` config in app: [#45254](https://togithub.com/vercel/next.js/issues/45254) - Fix typo in TS plugin: [#45279](https://togithub.com/vercel/next.js/issues/45279) - Allow metadata related exports in TS plugin: [#45282](https://togithub.com/vercel/next.js/issues/45282) - build(cargo): update turbopack to turbopack-230125.1: [#45283](https://togithub.com/vercel/next.js/issues/45283) - \[edge] improve `fetch` stack traces in edge runtime: [#44750](https://togithub.com/vercel/next.js/issues/44750) - Move router reducer to separate file: [#45236](https://togithub.com/vercel/next.js/issues/45236) - add next.config.js options currently supported by turbopack: [#45309](https://togithub.com/vercel/next.js/issues/45309) - Update debug logs for app cache: [#45291](https://togithub.com/vercel/next.js/issues/45291) - Improved `pnpm clean`: [#45312](https://togithub.com/vercel/next.js/issues/45312) - Fix:Manage Firefox and Safari Network error message: [#44929](https://togithub.com/vercel/next.js/issues/44929) - build(cargo): update turbopack to turbopack-230126.1: [#45322](https://togithub.com/vercel/next.js/issues/45322) - add `pageExtensions` as a supported turbopack option: [#45321](https://togithub.com/vercel/next.js/issues/45321) - Ensure we warn for middleware with next export: [#45288](https://togithub.com/vercel/next.js/issues/45288) - Add unit test for shouldHardNavigate: [#45303](https://togithub.com/vercel/next.js/issues/45303) - Add unit test for redirect.ts: [#45223](https://togithub.com/vercel/next.js/issues/45223) - Add test for fillCacheWithNewSubTreeData: [#45298](https://togithub.com/vercel/next.js/issues/45298) - Add test for isNavigatingToNewRootLayout: [#45305](https://togithub.com/vercel/next.js/issues/45305) - Remove unused optimistic tree parameters: [#45264](https://togithub.com/vercel/next.js/issues/45264) - Ensure invalidateCacheBelowFlightSegmentPath file name is in line with the rest: [#45299](https://togithub.com/vercel/next.js/issues/45299) - Resolve metadata fields: [#45237](https://togithub.com/vercel/next.js/issues/45237) - Add turbopack route resolve handling: [#45314](https://togithub.com/vercel/next.js/issues/45314) - Remove extra .ts from test file: [#45328](https://togithub.com/vercel/next.js/issues/45328) - Add test for createOptimisticTree: [#45330](https://togithub.com/vercel/next.js/issues/45330) - Clean up resolved todos: [#45332](https://togithub.com/vercel/next.js/issues/45332) - add `turbopackLoaders` to config validation: [#45337](https://togithub.com/vercel/next.js/issues/45337) ##### Documentation Changes - Update example test file name in cypress example: [#45146](https://togithub.com/vercel/next.js/issues/45146) - chore: fix invalid-new-link error typo: [#45157](https://togithub.com/vercel/next.js/issues/45157) - Update testing.md: [#45216](https://togithub.com/vercel/next.js/issues/45216) - Update no-html-link-for-pages.md: [#45247](https://togithub.com/vercel/next.js/issues/45247) - Update getting-started documentation: [#45284](https://togithub.com/vercel/next.js/issues/45284) ##### Example Changes - Update README.md for examples/with-mqtt-js: [#45162](https://togithub.com/vercel/next.js/issues/45162) - Pin library version in Convex example: [#45206](https://togithub.com/vercel/next.js/issues/45206) - Updates with-supertokens example app: [#45214](https://togithub.com/vercel/next.js/issues/45214) ##### Misc Changes - Re-prompt on invalid import alias: [#45194](https://togithub.com/vercel/next.js/issues/45194) - create-next-app: warn if project dir isn't empty before prompts: [#45195](https://togithub.com/vercel/next.js/issues/45195) - Add timeout for actions/cache restoring: [#45198](https://togithub.com/vercel/next.js/issues/45198) - Update testing.md to reflect that we don't use `yarn` anymore: [#45185](https://togithub.com/vercel/next.js/issues/45185) - fix: add src prefix on index page: [#45150](https://togithub.com/vercel/next.js/issues/45150) - Ensure ctrl + c handling works with CNA prompts correctly: [#45205](https://togithub.com/vercel/next.js/issues/45205) - Fix turbo cache miss due to depending on gitignored files: [#45166](https://togithub.com/vercel/next.js/issues/45166) - Allow unit tests to be written in packages/next/src: [#45222](https://togithub.com/vercel/next.js/issues/45222) - Run dev tests against default CNA templates: [#45211](https://togithub.com/vercel/next.js/issues/45211) - Increase cache timeout for swc built files: [#45243](https://togithub.com/vercel/next.js/issues/45243) - refactor(create-next-app): simplify import alias validation logic: [#45241](https://togithub.com/vercel/next.js/issues/45241) - ci(workflow): notify new releases to vercel/turbo via repo_dispatch: [#45201](https://togithub.com/vercel/next.js/issues/45201) - Revert "Fix new-error command": [#45221](https://togithub.com/vercel/next.js/issues/45221) - Update flakey test cases: [#45290](https://togithub.com/vercel/next.js/issues/45290) - Update flakey polyfills and acceptance tests: [#45313](https://togithub.com/vercel/next.js/issues/45313) - Add docs on how to use MDX with app: [#44923](https://togithub.com/vercel/next.js/issues/44923) - Update flakey fetch stack test: [#45318](https://togithub.com/vercel/next.js/issues/45318) - Enable JS CNA tests for turbopack: [#45323](https://togithub.com/vercel/next.js/issues/45323) ##### Credits Huge thanks to [@MaxLeiter](https://togithub.com/MaxLeiter), [@CachorroC](https://togithub.com/CachorroC), [@ijjk](https://togithub.com/ijjk), [@asadnq](https://togithub.com/asadnq), [@huozhi](https://togithub.com/huozhi), [@JanKaifer](https://togithub.com/JanKaifer), [@ilyasmez](https://togithub.com/ilyasmez), [@juliusmarminge](https://togithub.com/juliusmarminge), [@thomasballinger](https://togithub.com/thomasballinger), [@tissawd](https://togithub.com/tissawd), [@hanneslund](https://togithub.com/hanneslund), [@shuding](https://togithub.com/shuding), [@timneutkens](https://togithub.com/timneutkens), [@feedthejim](https://togithub.com/feedthejim), [@ClemensPaumgarten](https://togithub.com/ClemensPaumgarten), [@kwonoj](https://togithub.com/kwonoj), [@Angelfire](https://togithub.com/Angelfire), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@HyunseungLee-Travis](https://togithub.com/HyunseungLee-Travis), [@wbinnssmith](https://togithub.com/wbinnssmith), [@Schniz](https://togithub.com/Schniz), [@ForsakenHarmony](https://togithub.com/ForsakenHarmony), [@wyattjoh](https://togithub.com/wyattjoh), and [@dtrucs](https://togithub.com/dtrucs) for helping! ### [`v13.1.5`](https://togithub.com/vercel/next.js/releases/tag/v13.1.5) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.4...v13.1.5) ##### Core Changes - Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"": [#45113](https://togithub.com/vercel/next.js/issues/45113) - Update incremental cache handler for minimal mode: [#45123](https://togithub.com/vercel/next.js/issues/45123) - build(cargo): update turbopack: [#45126](https://togithub.com/vercel/next.js/issues/45126) - Revert "Revert "Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))"" ([#45113](https://togithub.com/vercel/next.js/issues/45113))": [#45130](https://togithub.com/vercel/next.js/issues/45130) - Update reducer comments: [#45127](https://togithub.com/vercel/next.js/issues/45127) - Ensure config warnings only show once: [#45142](https://togithub.com/vercel/next.js/issues/45142) - Don't log suppressed error during export: [#45100](https://togithub.com/vercel/next.js/issues/45100) - Add support for node: prefix when importing Node.js builtin modules: [#45149](https://togithub.com/vercel/next.js/issues/45149) ##### Example Changes - update Mux Player to latest, pin to ^1 and pin upchunk to ^3 add Mux …: [#45121](https://togithub.com/vercel/next.js/issues/45121) ##### Misc Changes - Update CODEOWNERS: [#45178](https://togithub.com/vercel/next.js/issues/45178) - Switch from `yarn pack` to `pnpm pack` in tests: [#45167](https://togithub.com/vercel/next.js/issues/45167) ##### Credits Huge thanks to [@shuding](https://togithub.com/shuding), [@dylanjha](https://togithub.com/dylanjha), [@ijjk](https://togithub.com/ijjk), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@timneutkens](https://togithub.com/timneutkens), [@hanneslund](https://togithub.com/hanneslund), [@feedthejim](https://togithub.com/feedthejim), and [@JanKaifer](https://togithub.com/JanKaifer) for helping! ### [`v13.1.4`](https://togithub.com/vercel/next.js/releases/tag/v13.1.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.3...v13.1.4) ##### Core Changes - Initial support for metadata: [#44729](https://togithub.com/vercel/next.js/issues/44729) - Improve swc transforms: [#45083](https://togithub.com/vercel/next.js/issues/45083) - Update swc_core to `v0.56.0`: [#44792](https://togithub.com/vercel/next.js/issues/44792) - fix([#44077](https://togithub.com/vercel/next.js/issues/44077)): allow edge runtime for api routes inside src/ folder: [#45093](https://togithub.com/vercel/next.js/issues/45093) - Revert "Initial support for metadata ([#44729](https://togithub.com/vercel/next.js/issues/44729))": [#45111](https://togithub.com/vercel/next.js/issues/45111) - build(cargo): update turbopack: [#45109](https://togithub.com/vercel/next.js/issues/45109) ##### Documentation Changes - Fix broken argument for rewrites on link reference docs: [#45073](https://togithub.com/vercel/next.js/issues/45073) - Cannot redeclare block-scoped variable 'cookie'.: [#45079](https://togithub.com/vercel/next.js/issues/45079) ##### Misc Changes - Fix metadata e2e test on deploy: [#45104](https://togithub.com/vercel/next.js/issues/45104) - Update @next/font/google data: [#45092](https://togithub.com/vercel/next.js/issues/45092) ##### Credits Huge thanks to [@guilhermefront](https://togithub.com/guilhermefront), [@shuding](https://togithub.com/shuding), [@kdy1](https://togithub.com/kdy1), [@iamrobins](https://togithub.com/iamrobins), [@hanneslund](https://togithub.com/hanneslund), [@feugy](https://togithub.com/feugy), and [@jridgewell](https://togithub.com/jridgewell) for helping! ### [`v13.1.3`](https://togithub.com/vercel/next.js/releases/tag/v13.1.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.2...v13.1.3) ##### Core Changes - Refactor next dynamic: [#44832](https://togithub.com/vercel/next.js/issues/44832) - Add built-in server-only and client-only: [#44861](https://togithub.com/vercel/next.js/issues/44861) - Handle empty module from the next dynamic loader: [#44873](https://togithub.com/vercel/next.js/issues/44873) - Update pre-compiled: [#44874](https://togithub.com/vercel/next.js/issues/44874) - Use sequentialRead while encoding images with sharp: [#44881](https://togithub.com/vercel/next.js/issues/44881) - Move server-external-packages to JSON: [#44910](https://togithub.com/vercel/next.js/issues/44910) - fix standalone wrong url being logged: [#44887](https://togithub.com/vercel/next.js/issues/44887) - Custom RSC compiler error message in pages/: [#44865](https://togithub.com/vercel/next.js/issues/44865) - Replace eslint rule for `no-shadow` with `typescript-eslint/no-shadow`: [#44936](https://togithub.com/vercel/next.js/issues/44936) - Ensure rootLayoutIncluded is set on partial render: [#44958](https://togithub.com/vercel/next.js/issues/44958) - Fix force-static description in next-typescript: [#44951](https://togithub.com/vercel/next.js/issues/44951) - Fix CSS imports being tracked multiple times: [#44938](https://togithub.com/vercel/next.js/issues/44938) - Use withoutEnlargement instead of sharp.metadata(): [#44890](https://togithub.com/vercel/next.js/issues/44890) - Update res.revalidate to pass through headers: [#44981](https://togithub.com/vercel/next.js/issues/44981) - Add experimental.allowedRevalidateHeaderKeys config: [#44985](https://togithub.com/vercel/next.js/issues/44985) - Gracefully handle telemetry not being available: [#44986](https://togithub.com/vercel/next.js/issues/44986) - Add proper error when app path switches static to dynamic: [#44989](https://togithub.com/vercel/next.js/issues/44989) - Ensure force-dynamic is honored during build: [#45015](https://togithub.com/vercel/next.js/issues/45015) - Fix turbo usage in tests: [#44715](https://togithub.com/vercel/next.js/issues/44715) - Add project directory rename/remove handling: [#44911](https://togithub.com/vercel/next.js/issues/44911) - chore: open dev overlay error links in new tab: [#45018](https://togithub.com/vercel/next.js/issues/45018) - Remove next-app-loader from import trace: [#44996](https://togithub.com/vercel/next.js/issues/44996) - Ensure additional windows are not created on Windows OS: [#45022](https://togithub.com/vercel/next.js/issues/45022) - Don't dispaly "Error: " twice when router isn't mounted: [#45038](https://togithub.com/vercel/next.js/issues/45038) - Display the reason of hydration error in error overlay: [#44857](https://togithub.com/vercel/next.js/issues/44857) - Fix typescript plugin: [#44128](https://togithub.com/vercel/next.js/issues/44128) - Add shiki and vscode-oniguruma to default server-external packages: [#44968](https://togithub.com/vercel/next.js/issues/44968) - Fix error when CSS [@import](https://togithub.com/import) fails to resolve: [#45010](https://togithub.com/vercel/next.js/issues/45010) - Fix next/dynamic non ssr in pages when appDir is enabled: [#45066](https://togithub.com/vercel/next.js/issues/45066) ##### Documentation Changes - Update building-forms.md: [#44862](https://togithub.com/vercel/next.js/issues/44862) - Prompt for custom import alias and store preferences in CNA: [#44872](https://togithub.com/vercel/next.js/issues/44872) - Next/Script documentation beforeInteractive inconsistency: [#44898](https://togithub.com/vercel/next.js/issues/44898) - fix(docs): update broken link for preset.ts: [#44916](https://togithub.com/vercel/next.js/issues/44916) - Fix Node.js version to 14.6.0 in Upgrading guide.: [#44939](https://togithub.com/vercel/next.js/issues/44939) - update redirects.md: [#44960](https://togithub.com/vercel/next.js/issues/44960) - Add AsyncLocalStorage to edge-runtime APIs: [#44975](https://togithub.com/vercel/next.js/issues/44975) ##### Example Changes - Removes title warning from cms example: [#44894](https://togithub.com/vercel/next.js/issues/44894) - Fix `with-stencil` example: [#44964](https://togithub.com/vercel/next.js/issues/44964) - refactor: Latest Tigris sdk and example using decorators: [#44256](https://togithub.com/vercel/next.js/issues/44256) ##### Misc Changes - port `type: needs investigation` into linear: [#44823](https://togithub.com/vercel/next.js/issues/44823) - Create new action that will auto-label issues that have some activity after we mark them as "verify-canary" or "add repro"": [#44815](https://togithub.com/vercel/next.js/issues/44815) - test(snapshot): allow snapshot test not invalidate with --turbo: [#43545](https://togithub.com/vercel/next.js/issues/43545) - Remove extra styled-components disabled test: [#44870](https://togithub.com/vercel/next.js/issues/44870) - Fix prepublish compiled handling: [#44914](https://togithub.com/vercel/next.js/issues/44914) - Update test env variable passing: [#44912](https://togithub.com/vercel/next.js/issues/44912) - Support Prefer Offline for testing: [#44935](https://togithub.com/vercel/next.js/issues/44935) - Update test env for E2E deploy mode: [#44937](https://togithub.com/vercel/next.js/issues/44937) - Update build env for test timings: [#44970](https://togithub.com/vercel/next.js/issues/44970) - Update to skip test timings on docs change: [#44971](https://togithub.com/vercel/next.js/issues/44971) - Update some flakey acceptance tests: [#44984](https://togithub.com/vercel/next.js/issues/44984) - Optimize to skip upload for non-publish swc builds: [#44987](https://togithub.com/vercel/next.js/issues/44987) - Update codesandbox link in issue template: [#44995](https://togithub.com/vercel/next.js/issues/44995) - Update test timings token env: [#45014](https://togithub.com/vercel/next.js/issues/45014) - Remove useless ts-ignores: [#45025](https://togithub.com/vercel/next.js/issues/45025) - Fix release stats: [#45027](https://togithub.com/vercel/next.js/issues/45027) - Remove legacy safari test: [#45055](https://togithub.com/vercel/next.js/issues/45055) ##### Credits Huge thanks to [@huozhi](https://togithub.com/huozhi), [@ijjk](https://togithub.com/ijjk), [@kwonoj](https://togithub.com/kwonoj), [@josuareich](https://togithub.com/josuareich), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@JanKaifer](https://togithub.com/JanKaifer), [@rajavijayasaradhi](https://togithub.com/rajavijayasaradhi), [@rortan134](https://togithub.com/rortan134), [@IgnisDa](https://togithub.com/IgnisDa), [@ChanhyukPark-Tech](https://togithub.com/ChanhyukPark-Tech), [@hanneslund](https://togithub.com/hanneslund), [@wyattjoh](https://togithub.com/wyattjoh), [@leerob](https://togithub.com/leerob), [@kristian240](https://togithub.com/kristian240), [@deli-ght](https://togithub.com/deli-ght), [@shuding](https://togithub.com/shuding), [@ITJesse](https://togithub.com/ITJesse), [@dunklesToast](https://togithub.com/dunklesToast), [@therealrinku](https://togithub.com/therealrinku), [@adilansari](https://togithub.com/adilansari), [@reiss-d](https://togithub.com/reiss-d), and [@selenecodes](https://togithub.com/selenecodes) for helping! ### [`v13.1.2`](https://togithub.com/vercel/next.js/releases/tag/v13.1.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.1...v13.1.2) ##### Core Changes - Add special error message for class component in server component: [#44265](https://togithub.com/vercel/next.js/issues/44265) - Update license year: [#44403](https://togithub.com/vercel/next.js/issues/44403) - Move core files to src folder and move JS files to TypeScript: [#44405](https://togithub.com/vercel/next.js/issues/44405) - refactor: add warning helper for removed experimental option: [#44213](https://togithub.com/vercel/next.js/issues/44213) - types: remove config.experimental.profiling: [#44507](https://togithub.com/vercel/next.js/issues/44507) - chore: addresses leftover from [#44045](https://togithub.com/vercel/next.js/issues/44045): [#44080](https://togithub.com/vercel/next.js/issues/44080) - Fix cookie parsing removing extra `=`: [#44218](https://togithub.com/vercel/next.js/issues/44218) - Update server-external-packages to include aws-crt: [#44214](https://togithub.com/vercel/next.js/issues/44214) - Collapse sequences of call stack frames from React and Next.js in the error overlay: [#44137](https://togithub.com/vercel/next.js/issues/44137) - Update json5 dependency to latest: [#44548](https://togithub.com/vercel/next.js/issues/44548) - Improve errors caused by client hook called in a server component: [#44538](https://togithub.com/vercel/next.js/issues/44538) - Remove unused `target: es5` from `tsconfig.json`: [#44567](https://togithub.com/vercel/next.js/issues/44567) - Make static page prefetch apply on navigation in app dir: [#44502](https://togithub.com/vercel/next.js/issues/44502) - Improve errors caused by Next.js client hook called in a server component: [#44588](https://togithub.com/vercel/next.js/issues/44588) - Add updated flush handling on sigterm: [#44614](https://togithub.com/vercel/next.js/issues/44614) - chore: improves console warnings related to edge runtime: [#44563](https://togithub.com/vercel/next.js/issues/44563) - hmr error improvements: [#30616](https://togithub.com/vercel/next.js/issues/30616) - feat(standalone): allow configuring `HOSTNAME` via env var: [#44627](https://togithub.com/vercel/next.js/issues/44627) - Add experimental pre-compiled next-server: [#43198](https://togithub.com/vercel/next.js/issues/43198) - Fix check-precompiled for next-server: [#44669](https://togithub.com/vercel/next.js/issues/44669) - Refactor use of AsyncLocalStorage: [#44668](https://togithub.com/vercel/next.js/issues/44668) - Add required default value for the ids parameter: [#44694](https://togithub.com/vercel/next.js/issues/44694) - Start client compiler when server components are finished compiling: [#44716](https://togithub.com/vercel/next.js/issues/44716) - fix: support runtime value when using multiple declarations per export: [#44732](https://togithub.com/vercel/next.js/issues/44732) - land(Fix: Add trailing slash to locale redirect based on next config): [#44735](https://togithub.com/vercel/next.js/issues/44735) - Fix IPv6 hostname formatting in CLI: [#43491](https://togithub.com/vercel/next.js/issues/43491) - Hydration error link is appended multiple times in app-dir: [#44741](https://togithub.com/vercel/next.js/issues/44741) - Improve errors caused by Class Component rendered in a server component.: [#44726](https://togithub.com/vercel/next.js/issues/44726) - Update `jsonwebtoken`: [#44748](https://togithub.com/vercel/next.js/issues/44748) - [@next/font](https://togithub.com/next/font): Add preconnect tag when fonts are used but not preloaded in app-dir: [#44746](https://togithub.com/vercel/next.js/issues/44746) - Ensure folder exists for standalone server: [#44745](https://togithub.com/vercel/next.js/issues/44745) - chore: Update `swc_core` to `v0.53.0`: [#44707](https://togithub.com/vercel/next.js/issues/44707) - Revert "chore: Update `swc_core` to `v0.53.0`": [#44760](https://togithub.com/vercel/next.js/issues/44760) - chore: fix typo: [#44761](https://togithub.com/vercel/next.js/issues/44761) - Fix app ISR handling with no generateStaticParams: [#44787](https://togithub.com/vercel/next.js/issues/44787) - Update to latest version of pnpm: [#44791](https://togithub.com/vercel/next.js/issues/44791) - Fix router.refresh() resetting state and Suspense boundaries: [#44775](https://togithub.com/vercel/next.js/issues/44775) - Fix capitalization in formatted server errors: [#44798](https://togithub.com/vercel/next.js/issues/44798) - examples: Bump SWR to v2.0.0: [#44790](https://togithub.com/vercel/next.js/issues/44790) - Fix image emittion for pure client image: [#44831](https://togithub.com/vercel/next.js/issues/44831) ##### Documentation Changes - Update custom-app.md: [#44351](https://togithub.com/vercel/next.js/issues/44351) - Update `next/head` docs.: [#44454](https://togithub.com/vercel/next.js/issues/44454) - uses spelling: [#44399](https://togithub.com/vercel/next.js/issues/44399) - Update Turbopack docs.: [#44468](https://togithub.com/vercel/next.js/issues/44468) - Fix link to next-image-to-legacy-image codemod: [#44471](https://togithub.com/vercel/next.js/issues/44471) - Add module transpilation docs: [#44518](https://togithub.com/vercel/next.js/issues/44518) - Update TypeScript API Route example: [#44517](https://togithub.com/vercel/next.js/issues/44517) - Update config-shared docs link: [#44547](https://togithub.com/vercel/next.js/issues/44547) - Docs: Update `next/font` to `@next/font`: [#44573](https://togithub.com/vercel/next.js/issues/44573) - Improve modularized imports docs and add config options to example: [#44560](https://togithub.com/vercel/next.js/issues/44560) - Remove old links in docs.: [#44580](https://togithub.com/vercel/next.js/issues/44580) - Test navigation between multiple root layouts: [#43762](https://togithub.com/vercel/next.js/issues/43762) - \[docs/bugfix] fix code example for "Prefixing the Default Locale" - NEXT_LOCALE cookie usage: [#44587](https://togithub.com/vercel/next.js/issues/44587) - Correct link to full list of `Permissions-Policy` permissions: [#44607](https://togithub.com/vercel/next.js/issues/44607) - Update subset validation in @next/font/google and fix CJK bug: [#44594](https://togithub.com/vercel/next.js/issues/44594) - Update mdx docs example to show merging config: [#44656](https://togithub.com/vercel/next.js/issues/44656) - docs: clarify default `basePath` value: [#44642](https://togithub.com/vercel/next.js/issues/44642) - docs(middleware): add \_next/image to match ignore: [#44659](https://togithub.com/vercel/next.js/issues/44659) - Update redirects.md to fix a typo.: [#44677](https://togithub.com/vercel/next.js/issues/44677) - Fix broken links in [@next/font](https://togithub.com/next/font) API reference: [#44714](https://togithub.com/vercel/next.js/issues/44714) - Add missing modularizeImports on config snippets: [#44734](https://togithub.com/vercel/next.js/issues/44734) - Update prompts for CNA and add default @/\* alias: [#44672](https://togithub.com/vercel/next.js/issues/44672) - Clarify middleware.ts location in docs: [#44788](https://togithub.com/vercel/next.js/issues/44788) ##### Example Changes - Update with-sentry README.md Next.js version: [#44374](https://togithub.com/vercel/next.js/issues/44374) - fix link to index page in Image Component Example: [#44388](https://togithub.com/vercel/next.js/issues/44388) - Update get-api-cookie.ts: [#44466](https://togithub.com/vercel/next.js/issues/44466) - Update .gitignore in pwa example: [#44391](https://togithub.com/vercel/next.js/issues/44391) - Use the stable GraphQL Yoga v3 in the GraphQL example: [#44488](https://togithub.com/vercel/next.js/issues/44488) - \[examples] add @types/testing-library\_\_jest-dom package: [#44533](https://togithub.com/vercel/next.js/issues/44533) - Improvements to Cloudinary Example: [#44572](https://togithub.com/vercel/next.js/issues/44572) - Create i18n example using app-dir and middleware: [#44257](https://togithub.com/vercel/next.js/issues/44257) - Add lang, generateStaticParams, and server-only for i18n example: [#44597](https://togithub.com/vercel/next.js/issues/44597) - remove unnecessary babel.config.js in react native web example: [#43939](https://togithub.com/vercel/next.js/issues/43939) - Update to with-supertokens example: [#44640](https://togithub.com/vercel/next.js/issues/44640) - Add support for rendering MDX as a server component: [#44651](https://togithub.com/vercel/next.js/issues/44651) - Update: SharedModal.tsx swipe bug in with-cloudinary: [#44771](https://togithub.com/vercel/next.js/issues/44771) - \[example] Add missing package in app dir i18n example: [#44820](https://togithub.com/vercel/next.js/issues/44820) ##### Misc Changes - docs: add pnpm to template readme: [#44427](https://togithub.com/vercel/next.js/issues/44427) - Added actual error message to log output: [#44453](https://togithub.com/vercel/next.js/issues/44453) - Fix isolated tests on windows and update azure config: [#44457](https://togithub.com/vercel/next.js/issues/44457) - docs: Update GitHub CLI clone command in `developing.md`: [#44509](https://togithub.com/vercel/next.js/issues/44509) - Cache package lock when running tests to speed up installation: [#44520](https://togithub.com/vercel/next.js/issues/44520) - Test server component error recovery in dev: [#44155](https://togithub.com/vercel/next.js/issues/44155) - Fix taskr watching core files - add `testonly` variants for all test modes and refactored `test` as alias of `testheadless`: [#44528](https://togithub.com/vercel/next.js/issues/44528) - Use test timings token when available: [#44549](https://togithub.com/vercel/next.js/issues/44549) - Remove un-used app-dir test fixture: [#44546](https://togithub.com/vercel/next.js/issues/44546) - Fix prettierignore_staged for compiled: [#44550](https://togithub.com/vercel/next.js/issues/44550) - Revert "Use turbo for packing files in test setup ([#44074](https://togithub.com/vercel/next.js/issues/44074))": [#44566](https://togithub.com/vercel/next.js/issues/44566) - Remove extra pnp test: [#44576](https://togithub.com/vercel/next.js/issues/44576) - Update CNA tests running: [#44577](https://togithub.com/vercel/next.js/issues/44577) - misc: fix benchmark script: [#44592](https://togithub.com/vercel/next.js/issues/44592) - Change `NextInstance.fetch` Signature: [#44575](https://togithub.com/vercel/next.js/issues/44575) - Update CNA test skipping: [#44606](https://togithub.com/vercel/next.js/issues/44606) - Disable telemetry for `pnpm next` when contributing locally: [#44610](https://togithub.com/vercel/next.js/issues/44610) - Update flakey styled-components test: [#44613](https://togithub.com/vercel/next.js/issues/44613) - Temporarily disable Azure e2e tests: [#44616](https://togithub.com/vercel/next.js/issues/44616) - Fix docs only change for canary: [#44617](https://togithub.com/vercel/next.js/issues/44617) - Fix font unit test on Azure: [#44618](https://togithub.com/vercel/next.js/issues/44618) - Fix paths for check-examples script: [#44661](https://togithub.com/vercel/next.js/issues/44661) - Change test template to use TS and improve template for `app-dir`: [#44227](https://togithub.com/vercel/next.js/issues/44227) - Replace usage of example.com in gssp-redirect tests: [#44664](https://togithub.com/vercel/next.js/issues/44664) - Ensure yarn is used for next-with-deps: [#44666](https://togithub.com/vercel/next.js/issues/44666) - Recommend next-with-deps for running examples: [#44667](https://togithub.com/vercel/next.js/issues/44667) - Fix new-error command: [#44720](https://togithub.com/vercel/next.js/issues/44720) - @next/font/google unknown font error: [#44713](https://togithub.com/vercel/next.js/issues/44713) - Migrate set-output usage to $GITHB_OUTPUT: [#44757](https://togithub.com/vercel/next.js/issues/44757) - Add simple test that custom server works: [#44536](https://togithub.com/vercel/next.js/issues/44536) - Migrate basic-basepath tests into basic: [#44776](https://togithub.com/vercel/next.js/issues/44776) - Autolabel with linear when labeled with kind: bug: [#44774](https://togithub.com/vercel/next.js/issues/44774) - Exposing NextFont types: [#44772](https://togithub.com/vercel/next.js/issues/44772) - Fix set output handling for DOCS_CHANGE env: [#44789](https://togithub.com/vercel/next.js/issues/44789) - Fix echoing DOCS_CHANGE result - Correctly handle @next/font/google fonts without any preloadable subsets: [#44809](https://togithub.com/vercel/next.js/issues/44809) - Update release stats for newer pnpm version: [#44828](https://togithub.com/vercel/next.js/issues/44828) - Fix FreeBSD next-swc build: [#44833](https://togithub.com/vercel/next.js/issues/44833) ##### Credits Huge thanks to [@shuding](https://togithub.com/shuding), [@chogyejin](https://togithub.com/chogyejin), [@ijjk](https://togithub.com/ijjk), [@smeubank](https://togithub.com/smeubank), [@h4x0rlol](https://togithub.com/h4x0rlol), [@leerob](https://togithub.com/leerob), [@arch-user-france1](https://togithub.com/arch-user-france1), [@konojunya](https://togithub.com/konojunya), [@nora-soderlund](https://togithub.com/nora-soderlund), [@IDrumsey](https://togithub.com/IDrumsey), [@dirheimerb](https://togithub.com/dirheimerb), [@timneutkens](https://togithub.com/timneutkens), [@BrandNewLifeJackie26](https://togithub.com/BrandNewLifeJackie26), [@hyeongrok7874](https://togithub.com/hyeongrok7874), [@ardatan](https://togithub.com/ardatan), [@chibicode](https://togithub.com/chibicode), [@JanKaifer](https://togithub.com/JanKaifer), [@hanneslund](https://togithub.com/hanneslund), [@abir-taheer](https://togithub.com/abir-taheer), [@SukkaW](https://togithub.com/SukkaW), [@promer94](https://togithub.com/promer94), [@feugy](https://togithub.com/feugy), [@fli](https://togithub.com/fli), [@seawatts](https://togithub.com/seawatts), [@awareness481](https://togithub.com/awareness481), [@delbaoliveira](https://togithub.com/delbaoliveira), [@Nutlope](https://togithub.com/Nutlope), [@styfle](https://togithub.com/styfle), [@feedthejim](https://togithub.com/feedthejim), [@wyattjoh](https://togithub.com/wyattjoh), [@Cielquan](https://togithub.com/Cielquan), [@NiedziolkaMichal](https://togithub.com/NiedziolkaMichal), [@nissy-dev](https://togithub.com/nissy-dev), [@balazsorban44](https://togithub.com/balazsorban44), [@raulfdm](https://togithub.com/raulfdm), [@sokra](https://togithub.com/sokra), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@wbinnssmith](https://togithub.com/wbinnssmith), [@CuriosBasant](https://togithub.com/CuriosBasant), [@gurkerl83](https://togithub.com/gurkerl83), [@akshitsinha](https://togithub.com/akshitsinha), [@ianldgs](https://togithub.com/ianldgs), [@kdy1](https://togithub.com/kdy1), [@sorrycc](https://togithub.com/sorrycc), [@tapaskumar05](https://togithub.com/tapaskumar05), [@stuartkeith](https://togithub.com/stuartkeith), [@EmilianoGarciaLopez](https://togithub.com/EmilianoGarciaLopez), [@valentinpolitov](https://togithub.com/valentinpolitov), and [@huozhi](https://togithub.com/huozhi) for helping!Configuration
📅 Schedule: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.