Skip to content

Releases: vercel/next.js

v13.2.5-canary.5

16 Mar 20:54
Compare
Choose a tag to compare
v13.2.5-canary.5 Pre-release
Pre-release

Core Changes

  • Ensure router.refresh() matches revalidatePath('/') behavior: #46723
  • Reorganize client references manifest: #46777
  • Opt-in to dynamic rendering when reading searchParams: #46205

Misc Changes

  • update prettier in stats action: #47158
  • Fix RenderOpts type import: #47167
  • Implement custom Turbopack Next transformers: #47137
  • Implement server entry creation in client layer (#47127
  • chore(ci): automatically deploy selected examples: #47130
  • fix: app dir with next dev and output: export: #47171
  • Fix(typedRoutes): fixed files from directories other than pages and app getting into Route: #47184
  • Not apply image loader to metadata images: #47197
  • Adjust transpiler to support inlined server functions with annotations: #47186
  • improve turbopack error overlay: #47132
  • feat(cli): introduce --tailwind flag: #46927
  • Align on next-transform-font: #47179
  • Add OTEL tests: #47149
  • Handle defaultLocale on client router filter: #47180
  • fix build issue and future incompatibility: #47176

Credits

Huge thanks to @sokra, @shuding, @jridgewell, @styfle, @DuCanhGH, @huozhi, @balazsorban44, @wbinnssmith, @jankaifer, @chibicode, and @ForsakenHarmony for helping!

v13.2.5-canary.4

15 Mar 10:56
Compare
Choose a tag to compare
v13.2.5-canary.4 Pre-release
Pre-release

Misc Changes

  • Finish up otel example with working docker and small guide in readme: #46819
  • Add @feedthejim as a codeowner for docs, examples and errors: #47104
  • Add support for scrolling to hash fragment: #46995
  • re-enable next-dev-tests: #47087
  • feat: add output: export support for appDir: #47022
  • Refactor app-render to decouple type definitions (#47128

Credits

Huge thanks to @jankaifer, @sokra, and @styfle for helping!

v13.2.5-canary.3

14 Mar 04:59
6706a2a
Compare
Choose a tag to compare
v13.2.5-canary.3 Pre-release
Pre-release

Misc Changes

  • Detect common invalid cases for the server directive: #47069
  • Implement route announcer for app dir: #47018
  • Fix: Update README templates in create-next-app: #47037
  • chore(examples): fix @ts-ignore in Cloudinary config: #47029
  • Add instructions to bug issue template: #47090
  • Remove experimental fontLoaders option from next.config.js: #46886
  • Verify router state query params can't grow out of control: #47094
  • Fix(typedRoutes): fixed empty DynamicRoutes or StaticRoutes causing Route to turn into type string: #46980
  • Dynamic routes for toplevel robots and sitemap: #47091
  • Correctly list unsupported turbopack experimental options: #47093
  • Continue page rendering after handling server requests: #47089
  • fix(mdx): export NextMDXOptions interface: #46441
  • updated zustand example to 4.3.6, changed out deprecated methods: #46911
  • Fix #46621 - include status code in cache: #47096

Credits

Huge thanks to @shuding, @nk980113, @dirheimerb, @DerTimonius, @hanneslund, @DuCanhGH, @huozhi, @padmaia, @stafyniaksacha, @gladowar, and @zek for helping!

v13.2.5-canary.2

13 Mar 18:55
0b3e357
Compare
Choose a tag to compare
v13.2.5-canary.2 Pre-release
Pre-release

Misc Changes

  • Update next/font/google data: #46988
  • fix: added jsdom & canvas to the external packages list - fixes #46893: #46990
  • Add auto-detection of image/x-icon content type: #47013
  • fix: exclude 'mdx-bundler' from being bundled in server components: #46992
  • Add /route subpath to metadata static routes: #47030
  • test: update amp test to always check redbox: #47050
  • Fix generateStaticParams check in app dir: #47051
  • Fix URL anchor position in going-to-production.md: #47056
  • Rewrite action transform in SWC: #47049
  • Cleanup remove directive logic to reduce allocate: #47055
  • Initial support of redirection in server handlers (#46944
  • Move next-* crates from Turbopack: #47019
  • chore(examples): upgrade Sentry to support Middleware: #47067
  • Merge branch 'canary' into jrl-next-crates
  • Merge pull request #47019 from vercel/jrl-next-crates
  • [with-jest]: Update to use automatic path aliases: #46982
  • Update _mongoClientPromise type error: #46985
  • Prevent handleDisconnect being called twice: #46959
  • Fix next/image config injection during static generation: #47007
  • Refactor renderers and RenderResult: #46955
  • Update app route handler proxy handling: #47088

Credits

Huge thanks to @hanneslund, @JesseKoldewijn, @ijjk, @kaguya3222, @yangshun, @huozhi, @konomae, @shuding, @Brooooooklyn, @jridgewell, @zlrlyy, @JohnDaly, @abhiyandhakal, @benjie, and @johnnyomair for helping!

v13.2.5-canary.1

11 Mar 19:41
Compare
Choose a tag to compare
v13.2.5-canary.1 Pre-release
Pre-release

Core Changes

  • Update next/font/google data: #46988
  • fix: added jsdom & canvas to the external packages list - fixes #46893: #46990
  • Add auto-detection of image/x-icon content type: #47013
  • fix: exclude 'mdx-bundler' from being bundled in server components: #46992
  • Add /route subpath to metadata static routes: #47030

Credits

Huge thanks to @hanneslund, @JesseKoldewijn, @kaguya3222, @yangshun, and @huozhi for helping!

v13.2.5-canary.0

10 Mar 17:06
Compare
Choose a tag to compare
v13.2.5-canary.0 Pre-release
Pre-release

Core Changes

  • Add Zod and router state validation: #46962
  • Support default arrow function export in server boundary (#46977
  • Generate fixed route path for favicon.ico: #46997
  • update turbopack: #46994

Credits

Huge thanks to @shuding, @huozhi, and @sokra for helping!

v13.2.4

10 Mar 00:57
05f6de1
Compare
Choose a tag to compare

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!

v13.2.4-canary.9

09 Mar 23:06
1ce3b36
Compare
Choose a tag to compare
v13.2.4-canary.9 Pre-release
Pre-release

Core Changes

  • fix: Add NODE_OPTIONS for debugging in next-dev: #46757

Misc Changes

  • 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 @huozhi, @hanneslund, @jridgewell, @seiry, and @unflxw for helping!

v13.2.4-canary.8

09 Mar 00:54
715f96f
Compare
Choose a tag to compare
v13.2.4-canary.8 Pre-release
Pre-release

Misc Changes

  • 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

Credits

Huge thanks to @hanneslund and @shuding for helping!

v13.2.4-canary.7

08 Mar 20:02
f99ae5a
Compare
Choose a tag to compare
v13.2.4-canary.7 Pre-release
Pre-release

Core Changes

  • eslint rule for script strategy should work properly in app/: #46609

Misc Changes

  • 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

Credits

Huge thanks to @shuding, @rayrw, @jankaifer, @huozhi, @kdy1, @hanneslund, and @jridgewell for helping!