π Click on the image for a new way to code review
- Make big changes easier β review code in small groups of related files
- Know where to start β see the whole change at a glance
- Take a code tour β explore the change with an interactive tour
- Make comments and review β all fully syncβed with github
[Try it now!](https://app.codesee.io/r/reviews?pr=123&src=https%3A%2F%2Fgithub.com%2FJoeKarow%2Fnetwerkr)
This PR contains the following updates:
^12.2.2
->^13.0.0
^12.2.2
->^13.0.0
Release Notes
vercel/next.js
### [`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/link: Mention middleware + dynamic routes changes: [#42607](https://togithub.com/vercel/next.js/issues/42607) - fix typo in api-reference next/sever: [#42669](https://togithub.com/vercel/next.js/issues/42669) - font api updates: [#42724](https://togithub.com/vercel/next.js/issues/42724) ##### Example Changes - Include app directory in Tailwind config: [#42407](https://togithub.com/vercel/next.js/issues/42407) - Removed duplicate MONGODB_URI check in example: [#42518](https://togithub.com/vercel/next.js/issues/42518) - Convert `middleware-matcher` example to TypeScript: [#42520](https://togithub.com/vercel/next.js/issues/42520) - Convert `custom-server-express` example to TypeScript: [#42110](https://togithub.com/vercel/next.js/issues/42110) - Example: fixed tailwind ver in readme: [#42551](https://togithub.com/vercel/next.js/issues/42551) - (with-supertokens example): Fixes infinite redirect issue for unauthorised error during SSR: [#42634](https://togithub.com/vercel/next.js/issues/42634) - chore: update scripts to work on windows: [#42632](https://togithub.com/vercel/next.js/issues/42632) - example fix url: [#42695](https://togithub.com/vercel/next.js/issues/42695) ##### Misc Changes - Reuse file when shared by several google font variants: [#42480](https://togithub.com/vercel/next.js/issues/42480) - Fix replaceAll usage in font loader: [#42550](https://togithub.com/vercel/next.js/issues/42550) - - Fix default value handling for CNA in CI: [#42596](https://togithub.com/vercel/next.js/issues/42596) - chore: encourage adding reproductions to issues: [#42667](https://togithub.com/vercel/next.js/issues/42667) - Fix CSS handling rules: [#42615](https://togithub.com/vercel/next.js/issues/42615) - Update to latest version of turbo CLI: [#42711](https://togithub.com/vercel/next.js/issues/42711) ##### Credits Huge thanks to [@lucasassisrosa](https://togithub.com/lucasassisrosa), [@kdy1](https://togithub.com/kdy1), [@ijjk](https://togithub.com/ijjk), [@jakemstar](https://togithub.com/jakemstar), [@lachlanjc](https://togithub.com/lachlanjc), [@ws-jm](https://togithub.com/ws-jm), [@davidnx](https://togithub.com/davidnx), [@steven-tey](https://togithub.com/steven-tey), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@hanneslund](https://togithub.com/hanneslund), [@josephcsoti](https://togithub.com/josephcsoti), [@fantaasm](https://togithub.com/fantaasm), [@timneutkens](https://togithub.com/timneutkens), [@sivtu](https://togithub.com/sivtu), [@leerob](https://togithub.com/leerob), [@balazsorban44](https://togithub.com/balazsorban44), [@maxproske](https://togithub.com/maxproske), [@rightones](https://togithub.com/rightones), [@bot08](https://togithub.com/bot08), [@shuding](https://togithub.com/shuding), [@huozhi](https://togithub.com/huozhi), [@wyattjoh](https://togithub.com/wyattjoh), [@ethomson](https://togithub.com/ethomson), [@alexkirsz](https://togithub.com/alexkirsz), [@kwonoj](https://togithub.com/kwonoj), [@MaxLeiter](https://togithub.com/MaxLeiter), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@feedthejim](https://togithub.com/feedthejim), [@gnoff](https://togithub.com/gnoff), [@moetazaneta](https://togithub.com/moetazaneta), [@superbahbi](https://togithub.com/superbahbi), [@NOCELL](https://togithub.com/NOCELL), [@ademilter](https://togithub.com/ademilter), [@nathanhammond](https://togithub.com/nathanhammond), [@imranbarbhuiya](https://togithub.com/imranbarbhuiya), [@mrkldshv](https://togithub.com/mrkldshv), [@cvolant](https://togithub.com/cvolant), [@hughlilly](https://togithub.com/hughlilly), [@ismaelrumzan](https://togithub.com/ismaelrumzan), and [@sQVe](https://togithub.com/sQVe) for helping! ### [`v13.0.2`](https://togithub.com/vercel/next.js/releases/tag/v13.0.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.1...v13.0.2) ##### Core Changes - Hybrid App Hooks Support: [#41767](https://togithub.com/vercel/next.js/issues/41767) - Add sqlite3 to the default list of server externals: [#42294](https://togithub.com/vercel/next.js/issues/42294) - Improve the error message when custom export fields are used in an entry: [#42221](https://togithub.com/vercel/next.js/issues/42221) - Add preload for layouts / components: [#41519](https://togithub.com/vercel/next.js/issues/41519) - Add mongodb to default server externals: [#42313](https://togithub.com/vercel/next.js/issues/42313) - refactor(next/turbo): consolidate turbo devserver logic: [#42315](https://togithub.com/vercel/next.js/issues/42315) - \[middleware] add tests for body reading methods [#37980](https://togithub.com/vercel/next.js/issues/37980): [#41718](https://togithub.com/vercel/next.js/issues/41718) - Handle dynamic css-in-js styles under suspense: [#42293](https://togithub.com/vercel/next.js/issues/42293) - Fix page folder being wrongly resolved as page file: [#42348](https://togithub.com/vercel/next.js/issues/42348) - Update dev process exit handling: [#42367](https://togithub.com/vercel/next.js/issues/42367) - Ensure edge runtime doesn't propagate `cache` on fetch as Cloudflare doesn't support it.: [#42362](https://togithub.com/vercel/next.js/issues/42362) - Add `prisma` to the external package list: [#42323](https://togithub.com/vercel/next.js/issues/42323) - Local font family name: [#42286](https://togithub.com/vercel/next.js/issues/42286) - useSelectedLayoutSegment at the current level: [#42299](https://togithub.com/vercel/next.js/issues/42299) - Stop writing window specific paths in vscode configuration: [#42338](https://togithub.com/vercel/next.js/issues/42338) - Ensure Undici is enabled for appDir in all cases: [#42382](https://togithub.com/vercel/next.js/issues/42382) - fix: usage of wasm in an appDir page file using the edge runtime: [#41689](https://togithub.com/vercel/next.js/issues/41689) - feat(next/mdx): support experimental mdx-rs loader: [#41919](https://togithub.com/vercel/next.js/issues/41919) - Fix CSS modules imports not collected due to race conditions: [#42392](https://togithub.com/vercel/next.js/issues/42392) - Fix entry creation on Windows: [#42421](https://togithub.com/vercel/next.js/issues/42421) - Mock [@next/font](https://togithub.com/next/font) when using next/jest: [#42413](https://togithub.com/vercel/next.js/issues/42413) - Avoid breaking useRouter() type change: [#42430](https://togithub.com/vercel/next.js/issues/42430) - Do not strip loader arg in dynamic for server components: [#42426](https://togithub.com/vercel/next.js/issues/42426) - Clarify app and pages file conflicting files: [#42415](https://togithub.com/vercel/next.js/issues/42415) - Change `usePathname` to return `string | null`: [#42380](https://togithub.com/vercel/next.js/issues/42380) - Fix undici warning showing unexpectedly: [#42444](https://togithub.com/vercel/next.js/issues/42444) - Remove static generation bail-out from usePathname: [#42440](https://togithub.com/vercel/next.js/issues/42440) ##### Documentation Changes - docs(script): explain expected `next/script` behavior on client-side navigation: [#42260](https://togithub.com/vercel/next.js/issues/42260) - Add `path` for information in cookie setting: [#42146](https://togithub.com/vercel/next.js/issues/42146) - Update wording to remove beta FUD and keep evergreen: [#42337](https://togithub.com/vercel/next.js/issues/42337) - update font optimization page: [#42266](https://togithub.com/vercel/next.js/issues/42266) - Fix broken link on the upgrading guide: [#42340](https://togithub.com/vercel/next.js/issues/42340) - Fix typo: docs/api-reference/next/font.md: [#42344](https://togithub.com/vercel/next.js/issues/42344) - Update getting-started.md: [#42353](https://togithub.com/vercel/next.js/issues/42353) - Fix typo in usage of onError in script.md: [#42368](https://togithub.com/vercel/next.js/issues/42368) - Fix negative lookahead example in middleware.md: [#42320](https://togithub.com/vercel/next.js/issues/42320) - Update customizing-postcss-config.md: [#42331](https://togithub.com/vercel/next.js/issues/42331) - update middleware cookies example: [#42341](https://togithub.com/vercel/next.js/issues/42341) - Fix Docs API Reference font.md broken link: [#42418](https://togithub.com/vercel/next.js/issues/42418) - fixed missing `` keyword: [#42422](https://togithub.com/vercel/next.js/issues/42422) - Fix docs for next/image upgrade guide: [#42424](https://togithub.com/vercel/next.js/issues/42424) - Revert font-optimization.md syntax: [#42403](https://togithub.com/vercel/next.js/issues/42403) - Fix invalid markdown lang: [#42442](https://togithub.com/vercel/next.js/issues/42442) ##### Misc Changes - Update app-dir E2E tests for deploy: [#42269](https://togithub.com/vercel/next.js/issues/42269) - create-next-app: add head to template: [#42357](https://togithub.com/vercel/next.js/issues/42357) - Update flakey SIGINT test: [#42370](https://togithub.com/vercel/next.js/issues/42370) - Fix typo in app / hello.js template: [#42335](https://togithub.com/vercel/next.js/issues/42335) - \[eslint-plugin] Stop warning for head element in app/layout on Windows: [#42336](https://togithub.com/vercel/next.js/issues/42336) - Update default eslint choice for CNA setup: [#42371](https://togithub.com/vercel/next.js/issues/42371) - Update swc builds: [#42393](https://togithub.com/vercel/next.js/issues/42393) - Add meta tag to default app template: [#42394](https://togithub.com/vercel/next.js/issues/42394) - examples: Fix with-turbopack typo: [#42410](https://togithub.com/vercel/next.js/issues/42410) - Google fonts single request: [#42406](https://togithub.com/vercel/next.js/issues/42406) ##### Credits Huge thanks to [@wyattjoh](https://togithub.com/wyattjoh), [@shuding](https://togithub.com/shuding), [@ijjk](https://togithub.com/ijjk), [@timneutkens](https://togithub.com/timneutkens), [@kwonoj](https://togithub.com/kwonoj), [@balazsorban44](https://togithub.com/balazsorban44), [@Kikobeats](https://togithub.com/Kikobeats), [@BLUE-DEVIL1134](https://togithub.com/BLUE-DEVIL1134), [@timeyoutakeit](https://togithub.com/timeyoutakeit), [@huozhi](https://togithub.com/huozhi), [@ismaelrumzan](https://togithub.com/ismaelrumzan), [@mnajdova](https://togithub.com/mnajdova), [@aleksa-codes](https://togithub.com/aleksa-codes), [@delbaoliveira](https://togithub.com/delbaoliveira), [@gruz0](https://togithub.com/gruz0), [@meenie](https://togithub.com/meenie), [@danmindru](https://togithub.com/danmindru), [@inokawa](https://togithub.com/inokawa), [@hanneslund](https://togithub.com/hanneslund), [@oBusk](https://togithub.com/oBusk), [@BRKalow](https://togithub.com/BRKalow), [@devvspaces](https://togithub.com/devvspaces), [@lucasassisrosa](https://togithub.com/lucasassisrosa), [@adictonator](https://togithub.com/adictonator), [@m7yue](https://togithub.com/m7yue), [@styfle](https://togithub.com/styfle), and [@chibicode](https://togithub.com/chibicode) for helping! ### [`v13.0.1`](https://togithub.com/vercel/next.js/releases/tag/v13.0.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.0...v13.0.1) ##### Core Changes - Rest of options in experimental.turbotrace and documentation: [#41817](https://togithub.com/vercel/next.js/issues/41817) - Fix revalidate check in client component: [#41917](https://togithub.com/vercel/next.js/issues/41917) - Add data attribute to div to distinguish it: [#41889](https://togithub.com/vercel/next.js/issues/41889) - Fix lint cli help: [#41783](https://togithub.com/vercel/next.js/issues/41783) - \[Doc] Update inline documentation for next/link: [#41871](https://togithub.com/vercel/next.js/issues/41871) - feat(edge): split `NextCookies` to `RequestCookies` and `ResponseCookies`: [#41526](https://togithub.com/vercel/next.js/issues/41526) - Show error message when using legacy props on new `next/image`: [#41930](https://togithub.com/vercel/next.js/issues/41930) - Upgrade Edge Runtime: [#41987](https://togithub.com/vercel/next.js/issues/41987) - Revert "Include frameworks in main-app": [#41997](https://togithub.com/vercel/next.js/issues/41997) - fix(next/dev): do not suppress error from bindings: [#41989](https://togithub.com/vercel/next.js/issues/41989) - Fix page static info extractor for app dir: [#42001](https://togithub.com/vercel/next.js/issues/42001) - Add never return type for redirect() and notFound(): [#42009](https://togithub.com/vercel/next.js/issues/42009) - Google fonts multiple weights & styles: [#42008](https://togithub.com/vercel/next.js/issues/42008) - Merge app internal chunk into main chunk for layouts: [#41902](https://togithub.com/vercel/next.js/issues/41902) - Fix build type error of page params: [#42019](https://togithub.com/vercel/next.js/issues/42019) - Allow disabling Strict mode in app: [#41894](https://togithub.com/vercel/next.js/issues/41894) - Update react next channel: [#42021](https://togithub.com/vercel/next.js/issues/42021) - Fix turbo custom config detection: [#42022](https://togithub.com/vercel/next.js/issues/42022) - Fix css modules imports in client components: [#42077](https://togithub.com/vercel/next.js/issues/42077) - fix: Data URL images with 'fill' are always triggering 'missing sizes' warning: [#42030](https://togithub.com/vercel/next.js/issues/42030) - types: leverage webpack types and remove casting: [#42104](https://togithub.com/vercel/next.js/issues/42104) - Fix CSS imports from outside of the app dir when src folder is present: [#42108](https://togithub.com/vercel/next.js/issues/42108) - Remove react root condition and always use concurrent mode: [#42141](https://togithub.com/vercel/next.js/issues/42141) - Keep react-dom/server.node in precompiled: [#42138](https://togithub.com/vercel/next.js/issues/42138) - Warn when legacy prop detected on `next/image`: [#42102](https://togithub.com/vercel/next.js/issues/42102) - Fix failing codemod test `url-to-withrouter`: [#42109](https://togithub.com/vercel/next.js/issues/42109) - Improve TypeScript plugin error when the configuration is not statically analyzable: [#42062](https://togithub.com/vercel/next.js/issues/42062) - Ensure app revalidate has correct default: [#42168](https://togithub.com/vercel/next.js/issues/42168) - Update turbo crates: [#42014](https://togithub.com/vercel/next.js/issues/42014) - Update vscode config handling: [#42169](https://togithub.com/vercel/next.js/issues/42169) - fix: allow resolving large JSON data in server components: [#42025](https://togithub.com/vercel/next.js/issues/42025) - issue-41925 fix: skip duplicate props when transferring props from anchor to link: [#42158](https://togithub.com/vercel/next.js/issues/42158) - Ensure we detect config correctly with turbo flag: [#42201](https://togithub.com/vercel/next.js/issues/42201) - update turbo version: [#42228](https://togithub.com/vercel/next.js/issues/42228) - Fix CSS modules imports from outside of the root directory: [#42106](https://togithub.com/vercel/next.js/issues/42106) - Default font config fix: [#42235](https://togithub.com/vercel/next.js/issues/42235) - Multiple local font weights and styles: [#42232](https://togithub.com/vercel/next.js/issues/42232) - Optimize bundle size for appDir: [#42252](https://togithub.com/vercel/next.js/issues/42252) - Add event for dev process stop: [#42255](https://togithub.com/vercel/next.js/issues/42255) - Add E2E test for [@vercel/og](https://togithub.com/vercel/og) API route: [#42258](https://togithub.com/vercel/next.js/issues/42258) ##### Documentation Changes - \[Doc] Update Next.js + Static Web Apps: [#41857](https://togithub.com/vercel/next.js/issues/41857) - Update the documentation.: [#41758](https://togithub.com/vercel/next.js/issues/41758) - Fix invalid markdown lang: [#41926](https://togithub.com/vercel/next.js/issues/41926) - Fix more incorrect markdown langs: [#41939](https://togithub.com/vercel/next.js/issues/41939) - Update font links and add missing error: [#41910](https://togithub.com/vercel/next.js/issues/41910) - docs: Update the version history in the middleware page: [#41949](https://togithub.com/vercel/next.js/issues/41949) - Fix typo: docs/basic-features/font-optimization.md: [#41967](https://togithub.com/vercel/next.js/issues/41967) - Fix broken link in `@next/font` docs: [#42002](https://togithub.com/vercel/next.js/issues/42002) - Add link from `next/image` docs to example: [#42020](https://togithub.com/vercel/next.js/issues/42020) - Fix typo.: [#42067](https://togithub.com/vercel/next.js/issues/42067) - docs: update version install commands in upgrade guide: [#42073](https://togithub.com/vercel/next.js/issues/42073) - Update font-optimization.md: [#42036](https://togithub.com/vercel/next.js/issues/42036) - added [@latest](https://togithub.com/latest) to codemods page: [#42091](https://togithub.com/vercel/next.js/issues/42091) - docs: clarify env inclusion in bundles: [#41950](https://togithub.com/vercel/next.js/issues/41950) - Correcting documentation: [#42179](https://togithub.com/vercel/next.js/issues/42179) - feat(create-next-app): interactive mode; `--js, --ts` with appDir support; enhanced testing: [#42012](https://togithub.com/vercel/next.js/issues/42012) - Adding note about beta docs: [#42230](https://togithub.com/vercel/next.js/issues/42230) - Add prompt for ESLint to CNA: [#42218](https://togithub.com/vercel/next.js/issues/42218) - Escape HTML on " with child" page: [#42114](https://togithub.com/vercel/next.js/issues/42114) ##### Example Changes - Add turbopack example: [#41789](https://togithub.com/vercel/next.js/issues/41789) - examples: Update turbopack: [#41793](https://togithub.com/vercel/next.js/issues/41793) - examples: Remove turbo.json from turbopack example: [#41794](https://togithub.com/vercel/next.js/issues/41794) - example: add postcss as with-turbopack example devDep: [#41795](https://togithub.com/vercel/next.js/issues/41795) - Update with-supertokens example: [#41802](https://togithub.com/vercel/next.js/issues/41802) - chore: remove `swcMinify: true` as it's the new default.: [#41877](https://togithub.com/vercel/next.js/issues/41877) - Update link in Turbopack example.: [#41876](https://togithub.com/vercel/next.js/issues/41876) - fix `any` type in example `with-turbopack`: [#41798](https://togithub.com/vercel/next.js/issues/41798) - Update with-aws-amplify with TypeScript: [#41815](https://togithub.com/vercel/next.js/issues/41815) - Convert many examples to TypeScript: [#41825](https://togithub.com/vercel/next.js/issues/41825) - Fixed errors at with-passport-and-next-connect.: [#41897](https://togithub.com/vercel/next.js/issues/41897) - chore(examples): use `next@latest` in all examples: [#41922](https://togithub.com/vercel/next.js/issues/41922) - chore: update example dev script: [#41904](https://togithub.com/vercel/next.js/issues/41904) - Update README.md: [#41959](https://togithub.com/vercel/next.js/issues/41959) - Fix benchmark link typo in Turbopack example: [#42064](https://togithub.com/vercel/next.js/issues/42064) - Update Examples to use React 18: [#42027](https://togithub.com/vercel/next.js/issues/42027) - chore(examples): fix `with-aphrodite` exapmle: [#42078](https://togithub.com/vercel/next.js/issues/42078) - chore(examples): move `app` directories: [#42094](https://togithub.com/vercel/next.js/issues/42094) - Broken link in example page: [#42135](https://togithub.com/vercel/next.js/issues/42135) - Fix typo in importing counterReducer: [#42162](https://togithub.com/vercel/next.js/issues/42162) - Run next/link codemod for Next.js 13 on examples: [#41913](https://togithub.com/vercel/next.js/issues/41913) - Fix next/link codemod errors in with-turbopack: [#42203](https://togithub.com/vercel/next.js/issues/42203) ##### Misc Changes - Update Cargo.lock file - fix example command in issue template for create-next-app : [#41803](https://togithub.com/vercel/next.js/issues/41803) - Remove swcMinify: true since this is 13's default: [#41869](https://togithub.com/vercel/next.js/issues/41869) - test(dev): support to run test with --turbo: [#41908](https://togithub.com/vercel/next.js/issues/41908) - docs: clarify PR template instructions: [#41957](https://togithub.com/vercel/next.js/issues/41957) - Update e2e test for app-dir edge: [#42015](https://togithub.com/vercel/next.js/issues/42015) - \[docs] Fix Grammar in Step 8.: [#42018](https://togithub.com/vercel/next.js/issues/42018) - Fix turbo css-modules test: [#42103](https://togithub.com/vercel/next.js/issues/42103) - Enhanced grammar.: [#42148](https://togithub.com/vercel/next.js/issues/42148) - grammar fix in adding-examples README.: [#42152](https://togithub.com/vercel/next.js/issues/42152) - \[docs] Enhanced grammar in building README.: [#42155](https://togithub.com/vercel/next.js/issues/42155) - Fix typo `pnpm-lock.yam` in `.prettierignore_staged`: [#42212](https://togithub.com/vercel/next.js/issues/42212) - docs(create-next-app): copy JJ's changes from [#42012](https://togithub.com/vercel/next.js/issues/42012) to package-level README: [#42217](https://togithub.com/vercel/next.js/issues/42217) - Update failing e2e middleware response test: [#42256](https://togithub.com/vercel/next.js/issues/42256) ##### Credits Huge thanks to [@jaredpalmer](https://togithub.com/jaredpalmer), [@ijjk](https://togithub.com/ijjk), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@koenpunt](https://togithub.com/koenpunt), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@karlhorky](https://togithub.com/karlhorky), [@balazsorban44](https://togithub.com/balazsorban44), [@leerob](https://togithub.com/leerob), [@NekoChanTaiwan](https://togithub.com/NekoChanTaiwan), [@chrisipanaque](https://togithub.com/chrisipanaque), [@Reshmi-Sriram](https://togithub.com/Reshmi-Sriram), [@maxproske](https://togithub.com/maxproske), [@Kosai106](https://togithub.com/Kosai106), [@timneutkens](https://togithub.com/timneutkens), [@kwonoj](https://togithub.com/kwonoj), [@hanneslund](https://togithub.com/hanneslund), [@bertho-zero](https://togithub.com/bertho-zero), [@abayomi185](https://togithub.com/abayomi185), [@styfle](https://togithub.com/styfle), [@Kikobeats](https://togithub.com/Kikobeats), [@nuta](https://togithub.com/nuta), [@yasath](https://togithub.com/yasath), [@shuding](https://togithub.com/shuding), [@serkanbektas](https://togithub.com/serkanbektas), [@steven-tey](https://togithub.com/steven-tey), [@jimCresswell](https://togithub.com/jimCresswell), [@alpha-xek](https://togithub.com/alpha-xek), [@huozhi](https://togithub.com/huozhi), [@LorenzoBloedow](https://togithub.com/LorenzoBloedow), [@iiegor](https://togithub.com/iiegor), [@craigwheeler](https://togithub.com/craigwheeler), [@peraltafederico](https://togithub.com/peraltafederico), [@teobler](https://togithub.com/teobler), [@ismaelrumzan](https://togithub.com/ismaelrumzan), [@IngoVals](https://togithub.com/IngoVals), [@jaykch](https://togithub.com/jaykch), [@artdevgame](https://togithub.com/artdevgame), [@ishaqibrahimbot](https://togithub.com/ishaqibrahimbot), [@ctjlewis](https://togithub.com/ctjlewis), [@wxh06](https://togithub.com/wxh06), [@sokra](https://togithub.com/sokra), [@timeyoutakeit](https://togithub.com/timeyoutakeit), and [@DuncanOgle](https://togithub.com/DuncanOgle) for helping! ### [`v13.0.0`](https://togithub.com/vercel/next.js/releases/tag/v13.0.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.3.3...v13.0.0) ##### Core Changes - Use resolved url in flight entry loader: [#40697](https://togithub.com/vercel/next.js/issues/40697) - Handle redirects in new router: [#40396](https://togithub.com/vercel/next.js/issues/40396) - Combine redirect function in new router: [#40717](https://togithub.com/vercel/next.js/issues/40717) - fix: InferGetServerSidePropsType and InferGetStaticPropsType: [#40635](https://togithub.com/vercel/next.js/issues/40635) - Update to leverage AsyncLocalStorage for app static handling: [#40727](https://togithub.com/vercel/next.js/issues/40727) - Change flight querystring to header: [#40752](https://togithub.com/vercel/next.js/issues/40752) - Improved bundling strategy for the server graph: [#40739](https://togithub.com/vercel/next.js/issues/40739) - Remove unnecessary experimental flag: [#40766](https://togithub.com/vercel/next.js/issues/40766) - next-swc: add next-font-loaders to crates/core: [#40221](https://togithub.com/vercel/next.js/issues/40221) - Add next font package: [#40227](https://togithub.com/vercel/next.js/issues/40227) - Strip internal pages for pagesDir in app edge ssr: [#40776](https://togithub.com/vercel/next.js/issues/40776) - Add support for font loaders: [#40746](https://togithub.com/vercel/next.js/issues/40746) - Set `__NEXT_NEW_LINK_BEHAVIOR` in Jest tests when `newNextLinkBehavior` is true: [#40702](https://togithub.com/vercel/next.js/issues/40702) - Add handling for 404 in new router: [#40787](https://togithub.com/vercel/next.js/issues/40787) - Fix alias paths for bundling: [#40800](https://togithub.com/vercel/next.js/issues/40800) - Fix required server files for font loader manifest: [#40784](https://togithub.com/vercel/next.js/issues/40784) - Add local font loader: [#40801](https://togithub.com/vercel/next.js/issues/40801) - Update error handling during app static generation: [#40823](https://togithub.com/vercel/next.js/issues/40823) - Handle redirect in same way as 404 in new router: [#40796](https://togithub.com/vercel/next.js/issues/40796) - build: upgrade edge-runtime: [#40788](https://togithub.com/vercel/next.js/issues/40788) - Allow export const in font loader: [#40836](https://togithub.com/vercel/next.js/issues/40836) - chore: Update swc: [#40832](https://togithub.com/vercel/next.js/issues/40832) - Update app-router options type: [#40862](https://togithub.com/vercel/next.js/issues/40862) - Flight client navigation error: [#40861](https://togithub.com/vercel/next.js/issues/40861) - Use startTransition for hydrateRoot to opt-in to non-blocking hydration: [#40874](https://togithub.com/vercel/next.js/issues/40874) - Add `optoutServerComponentsBundle` option: [#40770](https://togithub.com/vercel/next.js/issues/40770) - Apply [#40833](https://togithub.com/vercel/next.js/issues/40833): [#40872](https://togithub.com/vercel/next.js/issues/40872) - Upgrade react@experimental: [#40885](https://togithub.com/vercel/next.js/issues/40885) - Update handling of redirect/404 throw to cross server->client boundary: [#40890](https://togithub.com/vercel/next.js/issues/40890) - Update pre-compiled: [#40914](https://togithub.com/vercel/next.js/issues/40914) - Update font loader output path: [#40868](https://togithub.com/vercel/next.js/issues/40868) - Disable head element lint rule for appDir: [#40921](https://togithub.com/vercel/next.js/issues/40921) - Should resolve esm external module imports on server: [#40865](https://togithub.com/vercel/next.js/issues/40865) - edge-ssr: bundle next/dist as ESM for better tree-shaking: [#40251](https://togithub.com/vercel/next.js/issues/40251) - Improve types for `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 is behind base branch, 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.