Skip to content

Releases: vercel/next.js

v13.1.3-canary.4

18 Jan 00:25
c72ebf7
Compare
Choose a tag to compare
v13.1.3-canary.4 Pre-release
Pre-release

Core Changes

  • Add experimental.allowedRevalidateHeaderKeys config: #44985
  • Gracefully handle telemetry not being available: #44986

Misc Changes

  • Update some flakey acceptance tests: #44984

v13.1.3-canary.3

17 Jan 20:51
f741b88
Compare
Choose a tag to compare
v13.1.3-canary.3 Pre-release
Pre-release

Core Changes

  • Fix force-static description in next-typescript: #44951
  • Fix CSS imports being tracked multiple times: #44938
  • Use withoutEnlargement instead of sharp.metadata(): #44890
  • Update res.revalidate to pass through headers: #44981

Documentation Changes

  • update redirects.md: #44960
  • Add AsyncLocalStorage to edge-runtime APIs: #44975

Example Changes

  • Fix with-stencil example: #44964

Misc Changes

  • Update build env for test timings: #44970
  • Update to skip test timings on docs change: #44971

Credits

Huge thanks to @hanneslund, @kristian240, @deli-ght, @shuding, and @ITJesse for helping!

v13.1.3-canary.2

17 Jan 14:47
Compare
Choose a tag to compare
v13.1.3-canary.2 Pre-release
Pre-release

Core Changes

  • Ensure rootLayoutIncluded is set on partial render: #44958

v13.1.3-canary.1

17 Jan 00:28
8a8a70e
Compare
Choose a tag to compare
v13.1.3-canary.1 Pre-release
Pre-release

Core Changes

  • Update pre-compiled: #44874
  • Use sequentialRead while encoding images with sharp: #44881
  • Move server-external-packages to JSON: #44910
  • fix standalone wrong url being logged: #44887
  • Custom RSC compiler error message in pages/: #44865
  • Replace eslint rule for no-shadow with typescript-eslint/no-shadow: #44936

Documentation Changes

  • Next/Script documentation beforeInteractive inconsistency: #44898
  • fix(docs): update broken link for preset.ts: #44916
  • Fix Node.js version to 14.6.0 in Upgrading guide.: #44939

Example Changes

  • Removes title warning from cms example: #44894

Misc Changes

  • Fix prepublish compiled handling: #44914
  • Update test env variable passing: #44912
  • Support Prefer Offline for testing: #44935
  • Update test env for E2E deploy mode: #44937

Credits

Huge thanks to @Brooooooklyn, @rajavijayasaradhi, @rortan134, @IgnisDa, @ChanhyukPark-Tech, @hanneslund, @wyattjoh, and @leerob for helping!

v13.1.3-canary.0

14 Jan 01:13
62bbbfb
Compare
Choose a tag to compare
v13.1.3-canary.0 Pre-release
Pre-release

Core Changes

  • Refactor next dynamic: #44832
  • Add built-in server-only and client-only: #44861
  • Handle empty module from the next dynamic loader: #44873

Documentation Changes

  • Update building-forms.md: #44862
  • Prompt for custom import alias and store preferences in CNA: #44872

Misc Changes

  • port type: needs investigation into linear: #44823
  • Create new action that will auto-label issues that have some activity after we mark them as "verify-canary" or "add repro"": #44815
  • test(snapshot): allow snapshot test not invalidate with --turbo: #43545
  • Remove extra styled-components disabled test: #44870

Credits

Huge thanks to @JanKaifer, @huozhi, @kwonoj, and @josuareich for helping!

v13.1.2

12 Jan 23:35
5f2809f
Compare
Choose a tag to compare

