Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
13.4.1
13.4.4
📅 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.
This PR contains the following updates:
13.4.1
->13.4.4
Release Notes
vercel/next.js
### [`v13.4.4`](https://togithub.com/vercel/next.js/releases/tag/v13.4.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.4.3...v13.4.4) ##### Core Changes - test(turbopack): script to sync latest test lists: [#50008](https://togithub.com/vercel/next.js/issues/50008) - Pages Module Transition: [#49962](https://togithub.com/vercel/next.js/issues/49962) - Server Actions: Fix member expr in closure captured values: [#50020](https://togithub.com/vercel/next.js/issues/50020) - Error in next export when serverActions is enabled: [#50039](https://togithub.com/vercel/next.js/issues/50039) - \[turbopack]: Update renamed SubpathValue: [#49636](https://togithub.com/vercel/next.js/issues/49636) - Fix default metadata is missing in root not-found: [#50044](https://togithub.com/vercel/next.js/issues/50044) - Always defer close tags to be the suffix of body stream: [#50056](https://togithub.com/vercel/next.js/issues/50056) - Fix types of cookies(): [#50052](https://togithub.com/vercel/next.js/issues/50052) - Fix client references extraction of CJS exports analysis: [#50059](https://togithub.com/vercel/next.js/issues/50059) - Add `x-forwarded-*` headers to turbopack renders: [#50012](https://togithub.com/vercel/next.js/issues/50012) - Remove node-sass from peerDependencies: [#50065](https://togithub.com/vercel/next.js/issues/50065) - Add optional generic parameter to NextResponse: [#47526](https://togithub.com/vercel/next.js/issues/47526) - feat(turbopack): initial sass-loader support: [#49882](https://togithub.com/vercel/next.js/issues/49882) - update test snapshots: [#50159](https://togithub.com/vercel/next.js/issues/50159) - \[create-next-app]: respecting the user's `init.defaultBranch` git con…: [#49960](https://togithub.com/vercel/next.js/issues/49960) - Update `swc_core` to `v0.76.18`: [#50137](https://togithub.com/vercel/next.js/issues/50137) - Fix navigating on not-found: [#50047](https://togithub.com/vercel/next.js/issues/50047) - Fix env variables set in next.config.js: [#50179](https://togithub.com/vercel/next.js/issues/50179) - Add warning for edge with force-static: [#50182](https://togithub.com/vercel/next.js/issues/50182) - fix: add missing `draftMode` type to GetServerSidePropsContext: [#50184](https://togithub.com/vercel/next.js/issues/50184) - Fix react fetch deduping without next cache: [#50187](https://togithub.com/vercel/next.js/issues/50187) - Fix pages react alias: [#50128](https://togithub.com/vercel/next.js/issues/50128) - Add the `node` condition to import resolution: [#50007](https://togithub.com/vercel/next.js/issues/50007) - test(turbopack): run next.js integration tests with denylist: [#50172](https://togithub.com/vercel/next.js/issues/50172) - Move debugging variable into useEffect: [#50210](https://togithub.com/vercel/next.js/issues/50210) - refactor webpack loaders: [#49535](https://togithub.com/vercel/next.js/issues/49535) - Fix static workers distributing: [#50194](https://togithub.com/vercel/next.js/issues/50194) - Ensure NEXT_DYNAMIC_NO_SSR_CODE has a unique name: [#50219](https://togithub.com/vercel/next.js/issues/50219) - fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to prevent issue [#49783](https://togithub.com/vercel/next.js/issues/49783) from happening.: [#49938](https://togithub.com/vercel/next.js/issues/49938) - change static path to /\_next/static/media: [#50207](https://togithub.com/vercel/next.js/issues/50207) - Add special route types to the link type declaration: [#50066](https://togithub.com/vercel/next.js/issues/50066) - fix: NODE_OPTIONS='--inspect' in next dev for debugging: [#48019](https://togithub.com/vercel/next.js/issues/48019) - enable more test cases for turbopack: [#50154](https://togithub.com/vercel/next.js/issues/50154) - feat(next-swc): Implement CJS optimizer: [#49972](https://togithub.com/vercel/next.js/issues/49972) - Fix alias for react-dom/server: [#50238](https://togithub.com/vercel/next.js/issues/50238) - Revert "feat(next-swc): Implement CJS optimizer": [#50247](https://togithub.com/vercel/next.js/issues/50247) - Fix free port handling: [#50248](https://togithub.com/vercel/next.js/issues/50248) - feat(next-swc): Add CJS optimizer again: [#50249](https://togithub.com/vercel/next.js/issues/50249) - Fix edge case in the CJS optimizer: [#50258](https://togithub.com/vercel/next.js/issues/50258) - Remove static analysis of `process.env`: [#50260](https://togithub.com/vercel/next.js/issues/50260) - Update next start listening to behave consistently: [#50293](https://togithub.com/vercel/next.js/issues/50293) - Update server invoke-request: [#50296](https://togithub.com/vercel/next.js/issues/50296) - Update unstable_cache key to include args: [#50301](https://togithub.com/vercel/next.js/issues/50301) - Add root detection utils: [#50305](https://togithub.com/vercel/next.js/issues/50305) - fix sass handling after refactoring: [#50259](https://togithub.com/vercel/next.js/issues/50259) - Alias next/server for edge runtime: [#50268](https://togithub.com/vercel/next.js/issues/50268) - \[turbopack]: Serve `_devMiddlewareManifest.json` from router: [#50241](https://togithub.com/vercel/next.js/issues/50241) - Fix catch-all edge app route: [#50313](https://togithub.com/vercel/next.js/issues/50313) - land: Include charset=utf-8 with x-component Content-Type header: [#50314](https://togithub.com/vercel/next.js/issues/50314) - do not apply sass loader on existing loaders: [#50308](https://togithub.com/vercel/next.js/issues/50308) - Add missing react-dom/client alias: [#50324](https://togithub.com/vercel/next.js/issues/50324) - Fix missing error when using Actions on the client layer without enabling the feature flag: [#50257](https://togithub.com/vercel/next.js/issues/50257) - remove allowlist, only use denylist, enable newly passing tests: [#50325](https://togithub.com/vercel/next.js/issues/50325) - Fix SWC loader options for files outside of RSC layers: [#50341](https://togithub.com/vercel/next.js/issues/50341) ##### Documentation Changes - Update app-static-to-dynamic-error.md: [#50085](https://togithub.com/vercel/next.js/issues/50085) - Update invalid-new-link-with-extra-anchor.md: [#50036](https://togithub.com/vercel/next.js/issues/50036) ##### Example Changes - fix: use node copyFile for cross-platform support: [#48740](https://togithub.com/vercel/next.js/issues/48740) - Clerk example updates: [#50021](https://togithub.com/vercel/next.js/issues/50021) - Fix TypeScript error in with-mongodb example: [#50094](https://togithub.com/vercel/next.js/issues/50094) - Use correct casing in filenames: [#50223](https://togithub.com/vercel/next.js/issues/50223) ##### Misc Changes - test: disable cache flaky test: [#50064](https://togithub.com/vercel/next.js/issues/50064) - add tracing for turbopack: [#49920](https://togithub.com/vercel/next.js/issues/49920) - ci: update github token: [#50216](https://togithub.com/vercel/next.js/issues/50216) - Fix metadata e2e deploy test: [#50252](https://togithub.com/vercel/next.js/issues/50252) - Fix middleware e2e deploy test: [#50317](https://togithub.com/vercel/next.js/issues/50317) - Parallelize Turbopack CI tests: [#50292](https://togithub.com/vercel/next.js/issues/50292) - makeDir should use func: [#50136](https://togithub.com/vercel/next.js/issues/50136) ##### Credits Huge thanks to [@kwonoj](https://togithub.com/kwonoj), [@wyattjoh](https://togithub.com/wyattjoh), [@shuding](https://togithub.com/shuding), [@huozhi](https://togithub.com/huozhi), [@jridgewell](https://togithub.com/jridgewell), [@ijjk](https://togithub.com/ijjk), [@karlhorky](https://togithub.com/karlhorky), [@lycuid](https://togithub.com/lycuid), [@MarkAtOmniux](https://togithub.com/MarkAtOmniux), [@darshkpatel](https://togithub.com/darshkpatel), [@johnta0](https://togithub.com/johnta0), [@kdy1](https://togithub.com/kdy1), [@sokra](https://togithub.com/sokra), [@timneutkens](https://togithub.com/timneutkens), [@devagrawal09](https://togithub.com/devagrawal09), [@ibrahemid](https://togithub.com/ibrahemid), [@styfle](https://togithub.com/styfle), [@JesseKoldewijn](https://togithub.com/JesseKoldewijn), [@padmaia](https://togithub.com/padmaia), [@Cow258](https://togithub.com/Cow258), [@javivelasco](https://togithub.com/javivelasco), and [@05lazy](https://togithub.com/05lazy) for helping! ### [`v13.4.3`](https://togithub.com/vercel/next.js/releases/tag/v13.4.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.4.2...v13.4.3) ##### Core Changes - Optimize trace span relationships: [#49697](https://togithub.com/vercel/next.js/issues/49697) - refactor(next-core): deprecate custom_ecmascript_transforms: [#49629](https://togithub.com/vercel/next.js/issues/49629) - Remove old-space-size filtering from dev server: [#49727](https://togithub.com/vercel/next.js/issues/49727) - Rework client router filter handling: [#49741](https://togithub.com/vercel/next.js/issues/49741) - fix(image): preload should respect referrerPolicy: [#49584](https://togithub.com/vercel/next.js/issues/49584) - Fix cookies().set missing in types: [#49806](https://togithub.com/vercel/next.js/issues/49806) - fix: Disable `tracing/release_max_level_off` for wasm, too: [#49639](https://togithub.com/vercel/next.js/issues/49639) - Apply user-defined PostCSS transforms to foreign code: [#49463](https://togithub.com/vercel/next.js/issues/49463) - add [@swc/core](https://togithub.com/swc/core) to server external packages: [#49721](https://togithub.com/vercel/next.js/issues/49721) - `turbo-binding` -> `turbopack-binding`: [#49816](https://togithub.com/vercel/next.js/issues/49816) - refactor(next-core): consolidate react_refresh options: [#49822](https://togithub.com/vercel/next.js/issues/49822) - add support for globally providing mdx components to turbopack: [#49818](https://togithub.com/vercel/next.js/issues/49818) - Refactor pages structure: [#49802](https://togithub.com/vercel/next.js/issues/49802) - Fix conflict when re-exporting multiple Client References: [#49468](https://togithub.com/vercel/next.js/issues/49468) - refactor(next-core): move transforms to plugin: [#49621](https://togithub.com/vercel/next.js/issues/49621) - Fix chained `.bind` of Server Actions: [#49874](https://togithub.com/vercel/next.js/issues/49874) - Fix port value for metadataBase: [#49924](https://togithub.com/vercel/next.js/issues/49924) - Introduce NextMode: [#49852](https://togithub.com/vercel/next.js/issues/49852) - Port sorted-routes.ts to Rust: [#48334](https://togithub.com/vercel/next.js/issues/48334) - Move build workers count change behind flag: [#49937](https://togithub.com/vercel/next.js/issues/49937) - Update default for appDocumentPreloading config for minimalMode: [#49952](https://togithub.com/vercel/next.js/issues/49952) - Add [@vercel/og](https://togithub.com/vercel/og) to external server packages: [#49944](https://togithub.com/vercel/next.js/issues/49944) - Fix custom server React resolution with app dir and pages both presented: [#49805](https://togithub.com/vercel/next.js/issues/49805) - Error in `next export` when `serverActions` is enabled: [#49959](https://togithub.com/vercel/next.js/issues/49959) - Reset not-found and error boundary when navigating: [#49855](https://togithub.com/vercel/next.js/issues/49855) - Revert "Error in `next export` when `serverActions` is enabled": [#50019](https://togithub.com/vercel/next.js/issues/50019) - fix: warning fetch for `[object Request]` specified: [#50003](https://togithub.com/vercel/next.js/issues/50003) - Remove custom handling for prebundled react env: [#49954](https://togithub.com/vercel/next.js/issues/49954) - fix: set cookies followed by `redirect()`: [#49965](https://togithub.com/vercel/next.js/issues/49965) ##### Example Changes - chore: update examples to use draft mode: [#49720](https://togithub.com/vercel/next.js/issues/49720) - Add mdx page example to examples/app-dir-mdx: [#47082](https://togithub.com/vercel/next.js/issues/47082) - Update with-supertokens example: [#49804](https://togithub.com/vercel/next.js/issues/49804) - with-clerk example updated to app router: [#49717](https://togithub.com/vercel/next.js/issues/49717) - Upgrading react-ga to react-ga4: [#48932](https://togithub.com/vercel/next.js/issues/48932) - update with-turbopack example: [#49332](https://togithub.com/vercel/next.js/issues/49332) ##### Misc Changes - Add trace-to-jaeger to workspace: [#49692](https://togithub.com/vercel/next.js/issues/49692) - refactor(scripts): apply fmt: [#49716](https://togithub.com/vercel/next.js/issues/49716) - refactor(scripts): fix clippy errors: [#49719](https://togithub.com/vercel/next.js/issues/49719) - chore(turbopack): Update `swc_core` to `v0.76.6`: [#49792](https://togithub.com/vercel/next.js/issues/49792) - Fix going back to page after applying hash link: [#50006](https://togithub.com/vercel/next.js/issues/50006) - build(cargo): update turbopack: [#50013](https://togithub.com/vercel/next.js/issues/50013) - Suggest a replay in the bug issue template: [#50022](https://togithub.com/vercel/next.js/issues/50022) ##### Credits Huge thanks to [@timneutkens](https://togithub.com/timneutkens), [@kwonoj](https://togithub.com/kwonoj), [@styfle](https://togithub.com/styfle), [@ijjk](https://togithub.com/ijjk), [@alexanderbluhm](https://togithub.com/alexanderbluhm), [@Fonger](https://togithub.com/Fonger), [@shuding](https://togithub.com/shuding), [@kdy1](https://togithub.com/kdy1), [@alexkirsz](https://togithub.com/alexkirsz), [@souporserious](https://togithub.com/souporserious), [@ForsakenHarmony](https://togithub.com/ForsakenHarmony), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@devagrawal09](https://togithub.com/devagrawal09), [@DevEsteves](https://togithub.com/DevEsteves), [@huozhi](https://togithub.com/huozhi), and [@padmaia](https://togithub.com/padmaia) for helping! ### [`v13.4.2`](https://togithub.com/vercel/next.js/releases/tag/v13.4.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.4.1...v13.4.2) ##### Core Changes - make sure server component externals only apply to files resolvable by node: [#49147](https://togithub.com/vercel/next.js/issues/49147) - Fix link not being GC'd sometimes: [#49318](https://togithub.com/vercel/next.js/issues/49318) - Fix issue where nextP is not replaced in searchParams: [#49315](https://togithub.com/vercel/next.js/issues/49315) - Add typescript version to next-info: [#49346](https://togithub.com/vercel/next.js/issues/49346) - Upgrade React to 18.3.0-canary-16d053d59-20230506: [#49402](https://togithub.com/vercel/next.js/issues/49402) - Remove empty config warning: [#49435](https://togithub.com/vercel/next.js/issues/49435) - app-router: add startTransition call to revalidate dispatcher: [#49453](https://togithub.com/vercel/next.js/issues/49453) - Inline static data buffer instead of using fs read: [#49323](https://togithub.com/vercel/next.js/issues/49323) - Revert "Temporarily disable app dir export integration test": [#49311](https://togithub.com/vercel/next.js/issues/49311) - Add link to Server Actions docs.: [#49384](https://togithub.com/vercel/next.js/issues/49384) - Replace metadata clone with custom handler in dev: [#49343](https://togithub.com/vercel/next.js/issues/49343) - Add request-async-storage to the shared layer: [#49470](https://togithub.com/vercel/next.js/issues/49470) - Fix revalidate: false detection in app: [#49473](https://togithub.com/vercel/next.js/issues/49473) - Fix metadata image route encoding: [#49482](https://togithub.com/vercel/next.js/issues/49482) - Fix actions redirect handling: [#49483](https://togithub.com/vercel/next.js/issues/49483) - Restrict `useOptimistic` and `useFormStatus` APIs on the server layer: [#49331](https://togithub.com/vercel/next.js/issues/49331) - Fix external rewrite with body: [#49487](https://togithub.com/vercel/next.js/issues/49487) - fix: better error message with an invalid assetPrefix: [#49403](https://togithub.com/vercel/next.js/issues/49403) - Fix Node Crypto polyfill: [#49288](https://togithub.com/vercel/next.js/issues/49288) - Fix: Router.query contains \_next when using middleware with dynamic routes: [#48753](https://togithub.com/vercel/next.js/issues/48753) - type: update React.CSSProperties type to Record: [#49186](https://togithub.com/vercel/next.js/issues/49186) - Fix server CSS imports and HMR not working properly in specific conditions: [#49462](https://togithub.com/vercel/next.js/issues/49462) - Fix HMR support for server layer imported SASS and SCSS: [#49534](https://togithub.com/vercel/next.js/issues/49534) - Support `.bind` syntax with Action functions: [#49422](https://togithub.com/vercel/next.js/issues/49422) - ci(test): enable turbopack test: [#49466](https://togithub.com/vercel/next.js/issues/49466) - feat(next-core): relay transform plugin: [#48899](https://togithub.com/vercel/next.js/issues/48899) - Fix canonical url for dynamic routes: [#49512](https://togithub.com/vercel/next.js/issues/49512) - Add experimental compile/generate handling: [#49491](https://togithub.com/vercel/next.js/issues/49491) - chore: cross-platform `rm -rf` script: [#49529](https://togithub.com/vercel/next.js/issues/49529) - refactor(next-core): remove ast cloning in custom transform: [#49560](https://togithub.com/vercel/next.js/issues/49560) - fix: a11y issues in react-dev-overlay: [#49460](https://togithub.com/vercel/next.js/issues/49460) - Add tests for HMR: [#49206](https://togithub.com/vercel/next.js/issues/49206) - Add stub Route type for typedRoutes: [#48099](https://togithub.com/vercel/next.js/issues/48099) - Add test for appdir referenced images: [#49242](https://togithub.com/vercel/next.js/issues/49242) - feat: Allow trace-level logging for non-published release builds: [#49564](https://togithub.com/vercel/next.js/issues/49564) - Fix unexpected object mutation while resolving Open Graph: [#49514](https://togithub.com/vercel/next.js/issues/49514) - actions: forward fetch rejections to the action handler: [#49577](https://togithub.com/vercel/next.js/issues/49577) - actions: make cookies.set revalidate: [#49582](https://togithub.com/vercel/next.js/issues/49582) - interception route: fix route groups breaking the referrer computation: [#49602](https://togithub.com/vercel/next.js/issues/49602) - Allow export decl with any init value in the actions compiler: [#49600](https://togithub.com/vercel/next.js/issues/49600) - Handle unstable_cache in pages: [#49624](https://togithub.com/vercel/next.js/issues/49624) - Update cache method handling during build: [#49633](https://togithub.com/vercel/next.js/issues/49633) - Fix fetchCache and no-store handling: [#49638](https://togithub.com/vercel/next.js/issues/49638) - interception routes: fix rewrites order: [#49615](https://togithub.com/vercel/next.js/issues/49615) - Ensure initialHeaders are normalized: [#49643](https://togithub.com/vercel/next.js/issues/49643) - app-router: add support for parallel routes in useParams: [#49595](https://togithub.com/vercel/next.js/issues/49595) - Add puppeteer to external packages list: [#49597](https://togithub.com/vercel/next.js/issues/49597) - Add playwright to external package list: [#49649](https://togithub.com/vercel/next.js/issues/49649) - actions: fill prefetchCache with revalidation payload: [#49576](https://togithub.com/vercel/next.js/issues/49576) - Rename Turbopack/tasks crates to common prefixes: [#49446](https://togithub.com/vercel/next.js/issues/49446) - chore(jest): Simplify isServer expression: [#48330](https://togithub.com/vercel/next.js/issues/48330) - Add missing config vars into Webpack cache key: [#49663](https://togithub.com/vercel/next.js/issues/49663) - misc: Apply PR comments from [#49206](https://togithub.com/vercel/next.js/issues/49206): [#49647](https://togithub.com/vercel/next.js/issues/49647) - fix: Standalone node http server starts accepting requests before next handler is ready: [#49548](https://togithub.com/vercel/next.js/issues/49548) - Update links from beta to stable docs.: [#49349](https://togithub.com/vercel/next.js/issues/49349) ##### Documentation Changes - Fix error message about `preconnect` 📝: [#40360](https://togithub.com/vercel/next.js/issues/40360) - \[docs] Add iOS hydration mismatch details to error page: [#43584](https://togithub.com/vercel/next.js/issues/43584) - Add note about custom distDir to standalone build docs: [#48592](https://togithub.com/vercel/next.js/issues/48592) - Add `--use-yarn` flag to `create-next-app`: [#49407](https://togithub.com/vercel/next.js/issues/49407) ##### Misc Changes - Add test case for client sourcemaps: [#49308](https://togithub.com/vercel/next.js/issues/49308) - Update start release workflow inputs: [#49492](https://togithub.com/vercel/next.js/issues/49492) - Fix failing actions e2e deploy test: [#49497](https://togithub.com/vercel/next.js/issues/49497) - Replace var with const: [#49379](https://togithub.com/vercel/next.js/issues/49379) - test: pages react version with react hook in deployment: [#48907](https://togithub.com/vercel/next.js/issues/48907) - Add test case for [#49235](https://togithub.com/vercel/next.js/issues/49235): [#49488](https://togithub.com/vercel/next.js/issues/49488) - chore: fix flaky middleware matcher test: [#49555](https://togithub.com/vercel/next.js/issues/49555) - Avoid skipping the required Test Codemods job: [#49589](https://togithub.com/vercel/next.js/issues/49589) - Update flakey app-actions deploy tests: [#49667](https://togithub.com/vercel/next.js/issues/49667) ##### Credits Huge thanks to [@shuding](https://togithub.com/shuding), [@ijjk](https://togithub.com/ijjk), [@ForsakenHarmony](https://togithub.com/ForsakenHarmony), [@timneutkens](https://togithub.com/timneutkens), [@huozhi](https://togithub.com/huozhi), [@sanjaiyan-dev](https://togithub.com/sanjaiyan-dev), [@acdlite](https://togithub.com/acdlite), [@feedthejim](https://togithub.com/feedthejim), [@styfle](https://togithub.com/styfle), [@leerob](https://togithub.com/leerob), [@koba04](https://togithub.com/koba04), [@g12i](https://togithub.com/g12i), [@cesarkohl](https://togithub.com/cesarkohl), [@darshkpatel](https://togithub.com/darshkpatel), [@josh](https://togithub.com/josh), [@li-jia-nan](https://togithub.com/li-jia-nan), [@kwonoj](https://togithub.com/kwonoj), [@gabschne](https://togithub.com/gabschne), [@alexkirsz](https://togithub.com/alexkirsz), [@karlhorky](https://togithub.com/karlhorky), [@jridgewell](https://togithub.com/jridgewell), [@sokra](https://togithub.com/sokra), [@kdy1](https://togithub.com/kdy1), [@akd-io](https://togithub.com/akd-io), [@runjuu](https://togithub.com/runjuu), [@jocarrd](https://togithub.com/jocarrd), [@nnnnoel](https://togithub.com/nnnnoel), and [@ferdingler](https://togithub.com/ferdingler) for helping!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.