Update nextjs monorepo to v12.3.4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@next/mdx (source) | dependencies | patch | 12.3.0 -> 12.3.4 |
eslint-config-next (source) | devDependencies | minor | 12.2.5 -> 12.3.4 |
next (source) | dependencies | minor | 12.2.5 -> 12.3.4 |
Release Notes
vercel/next.js (@βnext/mdx)
v12.3.4
v12.3.3
v12.3.2
v12.3.1
Core Changes
- Update react-server-dom-webpack: #β40356
- Fix flight manifest to include all chunks: #β40365
- docs: fix typos: #β40342
- Fix page url for edge routes in app dir: #β40361
- Subresource Integrity for App Directory: #β39729
- Stop build warning about
experimental: { esmExternals: 'loose' }
: #β40377 - Add template and error file types: #β39808
- Bump styled-jsx for showing displayName: #β40411
- fix(#β40388):
next/dynamic
should only add default loading without suspense: #β40397 - Add missing trace for full reload event: #β40393
- feat(ts): expose
AppType
: #β40391 - Update dev watcher to ignore more accurately: #β40412
- Add failing case for location throw: #β40445
- Drop legacy RSC handling in client for pages: #β40472
- fix: eslint no-script-component-in-head error url: #β40422
- chore: Update swc: #β40292
- feat(edge): allows configuring Dynamic code execution guard: #β39539
- Rename allowDynamic to unstable_allowDynamic: #β40496
- Don't execute prefetches for bot user agents: #β40435
- Update semver of eslint-plugin-react: #β40246
- Clean up startTransition in Link: #β40505
- docs(README): next.js logo with dark mode: #β40223
- Passing down original sourcemap for flight client loader: #β40508
- next/script: make
onLoad
concurrent rendering resilient: #β40191 - chore: Update swc: #β40520
- Add missing feature in next-swc: #β40550
- Mask Flight Parameters from Middleware: #β39939
- Unwrap promise with experimental_use: #β40575
- fix(next/router): Prevent query delete in routing when next.config basePath option is truthy: #β40566
- fix(image): handle image imports with high aspect ratio: #β40563
- fix: loosen webpack compilation with
fallbackNodePolyfills: false
: #β40612 - Adding experimentalAdjustFallback feature to font optimization: #β40185
- fix: handle
notFound: true
in/
withnext export
: #β40592 - refactor: split up
CONTRIBUTING.md
: #β40515 - Implement SWC transformer for server and client graphs: #β40603
- Fix edge wasm handling during deploy: #β40625
- Client directive: #β40415
- Remove internal client next api detection: #β40646
- Attach module trace for RSC related errors: #β40652
- Use createFromFetch instead of createFromReadableStream to fetch Flight: #β40656
- Change Flight response content type to application/octet-stream: #β40665
- Send web vitals to Vercel analytics in app: #β40669
- Refactor fetchServerResponse: #β40674
- Port page and layout level API assertions to SWC transform: #β40653
- Ensure smooth scroll is disabled for navigation in new and existing router: #β40642
- Upgrade to latest React experimental: #β40672
- Refine error messages: #β40661
- Incldue styled-jsx in swc compiling: #β40679
- misc: update caniuse-lite to latest: #β40680
- Remove non existed exports and files: #β40685
- fix(image): preload should respect crossOrigin: #β40676
- Add handling for static generation in app: #β40561
- Avoid direct React client API imports in the server graph: #β40686
- Drop legacy RSC server and client extension: #β40692
Documentation Changes
- docs: fix middleware path: #β40340
- Fix mdx docs: #β40402
- Update Server Components documentation.: #β40452
- docs: move
swcMinify: true
out of "Experimental features" section: #β40394 - Clarify use of
loading
property: #β40488 - docs(errors/large-page-data): how to see data being passed to page: #β40491
- docs(basic-features/script): update script version history: #β40263
- Added "negative matcher" documentation: #β40282
- Fix a typo in docs: #β40501
Example Changes
- chore: fix examples: #β40395
- chore(examples): update turborepo examples link: #β40487
- update(examples): Emotion modules: #β40242
- Added comments to middleware-matcher example: #β40273
- Remove legacy mobx example: #β40304
- Update cms-makeswift example: #β40560
- Fixed typo: #β40608
- Revert "Fixed typo": #β40623
- chore: Migrate with-prefetching example to typescript: #β40671
- chore: Refactor active-class-name example: #β40670
- docs(examples): fix error connection handling: #β40633
Misc Changes
- Temporarily disable unstable app test: #β40408
- docs(middleware): fix broken link
- chore: use
link:
instead offile:
in CONTRIBUTING.md: #β40510 - add BalΓ‘zs as codeowner to
/errors/
directory - fix(cli): tune filter for extracting example
.tar
: #β40513 - Add additional tests for prefetch and trailingSlash: #β40517
- Wrap parallel routes tests in describe: #β40546
- fix(#β40025): run
next/script
beforeInteractive test in both dev & prod: #β40541
Credits
Huge thanks to @βhuozhi, @βshuding, @βijjk, @βjasham, @βKikobeats, @βwyattjoh, @βrubytree33, @βtimneutkens, @βbalazsorban44, @βandrewrjohn, @βSukkaW, @βhanneslund, @βleerob, @βDjo1e, @βkdy1, @βmsafi, @βtknickman, @βfeugy, @βcramforce, @βryparker, @βvictorboucher, @βsteven-tey, @βJDansercoer, @βjanklimo, @βhiro0218, @βHaNdTriX, @βmigueloller, @βflex-kyunghwa, @βsaalimzafar, @βalxhotel, @βjanicklas-ralph, @βfeedthejim, and @βchornos13 for helping!
vercel/next.js (eslint-config-next)
v12.3.4
v12.3.3
v12.3.2
v12.3.1
Core Changes
- Update react-server-dom-webpack: #β40356
- Fix flight manifest to include all chunks: #β40365
- docs: fix typos: #β40342
- Fix page url for edge routes in app dir: #β40361
- Subresource Integrity for App Directory: #β39729
- Stop build warning about
experimental: { esmExternals: 'loose' }
: #β40377 - Add template and error file types: #β39808
- Bump styled-jsx for showing displayName: #β40411
- fix(#β40388):
next/dynamic
should only add default loading without suspense: #β40397 - Add missing trace for full reload event: #β40393
- feat(ts): expose
AppType
: #β40391 - Update dev watcher to ignore more accurately: #β40412
- Add failing case for location throw: #β40445
- Drop legacy RSC handling in client for pages: #β40472
- fix: eslint no-script-component-in-head error url: #β40422
- chore: Update swc: #β40292
- feat(edge): allows configuring Dynamic code execution guard: #β39539
- Rename allowDynamic to unstable_allowDynamic: #β40496
- Don't execute prefetches for bot user agents: #β40435
- Update semver of eslint-plugin-react: #β40246
- Clean up startTransition in Link: #β40505
- docs(README): next.js logo with dark mode: #β40223
- Passing down original sourcemap for flight client loader: #β40508
- next/script: make
onLoad
concurrent rendering resilient: #β40191 - chore: Update swc: #β40520
- Add missing feature in next-swc: #β40550
- Mask Flight Parameters from Middleware: #β39939
- Unwrap promise with experimental_use: #β40575
- fix(next/router): Prevent query delete in routing when next.config basePath option is truthy: #β40566
- fix(image): handle image imports with high aspect ratio: #β40563
- fix: loosen webpack compilation with
fallbackNodePolyfills: false
: #β40612 - Adding experimentalAdjustFallback feature to font optimization: #β40185
- fix: handle
notFound: true
in/
withnext export
: #β40592 - refactor: split up
CONTRIBUTING.md
: #β40515 - Implement SWC transformer for server and client graphs: #β40603
- Fix edge wasm handling during deploy: #β40625
- Client directive: #β40415
- Remove internal client next api detection: #β40646
- Attach module trace for RSC related errors: #β40652
- Use createFromFetch instead of createFromReadableStream to fetch Flight: #β40656
- Change Flight response content type to application/octet-stream: #β40665
- Send web vitals to Vercel analytics in app: #β40669
- Refactor fetchServerResponse: #β40674
- Port page and layout level API assertions to SWC transform: #β40653
- Ensure smooth scroll is disabled for navigation in new and existing router: #β40642
- Upgrade to latest React experimental: #β40672
- Refine error messages: #β40661
- Incldue styled-jsx in swc compiling: #β40679
- misc: update caniuse-lite to latest: #β40680
- Remove non existed exports and files: #β40685
- fix(image): preload should respect crossOrigin: #β40676
- Add handling for static generation in app: #β40561
- Avoid direct React client API imports in the server graph: #β40686
- Drop legacy RSC server and client extension: #β40692
Documentation Changes
- docs: fix middleware path: #β40340
- Fix mdx docs: #β40402
- Update Server Components documentation.: #β40452
- docs: move
swcMinify: true
out of "Experimental features" section: #β40394 - Clarify use of
loading
property: #β40488 - docs(errors/large-page-data): how to see data being passed to page: #β40491
- docs(basic-features/script): update script version history: #β40263
- Added "negative matcher" documentation: #β40282
- Fix a typo in docs: #β40501
Example Changes
- chore: fix examples: #β40395
- chore(examples): update turborepo examples link: #β40487
- update(examples): Emotion modules: #β40242
- Added comments to middleware-matcher example: #β40273
- Remove legacy mobx example: #β40304
- Update cms-makeswift example: #β40560
- Fixed typo: #β40608
- Revert "Fixed typo": #β40623
- chore: Migrate with-prefetching example to typescript: #β40671
- chore: Refactor active-class-name example: #β40670
- docs(examples): fix error connection handling: #β40633
Misc Changes
- Temporarily disable unstable app test: #β40408
- docs(middleware): fix broken link
- chore: use
link:
instead offile:
in CONTRIBUTING.md: #β40510 - add BalΓ‘zs as codeowner to
/errors/
directory - fix(cli): tune filter for extracting example
.tar
: #β40513 - Add additional tests for prefetch and trailingSlash: #β40517
- Wrap parallel routes tests in describe: #β40546
- fix(#β40025): run
next/script
beforeInteractive test in both dev & prod: #β40541
Credits
Huge thanks to @βhuozhi, @βshuding, @βijjk, @βjasham, @βKikobeats, @βwyattjoh, @βrubytree33, @βtimneutkens, @βbalazsorban44, @βandrewrjohn, @βSukkaW, @βhanneslund, @βleerob, @βDjo1e, @βkdy1, @βmsafi, @βtknickman, @βfeugy, @βcramforce, @βryparker, @βvictorboucher, @βsteven-tey, @βJDansercoer, @βjanklimo, @βhiro0218, @βHaNdTriX, @βmigueloller, @βflex-kyunghwa, @βsaalimzafar, @βalxhotel, @βjanicklas-ralph, @βfeedthejim, and @βchornos13 for helping!
v12.3.0
Core Changes
- Refactor client entry plugin to separate methods.: #β39162
- Eliminate path polyfill and incremental-cache from base server: #β39548
- Remove precopied styled-jsx: #β39520
- Refactor handling of addPageEntry promise: #β39547
- Support multiple flush effects: #β39559
- Eliminate Amp in Edge runtime: #β39560
- Rename page -> entry in on-demand-entry-handler: #β39564
- Update .env HMR handling: #β39566
- Fix failing switchable runtime deploy test: #β39579
- Fix Edge SSR routes: #β39594
- Support tsconfig paths without baseurl: #β34926
- Enable @βtypescript-eslint/no-use-before-define for functions: #β39602
- Remove minify: false for webpack5 bundle: #β39620
- Next Server code refactoring: #β39591
- Eliminate path and utils from base server: #β39622
- Remove webpack4 types: #β39631
- Enable additional TypeScript ESLint rules: #β39640
- fix(next/dynamic): handle template literal import path: #β39623
- Add comment on slash normalizing in server: #β39653
- Refactor base server: #β39649
- Add separate entry per layout/page.: #β39611
- fix(next-server): Fix priority for edge routes : #β39462
- Add todo for dependsOn: #β39677
- Improved server CSS handling: #β39664
- feat(next-swc): Update swc: #β39499
- fix next-app-loader on windows: #β39657
- fix(swc/emotion): Correct the
SPACE_AROUND_COLON
regex: #β39710 - fix(#β39609): warns about suspense and ssr: #β39676
- Use realpath when emitting traced package.json: #β39683
- fix(#β39706): add avif support for node serve static: #β39733
- fix(next): Do not display message when middleware is removed on dev mode: #β39604
- refactor(portal): remove useRef from portal component: #β39792
- refactor(use-intersection): remove useRef usage: #β39791
- allow Edge Functions to stream a compressed
fetch
response: #β39608 - fix meaninglessFileNames type in compiler options schema: #β39698
- build: upgrade edge-runtime: #β39749
- Update stalled ensure log to use debug instead: #β39826
- Skip building /500 in dev mode: #β39828
- Fix
onError
handling innext/future/image
: #β39824 - Improve error message on
next/future/image
whenobjectFit
orobjectPosition
: #β39614 - Refactor client CSS imports: #β39758
- Ensure moduleResolution is written correctly: #β39836
- Fix disposing active entries in dev compilers: #β39845
- fix(#β39807): ignore width/height from webpack with "fill": #β39849
- Add handling for auto installing TypeScript deps and HMRing tsconfig: #β39838
- Remove eslint warning when no eslint config is present: #β39872
- feat(next/swc): enable wasm first binding load for the platforms: #β38883
- Fix
next/future/image
blur-up placeholder : #β39785 - Fix runLintCheck during build: #β39883
- Skip auto-install for missing deps in CI: #β39882
- Remove un-necessary internal jest-worker error during ts/lint error: #β39886
- Bump
@vercel/nft@0.22.0
: #β39906 - Handle edge runtime for app: #β39910
- build: upgrade edge-runtime: #β39898
- HMR for client CSS imports: #β39916
- fix(ts): use
AppProps
's generic forpageProps
: #β38867 - Treat non page file as non route under app dir: #β39976
- Fix
next/future/image
incorrectly warning forfill
+blur
: #β39986 - Ensure prefetch heuristic matches with and without middleware: #β39920
- feat: add
experimental.fallbackNodePolyfills
flag: #β39248 - Fix incorrect build log for moduleResolution: #β39991
- fix(#β39993): avoid race condition for next/script onReady: #β40002
- Avoid bundling
next/script
in the server build by default: #β40013 - Handle async module for client components: #β39953
- Upgrade typescript to 4.8.2: #β39979
- Remove Unused SQLite file: #β40056
- Update
next/future/image
to use svg blur placeholder duringnext dev
: #β39992 - Remove
<noscript>
fromnext/future/image
: #β40075 - Fix
filePath
being wrongly stringified: #β40070 - Refactor Server Router: #β39902
- Update to detect GSSP with edge runtime during build: #β40076
- Fix handling with custom _error and pages/500: #β40110
- Fix edge rewrite handling: #β40115
- Error for ssg and ssr exports from client components in build time: #β40106
- feat(next): Support has match and locale option on middleware config: #β39257
- Change
alt
to required innext/future/image
: #β40136 - Allow port 0 in
next dev
andnext start
: #β40118 - Update to stable:
next/future/image
,remotePatterns
,unoptimized
: #β40142 - fix(#β40066): preserve error status code from serveStatic: #β40128
- fix: detect ESLint config in package.json: #β40158
- ignore EEXIST errors when creating symlinks for output standalone: #β40150
- Bump
@vercel/nft@0.22.1
: #β40164 - Bump styled-jsx: #β40165
- Match data fetch and busting cache key when path URI encodes: #β39568
- Updating the Next.js Logo: #β40181
- next/script: simplify logic and update tests: #β40026
- Bypass empty pages folder for layouts: #β40132
- chore: Update swc: #β39965
- Fix styled-jsx macro imports: #β40234
- Ensure path can be specified for clearPreviewData: #β40238
- fix: apply default export interop to
next/config
: #β40224 - Improved route resolution in next-app-loader: #β40109
- Add prefetch to new router: #β39866
- Update
next/future/image
to support onlywidth
or onlyheight
: #β40278 - Add experimental proxy timeout option: #β40289
- Fix static info parsing when export data fetching method as variable: #β40317
- fix(switchable-runtime): make dev server not break when wrong runtime config is exported: #β40312
- Revert "Refactor Server Router": #β40328
- fix(switchable-runtime): Make it possible to switch between edge and server runtime in dev: #β39327
- Revert "Revert "Refactor Server Router" (#β40328)" : #β40333
- refactor(next/swc): remove unnecessary field in
RemoveConsole
: #β40296 - [edge] fix URLSearchParams lacking data from rewrite: #β40260
- fix(lint): disable
react/no-unknown-property
: #β40331 - Update
onLoadingComplete
fornext/future/image
to receive reference to<img>
: #β40326 - Remove warning for swcMinify being enabled: #β40359
Documentation Changes
- docs: Rename API middlewares title in sidebar: #β39534
- [docs] Avoid next config validation warning: #β39554
- Update strategies count to 4: #β39610
- Change the React Server Components CTA to the router/layout RFC: #β39724
- Add section to
next/future/image
docs about Known Browser Bugs: #β39759 - Update next.js.configs line number: #β39802
- Add note about using the /_error page directly to custom error page article: #β39671
- Typescript Documentation Improvement for Persistent Layouts: #β33659
- Add clarity in docs for using
exportPathMap
withgetStaticPaths
: #β39813 - Update links to point to more accurate docs: #β39818
- Update docs
next/future/image
with details about computed aspect ratio: #β39829 - Mention router.isPreview on Preview Mode page: #β39830
- doc: improve a word client side rendering: #β39771
- Docs: Updated note about using next/head in basic-features/font-optimization: #β39863
- [docs] Fixed 404 links to Layouts RFC blog post: #β39937
- Adds note about custom server requirements: #β39931
- fix hash-link: #β39929
- Mention
largePageDataBytes
in warning docs: #β39941 - Update Font Optimization docs: #β39950
- [docs] Update UTM params of some links: #β39951
- Revert "Adds note about custom server requirements": #β39956
- Update image.md: #β39984
- Update
script.md
: #β40017 - [docs] Add precision about
pageExtensions
: #β40016 - Update debugging.md (--dev -> --save-dev for npm): #β39998
- docs(testing): add JSDoc typing in
jest.config.js
: #β40090 - docs(image): Use hook inside of function component: #β40096
- docs(security-headers): interest-cohort has been replaced by browsing-topics: #β40113
- [docs] Functional syntax for _document example in Basic Features: Font Optimization: #β40140
- Fix typo in error/middleware-upgrade-guide.md: #β40176
- docs: documents middleware matcher: #β40180
- docs: update get-static-paths.md: #β40205
- Change image sizes docs to use em instead of px: #β40288
- Change sizes docs to use max-width in media query: #β40290
- docs: fix numbering in middleware docs: #β40276
- Update docs for
remotePatterns
image config: #β40350 - docs: fix typo: #β40354
Example Changes
- docs(examples): use vercel integration in cms-sanity: #β39323
- Typo : #β39596
- Update Convex Example: #β39562
- Update with-loading example: #β39646
- [Docs] Update with-slate example: #β39639
- Tweak Convex example: #β39739
- examples/with-redux-thunk , update README (#β39555): #β39712
- [Docs] Update mongodb example: #β39658
- Convert with-goober example to TS: #β39761
- [docs] Migrate dynamic routing example to typescript: #β39806
- Remove unnecessary type reference in Vitest example: #β39819
- Update cms-makeswift example: #β39834
- Migrate data-fetch example to typescript: #β39852
- [Docs] Update examples to favour functional _document: #β39871
- chore(with-docker): don't copy package.json twice: #β39896
- Prefer function _app component in examples: #β39967
- Migrate with-xstate to typescript: #β39974
- Use Font Optimization in examples: #β39977
- Add local setup info in the with-supabase-auth-realtime-db example's README: #β40030
- Remove semi in Convex example: #β40052
- Refactored the with-supertokens example to use typescript: #β39987
- Add config types to all examples: #β40083
- adding with-axiom example: #β38300
- Update Convex example to convex 0.1.9: #β40162
- Remove extra "d" in comment: #β40212
- fix(examples/with-styled-components-babel): list should have unique key: #β40215
- Migrate image-component example to typescript: #β40204
- ref(with-sentry example): Explicitly set
hideSourceMaps
: #β40079 - Update next-forms example: #β40284
- Migrate with-context-api example to typescript: #β40297
- Migrate with-react-jss to typescript: #β40308
- Update react-remove-properties example: #β40307
- Migrate using-preact example to typescript: #β40295
- added type to clientPromise in with-mongodb/lib: #β40339
- Remove babel from custom-server-typescript example: #β40309
- Merge with-mobx-state-tree with with-mobx-state-tree-typescript example: #β40306
- Fix
image-component
example types: #β40352
Misc Changes
- Fix preinstall failed in yarn@1.x on FreeBSD with npm@8.17: #β39529
- Add edge ssr to pr stats: #β39621
- Update test failure logging : #β39655
- Update image tests files from *.js to *.ts: #β39663
- fix(create-app): support github url has trailing slash: #β39665
- Update contributing.md : #β39767
- Update ubuntu CI version due to deprecation: #β39817
- Leverage VERCEL_CLI_VERSION env for deploy tests: #β39823
- Update flakey relay analytics test: #β39877
- Added tests for next/router in app directory: #β39867
- Fix failing e2e getServerSideProps test: #β39885
- Add path to export-page: #β39893
- Fix rsc basic e2e test on deploy: #β39905
- test: merge edge ssr tests: #β39924
- chore: check against
npm
version in issue validator: #β38915 - Increase test concurrency: #β39922
- Fix passing VERCEL_CLI_VERSION env for deploy tests: #β39946
- test: pin typescript version to 4.7: #β39978
- (next/mdx) set providerImportSource to react by default: #β39954
- Add test for server CSS imports: #β40019
- Update docker image for stats action: #β40032
- Update flakey tsconfig test: #β40105
- fix: scripts comment typos: #β40207
- fix(cli): do not throw error when extracting examples in Node 18+: #β40182
- Update to use specific swc version for MR stats: #β40237
- fix(cli): delete temp file after extraction: #β40259
- Fix test hydration check in Safari 10.1: #β40285
- chore: turn off debug mode on issue validator: #β40301
- Update README.md
Credits
Huge thanks to @βstipsan, @βijjk, @βtimneutkens, @βbennettdams, @βshuding, @βcherniavskii, @βhuozhi, @βBrooooooklyn, @βthatbeautifuldream, @βJanpot, @βMoosaSaadat, @βalexcole, @βHaNdTriX, @βmagic-akari, @βbalazsorban44, @βstyfle, @βSukkaW, @βkdy1, @βsokra, @βdelbaoliveira, @βpuneetkathar1, @βnkzawa, @βSchniz, @βgreebl3, @βkasperaamodt, @βchaseignited, @βmasad-frost, @βKikobeats, @βdavewelsh, @βMaedahBatool, @βadrianbienias, @βmichaeloliverx, @βarthurdenner, @βsumiren, @βmigueloller, @βhanneslund, @βwyattjoh, @βkwonoj, @βboredland, @βsimongavelin, @βesbenam, @βtheMosaad, @βjleclanche, @βleerob, @βAdilAmanat, @βsouporserious, @βykdojo, @βsanjaiyan-dev, @βyoannmoinet, @βthomasballinger, @βtitusdmoore, @βjferrettiboke, @βDueen, @βdunglas, @βKenAKAFrosty, @βwbinnssmith, @βschehata, @βremorses, @βvisnup, @βNutlope, @βyhay81, @βhiro0218, @βavigoldman, @βfeugy, @βjeferson-sb, @βlobsterkatie, @βatcastle, @βbcheidemann, @βWill956, @βorionmiz, @βS0UPernova, @βcvbuelow, and @βleonzalion for helping!
v12.2.6
vercel/next.js (next)
v12.3.4
v12.3.3
v12.3.2
v12.3.1
Core Changes
- Update react-server-dom-webpack: #β40356
- Fix flight manifest to include all chunks: #β40365
- docs: fix typos: #β40342
- Fix page url for edge routes in app dir: #β40361
- Subresource Integrity for App Directory: #β39729
- Stop build warning about
experimental: { esmExternals: 'loose' }
: #β40377 - Add template and error file types: #β39808
- Bump styled-jsx for showing displayName: #β40411
- fix(#β40388):
next/dynamic
should only add default loading without suspense: #β40397 - Add missing trace for full reload event: #β40393
- feat(ts): expose
AppType
: #β40391 - Update dev watcher to ignore more accurately: #β40412
- Add failing case for location throw: #β40445
- Drop legacy RSC handling in client for pages: #β40472
- fix: eslint no-script-component-in-head error url: #β40422
- chore: Update swc: #β40292
- feat(edge): allows configuring Dynamic code execution guard: #β39539
- Rename allowDynamic to unstable_allowDynamic: #β40496
- Don't execute prefetches for bot user agents: #β40435
- Update semver of eslint-plugin-react: #β40246
- Clean up startTransition in Link: #β40505
- docs(README): next.js logo with dark mode: #β40223
- Passing down original sourcemap for flight client loader: #β40508
- next/script: make
onLoad
concurrent rendering resilient: #β40191 - chore: Update swc: #β40520
- Add missing feature in next-swc: #β40550
- Mask Flight Parameters from Middleware: #β39939
- Unwrap promise with experimental_use: #β40575
- fix(next/router): Prevent query delete in routing when next.config basePath option is truthy: #β40566
- fix(image): handle image imports with high aspect ratio: #β40563
- fix: loosen webpack compilation with
fallbackNodePolyfills: false
: #β40612 - Adding experimentalAdjustFallback feature to font optimization: #β40185
- fix: handle
notFound: true
in/
withnext export
: #β40592 - refactor: split up
CONTRIBUTING.md
: #β40515 - Implement SWC transformer for server and client graphs: #β40603
- Fix edge wasm handling during deploy: #β40625
- Client directive: #β40415
- Remove internal client next api detection: #β40646
- Attach module trace for RSC related errors: #β40652
- Use createFromFetch instead of createFromReadableStream to fetch Flight: #β40656
- Change Flight response content type to application/octet-stream: #β40665
- Send web vitals to Vercel analytics in app: #β40669
- Refactor fetchServerResponse: #β40674
- Port page and layout level API assertions to SWC transform: #β40653
- Ensure smooth scroll is disabled for navigation in new and existing router: #β40642
- Upgrade to latest React experimental: #β40672
- Refine error messages: #β40661
- Incldue styled-jsx in swc compiling: #β40679
- misc: update caniuse-lite to latest: #β40680
- Remove non existed exports and files: #β40685
- fix(image): preload should respect crossOrigin: #β40676
- Add handling for static generation in app: #β40561
- Avoid direct React client API imports in the server graph: #β40686
- Drop legacy RSC server and client extension: #β40692
Documentation Changes
- docs: fix middleware path: #β40340
- Fix mdx docs: #β40402
- Update Server Components documentation.: #β40452
- docs: move
swcMinify: true
out of "Experimental features" section: #β40394 - Clarify use of
loading
property: #β40488 - docs(errors/large-page-data): how to see data being passed to page: #β40491
- docs(basic-features/script): update script version history: #β40263
- Added "negative matcher" documentation: #β40282
- Fix a typo in docs: #β40501
Example Changes
- chore: fix examples: #β40395
- chore(examples): update turborepo examples link: #β40487
- update(examples): Emotion modules: #β40242
- Added comments to middleware-matcher example: #β40273
- Remove legacy mobx example: #β40304
- Update cms-makeswift example: #β40560
- Fixed typo: #β40608
- Revert "Fixed typo": #β40623
- chore: Migrate with-prefetching example to typescript: #β40671
- chore: Refactor active-class-name example: #β40670
- docs(examples): fix error connection handling: #β40633
Misc Changes
- Temporarily disable unstable app test: #β40408
- docs(middleware): fix broken link
- chore: use
link:
instead offile:
in CONTRIBUTING.md: #β40510 - add BalΓ‘zs as codeowner to
/errors/
directory - fix(cli): tune filter for extracting example
.tar
: #β40513 - Add additional tests for prefetch and trailingSlash: #β40517
- Wrap parallel routes tests in describe: #β40546
- fix(#β40025): run
next/script
beforeInteractive test in both dev & prod: #β40541
Credits
Huge thanks to @βhuozhi, @βshuding, @βijjk, @βjasham, @βKikobeats, @βwyattjoh, @βrubytree33, @βtimneutkens, @βbalazsorban44, @βandrewrjohn, @βSukkaW, @βhanneslund, @βleerob, @βDjo1e, @βkdy1, @βmsafi, @βtknickman, @βfeugy, @βcramforce, @βryparker, @βvictorboucher, @βsteven-tey, @βJDansercoer, @βjanklimo, @βhiro0218, @βHaNdTriX, @βmigueloller, @βflex-kyunghwa, @βsaalimzafar, @βalxhotel, @βjanicklas-ralph, @βfeedthejim, and @βchornos13 for helping!
v12.3.0
Core Changes
- Refactor client entry plugin to separate methods.: #β39162
- Eliminate path polyfill and incremental-cache from base server: #β39548
- Remove precopied styled-jsx: #β39520
- Refactor handling of addPageEntry promise: #β39547
- Support multiple flush effects: #β39559
- Eliminate Amp in Edge runtime: #β39560
- Rename page -> entry in on-demand-entry-handler: #β39564
- Update .env HMR handling: #β39566
- Fix failing switchable runtime deploy test: #β39579
- Fix Edge SSR routes: #β39594
- Support tsconfig paths without baseurl: #β34926
- Enable @βtypescript-eslint/no-use-before-define for functions: #β39602
- Remove minify: false for webpack5 bundle: #β39620
- Next Server code refactoring: #β39591
- Eliminate path and utils from base server: #β39622
- Remove webpack4 types: #β39631
- Enable additional TypeScript ESLint rules: #β39640
- fix(next/dynamic): handle template literal import path: #β39623
- Add comment on slash normalizing in server: #β39653
- Refactor base server: #β39649
- Add separate entry per layout/page.: #β39611
- fix(next-server): Fix priority for edge routes : #β39462
- Add todo for dependsOn: #β39677
- Improved server CSS handling: #β39664
- feat(next-swc): Update swc: #β39499
- fix next-app-loader on windows: #β39657
- fix(swc/emotion): Correct the
SPACE_AROUND_COLON
regex: #β39710 - fix(#β39609): warns about suspense and ssr: #β39676
- Use realpath when emitting traced package.json: #β39683
- fix(#β39706): add avif support for node serve static: #β39733
- fix(next): Do not display message when middleware is removed on dev mode: #β39604
- refactor(portal): remove useRef from portal component: #β39792
- refactor(use-intersection): remove useRef usage: #β39791
- allow Edge Functions to stream a compressed
fetch
response: #β39608 - fix meaninglessFileNames type in compiler options schema: #β39698
- build: upgrade edge-runtime: #β39749
- Update stalled ensure log to use debug instead: #β39826
- Skip building /500 in dev mode: #β39828
- Fix
onError
handling innext/future/image
: #β39824 - Improve error message on
next/future/image
whenobjectFit
orobjectPosition
: #β39614 - Refactor client CSS imports: #β39758
- Ensure moduleResolution is written correctly: #β39836
- Fix disposing active entries in dev compilers: #β39845
- fix(#β39807): ignore width/height from webpack with "fill": #β39849
- Add handling for auto installing TypeScript deps and HMRing tsconfig: #β39838
- Remove eslint warning when no eslint config is present: #β39872
- feat(next/swc): enable wasm first binding load for the platforms: #β38883
- Fix
next/future/image
blur-up placeholder : #β39785 - Fix runLintCheck during build: #β39883
- Skip auto-install for missing deps in CI: #β39882
- Remove un-necessary internal jest-worker error during ts/lint error: #β39886
- Bump
@vercel/nft@0.22.0
: #β39906 - Handle edge runtime for app: #β39910
- build: upgrade edge-runtime: #β39898
- HMR for client CSS imports: #β39916
- fix(ts): use
AppProps
's generic forpageProps
: #β38867 - Treat non page file as non route under app dir: #β39976
- Fix
next/future/image
incorrectly warning forfill
+blur
: #β39986 - Ensure prefetch heuristic matches with and without middleware: #β39920
- feat: add
experimental.fallbackNodePolyfills
flag: #β39248 - Fix incorrect build log for moduleResolution: #β39991
- fix(#β39993): avoid race condition for next/script onReady: #β40002
- Avoid bundling
next/script
in the server build by default: #β40013 - Handle async module for client components: #β39953
- Upgrade typescript to 4.8.2: #β39979
- Remove Unused SQLite file: #β40056
- Update
next/future/image
to use svg blur placeholder duringnext dev
: #β39992 - Remove
<noscript>
fromnext/future/image
: #β40075 - Fix
filePath
being wrongly stringified: #β40070 - Refactor Server Router: #β39902
- Update to detect GSSP with edge runtime during build: #β40076
- Fix handling with custom _error and pages/500: #β40110
- Fix edge rewrite handling: #β40115
- Error for ssg and ssr exports from client components in build time: #β40106
- feat(next): Support has match and locale option on middleware config: #β39257
- Change
alt
to required innext/future/image
: #β40136 - Allow port 0 in
next dev
andnext start
: #β40118 - Update to stable:
next/future/image
,remotePatterns
,unoptimized
: #β40142 - fix(#β40066): preserve error status code from serveStatic: #β40128
- fix: detect ESLint config in package.json: #β40158
- ignore EEXIST errors when creating symlinks for output standalone: #β40150
- Bump
@vercel/nft@0.22.1
: #β40164 - Bump styled-jsx: #β40165
- Match data fetch and busting cache key when path URI encodes: #β39568
- Updating the Next.js Logo: #β40181
- next/script: simplify logic and update tests: #β40026
- Bypass empty pages folder for layouts: #β40132
- chore: Update swc: #β39965
- Fix styled-jsx macro imports: #β40234
- Ensure path can be specified for clearPreviewData: #β40238
- fix: apply default export interop to
next/config
: #β40224 - Improved route resolution in next-app-loader: #β40109
- Add prefetch to new router: #β39866
- Update
next/future/image
to support onlywidth
or onlyheight
: #β40278 - Add experimental proxy timeout option: #β40289
- Fix static info parsing when export data fetching method as variable: #β40317
- fix(switchable-runtime): make dev server not break when wrong runtime config is exported: #β40312
- Revert "Refactor Server Router": #β40328
- fix(switchable-runtime): Make it possible to switch between edge and server runtime in dev: #β39327
- Revert "Revert "Refactor Server Router" (#β40328)" : #β40333
- refactor(next/swc): remove unnecessary field in
RemoveConsole
: #β40296 - [edge] fix URLSearchParams lacking data from rewrite: #β40260
- fix(lint): disable
react/no-unknown-property
: #β40331 - Update
onLoadingComplete
fornext/future/image
to receive reference to<img>
: #β40326 - Remove warning for swcMinify being enabled: #β40359
Documentation Changes
- docs: Rename API middlewares title in sidebar: #β39534
- [docs] Avoid next config validation warning: #β39554
- Update strategies count to 4: #β39610
- Change the React Server Components CTA to the router/layout RFC: #β39724
- Add section to
next/future/image
docs about Known Browser Bugs: #β39759 - Update next.js.configs line number: #β39802
- Add note about using the /_error page directly to custom error page article: #β39671
- Typescript Documentation Improvement for Persistent Layouts: #β33659
- Add clarity in docs for using
exportPathMap
withgetStaticPaths
: #β39813 - Update links to point to more accurate docs: #β39818
- Update docs
next/future/image
with details about computed aspect ratio: #β39829 - Mention router.isPreview on Preview Mode page: #β39830
- doc: improve a word client side rendering: #β39771
- Docs: Updated note about using next/head in basic-features/font-optimization: #β39863
- [docs] Fixed 404 links to Layouts RFC blog post: #β39937
- Adds note about custom server requirements: #β39931
- fix hash-link: #β39929
- Mention
largePageDataBytes
in warning docs: #β39941 - Update Font Optimization docs: #β39950
- [docs] Update UTM params of some links: #β39951
- Revert "Adds note about custom server requirements": #β39956
- Update image.md: #β39984
- Update
script.md
: #β40017 - [docs] Add precision about
pageExtensions
: #β40016 - Update debugging.md (--dev -> --save-dev for npm): #β39998
- docs(testing): add JSDoc typing in
jest.config.js
: #β40090 - docs(image): Use hook inside of function component: #β40096
- docs(security-headers): interest-cohort has been replaced by browsing-topics: #β40113
- [docs] Functional syntax for _document example in Basic Features: Font Optimization: #β40140
- Fix typo in error/middleware-upgrade-guide.md: #β40176
- docs: documents middleware matcher: #β40180
- docs: update get-static-paths.md: #β40205
- Change image sizes docs to use em instead of px: #β40288
- Change sizes docs to use max-width in media query: #β40290
- docs: fix numbering in middleware docs: #β40276
- Update docs for
remotePatterns
image config: #β40350 - docs: fix typo: #β40354
Example Changes
- docs(examples): use vercel integration in cms-sanity: #β39323
- Typo : #β39596
- Update Convex Example: #β39562
- Update with-loading example: #β39646
- [Docs] Update with-slate example: #β39639
- Tweak Convex example: #β39739
- examples/with-redux-thunk , update README (#β39555): #β39712
- [Docs] Update mongodb example: #β39658
- Convert with-goober example to TS: #β39761
- [docs] Migrate dynamic routing example to typescript: #β39806
- Remove unnecessary type reference in Vitest example: #β39819
- Update cms-makeswift example: #β39834
- Migrate data-fetch example to typescript: #β39852
- [Docs] Update examples to favour functional _document: #β39871
- chore(with-docker): don't copy package.json twice: #β39896
- Prefer function _app component in examples: #β39967
- Migrate with-xstate to typescript: #β39974
- Use Font Optimization in examples: #β39977
- Add local setup info in the with-supabase-auth-realtime-db example's README: #β40030
- Remove semi in Convex example: #β40052
- Refactored the with-supertokens example to use typescript: #β39987
- Add config types to all examples: #β40083
- adding with-axiom example: #β38300
- Update Convex example to convex 0.1.9: #β40162
- Remove extra "d" in comment: #β40212
- fix(examples/with-styled-components-babel): list should have unique key: #β40215
- Migrate image-component example to typescript: #β40204
- ref(with-sentry example): Explicitly set
hideSourceMaps
: #β40079 - Update next-forms example: #β40284
- Migrate with-context-api example to typescript: #β40297
- Migrate with-react-jss to typescript: #β40308
- Update react-remove-properties example: #β40307
- Migrate using-preact example to typescript: #β40295
- added type to clientPromise in with-mongodb/lib: #β40339
- Remove babel from custom-server-typescript example: #β40309
- Merge with-mobx-state-tree with with-mobx-state-tree-typescript example: #β40306
- Fix
image-component
example types: #β40352
Misc Changes
- Fix preinstall failed in yarn@1.x on FreeBSD with npm@8.17: #β39529
- Add edge ssr to pr stats: #β39621
- Update test failure logging : #β39655
- Update image tests files from *.js to *.ts: #β39663
- fix(create-app): support github url has trailing slash: #β39665
- Update contributing.md : #β39767
- Update ubuntu CI version due to deprecation: #β39817
- Leverage VERCEL_CLI_VERSION env for deploy tests: #β39823
- Update flakey relay analytics test: #β39877
- Added tests for next/router in app directory: #β39867
- Fix failing e2e getServerSideProps test: #β39885
- Add path to export-page: #β39893
- Fix rsc basic e2e test on deploy: #β39905
- test: merge edge ssr tests: #β39924
- chore: check against
npm
version in issue validator: #β38915 - Increase test concurrency: #β39922
- Fix passing VERCEL_CLI_VERSION env for deploy tests: #β39946
- test: pin typescript version to 4.7: #β39978
- (next/mdx) set providerImportSource to react by default: #β39954
- Add test for server CSS imports: #β40019
- Update docker image for stats action: #β40032
- Update flakey tsconfig test: #β40105
- fix: scripts comment typos: #β40207
- fix(cli): do not throw error when extracting examples in Node 18+: #β40182
- Update to use specific swc version for MR stats: #β40237
- fix(cli): delete temp file after extraction: #β40259
- Fix test hydration check in Safari 10.1: #β40285
- chore: turn off debug mode on issue validator: #β40301
- Update README.md
Credits
Huge thanks to @βstipsan, @βijjk, @βtimneutkens, @βbennettdams, @βshuding, @βcherniavskii, @βhuozhi, @βBrooooooklyn, @βthatbeautifuldream, @βJanpot, @βMoosaSaadat, @βalexcole, @βHaNdTriX, @βmagic-akari, @βbalazsorban44, @βstyfle, @βSukkaW, @βkdy1, @βsokra, @βdelbaoliveira, @βpuneetkathar1, @βnkzawa, @βSchniz, @βgreebl3, @βkasperaamodt, @βchaseignited, @βmasad-frost, @βKikobeats, @βdavewelsh, @βMaedahBatool, @βadrianbienias, @βmichaeloliverx, @βarthurdenner, @βsumiren, @βmigueloller, @βhanneslund, @βwyattjoh, @βkwonoj, @βboredland, @βsimongavelin, @βesbenam, @βtheMosaad, @βjleclanche, @βleerob, @βAdilAmanat, @βsouporserious, @βykdojo, @βsanjaiyan-dev, @βyoannmoinet, @βthomasballinger, @βtitusdmoore, @βjferrettiboke, @βDueen, @βdunglas, @βKenAKAFrosty, @βwbinnssmith, @βschehata, @βremorses, @βvisnup, @βNutlope, @βyhay81, @βhiro0218, @βavigoldman, @βfeugy, @βjeferson-sb, @βlobsterkatie, @βatcastle, @βbcheidemann, @βWill956, @βorionmiz, @βS0UPernova, @βcvbuelow, and @βleonzalion for helping!
v12.2.6
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.