Skip to content

Releases: vercel/next.js

12.3.2-canary.31

19 Oct 04:19
Compare
Choose a tag to compare
12.3.2-canary.31 Pre-release
Pre-release

Core Changes

  • Prebundle react for appDir: #41337
  • BREAKING CHANGE: Remove browsersListForSwc and change default to legacyBrowsers: false: #41529
  • chore: Update swc_core to v0.39.7: #41544
  • Mark styled-jsx as client-only package: #41414

Documentation Changes

  • Fix links to next/legacy/image demo: #41539

Misc Changes

  • Fix E2E deploy test for API bodies: #41542

Credits

Huge thanks to @styfle, @ijjk, and @kdy1 for helping!

v12.3.2-canary.30

18 Oct 17:04
cf1c0b6
Compare
Choose a tag to compare
v12.3.2-canary.30 Pre-release
Pre-release

Core Changes

  • Disable isNavigatingToNewRootLayout: #41457
  • fix(app-render): make css and font respect assetPrefix: #41455
  • Ignore serverComponentChanges in pages: #41464
  • Include frameworks in main-app: #41465
  • Fix typo and add comment to next/image SyntheticEvent: #41480
  • Update next/image docs and examples: #41434
  • chore: Update swc_core to v0.38.22: #41477
  • Fix useSearchParams comment: #41483
  • fix(stream): Allows body larger than 16 KiB with middleware: #41270
  • fix(41456): check src/app folder too in getHasAppDir: #41458
  • BREAKING CHANGE: Enable newNextLinkBehavior: #41459
  • Avoid using the CSS href as the link tag key: #41493
  • Fix global css being marked as side effect free: #41481
  • Append the fragment in NextUrl.toString(): #41501
  • Add vary header to fix incorrectly caching RSC as HTML response: #41479
  • Enable swcMinify by default: #41506
  • Move fetch revalidate config under next options: #41505
  • Fix app sc_client componet HMR server-side: #41510
  • fix(ts): Cookies -> NextCookies: #41491
  • Update edge runtime to 1.1.0-beta.40: #41513
  • BREAKING CHANGE: Remove target: serverless: #41495
  • Fix next-app-loader bug in windows: #41520

Documentation Changes

  • Update docs with minimum node version 14.x: #41482
  • Add remotePatterns link to next-image-unconfigured-host: #41504
  • [docs] fix grammatical error #41507: #41508
  • Add swcMinify to the Upgrade Guide: #41521

Example Changes

  • examples(with-routes-graphql): update GraphQL Yoga to v3: #41478
  • chore(examples): fix typo: #41496

Credits

Huge thanks to @timneutkens, @SukkaW, @shuding, @styfle, @kdy1, @charlypoly, @aprendendofelipe, @sviridoff, @jackton1, @nuta, @leerob, @Rpaudel379, @huozhi, @balazsorban44, and @Kikobeats for helping!

v12.3.2-canary.29

16 Oct 09:50
Compare
Choose a tag to compare
v12.3.2-canary.29 Pre-release
Pre-release

