Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
12.0.10
12.3.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:
12.0.10
->12.3.4
Release Notes
vercel/next.js
### [`v12.3.4`](https://togithub.com/vercel/next.js/compare/v12.3.3...v12.3.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.3.3...v12.3.4) ### [`v12.3.3`](https://togithub.com/vercel/next.js/compare/v12.3.2...v12.3.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.3.2...v12.3.3) ### [`v12.3.2`](https://togithub.com/vercel/next.js/compare/v12.3.1...v12.3.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.3.1...v12.3.2) ### [`v12.3.1`](https://togithub.com/vercel/next.js/releases/tag/v12.3.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.3.0...v12.3.1) ##### Core Changes - Update react-server-dom-webpack: [#40356](https://togithub.com/vercel/next.js/issues/40356) - Fix flight manifest to include all chunks: [#40365](https://togithub.com/vercel/next.js/issues/40365) - docs: fix typos: [#40342](https://togithub.com/vercel/next.js/issues/40342) - Fix page url for edge routes in app dir: [#40361](https://togithub.com/vercel/next.js/issues/40361) - Subresource Integrity for App Directory: [#39729](https://togithub.com/vercel/next.js/issues/39729) - Stop build warning about `experimental: { esmExternals: 'loose' }`: [#40377](https://togithub.com/vercel/next.js/issues/40377) - Add template and error file types: [#39808](https://togithub.com/vercel/next.js/issues/39808) - Bump styled-jsx for showing displayName: [#40411](https://togithub.com/vercel/next.js/issues/40411) - fix([#40388](https://togithub.com/vercel/next.js/issues/40388)): `next/dynamic` should only add default loading without suspense: [#40397](https://togithub.com/vercel/next.js/issues/40397) - Add missing trace for full reload event: [#40393](https://togithub.com/vercel/next.js/issues/40393) - feat(ts): expose `AppType`: [#40391](https://togithub.com/vercel/next.js/issues/40391) - Update dev watcher to ignore more accurately: [#40412](https://togithub.com/vercel/next.js/issues/40412) - Add failing case for location throw: [#40445](https://togithub.com/vercel/next.js/issues/40445) - Drop legacy RSC handling in client for pages: [#40472](https://togithub.com/vercel/next.js/issues/40472) - fix: eslint no-script-component-in-head error url: [#40422](https://togithub.com/vercel/next.js/issues/40422) - chore: Update swc: [#40292](https://togithub.com/vercel/next.js/issues/40292) - feat(edge): allows configuring Dynamic code execution guard: [#39539](https://togithub.com/vercel/next.js/issues/39539) - Rename allowDynamic to unstable_allowDynamic: [#40496](https://togithub.com/vercel/next.js/issues/40496) - Don't execute prefetches for bot user agents: [#40435](https://togithub.com/vercel/next.js/issues/40435) - Update semver of eslint-plugin-react: [#40246](https://togithub.com/vercel/next.js/issues/40246) - Clean up startTransition in Link: [#40505](https://togithub.com/vercel/next.js/issues/40505) - docs(README): next.js logo with dark mode: [#40223](https://togithub.com/vercel/next.js/issues/40223) - Passing down original sourcemap for flight client loader: [#40508](https://togithub.com/vercel/next.js/issues/40508) - next/script: make `onLoad` concurrent rendering resilient: [#40191](https://togithub.com/vercel/next.js/issues/40191) - chore: Update swc: [#40520](https://togithub.com/vercel/next.js/issues/40520) - Add missing feature in next-swc: [#40550](https://togithub.com/vercel/next.js/issues/40550) - Mask Flight Parameters from Middleware: [#39939](https://togithub.com/vercel/next.js/issues/39939) - Unwrap promise with experimental_use: [#40575](https://togithub.com/vercel/next.js/issues/40575) - fix(next/router): Prevent query delete in routing when next.config basePath option is truthy: [#40566](https://togithub.com/vercel/next.js/issues/40566) - fix(image): handle image imports with high aspect ratio: [#40563](https://togithub.com/vercel/next.js/issues/40563) - fix: loosen webpack compilation with `fallbackNodePolyfills: false`: [#40612](https://togithub.com/vercel/next.js/issues/40612) - Adding experimentalAdjustFallback feature to font optimization: [#40185](https://togithub.com/vercel/next.js/issues/40185) - fix: handle `notFound: true` in `/` with `next export`: [#40592](https://togithub.com/vercel/next.js/issues/40592) - refactor: split up `CONTRIBUTING.md`: [#40515](https://togithub.com/vercel/next.js/issues/40515) - Implement SWC transformer for server and client graphs: [#40603](https://togithub.com/vercel/next.js/issues/40603) - Fix edge wasm handling during deploy: [#40625](https://togithub.com/vercel/next.js/issues/40625) - Client directive: [#40415](https://togithub.com/vercel/next.js/issues/40415) - Remove internal client next api detection: [#40646](https://togithub.com/vercel/next.js/issues/40646) - Attach module trace for RSC related errors: [#40652](https://togithub.com/vercel/next.js/issues/40652) - Use createFromFetch instead of createFromReadableStream to fetch Flight: [#40656](https://togithub.com/vercel/next.js/issues/40656) - Change Flight response content type to application/octet-stream: [#40665](https://togithub.com/vercel/next.js/issues/40665) - Send web vitals to Vercel analytics in app: [#40669](https://togithub.com/vercel/next.js/issues/40669) - Refactor fetchServerResponse: [#40674](https://togithub.com/vercel/next.js/issues/40674) - Port page and layout level API assertions to SWC transform: [#40653](https://togithub.com/vercel/next.js/issues/40653) - Ensure smooth scroll is disabled for navigation in new and existing router: [#40642](https://togithub.com/vercel/next.js/issues/40642) - Upgrade to latest React experimental: [#40672](https://togithub.com/vercel/next.js/issues/40672) - Refine error messages: [#40661](https://togithub.com/vercel/next.js/issues/40661) - Incldue styled-jsx in swc compiling: [#40679](https://togithub.com/vercel/next.js/issues/40679) - misc: update caniuse-lite to latest: [#40680](https://togithub.com/vercel/next.js/issues/40680) - Remove non existed exports and files: [#40685](https://togithub.com/vercel/next.js/issues/40685) - fix(image): preload should respect crossOrigin: [#40676](https://togithub.com/vercel/next.js/issues/40676) - Add handling for static generation in app: [#40561](https://togithub.com/vercel/next.js/issues/40561) - Avoid direct React client API imports in the server graph: [#40686](https://togithub.com/vercel/next.js/issues/40686) - Drop legacy RSC server and client extension: [#40692](https://togithub.com/vercel/next.js/issues/40692) ##### Documentation Changes - docs: fix middleware path: [#40340](https://togithub.com/vercel/next.js/issues/40340) - Fix mdx docs: [#40402](https://togithub.com/vercel/next.js/issues/40402) - Update Server Components documentation.: [#40452](https://togithub.com/vercel/next.js/issues/40452) - docs: move `swcMinify: true` out of "Experimental features" section: [#40394](https://togithub.com/vercel/next.js/issues/40394) - Clarify use of `loading` property: [#40488](https://togithub.com/vercel/next.js/issues/40488) - docs(errors/large-page-data): how to see data being passed to page: [#40491](https://togithub.com/vercel/next.js/issues/40491) - docs(basic-features/script): update script version history: [#40263](https://togithub.com/vercel/next.js/issues/40263) - Added "negative matcher" documentation: [#40282](https://togithub.com/vercel/next.js/issues/40282) - Fix a typo in docs: [#40501](https://togithub.com/vercel/next.js/issues/40501) ##### Example Changes - chore: fix examples: [#40395](https://togithub.com/vercel/next.js/issues/40395) - chore(examples): update turborepo examples link: [#40487](https://togithub.com/vercel/next.js/issues/40487) - update(examples): Emotion modules: [#40242](https://togithub.com/vercel/next.js/issues/40242) - Added comments to middleware-matcher example: [#40273](https://togithub.com/vercel/next.js/issues/40273) - Remove legacy mobx example: [#40304](https://togithub.com/vercel/next.js/issues/40304) - Update cms-makeswift example: [#40560](https://togithub.com/vercel/next.js/issues/40560) - Fixed typo: [#40608](https://togithub.com/vercel/next.js/issues/40608) - Revert "Fixed typo": [#40623](https://togithub.com/vercel/next.js/issues/40623) - chore: Migrate with-prefetching example to typescript: [#40671](https://togithub.com/vercel/next.js/issues/40671) - chore: Refactor active-class-name example: [#40670](https://togithub.com/vercel/next.js/issues/40670) - docs(examples): fix error connection handling: [#40633](https://togithub.com/vercel/next.js/issues/40633) ##### Misc Changes - Temporarily disable unstable app test: [#40408](https://togithub.com/vercel/next.js/issues/40408) - docs(middleware): fix broken link - chore: use `link:` instead of `file:` in CONTRIBUTING.md: [#40510](https://togithub.com/vercel/next.js/issues/40510) - add Balázs as codeowner to `/errors/` directory - fix(cli): tune filter for extracting example `.tar`: [#40513](https://togithub.com/vercel/next.js/issues/40513) - Add additional tests for prefetch and trailingSlash: [#40517](https://togithub.com/vercel/next.js/issues/40517) - Wrap parallel routes tests in describe: [#40546](https://togithub.com/vercel/next.js/issues/40546) - fix([#40025](https://togithub.com/vercel/next.js/issues/40025)): run `next/script` beforeInteractive test in both dev & prod: [#40541](https://togithub.com/vercel/next.js/issues/40541) ##### Credits Huge thanks to [@huozhi](https://togithub.com/huozhi), [@shuding](https://togithub.com/shuding), [@ijjk](https://togithub.com/ijjk), [@jasham](https://togithub.com/jasham), [@Kikobeats](https://togithub.com/Kikobeats), [@wyattjoh](https://togithub.com/wyattjoh), [@rubytree33](https://togithub.com/rubytree33), [@timneutkens](https://togithub.com/timneutkens), [@balazsorban44](https://togithub.com/balazsorban44), [@andrewrjohn](https://togithub.com/andrewrjohn), [@SukkaW](https://togithub.com/SukkaW), [@hanneslund](https://togithub.com/hanneslund), [@leerob](https://togithub.com/leerob), [@Djo1e](https://togithub.com/Djo1e), [@kdy1](https://togithub.com/kdy1), [@msafi](https://togithub.com/msafi), [@tknickman](https://togithub.com/tknickman), [@feugy](https://togithub.com/feugy), [@cramforce](https://togithub.com/cramforce), [@ryparker](https://togithub.com/ryparker), [@victorboucher](https://togithub.com/victorboucher), [@steven-tey](https://togithub.com/steven-tey), [@JDansercoer](https://togithub.com/JDansercoer), [@janklimo](https://togithub.com/janklimo), [@hiro0218](https://togithub.com/hiro0218), [@HaNdTriX](https://togithub.com/HaNdTriX), [@migueloller](https://togithub.com/migueloller), [@flex-kyunghwa](https://togithub.com/flex-kyunghwa), [@saalimzafar](https://togithub.com/saalimzafar), [@alxhotel](https://togithub.com/alxhotel), [@janicklas-ralph](https://togithub.com/janicklas-ralph), [@feedthejim](https://togithub.com/feedthejim), and [@chornos13](https://togithub.com/chornos13) for helping! ### [`v12.3.0`](https://togithub.com/vercel/next.js/releases/tag/v12.3.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.2.6...v12.3.0) ##### Core Changes - Refactor client entry plugin to separate methods.: [#39162](https://togithub.com/vercel/next.js/issues/39162) - Eliminate path polyfill and incremental-cache from base server: [#39548](https://togithub.com/vercel/next.js/issues/39548) - Remove precopied styled-jsx: [#39520](https://togithub.com/vercel/next.js/issues/39520) - Refactor handling of addPageEntry promise: [#39547](https://togithub.com/vercel/next.js/issues/39547) - Support multiple flush effects: [#39559](https://togithub.com/vercel/next.js/issues/39559) - Eliminate Amp in Edge runtime: [#39560](https://togithub.com/vercel/next.js/issues/39560) - Rename page -> entry in on-demand-entry-handler: [#39564](https://togithub.com/vercel/next.js/issues/39564) - Update .env HMR handling: [#39566](https://togithub.com/vercel/next.js/issues/39566) - Fix failing switchable runtime deploy test: [#39579](https://togithub.com/vercel/next.js/issues/39579) - Fix Edge SSR routes: [#39594](https://togithub.com/vercel/next.js/issues/39594) - Support tsconfig paths without baseurl: [#34926](https://togithub.com/vercel/next.js/issues/34926) - Enable [@typescript-eslint/no-use-before-define](https://togithub.com/typescript-eslint/no-use-before-define) for functions: [#39602](https://togithub.com/vercel/next.js/issues/39602) - Remove minify: false for webpack5 bundle: [#39620](https://togithub.com/vercel/next.js/issues/39620) - Next Server code refactoring: [#39591](https://togithub.com/vercel/next.js/issues/39591) - Eliminate path and utils from base server: [#39622](https://togithub.com/vercel/next.js/issues/39622) - Remove webpack4 types: [#39631](https://togithub.com/vercel/next.js/issues/39631) - Enable additional TypeScript ESLint rules: [#39640](https://togithub.com/vercel/next.js/issues/39640) - fix(next/dynamic): handle template literal import path: [#39623](https://togithub.com/vercel/next.js/issues/39623) - Add comment on slash normalizing in server: [#39653](https://togithub.com/vercel/next.js/issues/39653) - Refactor base server: [#39649](https://togithub.com/vercel/next.js/issues/39649) - Add separate entry per layout/page.: [#39611](https://togithub.com/vercel/next.js/issues/39611) - fix(next-server): Fix priority for edge routes : [#39462](https://togithub.com/vercel/next.js/issues/39462) - Add todo for dependsOn: [#39677](https://togithub.com/vercel/next.js/issues/39677) - Improved server CSS handling: [#39664](https://togithub.com/vercel/next.js/issues/39664) - feat(next-swc): Update swc: [#39499](https://togithub.com/vercel/next.js/issues/39499) - fix next-app-loader on windows: [#39657](https://togithub.com/vercel/next.js/issues/39657) - fix(swc/emotion): Correct the `SPACE_AROUND_COLON` regex: [#39710](https://togithub.com/vercel/next.js/issues/39710) - fix([#39609](https://togithub.com/vercel/next.js/issues/39609)): warns about suspense and ssr: [#39676](https://togithub.com/vercel/next.js/issues/39676) - Use realpath when emitting traced package.json: [#39683](https://togithub.com/vercel/next.js/issues/39683) - fix([#39706](https://togithub.com/vercel/next.js/issues/39706)): add avif support for node serve static: [#39733](https://togithub.com/vercel/next.js/issues/39733) - fix(next): Do not display message when middleware is removed on dev mode: [#39604](https://togithub.com/vercel/next.js/issues/39604) - refactor(portal): remove useRef from portal component: [#39792](https://togithub.com/vercel/next.js/issues/39792) - refactor(use-intersection): remove useRef usage: [#39791](https://togithub.com/vercel/next.js/issues/39791) - allow Edge Functions to stream a compressed `fetch` response: [#39608](https://togithub.com/vercel/next.js/issues/39608) - fix meaninglessFileNames type in compiler options schema: [#39698](https://togithub.com/vercel/next.js/issues/39698) - build: upgrade edge-runtime: [#39749](https://togithub.com/vercel/next.js/issues/39749) - Update stalled ensure log to use debug instead: [#39826](https://togithub.com/vercel/next.js/issues/39826) - Skip building /500 in dev mode: [#39828](https://togithub.com/vercel/next.js/issues/39828) - Fix `onError` handling in `next/future/image`: [#39824](https://togithub.com/vercel/next.js/issues/39824) - Improve error message on `next/future/image` when `objectFit` or `objectPosition`: [#39614](https://togithub.com/vercel/next.js/issues/39614) - Refactor client CSS imports: [#39758](https://togithub.com/vercel/next.js/issues/39758) - Ensure moduleResolution is written correctly: [#39836](https://togithub.com/vercel/next.js/issues/39836) - Fix disposing active entries in dev compilers: [#39845](https://togithub.com/vercel/next.js/issues/39845) - fix([#39807](https://togithub.com/vercel/next.js/issues/39807)): ignore width/height from webpack with "fill": [#39849](https://togithub.com/vercel/next.js/issues/39849) - Add handling for auto installing TypeScript deps and HMRing tsconfig: [#39838](https://togithub.com/vercel/next.js/issues/39838) - Remove eslint warning when no eslint config is present: [#39872](https://togithub.com/vercel/next.js/issues/39872) - feat(next/swc): enable wasm first binding load for the platforms: [#38883](https://togithub.com/vercel/next.js/issues/38883) - Fix `next/future/image` blur-up placeholder : [#39785](https://togithub.com/vercel/next.js/issues/39785) - Fix runLintCheck during build: [#39883](https://togithub.com/vercel/next.js/issues/39883) - Skip auto-install for missing deps in CI: [#39882](https://togithub.com/vercel/next.js/issues/39882) - Remove un-necessary internal jest-worker error during ts/lint error: [#39886](https://togithub.com/vercel/next.js/issues/39886) - Bump `@vercel/nft@0.22.0`: [#39906](https://togithub.com/vercel/next.js/issues/39906) - Handle edge runtime for app: [#39910](https://togithub.com/vercel/next.js/issues/39910) - build: upgrade edge-runtime: [#39898](https://togithub.com/vercel/next.js/issues/39898) - HMR for client CSS imports: [#39916](https://togithub.com/vercel/next.js/issues/39916) - fix(ts): use `AppProps`'s generic for `pageProps`: [#38867](https://togithub.com/vercel/next.js/issues/38867) - Treat non page file as non route under app dir: [#39976](https://togithub.com/vercel/next.js/issues/39976) - Fix `next/future/image` incorrectly warning for `fill` + `blur`: [#39986](https://togithub.com/vercel/next.js/issues/39986) - Ensure prefetch heuristic matches with and without middleware: [#39920](https://togithub.com/vercel/next.js/issues/39920) - feat: add `experimental.fallbackNodePolyfills` flag: [#39248](https://togithub.com/vercel/next.js/issues/39248) - Fix incorrect build log for moduleResolution: [#39991](https://togithub.com/vercel/next.js/issues/39991) - fix([#39993](https://togithub.com/vercel/next.js/issues/39993)): avoid race condition for next/script onReady: [#40002](https://togithub.com/vercel/next.js/issues/40002) - Avoid bundling `next/script` in the server build by default: [#40013](https://togithub.com/vercel/next.js/issues/40013) - Handle async module for client components: [#39953](https://togithub.com/vercel/next.js/issues/39953) - Upgrade typescript to 4.8.2: [#39979](https://togithub.com/vercel/next.js/issues/39979) - Remove Unused SQLite file: [#40056](https://togithub.com/vercel/next.js/issues/40056) - Update `next/future/image` to use svg blur placeholder during `next dev`: [#39992](https://togithub.com/vercel/next.js/issues/39992) - Remove `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.