Core Changes

  • Add special error message for class component in server component: #44265
  • Update license year: #44403
  • Move core files to src folder and move JS files to TypeScript: #44405
  • refactor: add warning helper for removed experimental option: #44213
  • types: remove config.experimental.profiling: #44507
  • chore: addresses leftover from #44045: #44080
  • Fix cookie parsing removing extra =: #44218
  • Update server-external-packages to include aws-crt: #44214
  • Collapse sequences of call stack frames from React and Next.js in the error overlay: #44137
  • Update json5 dependency to latest: #44548
  • Improve errors caused by client hook called in a server component: #44538
  • Remove unused target: es5 from tsconfig.json: #44567
  • Make static page prefetch apply on navigation in app dir: #44502
  • Improve errors caused by Next.js client hook called in a server component: #44588
  • Add updated flush handling on sigterm: #44614
  • chore: improves console warnings related to edge runtime: #44563
  • hmr error improvements: #30616
  • feat(standalone): allow configuring HOSTNAME via env var: #44627
  • Add experimental pre-compiled next-server: #43198
  • Fix check-precompiled for next-server: #44669
  • Refactor use of AsyncLocalStorage: #44668
  • Add required default value for the ids parameter: #44694
  • Start client compiler when server components are finished compiling: #44716
  • fix: support runtime value when using multiple declarations per export: #44732
  • land(Fix: Add trailing slash to locale redirect based on next config): #44735
  • Fix IPv6 hostname formatting in CLI: #43491
  • Hydration error link is appended multiple times in app-dir: #44741
  • Improve errors caused by Class Component rendered in a server component.: #44726
  • Update jsonwebtoken: #44748
  • @next/font: Add preconnect tag when fonts are used but not preloaded in app-dir: #44746
  • Ensure folder exists for standalone server: #44745
  • chore: Update swc_core to v0.53.0: #44707
  • Revert "chore: Update swc_core to v0.53.0": #44760
  • chore: fix typo: #44761
  • Fix app ISR handling with no generateStaticParams: #44787
  • Update to latest version of pnpm: #44791
  • Fix router.refresh() resetting state and Suspense boundaries: #44775
  • Fix capitalization in formatted server errors: #44798
  • examples: Bump SWR to v2.0.0: #44790
  • Fix image emittion for pure client image: #44831

