github vercel/next.js v13.2.4

latest releases: v15.0.4-canary.12, v15.0.4-canary.11, v15.0.4-canary.10...
20 months ago

Core Changes

  • Check if server error already had its message updated: #46367
  • [next/jest] Support path aliases from tsconfig/jsconfig: #45815
  • List unsupported Turbopack config keys: #46582
  • Support named exports for server references: #46558
  • Fix(typedRoutes): fixed StaticRoutes and DynamicRoutes being empty causing invalid syntax: #46620
  • Fix IntelliSense for generateMetadata: #46624
  • Update vendored React packages to next-41110021f: #46636
  • Add request callback in Flight client: #46650
  • fix: distDir in verifyTypeScriptSetup for nextLint: #46630
  • Updates next/image eslint message to denote that costs may be incurred.: #46640
  • Ensure default config passes schema checks: #46656
  • Use separate workers for webpackBuildWorker: #46666
  • Fix static to dynamic on revalidate: #46668
  • Fix the Next.js router in Turbopack when there are no middlewares: #46681
  • build(cargo): update turbopack: #46685
  • Add build worker exit tracking and enable tests: #46698
  • Support force-static on App Routes: #46693
  • Add viewport field userScalable: #46696
  • Update static build workers: #46705
  • Refactor build context for better plugin state sharing: #46706
  • Support multi title for alternates: #46700
  • Ensure test-unit includes package unit tests: #46707
  • Disallow wildcard export in server entries: #46710
  • Add test for router.refresh preserving unaffected segments: #46687
  • Failing test for SWC shakeExports and JSX: #35735
  • Fix originalRequest not available for edge requests: #46741
  • Fix require cache conflict between app and pages: #46736
  • Fix Web app manifests docs: #46617
  • Update client router filter to separate redirects handling: #46752
  • Add support for output: export config: #46744
  • Pass through original matcher source in manifest: #46753
  • Use browser navigation when RSC payload fails to fetch: #46674
  • Use set to track CSS imports: #46772
  • Fix middleware notFound: true handling: #46759
  • Only check app/ for no-head-element-rule: #46773
  • Fix redundant TS plugin warning: #46769
  • Correct server reference manifest in prod build: #46683
  • add argon2 to serverComponentsExternalPackages auto-optOut list: #46779
  • Refactor SWC transform to support named default export: #46778
  • Remove experimental.runtime and emit warning when used: #46631
  • Fix(typedRoutes): fixed type Route resolving to type any: #46679
  • Improve the readability of full page refresh error in dev mode: #46634
  • Port error overlay hydration error to pages directory: #46677
  • eslint rule for script strategy should work properly in app/: #46609
  • fix: Add NODE_OPTIONS for debugging in next-dev: #46757

Documentation Changes

  • Documentation: Update link-no-children error page for new link: #46514
  • chore(docs): add snippets for common image loaders: #46647
  • Fix the doc on how to use the turbo loader in option-less format: #46665
  • Fix custom server error handling in the docs: #46671
  • docs: clarified the wording: #46691
  • Update script.md: #46680
  • next/font refactoring and additional unit tests: #46731

Example Changes

  • Add @types/mdx to app-dir-mdx example: #46523

Misc Changes

  • test(utils): support turbopack-based overlay error text lookup #46589
  • chore: improve repo templates: #46629
  • Update app-static test page #46645
  • test: add preconnect tests and move error tests: #46652
  • Refactor and add more tests to next/font/local: #46627
  • Add script to automate updating vendored React version: #46663
  • Refactor next/font/google and add additional comments: #46692
  • Ensure app chunk URLs are encoded properly #46749
  • Adjust API route loader #46726
  • test: refactor metadata tests to test multi matches easier: #46746
  • Support mdx-components file in src directory: #46763
  • Fix middleware 404 prefetch case: #46782
  • Update view-source.tsx: #46790
  • chore: add jsdoc to output in next.config.js: #46804
  • next/font tests: support Turbopack css module format: #46658
  • update dynamic-import.md example: #46787
  • Change @next/font to next/font in examples: #46836
  • Update vendored React: #46826
  • Revert "Update vendored React": #46861
  • Update fetch cache handling with POST requests: #46856
  • Remove extra exports from filter utils: #46860
  • test(unit): add cases for cssnano simple: #46862
  • Ensure chained middleware rewrites work properly: #46866
  • chore: improve PR labeling, fix, sort, add new team member: #46675
  • chore: add App Router template to bug report: #46872
  • Add a timeout to next/font/google in dev: #46834
  • Support unnamed default export expression #46888
  • Only run toSource in next/font codemod if there are changes: #46877
  • Add more JSDoc to types: #46897
  • Fix TS plugin showing warning for error file's reset prop: #46898
  • Fix conflict dev entry key between app and pages: #46832
  • Update app-static e2e test: #46900
  • Revert "Revert "Update vendored React"": #46881
  • Add retry to the hmr acceptance test: #46902
  • Fix with-jest and with-jest-babel example test snapshot failure: #46885
  • Update generateStaticParams handling with fetch cache: #46906
  • Fix unexpected hoist meta tags by react in app dir: #46917
  • Update turbopack to 230308.1: #46909
  • Support default export expression for variables: #46896
  • Reduce the number of hydration error tests: #46930
  • Update Turbopack to 230308.3: #46935
  • Use https_proxy environment variable in next/font/google: #46822
  • Validate req.url in renderer: #46923
  • Validate the router state header on the server: #46925
  • Rename FontLoaderManifest to NextFontManifest and add better comments: #46922
  • Revalidate generateStaticParams/Paths in background in dev: #46940
  • Support re-exporting unnamed function expression: #46936
  • Support static file robots.txt and sitemap.xml as metadata route: #46963
  • Update vendored react: #46970
  • Move error overlay recovery tests to new file: #46965
  • Improve RSC compiler error in external module: #46953
  • Update Turbopack to 230309.2: #46971
  • Use turbo remote cache for build-native-test: #46975
  • Do not re-assign process.env: #46914

Credits

Huge thanks to @hanneslund, @ijjk, @JohnDaly, @jridgewell, @divslinger, @shuding, @DuCanhGH, @balazsorban44, @acdlite, @teobler, @styfle, @manovotny, @huozhi, @smorimoto, @Dannymx, @Janpot, @alexkirsz, @nohr, @Humboorgir, @wyattjoh, @timneutkens, @overlookmotel, @HaNdTriX, @proustibat, @fedeya, @wbinnssmith, @irekrog, @jankaifer, @SukkaW, @rayrw, @kdy1, @seiry, and @unflxw for helping!

Don't miss a new next.js release

NewReleases is sending notifications on new releases.