vercel/next.js
### [`v13.1.1`](https://togithub.com/vercel/next.js/releases/tag/v13.1.1)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.0...v13.1.1)
##### Core Changes
- Exclude `srcset` from svg image: [#44308](https://togithub.com/vercel/next.js/issues/44308)
- Fix CSS resource path not matched in `__entry_css_files__`: [#44310](https://togithub.com/vercel/next.js/issues/44310)
- Fix `next/image` 404 when `basePath` and `trailingSlash` defined: [#44312](https://togithub.com/vercel/next.js/issues/44312)
##### Documentation Changes
- Remove experimental for modularizeImports from docs and example: [#44311](https://togithub.com/vercel/next.js/issues/44311)
##### Example Changes
- Updated dependencies for `with-tailwindcss` example: [#44289](https://togithub.com/vercel/next.js/issues/44289)
##### Misc Changes
- Use turbo for packing files in test setup: [#44074](https://togithub.com/vercel/next.js/issues/44074)
##### Credits
Huge thanks to [@JanKaifer](https://togithub.com/JanKaifer), [@Nutlope](https://togithub.com/Nutlope), [@styfle](https://togithub.com/styfle), and [@chibicode](https://togithub.com/chibicode) for helping!
### [`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!
### [`v13.0.7`](https://togithub.com/vercel/next.js/releases/tag/v13.0.7)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.6...v13.0.7)
##### Core Changes
- Update react next tag: [#43617](https://togithub.com/vercel/next.js/issues/43617)
- fix(jest): pattern when detecting packages to transpile in next/jest: [#43546](https://togithub.com/vercel/next.js/issues/43546)
- Adding head element checking for root layout: [#43597](https://togithub.com/vercel/next.js/issues/43597)
- Revert: 'Minimized runtime errors in app dir': [#43648](https://togithub.com/vercel/next.js/issues/43648)
- fix: properly handle `trailingSlash: true` and `rewrites`: [#43641](https://togithub.com/vercel/next.js/issues/43641)
- [@next/font](https://togithub.com/next/font) fallback fonts order fix: [#43633](https://togithub.com/vercel/next.js/issues/43633)
- Update cache handling for app: [#43659](https://togithub.com/vercel/next.js/issues/43659)
- Remove resolved `app` directory todos: [#43672](https://togithub.com/vercel/next.js/issues/43672)
- Fix typo in comment: [#43685](https://togithub.com/vercel/next.js/issues/43685)
- perf: disable prefetching for links in viewport in development for app routes: [#43730](https://togithub.com/vercel/next.js/issues/43730)
- Remove additional `
` at each segment level in `app`: [#43717](https://togithub.com/vercel/next.js/issues/43717)
- Revert "Adding head element checking for root layout": [#43760](https://togithub.com/vercel/next.js/issues/43760)
- fix ci pnpm lock error: [#43767](https://togithub.com/vercel/next.js/issues/43767)
- Force reflow when setting scrollBehavior: [#43673](https://togithub.com/vercel/next.js/issues/43673)
- Remove `__webpack_exports__` from error overlay: [#43715](https://togithub.com/vercel/next.js/issues/43715)
- Fix chunk hash logic in hot-reloader for server components: [#43778](https://togithub.com/vercel/next.js/issues/43778)
- Assign layer to app client entries: [#43197](https://togithub.com/vercel/next.js/issues/43197)
- Remove notifications emitted during pnpm dev: [#43801](https://togithub.com/vercel/next.js/issues/43801)
- Display error digest if presented: [#43742](https://togithub.com/vercel/next.js/issues/43742)
- Fix HMR issue after patching the client module: [#43819](https://togithub.com/vercel/next.js/issues/43819)
- Implement loadable with lazy and suspense for next dynamic: [#42589](https://togithub.com/vercel/next.js/issues/42589)
- Do not attach CSS checksum for production build: [#43827](https://togithub.com/vercel/next.js/issues/43827)
- Provide error hints for invalid layout props via the TS plugin: [#43835](https://togithub.com/vercel/next.js/issues/43835)
- Refactor code: [#43828](https://togithub.com/vercel/next.js/issues/43828)
- Unhandled errors and rejections opens as minimized in app dir error overlay: [#43844](https://togithub.com/vercel/next.js/issues/43844)
- docs: add readme with development instructions for next/swc: [#43834](https://togithub.com/vercel/next.js/issues/43834)
- Use proxy to ensure Flight is referencing to the latest module during development: [#43823](https://togithub.com/vercel/next.js/issues/43823)
- memory: fix 2 memory leaks in `next-dev`: [#43859](https://togithub.com/vercel/next.js/issues/43859)
- Refactoring in [@next/font](https://togithub.com/next/font): [#43848](https://togithub.com/vercel/next.js/issues/43848)
- build(cargo): bump up swc_core, turbopack: [#43652](https://togithub.com/vercel/next.js/issues/43652)
- Move prefetch bailout to start of the prefetch function for `pages`: [#43731](https://togithub.com/vercel/next.js/issues/43731)
- Alias next/head to noop for rsc and add upgration warning: [#43885](https://togithub.com/vercel/next.js/issues/43885)
- Update freebsd build: [#43866](https://togithub.com/vercel/next.js/issues/43866)
- Fix error message for invalid `runtime` option in app dir: [#43900](https://togithub.com/vercel/next.js/issues/43900)
- fix: forwarding props to no ssr dynamic: [#43901](https://togithub.com/vercel/next.js/issues/43901)
- Improve type checking error message for invalid props: [#43903](https://togithub.com/vercel/next.js/issues/43903)
- Improve type checking error message for invalid props: [#43903](https://togithub.com/vercel/next.js/issues/43903)
- Support for named slots in type checking: [#43906](https://togithub.com/vercel/next.js/issues/43906)
- Fix next/dynamic types for resolving named export module: [#43923](https://togithub.com/vercel/next.js/issues/43923)
- Add auto completion for prop names and types to the TS plugin: [#43909](https://togithub.com/vercel/next.js/issues/43909)
- Skip creating VSCode config and `.gitignore` if running in CI: [#43935](https://togithub.com/vercel/next.js/issues/43935)
- Add helpful error for createContext used in Server Components: [#43747](https://togithub.com/vercel/next.js/issues/43747)
- Increase stack trace limit on the server: [#43800](https://togithub.com/vercel/next.js/issues/43800)
- Refactor image optimization util: [#43868](https://togithub.com/vercel/next.js/issues/43868)
- useSearchParams - bailout to client rendering during static generation: [#43603](https://togithub.com/vercel/next.js/issues/43603)
- Open server component errors fullscreen: [#43887](https://togithub.com/vercel/next.js/issues/43887)
- next-dev: restart dev server exceeds the memory limits: [#43958](https://togithub.com/vercel/next.js/issues/43958)
- Fix: status log when NEXT_TELEMETRY_DISABLED env is set: [#43948](https://togithub.com/vercel/next.js/issues/43948)
- Erase dynamic ssr:false imports on server: [#43974](https://togithub.com/vercel/next.js/issues/43974)
- use a function expression to access arguments binding: [#43987](https://togithub.com/vercel/next.js/issues/43987)
- Added support for query params on not found pages: [#43836](https://togithub.com/vercel/next.js/issues/43836)
- Update `no-img-element` lint rule: [#43982](https://togithub.com/vercel/next.js/issues/43982)
- Fix: fix pages in Route Groups returning 500 with `output: "standalone"`: [#43746](https://togithub.com/vercel/next.js/issues/43746)
- Add default head for app dir: [#43963](https://togithub.com/vercel/next.js/issues/43963)
- Fix browser navigation buttons not working with shallow routing and middleware: [#43919](https://togithub.com/vercel/next.js/issues/43919)
- Fast refresh should recover from event handler errors in app dir: [#43882](https://togithub.com/vercel/next.js/issues/43882)
- Fix module error for findDOMNode on edge: [#43998](https://togithub.com/vercel/next.js/issues/43998)
- Adding data attr to inlined font definition: [#44008](https://togithub.com/vercel/next.js/issues/44008)
- Replace taskr.watch for core compilation: [#44027](https://togithub.com/vercel/next.js/issues/44027)
- Fix `.images.remotePatterns[0].port` warning: [#44032](https://togithub.com/vercel/next.js/issues/44032)
- Fix app client entry key for windows: [#44011](https://togithub.com/vercel/next.js/issues/44011)
- feat: enables 'edge' as a possible runtime for API routes: [#44045](https://togithub.com/vercel/next.js/issues/44045)
##### Documentation Changes
- docs: Add notes about NEXT_MANUAL_SIG_HANDLE: [#43686](https://togithub.com/vercel/next.js/issues/43686)
- Changes `vercel/examples` links from linking to GitHub repo to template marketplace: [#43780](https://togithub.com/vercel/next.js/issues/43780)
- docs(migrating): fix broken react-router link: [#43843](https://togithub.com/vercel/next.js/issues/43843)
- Update compiler.md: [#43872](https://togithub.com/vercel/next.js/issues/43872)
- Add docs for missing support on custom routes: [#44007](https://togithub.com/vercel/next.js/issues/44007)
- docs: fix wording: [#44020](https://togithub.com/vercel/next.js/issues/44020)
- not ie 11 is dead: [#44029](https://togithub.com/vercel/next.js/issues/44029)
##### Example Changes
- Add with-cloudinary example: [#43250](https://togithub.com/vercel/next.js/issues/43250)
- examples(with-turbopack): Fix styling page default active stylingNav: [#42739](https://togithub.com/vercel/next.js/issues/42739)
- Fixed broken Cloudinary example: [#43646](https://togithub.com/vercel/next.js/issues/43646)
- Convert `with-why-did-you-render` example to TypeScript: [#43736](https://togithub.com/vercel/next.js/issues/43736)
- chore(examples): Remove deprecated function from chakra: [#43784](https://togithub.com/vercel/next.js/issues/43784)
- chore(examples): Update convex example: [#43741](https://togithub.com/vercel/next.js/issues/43741)
- Update dependencies for Convex demo: [#43855](https://togithub.com/vercel/next.js/issues/43855)
- Convert `with-gsap`, `with-mqtt-js`, `with-mux-video` examples to Typescript: [#43874](https://togithub.com/vercel/next.js/issues/43874)
- Fix `with-webassembly` example and convert to Typescript: [#43677](https://togithub.com/vercel/next.js/issues/43677)
- corrected /examples/github-pages readme: [#43766](https://togithub.com/vercel/next.js/issues/43766)
- chore: add repro links in "verify canary" comment: [#43979](https://togithub.com/vercel/next.js/issues/43979)
- Move Google Analytics script to the
: [#43838](https://togithub.com/vercel/next.js/issues/43838)
##### Misc Changes
- Apply publish step optimizations: [#43620](https://togithub.com/vercel/next.js/issues/43620)
- Update create-next-app template: [#43482](https://togithub.com/vercel/next.js/issues/43482)
- Update test config: [#43661](https://togithub.com/vercel/next.js/issues/43661)
- Update flakey app logbox test: [#43682](https://togithub.com/vercel/next.js/issues/43682)
- Update flakey GSSP preview test: [#43702](https://togithub.com/vercel/next.js/issues/43702)
- Fix typos in 1.bug_report.yml: [#43697](https://togithub.com/vercel/next.js/issues/43697)
- Disable jest autorun in this repo: [#43727](https://togithub.com/vercel/next.js/issues/43727)
- Build test binary in Docker image: [#43745](https://togithub.com/vercel/next.js/issues/43745)
- Update bug report template to make it clear we require repro: [#43735](https://togithub.com/vercel/next.js/issues/43735)
- Add tests for server component HMR: [#43779](https://togithub.com/vercel/next.js/issues/43779)
- Add tests for rendering null and undefined in RSC: [#43768](https://togithub.com/vercel/next.js/issues/43768)
- Remove `swcMinify` from Next config in CNA template: [#43782](https://togithub.com/vercel/next.js/issues/43782)
- Remove `serverComponents` from next.conf.js because it's unused: [#43805](https://togithub.com/vercel/next.js/issues/43805)
- Add test for providing correct params to layouts: [#43775](https://togithub.com/vercel/next.js/issues/43775)
- Fix test binary generation and update test config: [#43790](https://togithub.com/vercel/next.js/issues/43790)
- Lock pnpm version during publish: [#43820](https://togithub.com/vercel/next.js/issues/43820)
- ci(actions): pin prod-test action image: [#43748](https://togithub.com/vercel/next.js/issues/43748)
- Upgrade playwright to 1.28.1: [#43818](https://togithub.com/vercel/next.js/issues/43818)
- modify rd email: [#43837](https://togithub.com/vercel/next.js/issues/43837)
- Test imports of all file types: [#43751](https://togithub.com/vercel/next.js/issues/43751)
- test: client component under server component with ssr:false: [#43853](https://togithub.com/vercel/next.js/issues/43853)
- Delete duplicate SECURITY.md: [#43856](https://togithub.com/vercel/next.js/issues/43856)
- Clarify e2e dependency on yarn in contributin docs: [#43287](https://togithub.com/vercel/next.js/issues/43287)
- test: use react latest: [#43884](https://togithub.com/vercel/next.js/issues/43884)
- Update [@next/font](https://togithub.com/next/font) data: [#43883](https://togithub.com/vercel/next.js/issues/43883)
- Update flakey dev context tests: [#43951](https://togithub.com/vercel/next.js/issues/43951)
- Add VSCode settings and recommended extensions for Next.js repository: [#43954](https://togithub.com/vercel/next.js/issues/43954)
- Add Web Tooling team to codeowners: [#43981](https://togithub.com/vercel/next.js/issues/43981)
- Update docs change files list: [#43984](https://togithub.com/vercel/next.js/issues/43984)
- Fix e2e deploy test setup: [#43990](https://togithub.com/vercel/next.js/issues/43990)
##### Credits
Huge thanks to [@Nutlope](https://togithub.com/Nutlope), [@huozhi](https://togithub.com/huozhi), [@m7yue](https://togithub.com/m7yue), [@BRKalow](https://togithub.com/BRKalow), [@Andarist](https://togithub.com/Andarist), [@hanneslund](https://togithub.com/hanneslund), [@jueungrace](https://togithub.com/jueungrace), [@balazsorban44](https://togithub.com/balazsorban44), [@ijjk](https://togithub.com/ijjk), [@mmaaaaz](https://togithub.com/mmaaaaz), [@Alfred-Mountfield](https://togithub.com/Alfred-Mountfield), [@soonoo](https://togithub.com/soonoo), [@JanKaifer](https://togithub.com/JanKaifer), [@feedthejim](https://togithub.com/feedthejim), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@shuding](https://togithub.com/shuding), [@manovotny](https://togithub.com/manovotny), [@maxproske](https://togithub.com/maxproske), [@AnujSsStw](https://togithub.com/AnujSsStw), [@thomasballinger](https://togithub.com/thomasballinger), [@kwonoj](https://togithub.com/kwonoj), [@aaronbrown-vercel](https://togithub.com/aaronbrown-vercel), [@saseungmin](https://togithub.com/saseungmin), [@styfle](https://togithub.com/styfle), [@timneutkens](https://togithub.com/timneutkens), [@aziyatali](https://togithub.com/aziyatali), [@labyrinthitis](https://togithub.com/labyrinthitis), [@padmaia](https://togithub.com/padmaia), [@mattpr](https://togithub.com/mattpr), [@gnoff](https://togithub.com/gnoff), [@wyattjoh](https://togithub.com/wyattjoh), [@aarnadlr](https://togithub.com/aarnadlr), [@DuCanhGH](https://togithub.com/DuCanhGH), [@kleintorres](https://togithub.com/kleintorres), [@janicklas-ralph](https://togithub.com/janicklas-ralph), [@theevilhead](https://togithub.com/theevilhead), [@Nfinished](https://togithub.com/Nfinished), and [@feugy](https://togithub.com/feugy) for helping!
### [`v13.0.6`](https://togithub.com/vercel/next.js/releases/tag/v13.0.6)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.5...v13.0.6)
##### Core Changes
- test(integration): allow to run `--turbo` dev server tests dynamically : [#42967](https://togithub.com/vercel/next.js/issues/42967)
- Ensure loaderFile is included in webpack cache key: [#43315](https://togithub.com/vercel/next.js/issues/43315)
- Improve [@next/font](https://togithub.com/next/font) error handling: [#43298](https://togithub.com/vercel/next.js/issues/43298)
- Improve RSC plugin to provide better errors: [#42435](https://togithub.com/vercel/next.js/issues/42435)
- fix appDir returning 404 in production with `"output": "standalone"`: [#43268](https://togithub.com/vercel/next.js/issues/43268)
- Fix outputting un-necessary trace files for edge functions: [#43304](https://togithub.com/vercel/next.js/issues/43304)
- fix: apply default export interop to pages/\_app: [#43335](https://togithub.com/vercel/next.js/issues/43335)
- Fix package resolution issue in app dir: [#43349](https://togithub.com/vercel/next.js/issues/43349)
- Get correct chunks in flight-manifest on Windows: [#43334](https://togithub.com/vercel/next.js/issues/43334)
- Resolve RSC / HTML rendering errors in error overlay: [#43332](https://togithub.com/vercel/next.js/issues/43332)
- App directory next/link dynamic href dev error: [#43074](https://togithub.com/vercel/next.js/issues/43074)
- Add `ref` forwarding for `next/image`: [#43193](https://togithub.com/vercel/next.js/issues/43193)
- Always transform styled-jsx for rsc and error with client-only condition: [#43386](https://togithub.com/vercel/next.js/issues/43386)
- dynamic = 'error' should only throw if page didn't get exported: [#43377](https://togithub.com/vercel/next.js/issues/43377)
- fix `output: "standalone"` returning 500 error on certain pages when built without pages/: [#43336](https://togithub.com/vercel/next.js/issues/43336)
- Fix "apply() is only allowed in ready status (state: idle)" HMR errors: [#43242](https://togithub.com/vercel/next.js/issues/43242)
- Add gSP and gSSP checks for both server and client layers in the SWC transform: [#43391](https://togithub.com/vercel/next.js/issues/43391)
- Make sure the TS plugin works for src/app: [#43412](https://togithub.com/vercel/next.js/issues/43412)
- Remove stack trace from full reload warning: [#43453](https://togithub.com/vercel/next.js/issues/43453)
- Upgrade compiled undici: [#43481](https://togithub.com/vercel/next.js/issues/43481)
- Fix missing cleanup process in flight plugin globals: [#43297](https://togithub.com/vercel/next.js/issues/43297)
- Fix matchers in middleware manifest: [#43549](https://togithub.com/vercel/next.js/issues/43549)
- rsc: bundle legacy head as client component: [#43425](https://togithub.com/vercel/next.js/issues/43425)
- Remove `useState` from `next/image`: [#43587](https://togithub.com/vercel/next.js/issues/43587)
- Group redirect status imports: [#43480](https://togithub.com/vercel/next.js/issues/43480)
- Fix `Failed to copy traced files` for Edge functions and handle its files with middleware-manifest.json: [#43326](https://togithub.com/vercel/next.js/issues/43326)
- Update next/link default legacyBehavior: [#42623](https://togithub.com/vercel/next.js/issues/42623)
- fix: Dynamic Usage Error when using previewData with generateStaticParams and appDir: [#43395](https://togithub.com/vercel/next.js/issues/43395)
- Minimized runtime errors in app dir: [#43511](https://togithub.com/vercel/next.js/issues/43511)
##### Documentation Changes
- Add link back to font video in Font docs.: [#43440](https://togithub.com/vercel/next.js/issues/43440)
- docs: update known Safari bug: [#43513](https://togithub.com/vercel/next.js/issues/43513)
- Add yarn berry dependency upgrade example for Next 12 to 13 upgrade documentation.: [#43472](https://togithub.com/vercel/next.js/issues/43472)
- Clarify that publicRuntimeConfig and serverRuntimeConfig do not work with Output File Tracing: [#43443](https://togithub.com/vercel/next.js/issues/43443)
- adding note that edge api routes are not supported with ISR: [#43572](https://togithub.com/vercel/next.js/issues/43572)
- Improve docs for URL Imports: [#43615](https://togithub.com/vercel/next.js/issues/43615)
##### Example Changes
- chore(examples): Deprecate `cms-strapi`: [#43325](https://togithub.com/vercel/next.js/issues/43325)
- Add example commands for creating reproductions: [#43375](https://togithub.com/vercel/next.js/issues/43375)
- updates with-supertokens example: [#43379](https://togithub.com/vercel/next.js/issues/43379)
- Fix `with-docker-compose` example: [#43419](https://togithub.com/vercel/next.js/issues/43419)
- chore(examples): fix CLI commands for MobX examples: [#43534](https://togithub.com/vercel/next.js/issues/43534)
- Simplify and convert `with-vercel-fetch` example to TypeScript: [#43403](https://togithub.com/vercel/next.js/issues/43403)
- chore(examples): reference `main` prop in README.md in Firebase example: [#43434](https://togithub.com/vercel/next.js/issues/43434)
- chore(examples): Update active-class-name example: [#43581](https://togithub.com/vercel/next.js/issues/43581)
- Fix deploy button in with-xata example: [#43608](https://togithub.com/vercel/next.js/issues/43608)
##### Misc Changes
- Avoid turbo cache miss on root package change: [#43309](https://togithub.com/vercel/next.js/issues/43309)
- Add .pnpm-store to .gitignore: [#43366](https://togithub.com/vercel/next.js/issues/43366)
- Update @next/font/google fonts: [#43385](https://togithub.com/vercel/next.js/issues/43385)
- Catch errors when calculating avg font width: [#43503](https://togithub.com/vercel/next.js/issues/43503)
- chore: update issue verifier: [#43339](https://togithub.com/vercel/next.js/issues/43339)
- chore: fix issue validator
- chore: move comments of issue validator
- chore: hardcode path for issue validator
- chore: add area dropdown to bug report template: [#43228](https://togithub.com/vercel/next.js/issues/43228)
- chore: fix issue verifier issues
- Merge branch 'canary' of https://github.com/vercel/next.js into canary
- chore: fix issue verifier
- chore: don't comment twice
- chore: disable auto-labeling
- Fix "infer pnpm with example" test outside test suite: [#43487](https://togithub.com/vercel/next.js/issues/43487)
- chore: add issue labeler: [#43599](https://togithub.com/vercel/next.js/issues/43599)
- chore: fix issue labeler: [#43606](https://togithub.com/vercel/next.js/issues/43606)
- Changed output mode on app directory test application: [#43607](https://togithub.com/vercel/next.js/issues/43607)
- Fix output: standalone test for app directory: [#43618](https://togithub.com/vercel/next.js/issues/43618)
##### Credits
Huge thanks to [@kwonoj](https://togithub.com/kwonoj), [@hanneslund](https://togithub.com/hanneslund), [@ijjk](https://togithub.com/ijjk), [@shuding](https://togithub.com/shuding), [@DuCanhGH](https://togithub.com/DuCanhGH), [@chibicode](https://togithub.com/chibicode), [@artechventure](https://togithub.com/artechventure), [@JanKaifer](https://togithub.com/JanKaifer), [@huozhi](https://togithub.com/huozhi), [@colinking](https://togithub.com/colinking), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@maxproske](https://togithub.com/maxproske), [@wyattjoh](https://togithub.com/wyattjoh), [@leerob](https://togithub.com/leerob), [@alantoa](https://togithub.com/alantoa), [@Haschikeks](https://togithub.com/Haschikeks), [@balazsorban44](https://togithub.com/balazsorban44), [@matthew-heath](https://togithub.com/matthew-heath), [@AaronJY](https://togithub.com/AaronJY), [@dtinth](https://togithub.com/dtinth), [@styfle](https://togithub.com/styfle), [@leoortizz](https://togithub.com/leoortizz), [@ValentinH](https://togithub.com/ValentinH), [@brvnonascimento](https://togithub.com/brvnonascimento), [@joshuaslate](https://togithub.com/joshuaslate), [@SferaDev](https://togithub.com/SferaDev), and [@timeyoutakeit](https://togithub.com/timeyoutakeit) for helping!
### [`v13.0.5`](https://togithub.com/vercel/next.js/releases/tag/v13.0.5)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.4...v13.0.5)
##### Core Changes
- Remove unnecessary async function when preloading async components: [#42957](https://togithub.com/vercel/next.js/issues/42957)
- Add force-static handling for app dir: [#43061](https://togithub.com/vercel/next.js/issues/43061)
- Add experimental outputFileTracingIgnores config: [#43103](https://togithub.com/vercel/next.js/issues/43103)
- Leverage outputFileTracingIgnores for next-server trace as well: [#43108](https://togithub.com/vercel/next.js/issues/43108)
- Remove `unstable_revalidate`: [#43119](https://togithub.com/vercel/next.js/issues/43119)
- types: better type definition for internal utils: [#43070](https://togithub.com/vercel/next.js/issues/43070)
- Eagerly build swc binaries on change: [#43142](https://togithub.com/vercel/next.js/issues/43142)
- chore: Update swc_core to `v0.43.23`: [#42977](https://togithub.com/vercel/next.js/issues/42977)
- fix(next-swc/relay): make pages directory optional: [#43116](https://togithub.com/vercel/next.js/issues/43116)
- Remove the timestamp query for CSS resources: [#43185](https://togithub.com/vercel/next.js/issues/43185)
- Update experimental skipTrailingSlashRedirect handling: [#43201](https://togithub.com/vercel/next.js/issues/43201)
- Avoid bundling appDir rendering into pages edge SSR bundle: [#43184](https://togithub.com/vercel/next.js/issues/43184)
- Alias esm next document to avoid mismatch react context: [#43192](https://togithub.com/vercel/next.js/issues/43192)
- Fix middleware not executed when pages directory is empty: [#43205](https://togithub.com/vercel/next.js/issues/43205)
- Remove app routes from \_devPagesManifest: [#43188](https://togithub.com/vercel/next.js/issues/43188)
- Fix HMR error: "Cannot read properties of null (reading 'length')": [#43145](https://togithub.com/vercel/next.js/issues/43145)
- fix(ts): re-export `PageComponent` and `LayoutComponent` types: [#43226](https://togithub.com/vercel/next.js/issues/43226)
- Fix app routes are not correctly matched when src directory is used: [#43234](https://togithub.com/vercel/next.js/issues/43234)
- chore: add `firebase-admin` to default `serverComponentsExternalPackages` list: [#43249](https://togithub.com/vercel/next.js/issues/43249)
- Fix React.cache() in layout/page file: [#43187](https://togithub.com/vercel/next.js/issues/43187)
- build(cargo): bump up turbopack: [#43273](https://togithub.com/vercel/next.js/issues/43273)
- fix(next-swc): aarch64 build: [#43275](https://togithub.com/vercel/next.js/issues/43275)
- Add fallback aliases for React: [#43203](https://togithub.com/vercel/next.js/issues/43203)
- fix: apply default export interop to `next/error`: [#43238](https://togithub.com/vercel/next.js/issues/43238)
- Remove unused `use-sync-external-store` dependency: [#43281](https://togithub.com/vercel/next.js/issues/43281)
- Imageloader: collect images serverside to include images from staticp…: [#41554](https://togithub.com/vercel/next.js/issues/41554)
- Update precompiled react: [#43288](https://togithub.com/vercel/next.js/issues/43288)
- Resolve next api for layouts to esm for edge runtime: [#43302](https://togithub.com/vercel/next.js/issues/43302)
- Refactor code: [#43291](https://togithub.com/vercel/next.js/issues/43291)
- Show error for invalid page props in the TS plugin: [#43300](https://togithub.com/vercel/next.js/issues/43300)
- docs: add error link when missing `appDir: true`: [#43293](https://togithub.com/vercel/next.js/issues/43293)
##### Documentation Changes
- Add note in next/link docs about anchor props: [#43064](https://togithub.com/vercel/next.js/issues/43064)
- Remove unneeded `async` in docs.: [#43161](https://togithub.com/vercel/next.js/issues/43161)
- Add JWT example to error page.: [#43162](https://togithub.com/vercel/next.js/issues/43162)
- Updated typo in the documentation: [#43160](https://togithub.com/vercel/next.js/issues/43160)
- Add missing quote in `next/script` example: [#43196](https://togithub.com/vercel/next.js/issues/43196)
- Add a note about the auto-created empty directory: [#43219](https://togithub.com/vercel/next.js/issues/43219)
- docs: Add default browserslist configuration as a starting point: [#43260](https://togithub.com/vercel/next.js/issues/43260)
##### Example Changes
- chore: Updating Tigris example to use stable release: [#43058](https://togithub.com/vercel/next.js/issues/43058)
- examples(with-ant-design): bump antd v5.0.0: [#43062](https://togithub.com/vercel/next.js/issues/43062)
- fix: Wrong link to source in "responsive" image example: [#43081](https://togithub.com/vercel/next.js/issues/43081)
- chore(examples): with-msw update msw: [#43224](https://togithub.com/vercel/next.js/issues/43224)
- Fix With Passport example: [#43232](https://togithub.com/vercel/next.js/issues/43232)
- chore(examples): update Next.js in `with-redux-reducer`: [#43237](https://togithub.com/vercel/next.js/issues/43237)
- Updates supertokens example app SSR behaviour: [#43218](https://togithub.com/vercel/next.js/issues/43218)
- docs: add missing AppProps import: [#43136](https://togithub.com/vercel/next.js/issues/43136)
- Convert more jsx/styled-components examples to TypeScript: [#43117](https://togithub.com/vercel/next.js/issues/43117)
- Convert `with-videojs`, `with-yoga`, `with-zones` examples to TypeScript: [#43280](https://togithub.com/vercel/next.js/issues/43280)
##### Misc Changes
- Fix e2e deploy test for Node.js v18: [#43109](https://togithub.com/vercel/next.js/issues/43109)
- Update tests config: [#43204](https://togithub.com/vercel/next.js/issues/43204)
- fix: create-next-app copies files it shouldn't: [#43131](https://togithub.com/vercel/next.js/issues/43131)
- Add links to PR template: [#43239](https://togithub.com/vercel/next.js/issues/43239)
- Update some flakey test cases: [#43247](https://togithub.com/vercel/next.js/issues/43247)
- Update flakey app HMR tests: [#43253](https://togithub.com/vercel/next.js/issues/43253)
- Add support for next.js development in docker: [#43138](https://togithub.com/vercel/next.js/issues/43138)
##### Credits
Huge thanks to [@hanneslund](https://togithub.com/hanneslund), [@adilansari](https://togithub.com/adilansari), [@chunsch](https://togithub.com/chunsch), [@bennettdams](https://togithub.com/bennettdams), [@maxproske](https://togithub.com/maxproske), [@SukkaW](https://togithub.com/SukkaW), [@kdy1](https://togithub.com/kdy1), [@orionmiz](https://togithub.com/orionmiz), [@leerob](https://togithub.com/leerob), [@shuding](https://togithub.com/shuding), [@aziyatali](https://togithub.com/aziyatali), [@NiedziolkaMichal](https://togithub.com/NiedziolkaMichal), [@huozhi](https://togithub.com/huozhi), [@colinking](https://togithub.com/colinking), [@juliusmarminge](https://togithub.com/juliusmarminge), [@andykenward](https://togithub.com/andykenward), [@Yutsuten](https://togithub.com/Yutsuten), [@balazsorban44](https://togithub.com/balazsorban44), [@FomichRoman](https://togithub.com/FomichRoman), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@arturbien](https://togithub.com/arturbien), [@ADTC](https://togithub.com/ADTC), [@JanKaifer](https://togithub.com/JanKaifer), [@ijjk](https://togithub.com/ijjk), [@kwonoj](https://togithub.com/kwonoj), [@joliss](https://togithub.com/joliss), [@Andarist](https://togithub.com/Andarist), and [@Laityned](https://togithub.com/Laityned) for helping!
### [`v13.0.4`](https://togithub.com/vercel/next.js/releases/tag/v13.0.4)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.3...v13.0.4)
##### Core Changes
- Show link to the docs for route segment config options: [#42779](https://togithub.com/vercel/next.js/issues/42779)
- fix: Fix regression of swc minifier: [#42790](https://togithub.com/vercel/next.js/issues/42790)
- Add additional item to RSC payload, preparing for head.tsx on navigation: [#42791](https://togithub.com/vercel/next.js/issues/42791)
- Use window.location directly instead of parsing into URL: [#42888](https://togithub.com/vercel/next.js/issues/42888)
- feat(next-swc/relay): Add `javascript` to language: [#42894](https://togithub.com/vercel/next.js/issues/42894)
- types([#42003](https://togithub.com/vercel/next.js/issues/42003)): better typing for `next/link`: [#42117](https://togithub.com/vercel/next.js/issues/42117)
- Ensure query is provided correctly with middleware rewrites: [#42818](https://togithub.com/vercel/next.js/issues/42818)
- feat(next/swc): allow to run custom turbopack binary: [#42656](https://togithub.com/vercel/next.js/issues/42656)
- fix: Error: NEXT_REDIRECT crashing server in prod: [#42793](https://togithub.com/vercel/next.js/issues/42793)
- Update caching for swc turbo builds: [#42929](https://togithub.com/vercel/next.js/issues/42929)
- Handle head.js on client-side navigation: [#42904](https://togithub.com/vercel/next.js/issues/42904)
- feat(jest): respect `transpilePackages` in tests: [#42987](https://togithub.com/vercel/next.js/issues/42987)
- App files ending with page registred as page files: [#42996](https://togithub.com/vercel/next.js/issues/42996)
- Allow generateStaticParams to be a synchronous function in app directory: [#42942](https://togithub.com/vercel/next.js/issues/42942)
- chore(eslint-config-next): bump eslint-import-resolver-typescript: [#43010](https://togithub.com/vercel/next.js/issues/43010)
- Ensure next.config.js function is handled for turbo: [#43015](https://togithub.com/vercel/next.js/issues/43015)
- Fix app page check on windows: [#43022](https://togithub.com/vercel/next.js/issues/43022)
- Add middleware prefetching config: [#42936](https://togithub.com/vercel/next.js/issues/42936)
- Fix middleware prefetch cases: [#43056](https://togithub.com/vercel/next.js/issues/43056)
- Ensure backslash is correctly handled in find-page-file: [#43057](https://togithub.com/vercel/next.js/issues/43057)
- Fix app render: escape segment value [#42626](https://togithub.com/vercel/next.js/issues/42626): [#42823](https://togithub.com/vercel/next.js/issues/42823)
##### Documentation Changes
- docs: fix middleware docs cookie example: [#42816](https://togithub.com/vercel/next.js/issues/42816)
- Update docs/advanced-features/debugging.md: [#42842](https://togithub.com/vercel/next.js/issues/42842)
- docs(edge-api-routes): fixes example: [#42903](https://togithub.com/vercel/next.js/issues/42903)
- Update SFCC example to use TypeScript + `@next/font`: [#42865](https://togithub.com/vercel/next.js/issues/42865)
- Add more details to invalid-next-config doc: [#42917](https://togithub.com/vercel/next.js/issues/42917)
- typo: [#42968](https://togithub.com/vercel/next.js/issues/42968)
- Document regions config for experimental-edge: [#43009](https://togithub.com/vercel/next.js/issues/43009)
- docs: Add examples of using multiple weights and styles: [#43031](https://togithub.com/vercel/next.js/issues/43031)
##### Example Changes
- chore(examples): `next/future/image` -> `next/image`: [#42794](https://togithub.com/vercel/next.js/issues/42794)
- docs(examples): auth0 update callback URL: [#42855](https://togithub.com/vercel/next.js/issues/42855)
- Updates Apollo Server Examples to use Apollo Server 4 & [@as-integrations/next](https://togithub.com/as-integrations/next): [#42771](https://togithub.com/vercel/next.js/issues/42771)
- Improve `with-algolia-react-instantsearch` example and convert to TypeScript: [#42617](https://togithub.com/vercel/next.js/issues/42617)
- Convert blog cover images to next/image: [#42908](https://togithub.com/vercel/next.js/issues/42908)
- Make cover image full width: [#42916](https://togithub.com/vercel/next.js/issues/42916)
- Convert `with-app-layout` example to TypeScript: [#42930](https://togithub.com/vercel/next.js/issues/42930)
- Tigris example with Next.js: [#42662](https://togithub.com/vercel/next.js/issues/42662)
- feat(examples): with-grafbase: [#42898](https://togithub.com/vercel/next.js/issues/42898)
- docs(examples): add postgres.js example: [#42962](https://togithub.com/vercel/next.js/issues/42962)
- Remove `with-atlaskit` example: [#42973](https://togithub.com/vercel/next.js/issues/42973)
- Remove `with-carbon-components` example: [#42976](https://togithub.com/vercel/next.js/issues/42976)
- Remove `with-cerebral` example: [#42980](https://togithub.com/vercel/next.js/issues/42980)
- Remove `swcMinify` option from example configs: [#43012](https://togithub.com/vercel/next.js/issues/43012)
- Convert `with-cssed`, `with-csx`, `with-styled-jsx` examples to TypeScript: [#43018](https://togithub.com/vercel/next.js/issues/43018)
- feat(examples): use experimental edge runtime with grafbase: [#42992](https://togithub.com/vercel/next.js/issues/42992)
##### Misc Changes
- Update bundle analyzer dependency and output: [#42797](https://togithub.com/vercel/next.js/issues/42797)
- Update to latest version of turbo CLI: [#42803](https://togithub.com/vercel/next.js/issues/42803)
- Fix cache collision for swc darwin: [#42960](https://togithub.com/vercel/next.js/issues/42960)
- Fix build-wasm-dev docs skip: [#42961](https://togithub.com/vercel/next.js/issues/42961)
- Update deployment used for e2e test: [#42969](https://togithub.com/vercel/next.js/issues/42969)
- test(integration): update test fixture: [#42966](https://togithub.com/vercel/next.js/issues/42966)
- Fix test retry cleanup: [#43011](https://togithub.com/vercel/next.js/issues/43011)
- Update test wasm timeout: [#43014](https://togithub.com/vercel/next.js/issues/43014)
- @next/font/google variable fonts without weight range: [#43036](https://togithub.com/vercel/next.js/issues/43036)
- Update build-wasm to checkout directly: [#43054](https://togithub.com/vercel/next.js/issues/43054)
##### Credits
Huge thanks to [@shuding](https://togithub.com/shuding), [@balazsorban44](https://togithub.com/balazsorban44), [@kdy1](https://togithub.com/kdy1), [@huozhi](https://togithub.com/huozhi), [@reyrodrigez](https://togithub.com/reyrodrigez), [@andykenward](https://togithub.com/andykenward), [@idoob](https://togithub.com/idoob), [@maxproske](https://togithub.com/maxproske), [@KoltonG](https://togithub.com/KoltonG), [@timneutkens](https://togithub.com/timneutkens), [@feugy](https://togithub.com/feugy), [@leerob](https://togithub.com/leerob), [@steven-tey](https://togithub.com/steven-tey), [@SukkaW](https://togithub.com/SukkaW), [@kwonoj](https://togithub.com/kwonoj), [@adilansari](https://togithub.com/adilansari), [@hanneslund](https://togithub.com/hanneslund), [@notrab](https://togithub.com/notrab), [@zekicaneksi](https://togithub.com/zekicaneksi), [@silvioprog](https://togithub.com/silvioprog), [@joulev](https://togithub.com/joulev), [@chanceaclark](https://togithub.com/chanceaclark), and [@Marcus-Rise](https://togithub.com/Marcus-Rise) for helping!
### [`v13.0.3`](https://togithub.com/vercel/next.js/releases/tag/v13.0.3)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.2...v13.0.3)
##### Core Changes
- bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) version to support TS 4.8: [#42439](https://togithub.com/vercel/next.js/issues/42439)
- chore: Update swc_core to `v0.40.40`: [#42326](https://togithub.com/vercel/next.js/issues/42326)
- Add telemetry for turbotrace: [#42486](https://togithub.com/vercel/next.js/issues/42486)
- Fix undici warning in Node.js 18: [#42477](https://togithub.com/vercel/next.js/issues/42477)
- Ensure RSC is detecting correctly during revalidate: [#42508](https://togithub.com/vercel/next.js/issues/42508)
- fix: correctly mention `generateStaticParams` in error: [#42524](https://togithub.com/vercel/next.js/issues/42524)
- Re-enable sandbox cache and update AsyncLocalStorage usage: [#42547](https://togithub.com/vercel/next.js/issues/42547)
- Check properly whether SWC is used or not when using forceSwcTransforms: [#42531](https://togithub.com/vercel/next.js/issues/42531)
- Show inlined error if the "use client" directive is not before other statements/expressions: [#42507](https://togithub.com/vercel/next.js/issues/42507)
- Refactor error codes in the TS plugin: [#42585](https://togithub.com/vercel/next.js/issues/42585)
- Fix server html insertion target: [#42591](https://togithub.com/vercel/next.js/issues/42591)
- `next/compat/router`: [#42502](https://togithub.com/vercel/next.js/issues/42502)
- Fix scrolling on router.refresh: [#42583](https://togithub.com/vercel/next.js/issues/42583)
- Fix relative TypeScript path in monorepos: [#42586](https://togithub.com/vercel/next.js/issues/42586)
- Aggregate updates using `addStatusHandler` and `Promise.resolve` instead of `setTimeout`: [#42350](https://togithub.com/vercel/next.js/issues/42350)
- fix(next/dev): bubble up unhandled exception from --turbo: [#42594](https://togithub.com/vercel/next.js/issues/42594)
- Rename RSC and Router headers: [#42482](https://togithub.com/vercel/next.js/issues/42482)
- Ensure build trace ignores apply correctly when nested: [#42606](https://togithub.com/vercel/next.js/issues/42606)
- Include [@prisma/client](https://togithub.com/prisma/client) in default external packages: [#42624](https://togithub.com/vercel/next.js/issues/42624)
- Replace global with globalThis: [#42627](https://togithub.com/vercel/next.js/issues/42627)
- Colocate styles with special entries: [#42506](https://togithub.com/vercel/next.js/issues/42506)
- Add lazy initialize of router cache nodes: [#42629](https://togithub.com/vercel/next.js/issues/42629)
- Add telemetry for [@next/font](https://togithub.com/next/font): [#42579](https://togithub.com/vercel/next.js/issues/42579)
- Also create head when creating root layout: [#42571](https://togithub.com/vercel/next.js/issues/42571)
- feat: add --no-mangling to next build + fix --profile option: [#42633](https://togithub.com/vercel/next.js/issues/42633)
- update react builtin deps for next channel: [#42639](https://togithub.com/vercel/next.js/issues/42639)
- Ensure skip normalize is handled correctly: [#42642](https://togithub.com/vercel/next.js/issues/42642)
- @next/font/google fetch error dev: [#42637](https://togithub.com/vercel/next.js/issues/42637)
- Add missing matcher support: [#42660](https://togithub.com/vercel/next.js/issues/42660)
- Remove useless async declaration and replace regexp to plain string in AMP postProcessor: [#42495](https://togithub.com/vercel/next.js/issues/42495)
- [@next/font](https://togithub.com/next/font) error messages: [#42689](https://togithub.com/vercel/next.js/issues/42689)
- Adopt script rejection pattern for link onerror.: [#42645](https://togithub.com/vercel/next.js/issues/42645)
- Fix [@next/font](https://togithub.com/next/font) imports from outside of the root directory: [#42678](https://togithub.com/vercel/next.js/issues/42678)
- Ensure appDir is included in webpack configVars: [#42710](https://togithub.com/vercel/next.js/issues/42710)
- Fix replaceAll usage in post-process: [#42714](https://togithub.com/vercel/next.js/issues/42714)
- Use import to load page and layout: [#42325](https://togithub.com/vercel/next.js/issues/42325)
- Alias next public api to esm on edge runtime: [#42709](https://togithub.com/vercel/next.js/issues/42709)
- fix: publish compat folder: [#42613](https://togithub.com/vercel/next.js/issues/42613)
- Change condition to check for string attribute in lint rules utility function: [#42625](https://togithub.com/vercel/next.js/issues/42625)
- Fix as option with optional catch all routes url object syntax: [#42355](https://togithub.com/vercel/next.js/issues/42355)
- fix comma splice in `verifyRootLayout.ts`: [#42324](https://togithub.com/vercel/next.js/issues/42324)
- build(next-swc): update turbopack to latest: [#42733](https://togithub.com/vercel/next.js/issues/42733)
- [@next/font](https://togithub.com/next/font) return types: [#42753](https://togithub.com/vercel/next.js/issues/42753)
- Eagerly bundle external ESM dependencies for pages: [#42741](https://togithub.com/vercel/next.js/issues/42741)
- Handle hydration replaceState for static page with searchParams: [#42744](https://togithub.com/vercel/next.js/issues/42744)
- Add test case for image generation: [#42693](https://togithub.com/vercel/next.js/issues/42693)
- Don't pushState when already on the url: [#42735](https://togithub.com/vercel/next.js/issues/42735)
- fix: enable emotion import map: [#42750](https://togithub.com/vercel/next.js/issues/42750)
- Fix resolving for esm package with only exports.import condition: [#42767](https://togithub.com/vercel/next.js/issues/42767)
- Track page counts during builds: [#42766](https://togithub.com/vercel/next.js/issues/42766)
##### Documentation Changes
- Fix Static Generation link on Pages page: [#42462](https://togithub.com/vercel/next.js/issues/42462)
- Docs: Fix invalid tsconfig importSource syntax: [#42465](https://togithub.com/vercel/next.js/issues/42465)
- Update response-helpers.md: [#42378](https://togithub.com/vercel/next.js/issues/42378)
- react-version.md: Update minimum React version for Next.js 13: [#42490](https://togithub.com/vercel/next.js/issues/42490)
- Included negative matcher docs in upgrade guide: [#42489](https://togithub.com/vercel/next.js/issues/42489)
- Edit Upgrade docs to correct new-link codemod: [#42501](https://togithub.com/vercel/next.js/issues/42501)
- Update turbopack docs to use `create-next-app@latest`: [#42528](https://togithub.com/vercel/next.js/issues/42528)
- Remove all custom server integration examples: [#42549](https://togithub.com/vercel/next.js/issues/42549)
- \[docs] Document middleware response changes: [#42295](https://togithub.com/vercel/next.js/issues/42295)
- Convert `with-absolute-imports` example to TypeScript: [#42529](https://togithub.com/vercel/next.js/issues/42529)
- docs/next/
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 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.0.0
->13.1.1
Release Notes
vercel/next.js
### [`v13.1.1`](https://togithub.com/vercel/next.js/releases/tag/v13.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.0...v13.1.1) ##### Core Changes - Exclude `srcset` from svg image: [#44308](https://togithub.com/vercel/next.js/issues/44308) - Fix CSS resource path not matched in `__entry_css_files__`: [#44310](https://togithub.com/vercel/next.js/issues/44310) - Fix `next/image` 404 when `basePath` and `trailingSlash` defined: [#44312](https://togithub.com/vercel/next.js/issues/44312) ##### Documentation Changes - Remove experimental for modularizeImports from docs and example: [#44311](https://togithub.com/vercel/next.js/issues/44311) ##### Example Changes - Updated dependencies for `with-tailwindcss` example: [#44289](https://togithub.com/vercel/next.js/issues/44289) ##### Misc Changes - Use turbo for packing files in test setup: [#44074](https://togithub.com/vercel/next.js/issues/44074) ##### Credits Huge thanks to [@JanKaifer](https://togithub.com/JanKaifer), [@Nutlope](https://togithub.com/Nutlope), [@styfle](https://togithub.com/styfle), and [@chibicode](https://togithub.com/chibicode) for helping! ### [`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! ### [`v13.0.7`](https://togithub.com/vercel/next.js/releases/tag/v13.0.7) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.6...v13.0.7) ##### Core Changes - Update react next tag: [#43617](https://togithub.com/vercel/next.js/issues/43617) - fix(jest): pattern when detecting packages to transpile in next/jest: [#43546](https://togithub.com/vercel/next.js/issues/43546) - Adding head element checking for root layout: [#43597](https://togithub.com/vercel/next.js/issues/43597) - Revert: 'Minimized runtime errors in app dir': [#43648](https://togithub.com/vercel/next.js/issues/43648) - fix: properly handle `trailingSlash: true` and `rewrites`: [#43641](https://togithub.com/vercel/next.js/issues/43641) - [@next/font](https://togithub.com/next/font) fallback fonts order fix: [#43633](https://togithub.com/vercel/next.js/issues/43633) - Update cache handling for app: [#43659](https://togithub.com/vercel/next.js/issues/43659) - Remove resolved `app` directory todos: [#43672](https://togithub.com/vercel/next.js/issues/43672) - Fix typo in comment: [#43685](https://togithub.com/vercel/next.js/issues/43685) - perf: disable prefetching for links in viewport in development for app routes: [#43730](https://togithub.com/vercel/next.js/issues/43730) - Remove additional `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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.