Skip to content

v13.1.0

Compare
Choose a tag to compare
@timneutkens timneutkens released this 22 Dec 14:59
· 7142 commits to canary since this release

Core Changes

  • Fix windows slashes for app client entry: #44052
  • Hash both pitch and main loader for server CSS imports: #44063
  • Add tracing for testing tools: #44046
  • Run packing in tests in parallel: #44048
  • feat: app dir error-global component: #44066
  • Fix ignoring dev warning for preload component: #44065
  • refactor(next-swc): introduce next-binding to consolidate dependencies.: #43473
  • Add lodash to server components external packages: #44022
  • Fix dev session stopped handling: #44112
  • Add jsdoc/no-types eslint rule for TypeScript files: #44049
  • Revert "Remove useState from next/image (#43587)": #44094
  • should not contain pages css in app dir: #44151
  • Upgrade undici to 5.14.0 to fix fetch redirect bug: #44133
  • build(cargo): fix turbopack + next-swc build: #43983
  • Align onRecoverableError callback between pages and app dir: #44161
  • build(cargo): update turbopack: #44167
  • Update styled-jsx: #44070
  • Fix crash in GraalVM: #44176
  • Also check error.message as digest for recoverable errors in pages: #44185
  • Move options to stable: #44195
  • Move transpilePackages out of experimental: #44194
  • Fix CSS resources being duplicated in app dir: #44168
  • Add telemetry for stable features: #44201
  • Add warning for experimental flags that have moved: #44202
  • build(cargo): bump up turbopack: #44206
  • Bump @vercel/nft@0.22.6: #44193
  • Disable Image Optimization API when next.config.js has unoptimized: true: #44205
  • Honour distDir in type generation: #44207
  • Only once for the next/head usage in app dir: #44233
  • Enable allowMiddlewareResponseBody by default: #44224
  • Move modularizeImports out of experimental: #44240
  • Update config validation for latest turbopack changes: #44223
  • build(cargo): update turbopack: #44241
  • update turbopack for bugfixes: #44251

Documentation Changes

  • docs: Add explanation about font-display: #44001
  • Test that adding query can be detected by useSearchParams: #43969
  • Add static test for useSelectedLayoutSegments: #43955
  • Docs: Update deployment.md with Firebase, Amplify and Cloudflare: #44092
  • Add test for rewriting in middleware in app-dir: #43971
  • docs: Add missing type to import statement: #44111
  • docs: update next/dynamic docs: #44067
  • Update disabling-http-keep-alive.md for server-side only: #43374
  • docs: fix spelling error: #44191
  • Write tests for navigation between app-dir and pages: #43881
  • Add docs for middleware flags: #44235

Example Changes

  • Updates with-supertokens example: #44042
  • Fix styled-components setup in turbo example: #44165
  • update with-turbopack example for postcss/tailwind support: #44261

Misc Changes

  • Run packing in tests in parallel
  • Revert "Run packing in tests in parallel"
  • Remove extra turbo test: #44073
  • Implement new core test API: #44086
  • Refactor more tests to createNextDescribe: #44104
  • Add types as a default dependency into tests: #44140
  • Suggest contributors to use shallow clone: #44158
  • Update pnpm new-test to use createNextDescribe: #44147
  • Update README templates to include snippet on next/font: #44088
  • Wrap CSS variable in var: #44153
  • Ensure next.url is used instead of next.appPort: #44163
  • test: add test for notFound during streaming: #44078
  • Fix test template example: #44170
  • Remove devcontainer network host argument: #44157
  • Fix pnpm install on Azure: #44179
  • Enable ReactRefreshLogBox scss test: #44180
  • Increase recommended git clone depth: #44181
  • Document how chain works in BrowserInterface and chain to browser.eval: #44085
  • Remove browser.refresh in app tests: #44186
  • Move tests into their test folder: #44183
  • Add test checking that repeated edits won't cause hydration issues: #44189
  • Update labeler.json with current next.js team members: #44231

Credits

Huge thanks to @shuding, @hanneslund, @rishabhpoddar, @jankaifer, @huozhi, @timneutkens, @kwonoj, @IamManchanda, @styfle, @nyedidikeke, @jaslong, @jueungrace, @longzheng, @akshitsinha, @Brooooooklyn, @gish, and @sokra for helping!