From c84e8d8cfb4cd5176387390fcf50b37d9fce17a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:48:27 +0000 Subject: [PATCH] Update nextjs monorepo to v14.1.4 (#68) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@next/eslint-plugin-next](https://togithub.com/vercel/next.js) ([source](https://togithub.com/vercel/next.js/tree/HEAD/packages/eslint-plugin-next)) | [`14.0.4` -> `14.1.4`](https://renovatebot.com/diffs/npm/@next%2feslint-plugin-next/14.0.4/14.1.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@next%2feslint-plugin-next/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@next%2feslint-plugin-next/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@next%2feslint-plugin-next/14.0.4/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@next%2feslint-plugin-next/14.0.4/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [next](https://nextjs.org) ([source](https://togithub.com/vercel/next.js)) | [`14.0.4` -> `14.1.4`](https://renovatebot.com/diffs/npm/next/14.0.4/14.1.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/next/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/14.0.4/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/14.0.4/14.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vercel/next.js (@​next/eslint-plugin-next) ### [`v14.1.4`](https://togithub.com/vercel/next.js/releases/tag/v14.1.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.3...v14.1.4) > \[!NOTE]\ > This release is backporting bug fixes. It does **not** include all pending features/changes on canary. ##### Core Changes - Update React from [`60a927d`](https://togithub.com/vercel/next.js/commit/60a927d04) to [`4b84f11`](https://togithub.com/vercel/next.js/commit/4b84f11) ([#​63476](https://togithub.com/vercel/next.js/issues/63476)) [@​ztanner](https://togithub.com/ztanner) - fix revalidation issue with route handlers ([#​63213](https://togithub.com/vercel/next.js/issues/63213)) [@​ztanner](https://togithub.com/ztanner) - ensure mpa navigations to the same URL work after restoring from bfcache ([#​63155](https://togithub.com/vercel/next.js/issues/63155)) [@​ztanner](https://togithub.com/ztanner) - Ensure PromiseLikeOfReactNode is not included in .d.ts files ([#​63185](https://togithub.com/vercel/next.js/issues/63185)) [@​timneutkens](https://togithub.com/timneutkens) - Fix metadata url cases should not append with trailing slash ([#​63050](https://togithub.com/vercel/next.js/issues/63050)) [@​huozhi](https://togithub.com/huozhi) - feat: add deploymentId config ([#​63198](https://togithub.com/vercel/next.js/issues/63198)) [@​styfle](https://togithub.com/styfle) - fix: bump [@​vercel/nft](https://togithub.com/vercel/nft)[@​0](https://togithub.com/0).26.3 ([#​61538](https://togithub.com/vercel/next.js/issues/61538)) [@​styfle](https://togithub.com/styfle) - fix x-forwarded-port header ([#​63303](https://togithub.com/vercel/next.js/issues/63303)) [@​Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) - fix: x-forwarded-port header is 'undefined' when no port in url ([#​60484](https://togithub.com/vercel/next.js/issues/60484)) [@​yuvalotem](https://togithub.com/yuvalotem) ##### Test Changes - test: switch order of tests to avoid flakniess ([#​63482](https://togithub.com/vercel/next.js/issues/63482)) [@​huozhi](https://togithub.com/huozhi) - fix broken create-next-app tests ([#​63019](https://togithub.com/vercel/next.js/issues/63019)) [@​ztanner](https://togithub.com/ztanner) ### [`v14.1.3`](https://togithub.com/vercel/next.js/compare/v14.1.2...v14.1.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.2...v14.1.3) ### [`v14.1.2`](https://togithub.com/vercel/next.js/releases/tag/v14.1.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.1...v14.1.2) *Note: this is a backport release for critical bug fixes -- this does not include all pending features/changes on canary* ##### Core Changes - Fix sitemap generateSitemaps support for string id ([#​61088](https://togithub.com/vercel/next.js/issues/61088)) - Fix: generateSitemaps in production giving 404 ([#​62212](https://togithub.com/vercel/next.js/issues/62212)) - Fix redirect under suspense boundary with basePath ([#​62597](https://togithub.com/vercel/next.js/issues/62597)) - Fix: Add stricter check for "use server" exports ([#​62821](https://togithub.com/vercel/next.js/issues/62821)) - ensure server action errors notify rejection handlers ([#​61588](https://togithub.com/vercel/next.js/issues/61588)) - make router restore action resilient to a missing tree ([#​62098](https://togithub.com/vercel/next.js/issues/62098)) - build: remove sentry from the externals list [#​61194](https://togithub.com/vercel/next.js/issues/61194) - Reduce memory/cache overhead from over loader processing [#​62005](https://togithub.com/vercel/next.js/issues/62005) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​shuding](https://togithub.com/shuding), [@​Ethan-Arrowood](https://togithub.com/Ethan-Arrowood), [@​styfle](https://togithub.com/styfle), [@​ijjk](https://togithub.com/ijjk), [@​ztanner](https://togithub.com/ztanner), [@​balazsorban44](https://togithub.com/balazsorban44), [@​kdy1](https://togithub.com/kdy1), and [@​williamli](https://togithub.com/williamli) for helping! ### [`v14.1.1`](https://togithub.com/vercel/next.js/releases/tag/v14.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.0...v14.1.1) *Note: this is a backport release for critical bug fixes -- this does not include all pending features/changes on canary* ##### Core Changes - Should not warn metadataBase missing if only absolute urls are present: [https://github.com/vercel/next.js/pull/61898](https://togithub.com/vercel/next.js/pull/61898) - Fix trailing slash for canonical url: [https://github.com/vercel/next.js/pull/62109](https://togithub.com/vercel/next.js/pull/62109) - Fix metadata json manifest convention: [https://github.com/vercel/next.js/pull/62615](https://togithub.com/vercel/next.js/pull/62615) - Improve the Server Actions SWC transform: [https://github.com/vercel/next.js/pull/61001](https://togithub.com/vercel/next.js/pull/61001) - Fix Server Reference being double registered: [https://github.com/vercel/next.js/pull/61244](https://togithub.com/vercel/next.js/pull/61244) - Improve the Server Actions SWC transform (part 2): [https://github.com/vercel/next.js/pull/62052](https://togithub.com/vercel/next.js/pull/62052) - Fix module-level Server Action creation with closure-closed values: [https://github.com/vercel/next.js/pull/62437](https://togithub.com/vercel/next.js/pull/62437) - Fix draft mode invariant: [https://github.com/vercel/next.js/pull/62121](https://togithub.com/vercel/next.js/pull/62121) - fix: babel usage with next/image: [https://github.com/vercel/next.js/pull/61835](https://togithub.com/vercel/next.js/pull/61835) - Fix next/server api alias for ESM pkg: [https://github.com/vercel/next.js/pull/61721](https://togithub.com/vercel/next.js/pull/61721) - Replace image optimizer IPC call with request handler: [https://github.com/vercel/next.js/pull/61471](https://togithub.com/vercel/next.js/pull/61471) - chore: refactor image optimization to separate external/internal urls: [https://github.com/vercel/next.js/pull/61172](https://togithub.com/vercel/next.js/pull/61172) - fix(image): warn when animated image is missing unoptimized prop: [https://github.com/vercel/next.js/pull/61045](https://togithub.com/vercel/next.js/pull/61045) - fix(build-output): show stack during CSR bailout warning: [https://github.com/vercel/next.js/pull/62594](https://togithub.com/vercel/next.js/pull/62594) - Fix extra swc optimizer applied to node_modules in browser layer: [https://github.com/vercel/next.js/pull/62051](https://togithub.com/vercel/next.js/pull/62051) - fix(next-swc): Detect exports.foo from cjs_finder: [https://github.com/vercel/next.js/pull/61795](https://togithub.com/vercel/next.js/pull/61795) - Fix attempted import error for react: [https://github.com/vercel/next.js/pull/61791](https://togithub.com/vercel/next.js/pull/61791) - Add stack trace to client rendering bailout error: [https://github.com/vercel/next.js/pull/61200](https://togithub.com/vercel/next.js/pull/61200) - fix router crash on revalidate + popstate: [https://github.com/vercel/next.js/pull/62383](https://togithub.com/vercel/next.js/pull/62383) - fix loading issue when navigating to page with async metadata: [https://github.com/vercel/next.js/pull/61687](https://togithub.com/vercel/next.js/pull/61687) - revert changes to process default routes at build: [https://github.com/vercel/next.js/pull/61241](https://togithub.com/vercel/next.js/pull/61241) - fix parallel route top-level catch-all normalization logic to support nested explicit (non-catchall) slot routes: [https://github.com/vercel/next.js/pull/60776](https://togithub.com/vercel/next.js/pull/60776) - Improve redirection handling: [https://github.com/vercel/next.js/pull/62561](https://togithub.com/vercel/next.js/pull/62561) - Simplify node/edge server chunking some: [https://github.com/vercel/next.js/pull/62424](https://togithub.com/vercel/next.js/pull/62424) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​shuding](https://togithub.com/shuding), [@​Ethan-Arrowood](https://togithub.com/Ethan-Arrowood), [@​styfle](https://togithub.com/styfle), [@​ijjk](https://togithub.com/ijjk), [@​ztanner](https://togithub.com/ztanner), [@​balazsorban44](https://togithub.com/balazsorban44), [@​kdy1](https://togithub.com/kdy1), and [@​williamli](https://togithub.com/williamli) for helping! ### [`v14.1.0`](https://togithub.com/vercel/next.js/releases/tag/v14.1.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.0.4...v14.1.0) ##### Core Changes - Turbopack: switch to a single client components entrypoint: [#​59352](https://togithub.com/vercel/next.js/issues/59352) - Update `swc_core` to `v0.86.98` and turbopack: [#​59393](https://togithub.com/vercel/next.js/issues/59393) - Fix cases for the `optimize_server_react` transform: [#​59390](https://togithub.com/vercel/next.js/issues/59390) - Use new JSX transform: [#​56294](https://togithub.com/vercel/next.js/issues/56294) - loading.tsx should have no effect on partial rendering when PPR is enabled: [#​59196](https://togithub.com/vercel/next.js/issues/59196) - Update font data: [#​59426](https://togithub.com/vercel/next.js/issues/59426) - Remove CacheNode.status field: [#​59472](https://togithub.com/vercel/next.js/issues/59472) - Rename CacheNode.data → .lazyData : [#​59473](https://togithub.com/vercel/next.js/issues/59473) - Generate Params Cleanup: [#​59431](https://togithub.com/vercel/next.js/issues/59431) - Fix webpack chunks handling in traces: [#​59498](https://togithub.com/vercel/next.js/issues/59498) - Rename CacheNode.subTreeData -> .rsc : [#​59491](https://togithub.com/vercel/next.js/issues/59491) - fix NODE_OPTIONS=inspect: [#​59530](https://togithub.com/vercel/next.js/issues/59530) - Add CacheNode.prefetchRsc field: [#​59537](https://togithub.com/vercel/next.js/issues/59537) - allow passing wildcard domains in serverActions.allowedDomains: [#​59428](https://togithub.com/vercel/next.js/issues/59428) - Page Info Cleanup: [#​59430](https://togithub.com/vercel/next.js/issues/59430) - Fix force-static and fetch no-store cases: [#​59549](https://togithub.com/vercel/next.js/issues/59549) - Should not show no index for client rendering bailout: [#​59531](https://togithub.com/vercel/next.js/issues/59531) - Enable build worker by default: [#​59405](https://togithub.com/vercel/next.js/issues/59405) - Fork navigateReducer into PPR and non-PPR versions: [#​59538](https://togithub.com/vercel/next.js/issues/59538) - cleanup magic segment strings: [#​59552](https://togithub.com/vercel/next.js/issues/59552) - chore: update Turbopack: [#​59589](https://togithub.com/vercel/next.js/issues/59589) - Fix another magic segment string constant: [#​59591](https://togithub.com/vercel/next.js/issues/59591) - Make CacheNodeSeedData match FlightRouterState more closely: [#​59590](https://togithub.com/vercel/next.js/issues/59590) - transpilePackages should override default settings for external packages: [#​59385](https://togithub.com/vercel/next.js/issues/59385) - move segment constants to separate file: [#​59587](https://togithub.com/vercel/next.js/issues/59587) - Revert "Page Info Cleanup ([#​59430](https://togithub.com/vercel/next.js/issues/59430))": [#​59592](https://togithub.com/vercel/next.js/issues/59592) - Fix useOptimistic in server components bug. Add tests for invalid React server APIs: [#​59621](https://togithub.com/vercel/next.js/issues/59621) - Partial Pre Rendering Headers: [#​59447](https://togithub.com/vercel/next.js/issues/59447) - Add tests for invalid React server APIs: [#​59622](https://togithub.com/vercel/next.js/issues/59622) - Refactor setup-dev-bundler to make Turbopack/Webpack split clearer: [#​59650](https://togithub.com/vercel/next.js/issues/59650) - refactor and simplify app dynamic components: [#​59658](https://togithub.com/vercel/next.js/issues/59658) - Change manifestPath to pagesManifestPath: [#​59657](https://togithub.com/vercel/next.js/issues/59657) - Fix issue with outputFileTracingExcludes and pages/api edge runtime: [#​59157](https://togithub.com/vercel/next.js/issues/59157) - Update font data: [#​59722](https://togithub.com/vercel/next.js/issues/59722) - Remove path normalization logic when uploading .next/trace traces: [#​59305](https://togithub.com/vercel/next.js/issues/59305) - LayoutRouter: Support segment value of Promise to asynchronously bail out and trigger a server patch: [#​59724](https://togithub.com/vercel/next.js/issues/59724) - fix: Allow start turbopack dev server for a project using middleware: [#​59759](https://togithub.com/vercel/next.js/issues/59759) - fix: gracefully shutdown server: [#​59551](https://togithub.com/vercel/next.js/issues/59551) - Revert "fix: gracefully shutdown server ([#​59551](https://togithub.com/vercel/next.js/issues/59551))": [#​59792](https://togithub.com/vercel/next.js/issues/59792) - Optionally bundle legacy react-dom/server APIs based on usage: [#​59737](https://togithub.com/vercel/next.js/issues/59737) - fix `default` handling in route groups that handle interception: [#​59752](https://togithub.com/vercel/next.js/issues/59752) - Transpile all code on app browser layer: [#​59569](https://togithub.com/vercel/next.js/issues/59569) - Initial implementation of PPR client navigations: [#​59725](https://togithub.com/vercel/next.js/issues/59725) - fix(turbopack): prevent edge entrypoint from becoming an async module: [#​59818](https://togithub.com/vercel/next.js/issues/59818) - Ensure we validate revalidate configs properly: [#​59822](https://togithub.com/vercel/next.js/issues/59822) - Update error check in validateRevalidate: [#​59826](https://togithub.com/vercel/next.js/issues/59826) - Rename confusing loaders: [#​59827](https://togithub.com/vercel/next.js/issues/59827) - Upgrade og dependencies: [#​59541](https://togithub.com/vercel/next.js/issues/59541) - \[PPR Navs] Bugfix: Dynamic data never streams in if prefetch entry is stale: [#​59833](https://togithub.com/vercel/next.js/issues/59833) - fix parallel catch-all route normalization: [#​59791](https://togithub.com/vercel/next.js/issues/59791) - fix router prefetch cache key to work with route interception: [#​59861](https://togithub.com/vercel/next.js/issues/59861) - Alias nextjs api entry to esm version for app router: [#​59852](https://togithub.com/vercel/next.js/issues/59852) - Remove duplicate standalone check: [#​60085](https://togithub.com/vercel/next.js/issues/60085) - Remove return on void function: [#​60087](https://togithub.com/vercel/next.js/issues/60087) - Ensure NextBuildContext is only used during build: [#​60099](https://togithub.com/vercel/next.js/issues/60099) - Add PageExtensions type: [#​60108](https://togithub.com/vercel/next.js/issues/60108) - Ensure instrumentation file does not affect middleware count: [#​60102](https://togithub.com/vercel/next.js/issues/60102) - Use WebpackError type instead of any: [#​60105](https://togithub.com/vercel/next.js/issues/60105) - Remove root parameter: [#​60112](https://togithub.com/vercel/next.js/issues/60112) - Remove extra duplicate pages warning: [#​60113](https://togithub.com/vercel/next.js/issues/60113) - Add MappedPages type: [#​60106](https://togithub.com/vercel/next.js/issues/60106) - Always call createPagesMapping for root paths: [#​60107](https://togithub.com/vercel/next.js/issues/60107) - Fix path issues on linux machines when build created on windows: [#​60116](https://togithub.com/vercel/next.js/issues/60116) - fix: Fix wrong cjs detection of `auto-cjs` pass: [#​60118](https://togithub.com/vercel/next.js/issues/60118) - chore: update Copyright time from 2023 to 2024: [#​60071](https://togithub.com/vercel/next.js/issues/60071) - Filter out duplicate paths in build output: [#​59858](https://togithub.com/vercel/next.js/issues/59858) - chore: align webpack config node version: [#​59862](https://togithub.com/vercel/next.js/issues/59862) - gracefully handle client router segment mismatches: [#​60141](https://togithub.com/vercel/next.js/issues/60141) - Fix start build log being overwritten by logs from page: [#​60122](https://togithub.com/vercel/next.js/issues/60122) - Allow using ESM pkg with custom incremental cache: [#​59863](https://togithub.com/vercel/next.js/issues/59863) - Fix emitting ESM swc helpers for 3rd parties CJS libs in bundle: [#​60169](https://togithub.com/vercel/next.js/issues/60169) - Move cacheDir logic to getCacheDir: [#​60133](https://togithub.com/vercel/next.js/issues/60133) - Refactor to unify writeFile, readFile, and add readManifest: [#​60137](https://togithub.com/vercel/next.js/issues/60137) - chore: bump `@vercel/nft@0.26.2`: [#​60172](https://togithub.com/vercel/next.js/issues/60172) - fix: `