Skip to content

Releases: vercel/next.js

v12.2.6-canary.2

23 Aug 14:30
cb430cc
Compare
Choose a tag to compare
v12.2.6-canary.2 Pre-release
Pre-release

Core Changes

  • 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 in next/future/image: #39824
  • Improve error message on next/future/image when objectFit or objectPosition: #39614
  • Refactor client CSS imports: #39758
  • Ensure moduleResolution is written correctly: #39836
  • Fix disposing active entries in dev compilers: #39845

Documentation Changes

  • 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 with getStaticPaths: #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

Example Changes

  • 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

Misc Changes

  • Update contributing.md : #39767
  • Update ubuntu CI version due to deprecation: #39817
  • Leverage VERCEL_CLI_VERSION env for deploy tests: #39823

Credits

Huge thanks to @sokra, @magic-akari, @SukkaW, @delbaoliveira, @alexcole, @styfle, @puneetkathar1, @nkzawa, @Schniz, @greebl3, @HaNdTriX, @kasperaamodt, @chaseignited, @masad-frost, @Kikobeats, @davewelsh, @MaedahBatool, @adrianbienias, @michaeloliverx, @arthurdenner, @sumiren, @migueloller, @shuding, and @hanneslund for helping!

v12.2.6-canary.1

17 Aug 13:14
b24b1d8
Compare
Choose a tag to compare
v12.2.6-canary.1 Pre-release
Pre-release

Core Changes

  • 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

Documentation Changes

  • Update strategies count to 4: #39610

Example Changes

  • Typo : #39596
  • Update Convex Example: #39562
  • Update with-loading example: #39646
  • [Docs]Β Update with-slate example: #39639

Misc Changes

  • 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

Credits

Huge thanks to @thatbeautifuldream, @shuding, @Janpot, @timneutkens, @huozhi, @MoosaSaadat, @alexcole, @HaNdTriX, @magic-akari, @balazsorban44, @styfle, @SukkaW, and @kdy1 for helping!

v12.2.6-canary.0

13 Aug 17:31
d880916
Compare
Choose a tag to compare
v12.2.6-canary.0 Pre-release
Pre-release

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

Documentation Changes

  • docs: Rename API middlewares title in sidebar: #39534
  • [docs] Avoid next config validation warning: #39554

Example Changes

  • docs(examples): use vercel integration in cms-sanity: #39323

Misc Changes

Credits

Huge thanks to @stipsan, @timneutkens, @bennettdams, @shuding, @cherniavskii, @huozhi, and @Brooooooklyn for helping!

v12.2.5

12 Aug 02:39
Compare
Choose a tag to compare

Core Changes

  • Change invalid internal upstream image error code: #39334
  • Hoist styles for Route Announcer: #39331
  • fix: wrong reference url for disableStaticImages: #39362
  • fix: skip resizing image if it's animated: #39325
  • Fix catchall rewrites for _next/data routes: #39370
  • Fix next/future/image alt text: #39366
  • refactor: add named export in next/server: #39381
  • fix(ts): More strict Redirect type: #38277
  • fix(next): dev server starting when importing a file using get-projec…: #38274
  • Add runtime to PageConfig type: #37453
  • fix: improve logging for _devPagesManifest.json loading failures: #38046
  • Allow custom path for preview mode cookies: #38313
  • Fix removing whitespacing in dev overlay: #28277
  • Fix emotion labelFormat and sourcemap options: #39389
  • Fix emotion shouldForwardProp options breaks component selectors: #39390
  • next/image imgix loader can use multiple auto params: #34808
  • Adds eslint-plugin-eslint-plugin to ensure eslint-plugin-next rules follow ESLint rule best practices along with enforcing some consistency.: #37920
  • [ESLint] Adds --output-file flag: #36420
  • Update polyfill for eslint no-unwanted-polyfillio rule: #33170
  • fix(ts): Middleware type tweaks: #38625
  • Fix Link generation for SSG pages if locale domains are used: #36818
  • Setup require hook in next-server for styled-jsx resolving: #39305
  • fix: ensure trailing slash on registry URL when fetching wasm fallback: #39427
  • typing: upgrade styled-jsx to remove workaround in build script: #39408
  • Extract redirect utils into a separate file: #39433
  • Ensure locale redirects are not applied in minimal mode: #39436
  • feat(middleware): augments / matcher with /index: #39397
  • Bump edge-runtime packages: #39450
  • Ensure default _app is used when falling back to default _error: #39467
  • Handle rewriting WebSocket requests: #39463
  • App Build Stats: #38884
  • Tweak styled-jsx type declarations: #39474
  • FIX GAUSSIAN BLUR IN FUTURE\IMAGE: #39190
  • Add hot-reloading for env file changes: #38483
  • feat(next-swc/modularize_imports): Add Kebab case: #38583
  • Make dev watch ignore more specific: #39504
  • Bump styled-jsx and remove manual types creation: #39506
  • Add position styling to future fill images: #39438
  • fix: ensure hidden iframe apps render in development mode: #39514
  • Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files: #39511
  • Re-add styled-jsx as a normal dependency: #39518

Documentation Changes

  • docs: update When section of getStaticProps page: #39393
  • Update script.md: #39400
  • API Routes Request Helpers docs.: #39407
  • Improve description of context.query in getServerSideProps(): #39422
  • Enhance sizes documentation for next/image: #39301
  • Add component wrapper in sizes documentation code snippet: #39437
  • Update router.prefetch documentation to include locale option: #39442
  • Fix docs path "Invalid getServerSideProps Return Value": #39443
  • Improve next/future/image Migration docs: #39421

