v13.4.4
Core Changes
- test(turbopack): script to sync latest test lists: #50008
- Pages Module Transition: #49962
- Server Actions: Fix member expr in closure captured values: #50020
- Error in next export when serverActions is enabled: #50039
- [turbopack]: Update renamed SubpathValue: #49636
- Fix default metadata is missing in root not-found: #50044
- Always defer close tags to be the suffix of body stream: #50056
- Fix types of cookies(): #50052
- Fix client references extraction of CJS exports analysis: #50059
- Add
x-forwarded-*
headers to turbopack renders: #50012 - Remove node-sass from peerDependencies: #50065
- Add optional generic parameter to NextResponse: #47526
- feat(turbopack): initial sass-loader support: #49882
- update test snapshots: #50159
- [create-next-app]: respecting the user's
init.defaultBranch
git con…: #49960 - Update
swc_core
tov0.76.18
: #50137 - Fix navigating on not-found: #50047
- Fix env variables set in next.config.js: #50179
- Add warning for edge with force-static: #50182
- fix: add missing
draftMode
type to GetServerSidePropsContext: #50184 - Fix react fetch deduping without next cache: #50187
- Fix pages react alias: #50128
- Add the
node
condition to import resolution: #50007 - test(turbopack): run next.js integration tests with denylist: #50172
- Move debugging variable into useEffect: #50210
- refactor webpack loaders: #49535
- Fix static workers distributing: #50194
- Ensure NEXT_DYNAMIC_NO_SSR_CODE has a unique name: #50219
- fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to prevent issue #49783 from happening.: #49938
- change static path to /_next/static/media: #50207
- Add special route types to the link type declaration: #50066
- fix: NODE_OPTIONS='--inspect' in next dev for debugging: #48019
- enable more test cases for turbopack: #50154
- feat(next-swc): Implement CJS optimizer: #49972
- Fix alias for react-dom/server: #50238
- Revert "feat(next-swc): Implement CJS optimizer": #50247
- Fix free port handling: #50248
- feat(next-swc): Add CJS optimizer again: #50249
- Fix edge case in the CJS optimizer: #50258
- Remove static analysis of
process.env
: #50260 - Update next start listening to behave consistently: #50293
- Update server invoke-request: #50296
- Update unstable_cache key to include args: #50301
- Add root detection utils: #50305
- fix sass handling after refactoring: #50259
- Alias next/server for edge runtime: #50268
- [turbopack]: Serve
_devMiddlewareManifest.json
from router: #50241 - Fix catch-all edge app route: #50313
- land: Include charset=utf-8 with x-component Content-Type header: #50314
- do not apply sass loader on existing loaders: #50308
- Add missing react-dom/client alias: #50324
- Fix missing error when using Actions on the client layer without enabling the feature flag: #50257
- remove allowlist, only use denylist, enable newly passing tests: #50325
- Fix SWC loader options for files outside of RSC layers: #50341
Documentation Changes
Example Changes
- fix: use node copyFile for cross-platform support: #48740
- Clerk example updates: #50021
- Fix TypeScript error in with-mongodb example: #50094
- Use correct casing in filenames: #50223
Misc Changes
- test: disable cache flaky test: #50064
- add tracing for turbopack: #49920
- ci: update github token: #50216
- Fix metadata e2e deploy test: #50252
- Fix middleware e2e deploy test: #50317
- Parallelize Turbopack CI tests: #50292
- makeDir should use func: #50136
Credits
Huge thanks to @kwonoj, @wyattjoh, @shuding, @huozhi, @jridgewell, @ijjk, @karlhorky, @lycuid, @MarkAtOmniux, @darshkpatel, @johnta0, @kdy1, @sokra, @timneutkens, @devagrawal09, @ibrahemid, @styfle, @JesseKoldewijn, @padmaia, @Cow258, @javivelasco, and @05lazy for helping!