Skip to content

Releases: vercel/next.js

v12.2.4-canary.0

22 Jul 22:52
Compare
Choose a tag to compare
v12.2.4-canary.0 Pre-release
Pre-release

Core Changes

  • Fix error message typos: #38894
  • Update to latest version of @vercel/nft: #38878
  • fix(#38090): add missing analyticsId to config schema: #38911
  • Ensure hash on initial request is preserved in new router: #38913
  • Remove unnecessary assertions: #38899
  • Clear unnecessary code: #38900
  • fix: Impl attachRequestMeta in base server to handle meta differently in edge and node servers: #38932
  • feat: enhance warning messages about unanalyzable config field: #38907
  • fix: fix generateEtags type inside schema: #38936

Documentation Changes

  • Remove next-page-tester from testing.md: #38920

Example Changes

  • Add example with cookies-next package: #31243
  • chore(example): convert with-stitches to TS: #38892
  • Update Convex example not to ignore generated files: #38931

Credits

Huge thanks to @theMosaad, @SukkaW, @timneutkens, @Yuddomack, @msquitieri, @andreizanik, @nix6839, @shuding, @thomasballinger, and @ziishaned for helping!

v12.2.3

22 Jul 01:44
Compare
Choose a tag to compare

Core Changes

  • Remove dynamic params from query in new router: #38466
  • Fix test page detection: #38475
  • build(ci): enable rustls as default: #38471
  • Handle on-demand-entries and error overlay for Server Components: #38480
  • Add refreshing of Server Components: #38508
  • Handle dynamic routes / catchall routes in on-demand entries: #38512
  • chore(deps): Update swc: #38347
  • Enable css import in rsc server side : #38418
  • Pass missing incrementalCacheHandlerPath to IncrementalCache instance: #38433
  • fix(next/build): correct payload for plugin telemetry: #38468
  • Update some dependencies' versions :): #38427
  • refactor(next/swc): disable default features for crash report: #38531
  • fix: don't use optional chaining in ESLint rule: #38534
  • feat(next-swc/auto-cjs): Detect __esModule: #38181
  • CSS modules support improvements for Server Components: #38536
  • Handle development error when Server Component throws: #38550
  • Upgrade edge-runtime + make EdgeRuntime value overridable with an env var on compilation: #38331
  • Rename todos: #38560
  • Fix injecting CSS link tags before page content: #38559
  • Optimize Edge SSR bundle size: #38570
  • Handle dev fouc for layout styling: #38557
  • Fix independent CSSModule missing from flight manifest: #38575
  • Mark dynamic as client component: #38574
  • Add error when createServerContext is not available: #38578
  • Handle server context being refreshed: #38580
  • Pass server context to Flight render: #38582
  • Ensure .client.tsx/.ts/.jsx Client Components can be imported: #38591
  • Remove the hide-fouc tags after hydration: #38592
  • Add heuristic for optimistic push: #38599
  • Remove implemented todos: #38610
  • Add next.config.js validation with ajv: #38498
  • Fix next/jest when testing next/future/image: #38569
  • refactor(next/telemetry): use basename for the absolute plugin path: #38473
  • Remove the hide-fouc tag earlier: #38614
  • Fix reloading Client Component require.cache: #38633
  • Fix failed to hydrate error with global CSS: #38626
  • Ensure selected segment is the value of dynamic routes: #38644
  • Add focus and scroll management for new router: #38642
  • New Router Tests: #38390
  • Rename query to searchParams for getServerSideProps in new Router: #38654
  • Refine scrolling into view in new router: #38682
  • Improve element detection further: #38684
  • Remove obsolete code from loader: #38681
  • Fix check for optimistic routing and handle loading in server-patch: #38687
  • add user check in auth-with-stytch.: #38648
  • Ensure flight manifest is correct with app and pages dir: #38716
  • Fix missing client entry matcher and simplify imports path: #38691
  • refactor: rewrite etag: #38568
  • Fix CSSM loader applying for both pages and app: #38761
  • Support postcss.config.cjs: #38486
  • fix(next/swc): let async wasm binding coerce to sync correctly: #38780
  • Ensure route group with separate root layout does not get wrapped in
  • [edge] allow importing blob assets: #38492
  • [ESLint] Make src/ a default linting directory: #38810
  • Fix usage of experimental-edge in pages/api/index: #38024
  • fix(edge-runtime): undefined global in edge runtime.: #38769
  • Fix squoosh image optimization for Node.js 18: #38833
  • chore: TS improvments: #38834
  • fix: don't treat output: "standalone" as custom server: #38831
  • Improve next/image error message when src prop is missing: #38847
  • Remove the next/streaming endpoint and experimental refresh api: #38837
  • Ensure module require is awaited in app-render: #38860
  • Leverage mini css plugin hmr for app dir: #38830
  • fix(edge): error handling for edge route and middleware is inconsistent: #38401
  • fix: correct the next config optimizeCss type: #38879
  • Update Edge Runtime: #38862
  • Ensure mixed query/hash values are handled correctly: #38852
  • fix(#38743): config.runtime support template literal: #38750

Documentation Changes

  • Update api-middlewares.md: #38499
  • Add note about standalone + runtimeConfig caveat: #38532
  • Note about manually passing props from custom app: #37329
  • [DOCS]: Middleware doesn't execute for on-demand ISR: #38562
  • Update docs for next/future/image with browser support: #38563
  • Add missing closing curly bracket in compiler option example: #38586
  • docs: clarify that matcher needs to be constant values: #38597
  • Add documentation on accessibility.: #38522
  • Add bundlejs site: #38677
  • Update get-static-props.md: #38703
  • update fallback docs: #38659
  • Improve response body in Middleware error page.: #38537
  • docs: improve wording on pathname and asPath: #38835

Example Changes

  • chore: update file references in Auth0 example README: #38476
  • chore(examples): Convert api-routes example to TypeScript: #38083
  • Fix url of tRPC's next-minimal-starter: #38452
  • Update Fauna examples to support new FAUNA_DB_DOMAIN environment variable: #38434
  • feat(examples): Use helper function in with-sentry example _error.js: #37866
  • Update MongoDB example to use integration for deploy button.: #38738
  • chore(examples): require WORDPRESS_API_URL to include /graphql: #38764
  • Update with-emotion-swc to use TypeScript: #38744
  • chore: auto-detect preferred package manager in Dockerfile: #38693
  • chore: update with-service-worker example: #38670
  • Fixup main Fauna example and drop support for outdated one: #38692
  • Fix export issue in with-fauna example: #38812
  • Update Convex example.: #38850
  • chore: convert with-dynamic-import to TypeScript: #38844
  • chore(examples): Convert with-cypress example to TypeScript: #38818

Misc Changes

  • Migrate rsc integration tests to e2e tests: #38460
  • Update flakey unoptimized image test: #38478
  • fix: fix bundle-analyzer plugin types: #38255
  • Update CI job skipping based on related changes: #38479
  • Fix rsc test during deploy testing: #38517
  • Add docs condition for all azure steps: #38519
  • skip rsc tests for react 17 e2e: #38524
  • Add dev/start timing to PR stats: #38525
  • chore: extend example contribution guidelines: #38511
  • Fix e2e rsc test for deploy mode: #38538
  • Add test env variables to readme: #38566
  • Fix flaky rsc test: #38573
  • chore: tweak issue validator: #38600
  • Update to latest version of turbo: #38629
  • chore: improve issue validator logs
  • chore: tweak issue validator action
  • Update version for yarn pnp tests: #38688
  • Add dark mode to Create Next App: #38671
  • Add note about test-trace artifact to test readme: #38770
  • Fix postcss deploy e2e test: #38782
  • test: disable the rsc flaky test temporarily: #38843
  • Update edge blob asset e2e test: #38857
  • ci: dropping macos-10.15: #38865
  • Update query/hash test for safari: #38889

Credits

Huge thanks to @huozhi, @mihaic195, @ijjk, @kwonoj, @stefanprobst, @maxproske, @valcosmos, @KATT, @kdy1, @thiagomorales, @sanjaiyan-dev, @danielcavanagh, @balazsorban44, @shuding, @Schniz, @steven-tey, @styfle, @hellomhc, @trevor-fauna, @timneutkens, @leerob, @wyattjoh, @nguyenyou, @eminvergil, @lobsterkatie, @dorian-davis, @SukkaW, @sambecker, @isaac-martin, @JohnDaly, @housseindjirdeh, @lfades, @feugy, @thomasballinger, @amorimr, and @javivelasco for helping!

v12.2.3-canary.17

21 Jul 21:31
Compare
Choose a tag to compare
v12.2.3-canary.17 Pre-release
Pre-release

Core Changes

  • fix(edge): error handling for edge route and middleware is inconsistent: #38401
  • fix: correct the next config optimizeCss type: #38879
  • Update Edge Runtime: #38862
  • Ensure mixed query/hash values are handled correctly: #38852
  • fix(#38743): config.runtime support template literal: #38750

Example Changes

  • chore(examples): Convert with-cypress example to TypeScript: #38818

Misc Changes

  • ci: dropping macos-10.15: #38865
  • Update query/hash test for safari: #38889

Credits

Huge thanks to @SukkaW, @feugy, @amorimr, and @javivelasco for helping!

v12.2.3-canary.16

21 Jul 12:44
Compare
Choose a tag to compare
v12.2.3-canary.16 Pre-release
Pre-release

Core Changes

  • Remove the next/streaming endpoint and experimental refresh api: #38837
  • Ensure module require is awaited in app-render: #38860
  • Leverage mini css plugin hmr for app dir: #38830

Example Changes

  • Update Convex example.: #38850
  • chore: convert with-dynamic-import to TypeScript: #38844

Misc Changes

  • Update edge blob asset e2e test: #38857

Credits

Huge thanks to @huozhi, @ijjk, @thomasballinger, and @balazsorban44 for helping!

v12.2.3-canary.15

20 Jul 21:53
ea9f855
Compare
Choose a tag to compare
v12.2.3-canary.15 Pre-release
Pre-release

Core Changes

  • Ensure route group with separate root layout does not get wrapped in
  • [edge] allow importing blob assets: #38492
  • [ESLint] Make src/ a default linting directory: #38810
  • Fix usage of experimental-edge in pages/api/index: #38024
  • fix(edge-runtime): undefined global in edge runtime.: #38769
  • Fix squoosh image optimization for Node.js 18: #38833
  • chore: TS improvments: #38834
  • fix: don't treat output: "standalone" as custom server: #38831
  • Improve next/image error message when src prop is missing: #38847

Documentation Changes

  • Improve response body in Middleware error page.: #38537
  • docs: improve wording on pathname and asPath: #38835

Example Changes

  • Fixup main Fauna example and drop support for outdated one: #38692
  • Fix export issue in with-fauna example: #38812

Misc Changes

  • Fix postcss deploy e2e test: #38782
  • test: disable the rsc flaky test temporarily: #38843

Credits

Huge thanks to @leerob, @ijjk, @timneutkens, @Schniz, @trevor-fauna, @housseindjirdeh, @lfades, @feugy, @balazsorban44, @styfle, and @huozhi for helping!

v12.2.3-canary.14

18 Jul 23:22
Compare
Choose a tag to compare
v12.2.3-canary.14 Pre-release
Pre-release

Core Changes

  • Support postcss.config.cjs: #38486
  • fix(next/swc): let async wasm binding coerce to sync correctly: #38780

Documentation Changes

  • update fallback docs: #38659

Example Changes

  • chore(examples): require WORDPRESS_API_URL to include /graphql: #38764
  • Update with-emotion-swc to use TypeScript: #38744
  • chore: auto-detect preferred package manager in Dockerfile: #38693
  • chore: update with-service-worker example: #38670

Misc Changes

  • Add note about test-trace artifact to test readme: #38770

Credits

Huge thanks to @balazsorban44, @isaac-martin, @JohnDaly, and @kwonoj for helping!

v12.2.3-canary.13

18 Jul 23:22
Compare
Choose a tag to compare
v12.2.3-canary.13 Pre-release
Pre-release

Core Changes

  • refactor: rewrite etag: #38568
  • Fix CSSM loader applying for both pages and app: #38761

Example Changes

  • Update MongoDB example to use integration for deploy button.: #38738

Misc Changes

  • Add dark mode to Create Next App: #38671

Credits

Huge thanks to @SukkaW, @leerob, @huozhi, and @sambecker for helping!

v12.2.3-canary.12

18 Jul 08:32
Compare
Choose a tag to compare
v12.2.3-canary.12 Pre-release
Pre-release

Core Changes

  • add user check in auth-with-stytch.: #38648
  • Ensure flight manifest is correct with app and pages dir: #38716
  • Fix missing client entry matcher and simplify imports path: #38691

Documentation Changes

  • Add bundlejs site: #38677
  • Update get-static-props.md: #38703

Example Changes

  • feat(examples): Use helper function in with-sentry example _error.js: #37866

Misc Changes

  • Update version for yarn pnp tests: #38688

Credits

Huge thanks to @nguyenyou, @ijjk, @eminvergil, @lobsterkatie, @dorian-davis, and @huozhi for helping!

v12.2.3-canary.9

15 Jul 11:44
Compare
Choose a tag to compare
v12.2.3-canary.9 Pre-release
Pre-release

Core Changes

  • New Router Tests: #38390
  • Rename query to searchParams for getServerSideProps in new Router: #38654
  • Refine scrolling into view in new router: #38682

Credits

Huge thanks to @wyattjoh for helping!

v12.2.3-canary.11

15 Jul 15:10
Compare
Choose a tag to compare
v12.2.3-canary.11 Pre-release
Pre-release

Core Changes

  • Fix check for optimistic routing and handle loading in server-patch: #38687

Misc Changes

  • chore: tweak issue validator action