Example Changes

  • Fixed links to supabase examples: #39343
  • Examples/cms-wordpress migrate to TypeScript: #39250
  • chore: upgrade example to Docker Compose v2: #39372
  • fix (examples): Changed the version of next-pwa: #39369
  • Port 'with-static-export' example to TypeScript: #38268
  • update examples/custom-server-fastify and replace depreaction: #38269
  • Land(Update example with-apivideo-upload README): #39391
  • Fix: broken TypeScript in WordPress example.: #39402
  • Enable @typescript-eslint/no-use-before-define for examples dir: #39469
  • [examples] Add on-demand revalidation to Contentful example: #39475
  • Fixed issues with environment variables for Windows users: #37853
  • fix(examples/with-wdyr): example config to support SWC: #39465

Misc Changes

  • test: ensure default output is correct: #39358
  • Fix failing escheck test: #39365
  • Add yarn 2 Setup Files to Valid Files for create-next-app: #30936
  • Add Object#fromEntries polyfill (with 6 lines of code): #36426
  • chore: restores removed tests: #39452
  • Fix next.config.js overwriting on deploy e2e test: #39476
  • Update contributing.md to recommend corepack: #39479
  • Fix swc build for freebsd target: #39478

Credits

Huge thanks to @pthomas931, @madmed88, @sanjaiyan-dev, @balazsorban44, @DonghyukJacobJang, @ijjk, @chaiwattsw, @styfle, @dunglas, @ahkhanjani, @promer94, @terrierscript, @shawncal, @insik-han, @QuiiBz, @ykzts, @JoshuaKGoldberg, @lucasassisrosa, @dikwickley, @Brooooooklyn, @sicarius97, @FourwingsY, @manovotny, @SukkaW, @pepoeverton, @jdeniau, @sumiren, @anthonyshew, @pekarja5, @huozhi, @leerob, @fediev, @atcastle, @shuding, @feugy, @jonohewitt, @zakiego, @Schniz, @timneutkens, @wyattjoh, @MaedahBatool, @X7Becka, @nnnnoel, @dcdev67, @alvinometric, @timothympace, and @jeferson-sb for helping!

v12.2.5-canary.7

12 Aug 00:17
Compare
Choose a tag to compare
v12.2.5-canary.7 Pre-release
Pre-release

Core Changes

  • Re-add styled-jsx as a normal dependency: #39518

v12.2.5-canary.6

11 Aug 21:47
Compare
Choose a tag to compare
v12.2.5-canary.6 Pre-release
Pre-release

Core Changes

  • Add position styling to future fill images: #39438
  • fix: ensure hidden iframe apps render in development mode: #39514
  • Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files: #39511

Example Changes

  • fix(examples/with-wdyr): example config to support SWC: #39465

Credits

Huge thanks to @atcastle, @timothympace, @timneutkens, and @jeferson-sb for helping!

v12.2.5-canary.5

11 Aug 17:10
Compare
Choose a tag to compare
v12.2.5-canary.5 Pre-release
Pre-release

Core Changes

  • Make dev watch ignore more specific: #39504
  • Bump styled-jsx and remove manual types creation: #39506

Example Changes

  • Fixed issues with environment variables for Windows users: #37853

Credits

Huge thanks to @huozhi and @alvinometric for helping!

v12.2.5-canary.4

11 Aug 04:01
Compare
Choose a tag to compare
v12.2.5-canary.4 Pre-release
Pre-release

Core Changes

  • FIX GAUSSIAN BLUR IN FUTURE\IMAGE: #39190
  • Add hot-reloading for env file changes: #38483
  • feat(next-swc/modularize_imports): Add Kebab case: #38583

Example Changes

  • [examples] Add on-demand revalidation to Contentful example: #39475

Credits

Huge thanks to @X7Becka, @nnnnoel, and @dcdev67 for helping!

v12.2.5-canary.3

10 Aug 23:19
Compare
Choose a tag to compare
v12.2.5-canary.3 Pre-release
Pre-release

Documentation Changes

  • Improve next/future/image Migration docs: #39421

Misc Changes

  • Fix next.config.js overwriting on deploy e2e test: #39476
  • Update contributing.md to recommend corepack: #39479
  • Fix swc build for freebsd target: #39478

Credits

Huge thanks to @MaedahBatool and @styfle for helping!

v12.2.5-canary.2

10 Aug 20:32
Compare
Choose a tag to compare
v12.2.5-canary.2 Pre-release
Pre-release

Core Changes

  • Bump edge-runtime packages: #39450
  • Ensure default _app is used when falling back to default _error: #39467
  • Handle rewriting WebSocket requests: #39463
  • App Build Stats: #38884
  • Tweak styled-jsx type declarations: #39474

Documentation Changes

  • Update router.prefetch documentation to include locale option: #39442
  • Fix docs path "Invalid getServerSideProps Return Value": #39443

Example Changes

  • Enable @typescript-eslint/no-use-before-define for examples dir: #39469

Misc Changes

  • chore: restores removed tests: #39452

Credits

Huge thanks to @jonohewitt, @zakiego, @Schniz, @feugy, @timneutkens, and @wyattjoh for helping!