Skip to content

v13.0.3

Compare
Choose a tag to compare
@ijjk ijjk released this 11 Nov 04:43
· 7599 commits to canary since this release
4240dcc

Core Changes

  • bump @typescript-eslint/parser version to support TS 4.8: #42439
  • chore: Update swc_core to v0.40.40: #42326
  • Add telemetry for turbotrace: #42486
  • Fix undici warning in Node.js 18: #42477
  • Ensure RSC is detecting correctly during revalidate: #42508
  • fix: correctly mention generateStaticParams in error: #42524
  • Re-enable sandbox cache and update AsyncLocalStorage usage: #42547
  • Check properly whether SWC is used or not when using forceSwcTransforms: #42531
  • Show inlined error if the "use client" directive is not before other statements/expressions: #42507
  • Refactor error codes in the TS plugin: #42585
  • Fix server html insertion target: #42591
  • next/compat/router: #42502
  • Fix scrolling on router.refresh: #42583
  • Fix relative TypeScript path in monorepos: #42586
  • Aggregate updates using addStatusHandler and Promise.resolve instead of setTimeout: #42350
  • fix(next/dev): bubble up unhandled exception from --turbo: #42594
  • Rename RSC and Router headers: #42482
  • Ensure build trace ignores apply correctly when nested: #42606
  • Include @prisma/client in default external packages: #42624
  • Replace global with globalThis: #42627
  • Colocate styles with special entries: #42506
  • Add lazy initialize of router cache nodes: #42629
  • Add telemetry for @next/font: #42579
  • Also create head when creating root layout: #42571
  • feat: add --no-mangling to next build + fix --profile option: #42633
  • update react builtin deps for next channel: #42639
  • Ensure skip normalize is handled correctly: #42642
  • @next/font/google fetch error dev: #42637
  • Add missing matcher support: #42660
  • Remove useless async declaration and replace regexp to plain string in AMP postProcessor: #42495
  • @next/font error messages: #42689
  • Adopt script rejection pattern for link onerror.: #42645
  • Fix @next/font imports from outside of the root directory: #42678
  • Ensure appDir is included in webpack configVars: #42710
  • Fix replaceAll usage in post-process: #42714
  • Use import to load page and layout: #42325
  • Alias next public api to esm on edge runtime: #42709
  • fix: publish compat folder: #42613
  • Change condition to check for string attribute in lint rules utility function: #42625
  • Fix as option with optional catch all routes url object syntax: #42355
  • fix comma splice in verifyRootLayout.ts: #42324
  • build(next-swc): update turbopack to latest: #42733
  • @next/font return types: #42753
  • Eagerly bundle external ESM dependencies for pages: #42741
  • Handle hydration replaceState for static page with searchParams: #42744
  • Add test case for image generation: #42693
  • Don't pushState when already on the url: #42735
  • fix: enable emotion import map: #42750
  • Fix resolving for esm package with only exports.import condition: #42767
  • Track page counts during builds: #42766

Documentation Changes

  • Fix Static Generation link on Pages page: #42462
  • Docs: Fix invalid tsconfig importSource syntax: #42465
  • Update response-helpers.md: #42378
  • react-version.md: Update minimum React version for Next.js 13: #42490
  • Included negative matcher docs in upgrade guide: #42489
  • Edit Upgrade docs to correct new-link codemod: #42501
  • Update turbopack docs to use create-next-app@latest: #42528
  • Remove all custom server integration examples: #42549
  • [docs] Document middleware response changes: #42295
  • Convert with-absolute-imports example to TypeScript: #42529
  • docs/next/link: Mention middleware + dynamic routes changes: #42607
  • fix typo in api-reference next/sever: #42669
  • font api updates: #42724

Example Changes

  • Include app directory in Tailwind config: #42407
  • Removed duplicate MONGODB_URI check in example: #42518
  • Convert middleware-matcher example to TypeScript: #42520
  • Convert custom-server-express example to TypeScript: #42110
  • Example: fixed tailwind ver in readme: #42551
  • (with-supertokens example): Fixes infinite redirect issue for unauthorised error during SSR: #42634
  • chore: update scripts to work on windows: #42632
  • example fix url: #42695

Misc Changes

  • Reuse file when shared by several google font variants: #42480
  • Fix replaceAll usage in font loader: #42550
  • Fix default value handling for CNA in CI: #42596
  • chore: encourage adding reproductions to issues: #42667
  • �Fix CSS handling rules: #42615
  • Update to latest version of turbo CLI: #42711

Credits

Huge thanks to @lucasassisrosa, @kdy1, @ijjk, @jakemstar, @lachlanjc, @ws-jm, @davidnx, @steven-tey, @Brooooooklyn, @hanneslund, @josephcsoti, @fantaasm, @timneutkens, @sivtu, @leerob, @balazsorban44, @maxproske, @rightones, @bot08, @shuding, @huozhi, @wyattjoh, @ethomson, @alexkirsz, @kwonoj, @MaxLeiter, @rishabhpoddar, @feedthejim, @gnoff, @moetazaneta, @superbahbi, @NOCELL, @ademilter, @nathanhammond, @imranbarbhuiya, @mrkldshv, @cvolant, @hughlilly, @ismaelrumzan, and @sQVe for helping!