v12.0.2
Core Changes
- update tsconfig correctly when compilerOptions is not set yet: #30355
- Update swc: #30404
- fix external fallback for invalid packages: #30427
- Update swc: #30426
- remove console.log: #30447
- Relax warning for
next/image
parent element: #30453 - Make sure externals is an array: #30466
- Fix native-url containing non-es5 usage: #30474
- Fix issue with placeholder followed by numbers: #30493
- Share resolve logic for trace and externals: #30499
- Update to copy necessary RSC files from dep: #30505
- Update swc: #30509
- Update swc to fix minifier issue: #30540
- Exclude musl from target: #30548
- Revert "Update swc to fix minifier issue": #30551
- Fix file path overflowing in error popup: #27575
- add warning to update featureName in FEATURE_USAGE backend: #30283
- Update publish-native to not block on error: #30565
- Simplify concurrent features related configurations and fix tests: #30546
- Split Set-Cookie header correctly: #30560
- Relax warning for
next/image
loader width: #30562 - Fix publish native including non-packages: #30589
- Fix redundant styled-jsx global issue: #30584
- Add buffering for streaming until the shell is completed: #30585
- Check react 18 flags and add more tests: #30575
- Update to latest shell-quote: #30621
- Relax warning for
next/image
loader width even more: #30624 - make sure "webpack" exists in the repo for typings: #30371
- Chore/rust workflow: #30577
- update webpack: #30634
- Update output tracing to do separate passes: #30637
- Revert incremental config to fix missing types: #30644
- Fix check compiled step : #30645
- Fix missing dev option for the middleware SSR loader: #30639
- Fixed "Expected jsx identifier" error on TypeScript generics & angle bracket type assertions in .ts files: #30619
- Add auto-commonjs and update swc: #30661
- Provide default fallback _document and _app for for concurrent mode: #30642
- Remove isCommonJS check as it has been moved to next-swc: #30677
- Update swc: #30685
Documentation Changes
- Removing duplicated instead word: #30442
- fix(docs): Fix broken link in testing documentation: #30448
- Update SWC failed error with link to discussion: #30469
- docs: update Middleware API reference: #30485
- Update examples at headers documentation: #30502
- Document Cross-Platform VS Code Debugging: #30052
- Add note about no-optional to swc error doc: #30566
- Fix link to documentation from deprecated target config message: #30607
- correct Next.js 11 upgrade instructions: #30665
Example Changes
- Update next-transpile-modules to 9.0.0 across examples: #30418
Misc Changes
- Add
incremental
to template/tsconfig.json to avoid changes on first build: #30357 - Fix playwright trace names: #30374
- include stdio in error message: #30358
- Disable using polling for webpack on test retry: #30372
- Update test traces to only run on retry: #30459
- Remove extra config for PR stats: #30478
- Fixed grammatical errors in contributing.md: #30542
- Use fallback SWC version when binary publish fails: #30568
- Use unfiltered SWC packages when updating optional: #30571
- remove Object.fromEntries polyfill for node 10 in test utils: #30657
- Ensure native binary is available for release stats: #30649
Credits
Huge thanks to @oBusk, @sokra, @ijjk, @kdy1, @martpie, @BruceRodrigues, @luke-h1, @styfle, @balazsorban44, @padmaia, @lucasvazq, @velocity23, @AkiraTsuboi, @mitheelgajare, @kyliau, @huozhi, @karaggeorge, @JamiesWhiteShirt, @shuding, @stefanprobst, @leroydev, @JulienZD, and @timneutkens for helping!