vercel/next.js
### [`v13.1.0`](https://togithub.com/vercel/next.js/releases/tag/v13.1.0)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.7...v13.1.0)
##### Core Changes
- Fix windows slashes for app client entry: [#44052](https://togithub.com/vercel/next.js/issues/44052)
- Hash both pitch and main loader for server CSS imports: [#44063](https://togithub.com/vercel/next.js/issues/44063)
- Add tracing for testing tools: [#44046](https://togithub.com/vercel/next.js/issues/44046)
- Run packing in tests in parallel: [#44048](https://togithub.com/vercel/next.js/issues/44048)
- feat: app dir error-global component: [#44066](https://togithub.com/vercel/next.js/issues/44066)
- Fix ignoring dev warning for preload component: [#44065](https://togithub.com/vercel/next.js/issues/44065)
- refactor(next-swc): introduce next-binding to consolidate dependencies.: [#43473](https://togithub.com/vercel/next.js/issues/43473)
- Add lodash to server components external packages: [#44022](https://togithub.com/vercel/next.js/issues/44022)
- Fix dev session stopped handling: [#44112](https://togithub.com/vercel/next.js/issues/44112)
- Add jsdoc/no-types eslint rule for TypeScript files: [#44049](https://togithub.com/vercel/next.js/issues/44049)
- Revert "Remove `useState` from `next/image` ([#43587](https://togithub.com/vercel/next.js/issues/43587))": [#44094](https://togithub.com/vercel/next.js/issues/44094)
- should not contain pages css in app dir: [#44151](https://togithub.com/vercel/next.js/issues/44151)
- Upgrade undici to 5.14.0 to fix fetch redirect bug: [#44133](https://togithub.com/vercel/next.js/issues/44133)
- build(cargo): fix turbopack + next-swc build: [#43983](https://togithub.com/vercel/next.js/issues/43983)
- Align onRecoverableError callback between pages and app dir: [#44161](https://togithub.com/vercel/next.js/issues/44161)
- build(cargo): update turbopack: [#44167](https://togithub.com/vercel/next.js/issues/44167)
- Update styled-jsx: [#44070](https://togithub.com/vercel/next.js/issues/44070)
- Fix crash in GraalVM: [#44176](https://togithub.com/vercel/next.js/issues/44176)
- Also check error.message as digest for recoverable errors in pages: [#44185](https://togithub.com/vercel/next.js/issues/44185)
- Move options to stable: [#44195](https://togithub.com/vercel/next.js/issues/44195)
- Move `transpilePackages` out of experimental: [#44194](https://togithub.com/vercel/next.js/issues/44194)
- Fix CSS resources being duplicated in app dir: [#44168](https://togithub.com/vercel/next.js/issues/44168)
- Add telemetry for stable features: [#44201](https://togithub.com/vercel/next.js/issues/44201)
- Add warning for experimental flags that have moved: [#44202](https://togithub.com/vercel/next.js/issues/44202)
- build(cargo): bump up turbopack: [#44206](https://togithub.com/vercel/next.js/issues/44206)
- Bump `@vercel/nft@0.22.6`: [#44193](https://togithub.com/vercel/next.js/issues/44193)
- Disable Image Optimization API when next.config.js has `unoptimized: true`: [#44205](https://togithub.com/vercel/next.js/issues/44205)
- Honour `distDir` in type generation: [#44207](https://togithub.com/vercel/next.js/issues/44207)
- Only once for the next/head usage in app dir: [#44233](https://togithub.com/vercel/next.js/issues/44233)
- Enable allowMiddlewareResponseBody by default: [#44224](https://togithub.com/vercel/next.js/issues/44224)
- Move `modularizeImports` out of experimental: [#44240](https://togithub.com/vercel/next.js/issues/44240)
- Update config validation for latest turbopack changes: [#44223](https://togithub.com/vercel/next.js/issues/44223)
- build(cargo): update turbopack: [#44241](https://togithub.com/vercel/next.js/issues/44241)
- update turbopack for bugfixes: [#44251](https://togithub.com/vercel/next.js/issues/44251)
##### Documentation Changes
- docs: Add explanation about font-display: [#44001](https://togithub.com/vercel/next.js/issues/44001)
- Test that adding query can be detected by useSearchParams: [#43969](https://togithub.com/vercel/next.js/issues/43969)
- Add static test for useSelectedLayoutSegments: [#43955](https://togithub.com/vercel/next.js/issues/43955)
- Docs: Update deployment.md with Firebase, Amplify and Cloudflare: [#44092](https://togithub.com/vercel/next.js/issues/44092)
- Add test for rewriting in middleware in app-dir: [#43971](https://togithub.com/vercel/next.js/issues/43971)
- docs: Add missing type to import statement: [#44111](https://togithub.com/vercel/next.js/issues/44111)
- docs: update next/dynamic docs: [#44067](https://togithub.com/vercel/next.js/issues/44067)
- Update disabling-http-keep-alive.md for server-side only: [#43374](https://togithub.com/vercel/next.js/issues/43374)
- docs: fix spelling error: [#44191](https://togithub.com/vercel/next.js/issues/44191)
- Write tests for navigation between app-dir and pages: [#43881](https://togithub.com/vercel/next.js/issues/43881)
- Add docs for middleware flags: [#44235](https://togithub.com/vercel/next.js/issues/44235)
##### Example Changes
- Updates with-supertokens example: [#44042](https://togithub.com/vercel/next.js/issues/44042)
- Fix styled-components setup in turbo example: [#44165](https://togithub.com/vercel/next.js/issues/44165)
- update with-turbopack example for postcss/tailwind support: [#44261](https://togithub.com/vercel/next.js/issues/44261)
##### Misc Changes
- Run packing in tests in parallel
- Revert "Run packing in tests in parallel"
- Remove extra turbo test: [#44073](https://togithub.com/vercel/next.js/issues/44073)
- Implement new core test API: [#44086](https://togithub.com/vercel/next.js/issues/44086)
- Refactor more tests to createNextDescribe: [#44104](https://togithub.com/vercel/next.js/issues/44104)
- Add types as a default dependency into tests: [#44140](https://togithub.com/vercel/next.js/issues/44140)
- Suggest contributors to use shallow clone: [#44158](https://togithub.com/vercel/next.js/issues/44158)
- Update pnpm new-test to use createNextDescribe: [#44147](https://togithub.com/vercel/next.js/issues/44147)
- Update README templates to include snippet on `next/font`: [#44088](https://togithub.com/vercel/next.js/issues/44088)
- Wrap CSS variable in var: [#44153](https://togithub.com/vercel/next.js/issues/44153)
- Ensure next.url is used instead of next.appPort: [#44163](https://togithub.com/vercel/next.js/issues/44163)
- test: add test for notFound during streaming: [#44078](https://togithub.com/vercel/next.js/issues/44078)
- Fix test template example: [#44170](https://togithub.com/vercel/next.js/issues/44170)
- Remove devcontainer network host argument: [#44157](https://togithub.com/vercel/next.js/issues/44157)
- Fix pnpm install on Azure: [#44179](https://togithub.com/vercel/next.js/issues/44179)
- Enable ReactRefreshLogBox scss test: [#44180](https://togithub.com/vercel/next.js/issues/44180)
- Increase recommended git clone depth: [#44181](https://togithub.com/vercel/next.js/issues/44181)
- Document how chain works in BrowserInterface and chain to `browser.eval`: [#44085](https://togithub.com/vercel/next.js/issues/44085)
- Remove browser.refresh in app tests: [#44186](https://togithub.com/vercel/next.js/issues/44186)
- Move tests into their test folder: [#44183](https://togithub.com/vercel/next.js/issues/44183)
- Add test checking that repeated edits won't cause hydration issues: [#44189](https://togithub.com/vercel/next.js/issues/44189)
- Update labeler.json with current next.js team members: [#44231](https://togithub.com/vercel/next.js/issues/44231)
##### Credits
Huge thanks to [@shuding](https://togithub.com/shuding), [@hanneslund](https://togithub.com/hanneslund), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@JanKaifer](https://togithub.com/JanKaifer), [@huozhi](https://togithub.com/huozhi), [@timneutkens](https://togithub.com/timneutkens), [@kwonoj](https://togithub.com/kwonoj), [@IamManchanda](https://togithub.com/IamManchanda), [@styfle](https://togithub.com/styfle), [@nyedidikeke](https://togithub.com/nyedidikeke), [@jaslong](https://togithub.com/jaslong), [@jueungrace](https://togithub.com/jueungrace), [@longzheng](https://togithub.com/longzheng), [@akshitsinha](https://togithub.com/akshitsinha), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@gish](https://togithub.com/gish), and [@sokra](https://togithub.com/sokra) for helping!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates 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.0.7
->13.1.0
13.0.7
->13.1.0
Release Notes
vercel/next.js
### [`v13.1.0`](https://togithub.com/vercel/next.js/releases/tag/v13.1.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.7...v13.1.0) ##### Core Changes - Fix windows slashes for app client entry: [#44052](https://togithub.com/vercel/next.js/issues/44052) - Hash both pitch and main loader for server CSS imports: [#44063](https://togithub.com/vercel/next.js/issues/44063) - Add tracing for testing tools: [#44046](https://togithub.com/vercel/next.js/issues/44046) - Run packing in tests in parallel: [#44048](https://togithub.com/vercel/next.js/issues/44048) - feat: app dir error-global component: [#44066](https://togithub.com/vercel/next.js/issues/44066) - Fix ignoring dev warning for preload component: [#44065](https://togithub.com/vercel/next.js/issues/44065) - refactor(next-swc): introduce next-binding to consolidate dependencies.: [#43473](https://togithub.com/vercel/next.js/issues/43473) - Add lodash to server components external packages: [#44022](https://togithub.com/vercel/next.js/issues/44022) - Fix dev session stopped handling: [#44112](https://togithub.com/vercel/next.js/issues/44112) - Add jsdoc/no-types eslint rule for TypeScript files: [#44049](https://togithub.com/vercel/next.js/issues/44049) - Revert "Remove `useState` from `next/image` ([#43587](https://togithub.com/vercel/next.js/issues/43587))": [#44094](https://togithub.com/vercel/next.js/issues/44094) - should not contain pages css in app dir: [#44151](https://togithub.com/vercel/next.js/issues/44151) - Upgrade undici to 5.14.0 to fix fetch redirect bug: [#44133](https://togithub.com/vercel/next.js/issues/44133) - build(cargo): fix turbopack + next-swc build: [#43983](https://togithub.com/vercel/next.js/issues/43983) - Align onRecoverableError callback between pages and app dir: [#44161](https://togithub.com/vercel/next.js/issues/44161) - build(cargo): update turbopack: [#44167](https://togithub.com/vercel/next.js/issues/44167) - Update styled-jsx: [#44070](https://togithub.com/vercel/next.js/issues/44070) - Fix crash in GraalVM: [#44176](https://togithub.com/vercel/next.js/issues/44176) - Also check error.message as digest for recoverable errors in pages: [#44185](https://togithub.com/vercel/next.js/issues/44185) - Move options to stable: [#44195](https://togithub.com/vercel/next.js/issues/44195) - Move `transpilePackages` out of experimental: [#44194](https://togithub.com/vercel/next.js/issues/44194) - Fix CSS resources being duplicated in app dir: [#44168](https://togithub.com/vercel/next.js/issues/44168) - Add telemetry for stable features: [#44201](https://togithub.com/vercel/next.js/issues/44201) - Add warning for experimental flags that have moved: [#44202](https://togithub.com/vercel/next.js/issues/44202) - build(cargo): bump up turbopack: [#44206](https://togithub.com/vercel/next.js/issues/44206) - Bump `@vercel/nft@0.22.6`: [#44193](https://togithub.com/vercel/next.js/issues/44193) - Disable Image Optimization API when next.config.js has `unoptimized: true`: [#44205](https://togithub.com/vercel/next.js/issues/44205) - Honour `distDir` in type generation: [#44207](https://togithub.com/vercel/next.js/issues/44207) - Only once for the next/head usage in app dir: [#44233](https://togithub.com/vercel/next.js/issues/44233) - Enable allowMiddlewareResponseBody by default: [#44224](https://togithub.com/vercel/next.js/issues/44224) - Move `modularizeImports` out of experimental: [#44240](https://togithub.com/vercel/next.js/issues/44240) - Update config validation for latest turbopack changes: [#44223](https://togithub.com/vercel/next.js/issues/44223) - build(cargo): update turbopack: [#44241](https://togithub.com/vercel/next.js/issues/44241) - update turbopack for bugfixes: [#44251](https://togithub.com/vercel/next.js/issues/44251) ##### Documentation Changes - docs: Add explanation about font-display: [#44001](https://togithub.com/vercel/next.js/issues/44001) - Test that adding query can be detected by useSearchParams: [#43969](https://togithub.com/vercel/next.js/issues/43969) - Add static test for useSelectedLayoutSegments: [#43955](https://togithub.com/vercel/next.js/issues/43955) - Docs: Update deployment.md with Firebase, Amplify and Cloudflare: [#44092](https://togithub.com/vercel/next.js/issues/44092) - Add test for rewriting in middleware in app-dir: [#43971](https://togithub.com/vercel/next.js/issues/43971) - docs: Add missing type to import statement: [#44111](https://togithub.com/vercel/next.js/issues/44111) - docs: update next/dynamic docs: [#44067](https://togithub.com/vercel/next.js/issues/44067) - Update disabling-http-keep-alive.md for server-side only: [#43374](https://togithub.com/vercel/next.js/issues/43374) - docs: fix spelling error: [#44191](https://togithub.com/vercel/next.js/issues/44191) - Write tests for navigation between app-dir and pages: [#43881](https://togithub.com/vercel/next.js/issues/43881) - Add docs for middleware flags: [#44235](https://togithub.com/vercel/next.js/issues/44235) ##### Example Changes - Updates with-supertokens example: [#44042](https://togithub.com/vercel/next.js/issues/44042) - Fix styled-components setup in turbo example: [#44165](https://togithub.com/vercel/next.js/issues/44165) - update with-turbopack example for postcss/tailwind support: [#44261](https://togithub.com/vercel/next.js/issues/44261) ##### Misc Changes - Run packing in tests in parallel - Revert "Run packing in tests in parallel" - Remove extra turbo test: [#44073](https://togithub.com/vercel/next.js/issues/44073) - Implement new core test API: [#44086](https://togithub.com/vercel/next.js/issues/44086) - Refactor more tests to createNextDescribe: [#44104](https://togithub.com/vercel/next.js/issues/44104) - Add types as a default dependency into tests: [#44140](https://togithub.com/vercel/next.js/issues/44140) - Suggest contributors to use shallow clone: [#44158](https://togithub.com/vercel/next.js/issues/44158) - Update pnpm new-test to use createNextDescribe: [#44147](https://togithub.com/vercel/next.js/issues/44147) - Update README templates to include snippet on `next/font`: [#44088](https://togithub.com/vercel/next.js/issues/44088) - Wrap CSS variable in var: [#44153](https://togithub.com/vercel/next.js/issues/44153) - Ensure next.url is used instead of next.appPort: [#44163](https://togithub.com/vercel/next.js/issues/44163) - test: add test for notFound during streaming: [#44078](https://togithub.com/vercel/next.js/issues/44078) - Fix test template example: [#44170](https://togithub.com/vercel/next.js/issues/44170) - Remove devcontainer network host argument: [#44157](https://togithub.com/vercel/next.js/issues/44157) - Fix pnpm install on Azure: [#44179](https://togithub.com/vercel/next.js/issues/44179) - Enable ReactRefreshLogBox scss test: [#44180](https://togithub.com/vercel/next.js/issues/44180) - Increase recommended git clone depth: [#44181](https://togithub.com/vercel/next.js/issues/44181) - Document how chain works in BrowserInterface and chain to `browser.eval`: [#44085](https://togithub.com/vercel/next.js/issues/44085) - Remove browser.refresh in app tests: [#44186](https://togithub.com/vercel/next.js/issues/44186) - Move tests into their test folder: [#44183](https://togithub.com/vercel/next.js/issues/44183) - Add test checking that repeated edits won't cause hydration issues: [#44189](https://togithub.com/vercel/next.js/issues/44189) - Update labeler.json with current next.js team members: [#44231](https://togithub.com/vercel/next.js/issues/44231) ##### Credits Huge thanks to [@shuding](https://togithub.com/shuding), [@hanneslund](https://togithub.com/hanneslund), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@JanKaifer](https://togithub.com/JanKaifer), [@huozhi](https://togithub.com/huozhi), [@timneutkens](https://togithub.com/timneutkens), [@kwonoj](https://togithub.com/kwonoj), [@IamManchanda](https://togithub.com/IamManchanda), [@styfle](https://togithub.com/styfle), [@nyedidikeke](https://togithub.com/nyedidikeke), [@jaslong](https://togithub.com/jaslong), [@jueungrace](https://togithub.com/jueungrace), [@longzheng](https://togithub.com/longzheng), [@akshitsinha](https://togithub.com/akshitsinha), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@gish](https://togithub.com/gish), and [@sokra](https://togithub.com/sokra) for helping!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.