Core Changes

  • BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image: #41399
  • Fix edge workers being re-used unexpectedly: #41402
  • Remove edge shared deps: #41413
  • Upgrade React experimental: #41419
  • Update edge runtime to 1.1.0-beta.39: #41418
  • Update flakey dev AMP tests: #41428
  • Add new diagnostics: #41429
  • Move root layout validation: #41338
  • chore: bump server pre-compiled target to Node.js 14: #41424
  • Fix middleware dynamic route param on query hydration: #41436
  • chore: Update swc_core to v0.38.4: #41401
  • Don't show error overlay for not found and redirect: #41438
  • Change useSearchParams to URLSearchParams: #40978
  • perf(#41392): improve cache busting inject performance: #41443
  • Rename reload to refresh in new router: #41448

Misc Changes

  • Update bench options in stats-config: #41432
  • Bump test timeout-minutes for test dev

Credits

Huge thanks to @styfle, @ijjk, @huozhi, @Kikobeats, @jridgewell, @hanneslund, @SukkaW, and @kdy1 for helping!

v12.3.2-canary.28

13 Oct 22:31
560e93e
Compare
Choose a tag to compare
v12.3.2-canary.28 Pre-release
Pre-release

Core Changes

  • perf: lazy eval headers from the requestStore: #41353
  • fix: disable css cache busting in production: #41392
  • Upgrade next-swc-napi to NAPI-RS v2: #40094
  • Fix prefetching for static app paths: #41398
  • perf: lazy evaluate more modules: #41354

Documentation Changes

  • docs: note MDX with remark-gfm usage: #41391
  • docs: more detailed error message when failing to parse a middleware matcher: #41390

Example Changes

  • Added example with salesforce commerce cloud: #41376
  • Update next pwa version in pwa example: #41386

Misc Changes

  • Add npm to create-next-app environment package manager parser: #41279

Credits

Huge thanks to @feedthejim, @SukkaW, @Nutlope, @sunwoo0706, @WestonThayer, @feugy, @Brooooooklyn, and @Nsttt for helping!

v12.3.2-canary.27

13 Oct 13:14
Compare
Choose a tag to compare
v12.3.2-canary.27 Pre-release
Pre-release

Core Changes

  • refactor(#41164): polyfill-module should block hydration: #41352
  • Fix onLoad prop in next/future/image: #41374
  • Add exports for new router: #41368
  • App font loader tree shaking: #41384

Documentation Changes

  • docs: clarify redirects on client-side navigation: #41362
  • Update node-module-in-edge-runtime.md: #41375

Misc Changes

  • docs: add tips for building first before running test for contribute Nextjs.: #41379

Credits

Huge thanks to @SukkaW, @balazsorban44, @styfle, @teobler, @leerob, and @hanneslund for helping!

v12.3.2-canary.26

12 Oct 15:47
629fa8a
Compare
Choose a tag to compare
v12.3.2-canary.26 Pre-release
Pre-release

Core Changes

  • Update next/image codemod to handle require(): #41345
  • Ensure RSC paths are normalized in minimal mode: #41348
  • Refactor error overlay for new router: #41343
  • inline httpproxy usage: #41330
  • proper error if middleware or api/route not return a Response: #41336
  • Fix CSS imports tree-shaking: #41357
  • Ensure content is kept rendered below the error overlay on build errors in new router: #41360

Example Changes

  • add Cloudflare Turnstile example: #41283

Misc Changes

  • Test for unused css modules with layout: #41018
  • Support aarch64 Linux with page size >= 16k: #41229
  • Update rsc error message: #41351

Credits

Huge thanks to @hanneslund, @styfle, @maximbaz, @timneutkens, @huozhi, @feedthejim, @mabels, @maxam2017, and @shuding for helping!

v12.3.2-canary.25

11 Oct 21:29
5162b64
Compare
Choose a tag to compare
v12.3.2-canary.25 Pre-release
Pre-release

Core Changes

  • Global layouts error boundary: #41305
  • fix(image): don't show placeholder warning in Jest: #41329
  • Handle error overlay for new router: #41325
  • fix(standalone): support type: "module": #41268
  • perf: lazyload the edge runtime in NextServer: #41322
  • Add pretty error when image import is invalid format: #41267
  • chore: Update swc_core to v0.32.8: #41304
  • Client component directive: use client: #41333
  • Fix middleware rewrite for _next/data: #41341
  • Add codemods for next/image: #41004
  • Fix middleware URL normalize case: #41342

Example Changes

  • Remove references to withSentry function in with-sentry example: #41326

Misc Changes

  • misc: add minimal server bench setup: #41328
  • Reduce local font loader options: #41332
  • Reduce remote requests in google fonts: #41306
  • Bump E2E test timeout minutes

Credits

Huge thanks to @huozhi, @balazsorban44, @timneutkens, @lforst, @feedthejim, @styfle, @kdy1, and @hanneslund for helping!

v12.3.2-canary.24

11 Oct 00:05
3c8727d
Compare
Choose a tag to compare
v12.3.2-canary.24 Pre-release
Pre-release

Core Changes

  • Handle as on next/link with new router: #41285
  • Load beforeInteractive scripts properly without blocking hydration: #41164
  • Add test for link back to original page: #41297
  • Local font files adjust fallbacks: #41180
  • Update middleware query hydration handling: #41243
  • Fix NextUrl trailing slash normalize for data route: #41311

Documentation Changes

  • Update security-headers doc: #41312

Example Changes

  • Add --frozen-lockfile in Docker example when using pnpm: #41291
  • chore(examples): upgrade Auth0 example: #41284

Misc Changes

  • Add test for link to catchall route in new router: #41289

Credits

Huge thanks to @timneutkens, @shuding, @crazyurus, @EarlGeorge, @hanneslund, and @MariaSolOs for helping!

v12.3.2-canary.23

08 Oct 17:12
Compare
Choose a tag to compare
v12.3.2-canary.23 Pre-release
Pre-release

Core Changes

  • Enabel appDir when flag and dir existed at the same time: #41233
  • Font loaders next config shape: #41219
  • refactor dev overlay into hot reloader: #41231
  • fix(middleware): 'instanceof Function' is dynamic code false-positive: #41249
  • Snyk upgrade 27010339d65c4a43f7b564bbebecab85: #41240
  • fix(ts): relax AppProps to not require generic: #41264
  • Recover from font loader error in dev: #41251

Documentation Changes

  • Update introduction.md: #41226

Misc Changes

  • Enable passing tests: #41241
  • Skip serverless/serverless-trace target tests: #41252

Credits

Huge thanks to @nialexsan, @huozhi, @hanneslund, @feugy, @jackromo888, and @balazsorban44 for helping!

v12.3.2-canary.22

06 Oct 19:45
Compare
Choose a tag to compare
v12.3.2-canary.22 Pre-release
Pre-release

Core Changes

  • Remove hook_optimizer transform: #41203
  • chore: Update swc_core to v0.29.5: #41181
  • Update edge runtime to 1.1.0-beta.37: #41211
  • Alias next/dynamic to lazy impl for appDir: #41216
  • Do not bundle react-dom in the SSR build: #41227
  • Add response stream errorhandling in edge-function-runtime: #41102
  • App font file preload: #41158
  • Fix app static generation cases: #41172

Documentation Changes

  • Fix docs for next/image unconfigured hosts: #41223

Example Changes

Misc Changes

  • Upgrade React experimental: #41222

Credits

Huge thanks to @jridgewell, @silvioprog, @kdy1, @mabels, @huozhi, @shuding, @styfle, @hanneslund, and @ijjk for helping!