Documentation Changes

  • Update custom-app.md: #44351
  • Update next/head docs.: #44454
  • uses spelling: #44399
  • Update Turbopack docs.: #44468
  • Fix link to next-image-to-legacy-image codemod: #44471
  • Add module transpilation docs: #44518
  • Update TypeScript API Route example: #44517
  • Update config-shared docs link: #44547
  • Docs: Update next/font to @next/font: #44573
  • Improve modularized imports docs and add config options to example: #44560
  • Remove old links in docs.: #44580
  • Test navigation between multiple root layouts: #43762
  • [docs/bugfix] fix code example for "Prefixing the Default Locale" - NEXT_LOCALE cookie usage: #44587
  • Correct link to full list of Permissions-Policy permissions: #44607
  • Update subset validation in @next/font/google and fix CJK bug: #44594
  • Update mdx docs example to show merging config: #44656
  • docs: clarify default basePath value: #44642
  • docs(middleware): add _next/image to match ignore: #44659
  • Update redirects.md to fix a typo.: #44677
  • Fix broken links in @next/font API reference: #44714
  • Add missing modularizeImports on config snippets: #44734
  • Update prompts for CNA and add default @/* alias: #44672
  • Clarify middleware.ts location in docs: #44788

Example Changes

  • Update with-sentry README.md Next.js version: #44374
  • fix link to index page in Image Component Example: #44388
  • Update get-api-cookie.ts: #44466
  • Update .gitignore in pwa example: #44391
  • Use the stable GraphQL Yoga v3 in the GraphQL example: #44488
  • [examples] add @types/testing-library__jest-dom package: #44533
  • Improvements to Cloudinary Example: #44572
  • Create i18n example using app-dir and middleware: #44257
  • Add lang, generateStaticParams, and server-only for i18n example: #44597
  • remove unnecessary babel.config.js in react native web example: #43939
  • Update to with-supertokens example: #44640
  • Add support for rendering MDX as a server component: #44651
  • Update: SharedModal.tsx swipe bug in with-cloudinary: #44771
  • [example] Add missing package in app dir i18n example: #44820

Misc Changes

  • docs: add pnpm to template readme: #44427
  • Added actual error message to log output: #44453
  • Fix isolated tests on windows and update azure config: #44457
  • docs: Update GitHub CLI clone command in developing.md: #44509
  • Cache package lock when running tests to speed up installation: #44520
  • Test server component error recovery in dev: #44155
  • Fix taskr watching core files
  • add testonly variants for all test modes and refactored test as alias of testheadless: #44528
  • Use test timings token when available: #44549
  • Remove un-used app-dir test fixture: #44546
  • Fix prettierignore_staged for compiled: #44550
  • Revert "Use turbo for packing files in test setup (#44074)": #44566
  • Remove extra pnp test: #44576
  • Update CNA tests running: #44577
  • misc: fix benchmark script: #44592
  • Change NextInstance.fetch Signature: #44575
  • Update CNA test skipping: #44606
  • Disable telemetry for pnpm next when contributing locally: #44610
  • Update flakey styled-components test: #44613
  • Temporarily disable Azure e2e tests: #44616
  • Fix docs only change for canary: #44617
  • Fix font unit test on Azure: #44618
  • Fix paths for check-examples script: #44661
  • Change test template to use TS and improve template for app-dir: #44227
  • Replace usage of example.com in gssp-redirect tests: #44664
  • Ensure yarn is used for next-with-deps: #44666
  • Recommend next-with-deps for running examples: #44667
  • Fix new-error command: #44720
  • @next/font/google unknown font error: #44713
  • Migrate set-output usage to $GITHB_OUTPUT: #44757
  • Add simple test that custom server works: #44536
  • Migrate basic-basepath tests into basic: #44776
  • Autolabel with linear when labeled with kind: bug: #44774
  • Exposing NextFont types: #44772
  • Fix set output handling for DOCS_CHANGE env: #44789
  • Fix echoing DOCS_CHANGE result
  • Correctly handle @next/font/google fonts without any preloadable subsets: #44809
  • Update release stats for newer pnpm version: #44828
  • Fix FreeBSD next-swc build: #44833

Credits

Huge thanks to @shuding, @chogyejin, @ijjk, @smeubank, @h4x0rlol, @leerob, @arch-user-france1, @konojunya, @nora-soderlund, @IDrumsey, @dirheimerb, @timneutkens, @BrandNewLifeJackie26, @hyeongrok7874, @ardatan, @chibicode, @JanKaifer, @hanneslund, @abir-taheer, @SukkaW, @promer94, @feugy, @fli, @seawatts, @awareness481, @delbaoliveira, @Nutlope, @styfle, @feedthejim, @wyattjoh, @Cielquan, @NiedziolkaMichal, @nissy-dev, @balazsorban44, @raulfdm, @sokra, @rishabhpoddar, @wbinnssmith, @CuriosBasant, @gurkerl83, @akshitsinha, @ianldgs, @kdy1, @sorrycc, @tapaskumar05, @stuartkeith, @EmilianoGarciaLopez, @valentinpolitov, and @huozhi for helping!

v13.1.2-canary.8

12 Jan 21:30
be2d286
Compare
Choose a tag to compare
v13.1.2-canary.8 Pre-release
Pre-release

Core Changes

  • Fix image emittion for pure client image: #44831

Misc Changes

  • Fix FreeBSD next-swc build: #44833

Credits

Huge thanks to @huozhi for helping!

v13.1.2-canary.7

12 Jan 17:53
Compare
Choose a tag to compare
v13.1.2-canary.7 Pre-release
Pre-release

Core Changes

  • Fix capitalization in formatted server errors: #44798
  • examples: Bump SWR to v2.0.0: #44790

Misc Changes

  • Correctly handle @next/font/google fonts without any preloadable subsets: #44809
  • Update release stats for newer pnpm version: #44828

Credits

Huge thanks to @hanneslund, @ijjk, and @valentinpolitov for helping!

v13.1.2-canary.6

12 Jan 14:59
Compare
Choose a tag to compare
v13.1.2-canary.6 Pre-release
Pre-release

Core Changes

  • Update to latest version of pnpm: #44791
  • Fix router.refresh() resetting state and Suspense boundaries: #44775

Example Changes

  • [example] Add missing package in app dir i18n example: #44820

Credits

Huge thanks to @ijjk and @delbaoliveira for helping!

v13.1.2-canary.5

12 Jan 00:13
2a53cbc
Compare
Choose a tag to compare
v13.1.2-canary.5 Pre-release
Pre-release

Core Changes

  • Fix IPv6 hostname formatting in CLI: #43491
  • Hydration error link is appended multiple times in app-dir: #44741
  • Improve errors caused by Class Component rendered in a server component.: #44726
  • Update jsonwebtoken: #44748
  • @next/font: Add preconnect tag when fonts are used but not preloaded in app-dir: #44746
  • Ensure folder exists for standalone server: #44745
  • chore: Update swc_core to v0.53.0: #44707
  • Revert "chore: Update swc_core to v0.53.0": #44760
  • chore: fix typo: #44761
  • Fix app ISR handling with no generateStaticParams: #44787

Documentation Changes

  • Clarify middleware.ts location in docs: #44788

Example Changes

  • Update: SharedModal.tsx swipe bug in with-cloudinary: #44771

Misc Changes

  • Migrate set-output usage to $GITHB_OUTPUT: #44757
  • Add simple test that custom server works: #44536
  • Migrate basic-basepath tests into basic: #44776
  • Autolabel with linear when labeled with kind: bug: #44774
  • Exposing NextFont types: #44772
  • Fix set output handling for DOCS_CHANGE env: #44789
  • Fix echoing DOCS_CHANGE result

Credits

Huge thanks to @akshitsinha, @hanneslund, @JanKaifer, @ianldgs, @kdy1, @sorrycc, @tapaskumar05, @stuartkeith, and @EmilianoGarciaLopez for helping!