github vercel/next.js v13.0.2

latest releases: v15.0.4-canary.11, v15.0.4-canary.10, v14.2.18...
2 years ago

Core Changes

  • Hybrid App Hooks Support: #41767
  • Add sqlite3 to the default list of server externals: #42294
  • Improve the error message when custom export fields are used in an entry: #42221
  • Add preload for layouts / components: #41519
  • Add mongodb to default server externals: #42313
  • refactor(next/turbo): consolidate turbo devserver logic: #42315
  • [middleware] add tests for body reading methods #37980: #41718
  • Handle dynamic css-in-js styles under suspense: #42293
  • Fix page folder being wrongly resolved as page file: #42348
  • Update dev process exit handling: #42367
  • Ensure edge runtime doesn't propagate cache on fetch as Cloudflare doesn't support it.: #42362
  • Add prisma to the external package list: #42323
  • Local font family name: #42286
  • useSelectedLayoutSegment at the current level: #42299
  • Stop writing window specific paths in vscode configuration: #42338
  • Ensure Undici is enabled for appDir in all cases: #42382
  • fix: usage of wasm in an appDir page file using the edge runtime: #41689
  • feat(next/mdx): support experimental mdx-rs loader: #41919
  • Fix CSS modules imports not collected due to race conditions: #42392
  • Fix entry creation on Windows: #42421
  • Mock @next/font when using next/jest: #42413
  • Avoid breaking useRouter() type change: #42430
  • Do not strip loader arg in dynamic for server components: #42426
  • Clarify app and pages file conflicting files: #42415
  • Change usePathname to return string | null: #42380
  • Fix undici warning showing unexpectedly: #42444
  • Remove static generation bail-out from usePathname: #42440

Documentation Changes

  • docs(script): explain expected next/script behavior on client-side navigation: #42260
  • Add path for information in cookie setting: #42146
  • Update wording to remove beta FUD and keep evergreen: #42337
  • update font optimization page: #42266
  • Fix broken link on the upgrading guide: #42340
  • Fix typo: docs/api-reference/next/font.md: #42344
  • Update getting-started.md: #42353
  • Fix typo in usage of onError in script.md: #42368
  • Fix negative lookahead example in middleware.md: #42320
  • Update customizing-postcss-config.md: #42331
  • update middleware cookies example: #42341
  • Fix Docs API Reference font.md broken link: #42418
  • fixed missing <Link /> keyword: #42422
  • Fix docs for next/image upgrade guide: #42424
  • Revert font-optimization.md syntax: #42403
  • Fix invalid markdown lang: #42442

Misc Changes

  • Update app-dir E2E tests for deploy: #42269
  • create-next-app: add head to template: #42357
  • Update flakey SIGINT test: #42370
  • Fix typo in app / hello.js template: #42335
  • [eslint-plugin] Stop warning for head element in app/layout on Windows: #42336
  • Update default eslint choice for CNA setup: #42371
  • Update swc builds: #42393
  • Add meta tag to default app template: #42394
  • examples: Fix with-turbopack typo: #42410
  • Google fonts single request: #42406

Credits

Huge thanks to @wyattjoh, @shuding, @ijjk, @timneutkens, @kwonoj, @balazsorban44, @Kikobeats, @BLUE-DEVIL1134, @timeyoutakeit, @huozhi, @ismaelrumzan, @mnajdova, @aleksa-codes, @delbaoliveira, @gruz0, @meenie, @danmindru, @inokawa, @hanneslund, @oBusk, @BRKalow, @devvspaces, @lucasassisrosa, @adictonator, @m7yue, @styfle, and @chibicode for helping!

Don't miss a new next.js release

NewReleases is sending notifications on new releases.