vercel/next.js
### [`v13.2.4`](https://togithub.com/vercel/next.js/releases/tag/v13.2.4)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.3...v13.2.4)
##### Core Changes
- Check if server error already had its message updated: [#46367](https://togithub.com/vercel/next.js/issues/46367)
- \[next/jest] Support path aliases from `tsconfig`/`jsconfig`: [#45815](https://togithub.com/vercel/next.js/issues/45815)
- List unsupported Turbopack config keys: [#46582](https://togithub.com/vercel/next.js/issues/46582)
- Support named exports for server references: [#46558](https://togithub.com/vercel/next.js/issues/46558)
- Fix(typedRoutes): fixed StaticRoutes and DynamicRoutes being empty causing invalid syntax: [#46620](https://togithub.com/vercel/next.js/issues/46620)
- Fix IntelliSense for generateMetadata: [#46624](https://togithub.com/vercel/next.js/issues/46624)
- Update vendored React packages to next-41110021f: [#46636](https://togithub.com/vercel/next.js/issues/46636)
- Add request callback in Flight client: [#46650](https://togithub.com/vercel/next.js/issues/46650)
- fix: distDir in verifyTypeScriptSetup for nextLint: [#46630](https://togithub.com/vercel/next.js/issues/46630)
- Updates `next/image` eslint message to denote that costs may be incurred.: [#46640](https://togithub.com/vercel/next.js/issues/46640)
- Ensure default config passes schema checks: [#46656](https://togithub.com/vercel/next.js/issues/46656)
- Use separate workers for webpackBuildWorker: [#46666](https://togithub.com/vercel/next.js/issues/46666)
- Fix static to dynamic on revalidate: [#46668](https://togithub.com/vercel/next.js/issues/46668)
- Fix the Next.js router in Turbopack when there are no middlewares: [#46681](https://togithub.com/vercel/next.js/issues/46681)
- build(cargo): update turbopack: [#46685](https://togithub.com/vercel/next.js/issues/46685)
- Add build worker exit tracking and enable tests: [#46698](https://togithub.com/vercel/next.js/issues/46698)
- Support `force-static` on App Routes: [#46693](https://togithub.com/vercel/next.js/issues/46693)
- Add viewport field userScalable: [#46696](https://togithub.com/vercel/next.js/issues/46696)
- Update static build workers: [#46705](https://togithub.com/vercel/next.js/issues/46705)
- Refactor build context for better plugin state sharing: [#46706](https://togithub.com/vercel/next.js/issues/46706)
- Support multi title for alternates: [#46700](https://togithub.com/vercel/next.js/issues/46700)
- Ensure test-unit includes package unit tests: [#46707](https://togithub.com/vercel/next.js/issues/46707)
- Disallow wildcard export in server entries: [#46710](https://togithub.com/vercel/next.js/issues/46710)
- Add test for router.refresh preserving unaffected segments: [#46687](https://togithub.com/vercel/next.js/issues/46687)
- Failing test for SWC `shakeExports` and JSX: [#35735](https://togithub.com/vercel/next.js/issues/35735)
- Fix originalRequest not available for edge requests: [#46741](https://togithub.com/vercel/next.js/issues/46741)
- Fix require cache conflict between app and pages: [#46736](https://togithub.com/vercel/next.js/issues/46736)
- Fix Web app manifests docs: [#46617](https://togithub.com/vercel/next.js/issues/46617)
- Update client router filter to separate redirects handling: [#46752](https://togithub.com/vercel/next.js/issues/46752)
- Add support for `output: export` config: [#46744](https://togithub.com/vercel/next.js/issues/46744)
- Pass through original matcher source in manifest: [#46753](https://togithub.com/vercel/next.js/issues/46753)
- Use browser navigation when RSC payload fails to fetch: [#46674](https://togithub.com/vercel/next.js/issues/46674)
- Use set to track CSS imports: [#46772](https://togithub.com/vercel/next.js/issues/46772)
- Fix middleware notFound: true handling: [#46759](https://togithub.com/vercel/next.js/issues/46759)
- Only check app/ for no-head-element-rule: [#46773](https://togithub.com/vercel/next.js/issues/46773)
- Fix redundant TS plugin warning: [#46769](https://togithub.com/vercel/next.js/issues/46769)
- Correct server reference manifest in prod build: [#46683](https://togithub.com/vercel/next.js/issues/46683)
- add argon2 to serverComponentsExternalPackages auto-optOut list: [#46779](https://togithub.com/vercel/next.js/issues/46779)
- Refactor SWC transform to support named default export: [#46778](https://togithub.com/vercel/next.js/issues/46778)
- Remove `experimental.runtime` and emit warning when used: [#46631](https://togithub.com/vercel/next.js/issues/46631)
- Fix(typedRoutes): fixed type Route resolving to type any: [#46679](https://togithub.com/vercel/next.js/issues/46679)
- Improve the readability of full page refresh error in dev mode: [#46634](https://togithub.com/vercel/next.js/issues/46634)
- Port error overlay hydration error to pages directory: [#46677](https://togithub.com/vercel/next.js/issues/46677)
- eslint rule for script strategy should work properly in `app/`: [#46609](https://togithub.com/vercel/next.js/issues/46609)
- fix: Add NODE_OPTIONS for debugging in next-dev: [#46757](https://togithub.com/vercel/next.js/issues/46757)
##### Documentation Changes
- Documentation: Update link-no-children error page for new link: [#46514](https://togithub.com/vercel/next.js/issues/46514)
- chore(docs): add snippets for common image loaders: [#46647](https://togithub.com/vercel/next.js/issues/46647)
- Fix the doc on how to use the turbo loader in option-less format: [#46665](https://togithub.com/vercel/next.js/issues/46665)
- Fix custom server error handling in the docs: [#46671](https://togithub.com/vercel/next.js/issues/46671)
- docs: clarified the wording: [#46691](https://togithub.com/vercel/next.js/issues/46691)
- Update script.md: [#46680](https://togithub.com/vercel/next.js/issues/46680)
- next/font refactoring and additional unit tests: [#46731](https://togithub.com/vercel/next.js/issues/46731)
##### Example Changes
- Add [@types/mdx](https://togithub.com/types/mdx) to app-dir-mdx example: [#46523](https://togithub.com/vercel/next.js/issues/46523)
##### Misc Changes
- test(utils): support turbopack-based overlay error text lookup [#46589](https://togithub.com/vercel/next.js/issues/46589)
- chore: improve repo templates: [#46629](https://togithub.com/vercel/next.js/issues/46629)
- Update app-static test page [#46645](https://togithub.com/vercel/next.js/issues/46645)
- test: add preconnect tests and move error tests: [#46652](https://togithub.com/vercel/next.js/issues/46652)
- Refactor and add more tests to next/font/local: [#46627](https://togithub.com/vercel/next.js/issues/46627)
- Add script to automate updating vendored React version: [#46663](https://togithub.com/vercel/next.js/issues/46663)
- Refactor next/font/google and add additional comments: [#46692](https://togithub.com/vercel/next.js/issues/46692)
- Ensure app chunk URLs are encoded properly [#46749](https://togithub.com/vercel/next.js/issues/46749)
- Adjust API route loader [#46726](https://togithub.com/vercel/next.js/issues/46726)
- test: refactor metadata tests to test multi matches easier: [#46746](https://togithub.com/vercel/next.js/issues/46746)
- Support mdx-components file in src directory: [#46763](https://togithub.com/vercel/next.js/issues/46763)
- Fix middleware 404 prefetch case: [#46782](https://togithub.com/vercel/next.js/issues/46782)
- Update view-source.tsx: [#46790](https://togithub.com/vercel/next.js/issues/46790)
- chore: add jsdoc to `output` in next.config.js: [#46804](https://togithub.com/vercel/next.js/issues/46804)
- next/font tests: support Turbopack css module format: [#46658](https://togithub.com/vercel/next.js/issues/46658)
- update dynamic-import.md example: [#46787](https://togithub.com/vercel/next.js/issues/46787)
- Change [@next/font](https://togithub.com/next/font) to next/font in examples: [#46836](https://togithub.com/vercel/next.js/issues/46836)
- Update vendored React: [#46826](https://togithub.com/vercel/next.js/issues/46826)
- Revert "Update vendored React": [#46861](https://togithub.com/vercel/next.js/issues/46861)
- Update fetch cache handling with POST requests: [#46856](https://togithub.com/vercel/next.js/issues/46856)
- Remove extra exports from filter utils: [#46860](https://togithub.com/vercel/next.js/issues/46860)
- test(unit): add cases for cssnano simple: [#46862](https://togithub.com/vercel/next.js/issues/46862)
- Ensure chained middleware rewrites work properly: [#46866](https://togithub.com/vercel/next.js/issues/46866)
- chore: improve PR labeling, fix, sort, add new team member: [#46675](https://togithub.com/vercel/next.js/issues/46675)
- chore: add App Router template to bug report: [#46872](https://togithub.com/vercel/next.js/issues/46872)
- Add a timeout to next/font/google in dev: [#46834](https://togithub.com/vercel/next.js/issues/46834)
- Support unnamed default export expression [#46888](https://togithub.com/vercel/next.js/issues/46888)
- Only run toSource in next/font codemod if there are changes: [#46877](https://togithub.com/vercel/next.js/issues/46877)
- Add more JSDoc to types: [#46897](https://togithub.com/vercel/next.js/issues/46897)
- Fix TS plugin showing warning for error file's `reset` prop: [#46898](https://togithub.com/vercel/next.js/issues/46898)
- Fix conflict dev entry key between app and pages: [#46832](https://togithub.com/vercel/next.js/issues/46832)
- Update app-static e2e test: [#46900](https://togithub.com/vercel/next.js/issues/46900)
- Revert "Revert "Update vendored React"": [#46881](https://togithub.com/vercel/next.js/issues/46881)
- Add retry to the hmr acceptance test: [#46902](https://togithub.com/vercel/next.js/issues/46902)
- Fix `with-jest` and `with-jest-babel` example test snapshot failure: [#46885](https://togithub.com/vercel/next.js/issues/46885)
- Update generateStaticParams handling with fetch cache: [#46906](https://togithub.com/vercel/next.js/issues/46906)
- Fix unexpected hoist meta tags by react in app dir: [#46917](https://togithub.com/vercel/next.js/issues/46917)
- Update turbopack to `230308.1`: [#46909](https://togithub.com/vercel/next.js/issues/46909)
- Support default export expression for variables: [#46896](https://togithub.com/vercel/next.js/issues/46896)
- Reduce the number of hydration error tests: [#46930](https://togithub.com/vercel/next.js/issues/46930)
- Update Turbopack to 230308.3: [#46935](https://togithub.com/vercel/next.js/issues/46935)
- Use https_proxy environment variable in next/font/google: [#46822](https://togithub.com/vercel/next.js/issues/46822)
- Validate `req.url` in renderer: [#46923](https://togithub.com/vercel/next.js/issues/46923)
- Validate the router state header on the server: [#46925](https://togithub.com/vercel/next.js/issues/46925)
- Rename FontLoaderManifest to NextFontManifest and add better comments: [#46922](https://togithub.com/vercel/next.js/issues/46922)
- Revalidate generateStaticParams/Paths in background in dev: [#46940](https://togithub.com/vercel/next.js/issues/46940)
- Support re-exporting unnamed function expression: [#46936](https://togithub.com/vercel/next.js/issues/46936)
- Support static file robots.txt and sitemap.xml as metadata route: [#46963](https://togithub.com/vercel/next.js/issues/46963)
- Update vendored react: [#46970](https://togithub.com/vercel/next.js/issues/46970)
- Move error overlay recovery tests to new file: [#46965](https://togithub.com/vercel/next.js/issues/46965)
- Improve RSC compiler error in external module: [#46953](https://togithub.com/vercel/next.js/issues/46953)
- Update Turbopack to 230309.2: [#46971](https://togithub.com/vercel/next.js/issues/46971)
- Use turbo remote cache for build-native-test: [#46975](https://togithub.com/vercel/next.js/issues/46975)
- Do not re-assign `process.env`: [#46914](https://togithub.com/vercel/next.js/issues/46914)
##### Credits
Huge thanks to [@hanneslund](https://togithub.com/hanneslund), [@ijjk](https://togithub.com/ijjk), [@JohnDaly](https://togithub.com/JohnDaly), [@jridgewell](https://togithub.com/jridgewell), [@divslinger](https://togithub.com/divslinger), [@shuding](https://togithub.com/shuding), [@DuCanhGH](https://togithub.com/DuCanhGH), [@balazsorban44](https://togithub.com/balazsorban44), [@acdlite](https://togithub.com/acdlite), [@teobler](https://togithub.com/teobler), [@styfle](https://togithub.com/styfle), [@manovotny](https://togithub.com/manovotny), [@huozhi](https://togithub.com/huozhi), [@smorimoto](https://togithub.com/smorimoto), [@Dannymx](https://togithub.com/Dannymx), [@Janpot](https://togithub.com/Janpot), [@alexkirsz](https://togithub.com/alexkirsz), [@nohr](https://togithub.com/nohr), [@Humboorgir](https://togithub.com/Humboorgir), [@wyattjoh](https://togithub.com/wyattjoh), [@timneutkens](https://togithub.com/timneutkens), [@overlookmotel](https://togithub.com/overlookmotel), [@HaNdTriX](https://togithub.com/HaNdTriX), [@proustibat](https://togithub.com/proustibat), [@fedeya](https://togithub.com/fedeya), [@wbinnssmith](https://togithub.com/wbinnssmith), [@irekrog](https://togithub.com/irekrog), [@JanKaifer](https://togithub.com/JanKaifer), [@SukkaW](https://togithub.com/SukkaW), [@rayrw](https://togithub.com/rayrw), [@kdy1](https://togithub.com/kdy1), [@seiry](https://togithub.com/seiry), and [@unflxw](https://togithub.com/unflxw) for helping!
### [`v13.2.3`](https://togithub.com/vercel/next.js/releases/tag/v13.2.3)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.2...v13.2.3)
##### Core Changes
- build(cargo): update turbopack: [#46581](https://togithub.com/vercel/next.js/issues/46581)
- Fix(typedRoutes): fixed Webpack crashing without redirects/rewrites: [#46591](https://togithub.com/vercel/next.js/issues/46591)
- Fix async generateMetadata type in ts plugin: [#46596](https://togithub.com/vercel/next.js/issues/46596)
- Async Storage Cleanup: [#46586](https://togithub.com/vercel/next.js/issues/46586)
- Ensure URL can be passed to fetch correctly [#46592](https://togithub.com/vercel/next.js/issues/46592)
- Fix static to dynamic error in dev: [#46597](https://togithub.com/vercel/next.js/issues/46597)
- Add page path to repeated slashes in href error: [#46557](https://togithub.com/vercel/next.js/issues/46557)
- Implement middleware support for Turbopack: [#46397](https://togithub.com/vercel/next.js/issues/46397)
##### Credits
Huge thanks to [@jridgewell](https://togithub.com/jridgewell), [@DuCanhGH](https://togithub.com/DuCanhGH), [@wyattjoh](https://togithub.com/wyattjoh), and [@hanneslund](https://togithub.com/hanneslund) for helping!
### [`v13.2.2`](https://togithub.com/vercel/next.js/releases/tag/v13.2.2)
[Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.1...v13.2.2)
##### Core Changes
- fix(ts): correctly augment `next` when `typedRoutes: true`: [#46332](https://togithub.com/vercel/next.js/issues/46332)
- feat(cssnano-simple): merge into next repo: [#46380](https://togithub.com/vercel/next.js/issues/46380)
- Dedupe next/font preload tags: [#46354](https://togithub.com/vercel/next.js/issues/46354)
- Print command for current packet manager in [@next/font](https://togithub.com/next/font) warning: [#46359](https://togithub.com/vercel/next.js/issues/46359)
- Loader refactoring: [#46304](https://togithub.com/vercel/next.js/issues/46304)
- Support `server-only` inside pages/api: [#46328](https://togithub.com/vercel/next.js/issues/46328)
- fix: improve next.config.js validation for `images` prop: [#46326](https://togithub.com/vercel/next.js/issues/46326)
- Revert "Support `server-only` inside pages/api": [#46388](https://togithub.com/vercel/next.js/issues/46388)
- Add relative app dir field: [#46393](https://togithub.com/vercel/next.js/issues/46393)
- test(integration): properly pipe turbopack binary stdouts: [#46382](https://togithub.com/vercel/next.js/issues/46382)
- chore: improve error when exporting metadata from client component: [#46334](https://togithub.com/vercel/next.js/issues/46334)
- Update server reference syntax and tests: [#46389](https://togithub.com/vercel/next.js/issues/46389)
- Fix SWC error wrongly formatted : [#46412](https://togithub.com/vercel/next.js/issues/46412)
- Fix(typedRoutes): replaced `readFile` + `replaceAll`, hid utils types, fixed duplication in type `Route`, fixed route groups on Windows: [#46378](https://togithub.com/vercel/next.js/issues/46378)
- Ensure fetch fields are detected with RequestInit: [#46398](https://togithub.com/vercel/next.js/issues/46398)
- Ensure SERVER_REFERENCE_MANIFEST is included in output files: [#46420](https://togithub.com/vercel/next.js/issues/46420)
- Fix duplicate link type asset generation: [#46421](https://togithub.com/vercel/next.js/issues/46421)
- chore: show large data warning once per page on prod: [#46323](https://togithub.com/vercel/next.js/issues/46323)
- fixed spelling mistake: [#46446](https://togithub.com/vercel/next.js/issues/46446)
- Fix(typedRoutes): export createServer from 'next/types/index.d.ts': [#46462](https://togithub.com/vercel/next.js/issues/46462)
- chore: Loss of precision due to Date now amplification: [#46344](https://togithub.com/vercel/next.js/issues/46344)
- Fix next/font/google config not being used: [#46484](https://togithub.com/vercel/next.js/issues/46484)
- Add [@latest](https://togithub.com/latest) to next/font codemod warning: [#46486](https://togithub.com/vercel/next.js/issues/46486)
- Add error for styled-jsx in Server Component: [#46482](https://togithub.com/vercel/next.js/issues/46482)
- Refactor style loader code: [#46490](https://togithub.com/vercel/next.js/issues/46490)
- Fix SWC's auto_cjs handling: [#46448](https://togithub.com/vercel/next.js/issues/46448)
- Add theme color media support for metadata: [#46502](https://togithub.com/vercel/next.js/issues/46502)
- Fix(typedRoutes): fixed 'next' imports on TS < 5.0: [#46507](https://togithub.com/vercel/next.js/issues/46507)
- fix: codemod should preserve type only import: [#46512](https://togithub.com/vercel/next.js/issues/46512)
- Add interactive-widget optional property to Viewport type: [#46506](https://togithub.com/vercel/next.js/issues/46506)
- Update router filter to be less sensitive: [#46515](https://togithub.com/vercel/next.js/issues/46515)
- Update fetch cache internal handling: [#46522](https://togithub.com/vercel/next.js/issues/46522)
- Upgrade precompiled react packages: [#46365](https://togithub.com/vercel/next.js/issues/46365)
- fix(error-overlay): hide "Learn more" when up-to-date: [#46488](https://togithub.com/vercel/next.js/issues/46488)
- Refactor route types to include rewrites and redirects: [#46327](https://togithub.com/vercel/next.js/issues/46327)
- Added bcrypt to the serverComponentsExternalPackages auto-optOut list: [#46532](https://togithub.com/vercel/next.js/issues/46532)
- feat: add support for the src folder for the instrumentation hook: [#46529](https://togithub.com/vercel/next.js/issues/46529)
- Fix viewport typing and refactor constants: [#46569](https://togithub.com/vercel/next.js/issues/46569)
- Fix shared entries/invalidators module scope: [#46533](https://togithub.com/vercel/next.js/issues/46533)
- Fix CSS imports not included in entries with a custom extension: [#46571](https://togithub.com/vercel/next.js/issues/46571)
- fix: should not warn when image unmounts: [#46567](https://togithub.com/vercel/next.js/issues/46567)
- fix: generate next-env.d.ts file during next lint command: [#46249](https://togithub.com/vercel/next.js/issues/46249)
- Fix infinite invalidations loop in app dir ([#46526](https://togithub.com/vercel/next.js/issues/46526))
- Use og:image instead of og:image:url: [#46570](https://togithub.com/vercel/next.js/issues/46570)
- Fix usage of textDecoder to not break utf8 characters: [#46564](https://togithub.com/vercel/next.js/issues/46564)
- Fix app client child entry not being disposed when deleting the file: [#46583](https://togithub.com/vercel/next.js/issues/46583)
- Fix: canonical should allow relative urls: [#46584](https://togithub.com/vercel/next.js/issues/46584)
##### Documentation Changes
- Docs: `next/font` updates: [#46159](https://togithub.com/vercel/next.js/issues/46159)
- Add note explaining how to import fonts with spaces in name: [#46348](https://togithub.com/vercel/next.js/issues/46348)
- Docs: Fix Railway link: [#46381](https://togithub.com/vercel/next.js/issues/46381)
- Wrong function name: [#46546](https://togithub.com/vercel/next.js/issues/46546)
##### Example Changes
- Add missing 'key': [#46386](https://togithub.com/vercel/next.js/issues/46386)
##### Misc Changes
- test(next-script): teardown next-dev instance via jest hooks: [#46383](https://togithub.com/vercel/next.js/issues/46383)
- Apply filtering after rewrite as well ([#46390](https://togithub.com/vercel/next.js/issues/46390)
- Fix fetch cache key inputs and encoding ([#46392](https://togithub.com/vercel/next.js/issues/46392)
- Fix failing app-static deploy test: [#46395](https://togithub.com/vercel/next.js/issues/46395)
- Cover 1st-party examples with tests ([#45270](https://togithub.com/vercel/next.js/issues/45270))Co-authored-by: kodiakhq\[bot] <49736102+kodiakhq\[bot][@users](https://togithub.com/users).noreply.github.com> Co-authored-by: Tim Neutkens
- Updates cms-sanity example to use Sanity v3 ([#45662](https://togithub.com/vercel/next.js/issues/45662)
- Support Two-letter Language Codes(ISO-639-1) to metadata HrefLang types ([#46285](https://togithub.com/vercel/next.js/issues/46285)
- \[next/codemod]: Preserve type-only imports when using `next-image-to-legacy-image` ([#46460](https://togithub.com/vercel/next.js/issues/46460)
- Remove incorrect comment ([#46467](https://togithub.com/vercel/next.js/issues/46467))Co-authored-by: kodiakhq\[bot] <49736102+kodiakhq\[bot][@users](https://togithub.com/users).noreply.github.com>
- dynamic = "error" violations should be shown in error overlay ([#45893](https://togithub.com/vercel/next.js/issues/45893)
- Fix typo from next-font ([#46468](https://togithub.com/vercel/next.js/issues/46468)
- Add image generation test to app route: [#46449](https://togithub.com/vercel/next.js/issues/46449)
- Remove baseUrl from create-next-app ts/jsconfig.json: [#46458](https://togithub.com/vercel/next.js/issues/46458)
- Update fetch cache key ([#46513](https://togithub.com/vercel/next.js/issues/46513)
##### Credits
Huge thanks to [@balazsorban44](https://togithub.com/balazsorban44), [@delbaoliveira](https://togithub.com/delbaoliveira), [@SukkaW](https://togithub.com/SukkaW), [@ijjk](https://togithub.com/ijjk), [@hanneslund](https://togithub.com/hanneslund), [@JanKaifer](https://togithub.com/JanKaifer), [@GitRowin](https://togithub.com/GitRowin), [@shuding](https://togithub.com/shuding), [@styfle](https://togithub.com/styfle), [@mjunix](https://togithub.com/mjunix), [@kwonoj](https://togithub.com/kwonoj), [@thiskevinwang](https://togithub.com/thiskevinwang), [@DuCanhGH](https://togithub.com/DuCanhGH), [@SethFalco](https://togithub.com/SethFalco), [@yun-jay](https://togithub.com/yun-jay), [@harrytothemoon](https://togithub.com/harrytothemoon), [@timneutkens](https://togithub.com/timneutkens), [@huozhi](https://togithub.com/huozhi), [@thomasballinger](https://togithub.com/thomasballinger), [@aretrace](https://togithub.com/aretrace), [@JesseKoldewijn](https://togithub.com/JesseKoldewijn), [@feedthejim](https://togithub.com/feedthejim), [@serkanbektas](https://togithub.com/serkanbektas), [@teobler](https://togithub.com/teobler), and [@vadzim](https://togithub.com/vadzim) for helping!
Configuration
đ Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
đŚ Automerge: Enabled.
âť 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 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.2.1
->13.2.4
Release Notes
vercel/next.js
### [`v13.2.4`](https://togithub.com/vercel/next.js/releases/tag/v13.2.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.3...v13.2.4) ##### Core Changes - Check if server error already had its message updated: [#46367](https://togithub.com/vercel/next.js/issues/46367) - \[next/jest] Support path aliases from `tsconfig`/`jsconfig`: [#45815](https://togithub.com/vercel/next.js/issues/45815) - List unsupported Turbopack config keys: [#46582](https://togithub.com/vercel/next.js/issues/46582) - Support named exports for server references: [#46558](https://togithub.com/vercel/next.js/issues/46558) - Fix(typedRoutes): fixed StaticRoutes and DynamicRoutes being empty causing invalid syntax: [#46620](https://togithub.com/vercel/next.js/issues/46620) - Fix IntelliSense for generateMetadata: [#46624](https://togithub.com/vercel/next.js/issues/46624) - Update vendored React packages to next-41110021f: [#46636](https://togithub.com/vercel/next.js/issues/46636) - Add request callback in Flight client: [#46650](https://togithub.com/vercel/next.js/issues/46650) - fix: distDir in verifyTypeScriptSetup for nextLint: [#46630](https://togithub.com/vercel/next.js/issues/46630) - Updates `next/image` eslint message to denote that costs may be incurred.: [#46640](https://togithub.com/vercel/next.js/issues/46640) - Ensure default config passes schema checks: [#46656](https://togithub.com/vercel/next.js/issues/46656) - Use separate workers for webpackBuildWorker: [#46666](https://togithub.com/vercel/next.js/issues/46666) - Fix static to dynamic on revalidate: [#46668](https://togithub.com/vercel/next.js/issues/46668) - Fix the Next.js router in Turbopack when there are no middlewares: [#46681](https://togithub.com/vercel/next.js/issues/46681) - build(cargo): update turbopack: [#46685](https://togithub.com/vercel/next.js/issues/46685) - Add build worker exit tracking and enable tests: [#46698](https://togithub.com/vercel/next.js/issues/46698) - Support `force-static` on App Routes: [#46693](https://togithub.com/vercel/next.js/issues/46693) - Add viewport field userScalable: [#46696](https://togithub.com/vercel/next.js/issues/46696) - Update static build workers: [#46705](https://togithub.com/vercel/next.js/issues/46705) - Refactor build context for better plugin state sharing: [#46706](https://togithub.com/vercel/next.js/issues/46706) - Support multi title for alternates: [#46700](https://togithub.com/vercel/next.js/issues/46700) - Ensure test-unit includes package unit tests: [#46707](https://togithub.com/vercel/next.js/issues/46707) - Disallow wildcard export in server entries: [#46710](https://togithub.com/vercel/next.js/issues/46710) - Add test for router.refresh preserving unaffected segments: [#46687](https://togithub.com/vercel/next.js/issues/46687) - Failing test for SWC `shakeExports` and JSX: [#35735](https://togithub.com/vercel/next.js/issues/35735) - Fix originalRequest not available for edge requests: [#46741](https://togithub.com/vercel/next.js/issues/46741) - Fix require cache conflict between app and pages: [#46736](https://togithub.com/vercel/next.js/issues/46736) - Fix Web app manifests docs: [#46617](https://togithub.com/vercel/next.js/issues/46617) - Update client router filter to separate redirects handling: [#46752](https://togithub.com/vercel/next.js/issues/46752) - Add support for `output: export` config: [#46744](https://togithub.com/vercel/next.js/issues/46744) - Pass through original matcher source in manifest: [#46753](https://togithub.com/vercel/next.js/issues/46753) - Use browser navigation when RSC payload fails to fetch: [#46674](https://togithub.com/vercel/next.js/issues/46674) - Use set to track CSS imports: [#46772](https://togithub.com/vercel/next.js/issues/46772) - Fix middleware notFound: true handling: [#46759](https://togithub.com/vercel/next.js/issues/46759) - Only check app/ for no-head-element-rule: [#46773](https://togithub.com/vercel/next.js/issues/46773) - Fix redundant TS plugin warning: [#46769](https://togithub.com/vercel/next.js/issues/46769) - Correct server reference manifest in prod build: [#46683](https://togithub.com/vercel/next.js/issues/46683) - add argon2 to serverComponentsExternalPackages auto-optOut list: [#46779](https://togithub.com/vercel/next.js/issues/46779) - Refactor SWC transform to support named default export: [#46778](https://togithub.com/vercel/next.js/issues/46778) - Remove `experimental.runtime` and emit warning when used: [#46631](https://togithub.com/vercel/next.js/issues/46631) - Fix(typedRoutes): fixed type Route resolving to type any: [#46679](https://togithub.com/vercel/next.js/issues/46679) - Improve the readability of full page refresh error in dev mode: [#46634](https://togithub.com/vercel/next.js/issues/46634) - Port error overlay hydration error to pages directory: [#46677](https://togithub.com/vercel/next.js/issues/46677) - eslint rule for script strategy should work properly in `app/`: [#46609](https://togithub.com/vercel/next.js/issues/46609) - fix: Add NODE_OPTIONS for debugging in next-dev: [#46757](https://togithub.com/vercel/next.js/issues/46757) ##### Documentation Changes - Documentation: Update link-no-children error page for new link: [#46514](https://togithub.com/vercel/next.js/issues/46514) - chore(docs): add snippets for common image loaders: [#46647](https://togithub.com/vercel/next.js/issues/46647) - Fix the doc on how to use the turbo loader in option-less format: [#46665](https://togithub.com/vercel/next.js/issues/46665) - Fix custom server error handling in the docs: [#46671](https://togithub.com/vercel/next.js/issues/46671) - docs: clarified the wording: [#46691](https://togithub.com/vercel/next.js/issues/46691) - Update script.md: [#46680](https://togithub.com/vercel/next.js/issues/46680) - next/font refactoring and additional unit tests: [#46731](https://togithub.com/vercel/next.js/issues/46731) ##### Example Changes - Add [@types/mdx](https://togithub.com/types/mdx) to app-dir-mdx example: [#46523](https://togithub.com/vercel/next.js/issues/46523) ##### Misc Changes - test(utils): support turbopack-based overlay error text lookup [#46589](https://togithub.com/vercel/next.js/issues/46589) - chore: improve repo templates: [#46629](https://togithub.com/vercel/next.js/issues/46629) - Update app-static test page [#46645](https://togithub.com/vercel/next.js/issues/46645) - test: add preconnect tests and move error tests: [#46652](https://togithub.com/vercel/next.js/issues/46652) - Refactor and add more tests to next/font/local: [#46627](https://togithub.com/vercel/next.js/issues/46627) - Add script to automate updating vendored React version: [#46663](https://togithub.com/vercel/next.js/issues/46663) - Refactor next/font/google and add additional comments: [#46692](https://togithub.com/vercel/next.js/issues/46692) - Ensure app chunk URLs are encoded properly [#46749](https://togithub.com/vercel/next.js/issues/46749) - Adjust API route loader [#46726](https://togithub.com/vercel/next.js/issues/46726) - test: refactor metadata tests to test multi matches easier: [#46746](https://togithub.com/vercel/next.js/issues/46746) - Support mdx-components file in src directory: [#46763](https://togithub.com/vercel/next.js/issues/46763) - Fix middleware 404 prefetch case: [#46782](https://togithub.com/vercel/next.js/issues/46782) - Update view-source.tsx: [#46790](https://togithub.com/vercel/next.js/issues/46790) - chore: add jsdoc to `output` in next.config.js: [#46804](https://togithub.com/vercel/next.js/issues/46804) - next/font tests: support Turbopack css module format: [#46658](https://togithub.com/vercel/next.js/issues/46658) - update dynamic-import.md example: [#46787](https://togithub.com/vercel/next.js/issues/46787) - Change [@next/font](https://togithub.com/next/font) to next/font in examples: [#46836](https://togithub.com/vercel/next.js/issues/46836) - Update vendored React: [#46826](https://togithub.com/vercel/next.js/issues/46826) - Revert "Update vendored React": [#46861](https://togithub.com/vercel/next.js/issues/46861) - Update fetch cache handling with POST requests: [#46856](https://togithub.com/vercel/next.js/issues/46856) - Remove extra exports from filter utils: [#46860](https://togithub.com/vercel/next.js/issues/46860) - test(unit): add cases for cssnano simple: [#46862](https://togithub.com/vercel/next.js/issues/46862) - Ensure chained middleware rewrites work properly: [#46866](https://togithub.com/vercel/next.js/issues/46866) - chore: improve PR labeling, fix, sort, add new team member: [#46675](https://togithub.com/vercel/next.js/issues/46675) - chore: add App Router template to bug report: [#46872](https://togithub.com/vercel/next.js/issues/46872) - Add a timeout to next/font/google in dev: [#46834](https://togithub.com/vercel/next.js/issues/46834) - Support unnamed default export expression [#46888](https://togithub.com/vercel/next.js/issues/46888) - Only run toSource in next/font codemod if there are changes: [#46877](https://togithub.com/vercel/next.js/issues/46877) - Add more JSDoc to types: [#46897](https://togithub.com/vercel/next.js/issues/46897) - Fix TS plugin showing warning for error file's `reset` prop: [#46898](https://togithub.com/vercel/next.js/issues/46898) - Fix conflict dev entry key between app and pages: [#46832](https://togithub.com/vercel/next.js/issues/46832) - Update app-static e2e test: [#46900](https://togithub.com/vercel/next.js/issues/46900) - Revert "Revert "Update vendored React"": [#46881](https://togithub.com/vercel/next.js/issues/46881) - Add retry to the hmr acceptance test: [#46902](https://togithub.com/vercel/next.js/issues/46902) - Fix `with-jest` and `with-jest-babel` example test snapshot failure: [#46885](https://togithub.com/vercel/next.js/issues/46885) - Update generateStaticParams handling with fetch cache: [#46906](https://togithub.com/vercel/next.js/issues/46906) - Fix unexpected hoist meta tags by react in app dir: [#46917](https://togithub.com/vercel/next.js/issues/46917) - Update turbopack to `230308.1`: [#46909](https://togithub.com/vercel/next.js/issues/46909) - Support default export expression for variables: [#46896](https://togithub.com/vercel/next.js/issues/46896) - Reduce the number of hydration error tests: [#46930](https://togithub.com/vercel/next.js/issues/46930) - Update Turbopack to 230308.3: [#46935](https://togithub.com/vercel/next.js/issues/46935) - Use https_proxy environment variable in next/font/google: [#46822](https://togithub.com/vercel/next.js/issues/46822) - Validate `req.url` in renderer: [#46923](https://togithub.com/vercel/next.js/issues/46923) - Validate the router state header on the server: [#46925](https://togithub.com/vercel/next.js/issues/46925) - Rename FontLoaderManifest to NextFontManifest and add better comments: [#46922](https://togithub.com/vercel/next.js/issues/46922) - Revalidate generateStaticParams/Paths in background in dev: [#46940](https://togithub.com/vercel/next.js/issues/46940) - Support re-exporting unnamed function expression: [#46936](https://togithub.com/vercel/next.js/issues/46936) - Support static file robots.txt and sitemap.xml as metadata route: [#46963](https://togithub.com/vercel/next.js/issues/46963) - Update vendored react: [#46970](https://togithub.com/vercel/next.js/issues/46970) - Move error overlay recovery tests to new file: [#46965](https://togithub.com/vercel/next.js/issues/46965) - Improve RSC compiler error in external module: [#46953](https://togithub.com/vercel/next.js/issues/46953) - Update Turbopack to 230309.2: [#46971](https://togithub.com/vercel/next.js/issues/46971) - Use turbo remote cache for build-native-test: [#46975](https://togithub.com/vercel/next.js/issues/46975) - Do not re-assign `process.env`: [#46914](https://togithub.com/vercel/next.js/issues/46914) ##### Credits Huge thanks to [@hanneslund](https://togithub.com/hanneslund), [@ijjk](https://togithub.com/ijjk), [@JohnDaly](https://togithub.com/JohnDaly), [@jridgewell](https://togithub.com/jridgewell), [@divslinger](https://togithub.com/divslinger), [@shuding](https://togithub.com/shuding), [@DuCanhGH](https://togithub.com/DuCanhGH), [@balazsorban44](https://togithub.com/balazsorban44), [@acdlite](https://togithub.com/acdlite), [@teobler](https://togithub.com/teobler), [@styfle](https://togithub.com/styfle), [@manovotny](https://togithub.com/manovotny), [@huozhi](https://togithub.com/huozhi), [@smorimoto](https://togithub.com/smorimoto), [@Dannymx](https://togithub.com/Dannymx), [@Janpot](https://togithub.com/Janpot), [@alexkirsz](https://togithub.com/alexkirsz), [@nohr](https://togithub.com/nohr), [@Humboorgir](https://togithub.com/Humboorgir), [@wyattjoh](https://togithub.com/wyattjoh), [@timneutkens](https://togithub.com/timneutkens), [@overlookmotel](https://togithub.com/overlookmotel), [@HaNdTriX](https://togithub.com/HaNdTriX), [@proustibat](https://togithub.com/proustibat), [@fedeya](https://togithub.com/fedeya), [@wbinnssmith](https://togithub.com/wbinnssmith), [@irekrog](https://togithub.com/irekrog), [@JanKaifer](https://togithub.com/JanKaifer), [@SukkaW](https://togithub.com/SukkaW), [@rayrw](https://togithub.com/rayrw), [@kdy1](https://togithub.com/kdy1), [@seiry](https://togithub.com/seiry), and [@unflxw](https://togithub.com/unflxw) for helping! ### [`v13.2.3`](https://togithub.com/vercel/next.js/releases/tag/v13.2.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.2...v13.2.3) ##### Core Changes - build(cargo): update turbopack: [#46581](https://togithub.com/vercel/next.js/issues/46581) - Fix(typedRoutes): fixed Webpack crashing without redirects/rewrites: [#46591](https://togithub.com/vercel/next.js/issues/46591) - Fix async generateMetadata type in ts plugin: [#46596](https://togithub.com/vercel/next.js/issues/46596) - Async Storage Cleanup: [#46586](https://togithub.com/vercel/next.js/issues/46586) - Ensure URL can be passed to fetch correctly [#46592](https://togithub.com/vercel/next.js/issues/46592) - Fix static to dynamic error in dev: [#46597](https://togithub.com/vercel/next.js/issues/46597) - Add page path to repeated slashes in href error: [#46557](https://togithub.com/vercel/next.js/issues/46557) - Implement middleware support for Turbopack: [#46397](https://togithub.com/vercel/next.js/issues/46397) ##### Credits Huge thanks to [@jridgewell](https://togithub.com/jridgewell), [@DuCanhGH](https://togithub.com/DuCanhGH), [@wyattjoh](https://togithub.com/wyattjoh), and [@hanneslund](https://togithub.com/hanneslund) for helping! ### [`v13.2.2`](https://togithub.com/vercel/next.js/releases/tag/v13.2.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.1...v13.2.2) ##### Core Changes - fix(ts): correctly augment `next` when `typedRoutes: true`: [#46332](https://togithub.com/vercel/next.js/issues/46332) - feat(cssnano-simple): merge into next repo: [#46380](https://togithub.com/vercel/next.js/issues/46380) - Dedupe next/font preload tags: [#46354](https://togithub.com/vercel/next.js/issues/46354) - Print command for current packet manager in [@next/font](https://togithub.com/next/font) warning: [#46359](https://togithub.com/vercel/next.js/issues/46359) - Loader refactoring: [#46304](https://togithub.com/vercel/next.js/issues/46304) - Support `server-only` inside pages/api: [#46328](https://togithub.com/vercel/next.js/issues/46328) - fix: improve next.config.js validation for `images` prop: [#46326](https://togithub.com/vercel/next.js/issues/46326) - Revert "Support `server-only` inside pages/api": [#46388](https://togithub.com/vercel/next.js/issues/46388) - Add relative app dir field: [#46393](https://togithub.com/vercel/next.js/issues/46393) - test(integration): properly pipe turbopack binary stdouts: [#46382](https://togithub.com/vercel/next.js/issues/46382) - chore: improve error when exporting metadata from client component: [#46334](https://togithub.com/vercel/next.js/issues/46334) - Update server reference syntax and tests: [#46389](https://togithub.com/vercel/next.js/issues/46389) - Fix SWC error wrongly formatted : [#46412](https://togithub.com/vercel/next.js/issues/46412) - Fix(typedRoutes): replaced `readFile` + `replaceAll`, hid utils types, fixed duplication in type `Route`, fixed route groups on Windows: [#46378](https://togithub.com/vercel/next.js/issues/46378) - Ensure fetch fields are detected with RequestInit: [#46398](https://togithub.com/vercel/next.js/issues/46398) - Ensure SERVER_REFERENCE_MANIFEST is included in output files: [#46420](https://togithub.com/vercel/next.js/issues/46420) - Fix duplicate link type asset generation: [#46421](https://togithub.com/vercel/next.js/issues/46421) - chore: show large data warning once per page on prod: [#46323](https://togithub.com/vercel/next.js/issues/46323) - fixed spelling mistake: [#46446](https://togithub.com/vercel/next.js/issues/46446) - Fix(typedRoutes): export createServer from 'next/types/index.d.ts': [#46462](https://togithub.com/vercel/next.js/issues/46462) - chore: Loss of precision due to Date now amplification: [#46344](https://togithub.com/vercel/next.js/issues/46344) - Fix next/font/google config not being used: [#46484](https://togithub.com/vercel/next.js/issues/46484) - Add [@latest](https://togithub.com/latest) to next/font codemod warning: [#46486](https://togithub.com/vercel/next.js/issues/46486) - Add error for styled-jsx in Server Component: [#46482](https://togithub.com/vercel/next.js/issues/46482) - Refactor style loader code: [#46490](https://togithub.com/vercel/next.js/issues/46490) - Fix SWC's auto_cjs handling: [#46448](https://togithub.com/vercel/next.js/issues/46448) - Add theme color media support for metadata: [#46502](https://togithub.com/vercel/next.js/issues/46502) - Fix(typedRoutes): fixed 'next' imports on TS < 5.0: [#46507](https://togithub.com/vercel/next.js/issues/46507) - fix: codemod should preserve type only import: [#46512](https://togithub.com/vercel/next.js/issues/46512) - Add interactive-widget optional property to Viewport type: [#46506](https://togithub.com/vercel/next.js/issues/46506) - Update router filter to be less sensitive: [#46515](https://togithub.com/vercel/next.js/issues/46515) - Update fetch cache internal handling: [#46522](https://togithub.com/vercel/next.js/issues/46522) - Upgrade precompiled react packages: [#46365](https://togithub.com/vercel/next.js/issues/46365) - fix(error-overlay): hide "Learn more" when up-to-date: [#46488](https://togithub.com/vercel/next.js/issues/46488) - Refactor route types to include rewrites and redirects: [#46327](https://togithub.com/vercel/next.js/issues/46327) - Added bcrypt to the serverComponentsExternalPackages auto-optOut list: [#46532](https://togithub.com/vercel/next.js/issues/46532) - feat: add support for the src folder for the instrumentation hook: [#46529](https://togithub.com/vercel/next.js/issues/46529) - Fix viewport typing and refactor constants: [#46569](https://togithub.com/vercel/next.js/issues/46569) - Fix shared entries/invalidators module scope: [#46533](https://togithub.com/vercel/next.js/issues/46533) - Fix CSS imports not included in entries with a custom extension: [#46571](https://togithub.com/vercel/next.js/issues/46571) - fix: should not warn when image unmounts: [#46567](https://togithub.com/vercel/next.js/issues/46567) - fix: generate next-env.d.ts file during next lint command: [#46249](https://togithub.com/vercel/next.js/issues/46249) - Fix infinite invalidations loop in app dir ([#46526](https://togithub.com/vercel/next.js/issues/46526)) - Use og:image instead of og:image:url: [#46570](https://togithub.com/vercel/next.js/issues/46570) - Fix usage of textDecoder to not break utf8 characters: [#46564](https://togithub.com/vercel/next.js/issues/46564) - Fix app client child entry not being disposed when deleting the file: [#46583](https://togithub.com/vercel/next.js/issues/46583) - Fix: canonical should allow relative urls: [#46584](https://togithub.com/vercel/next.js/issues/46584) ##### Documentation Changes - Docs: `next/font` updates: [#46159](https://togithub.com/vercel/next.js/issues/46159) - Add note explaining how to import fonts with spaces in name: [#46348](https://togithub.com/vercel/next.js/issues/46348) - Docs: Fix Railway link: [#46381](https://togithub.com/vercel/next.js/issues/46381) - Wrong function name: [#46546](https://togithub.com/vercel/next.js/issues/46546) ##### Example Changes - Add missing 'key': [#46386](https://togithub.com/vercel/next.js/issues/46386) ##### Misc Changes - test(next-script): teardown next-dev instance via jest hooks: [#46383](https://togithub.com/vercel/next.js/issues/46383) - Apply filtering after rewrite as well ([#46390](https://togithub.com/vercel/next.js/issues/46390) - Fix fetch cache key inputs and encoding ([#46392](https://togithub.com/vercel/next.js/issues/46392) - Fix failing app-static deploy test: [#46395](https://togithub.com/vercel/next.js/issues/46395) - Cover 1st-party examples with tests ([#45270](https://togithub.com/vercel/next.js/issues/45270))Co-authored-by: kodiakhq\[bot] <49736102+kodiakhq\[bot][@users](https://togithub.com/users).noreply.github.com> Co-authored-by: Tim NeutkensConfiguration
đ Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
đŚ Automerge: Enabled.
âť 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.