Core Changes
- [Script] Use
__non_webpack_require__
to fetch partytown server-side: #35793 - Use ReadableStream in client hydration for Firefox compatibility: #35796
- Continue testing react v17 with e2e tests: #35787
- Collect packages are used and eliminated in getServerSideProps: #35404
- Initial implementation of statically optimized flight data of server component pages: #35619
- Fix
layout="raw"
image element sizes prop: #35809 - fix: reset visible state when src/href changed: #35287
- Add warning when importing "next" directly: #35884
- Custom app for switchable runtime: #35666
- Update repo to use react 18 by default: #35888
- Fix Firefox flash of white on
next/image
withplaceholder=blur
: #35889 - Fix data encoder and decoder to use
stream
in renderer: #35936 - Revert "fix the dynamic routing of middleware": #35932
- Update: Add error message when for getServerSideProps invalid return value: #35887
- Code refactoring: #35937
- fix: add locale prefix to middleware preflight url: #35911
- Emotion SWC Plugin - Allow for jsxImportSource to be configurable: #35963
- Update polyfill of web streams: #35571
- Add
.eslintrc.cjs
to list of supportednext lint
config files: #35440 - update webpack: #35867
- Ensure minimalMode previousCache expire time is capped: #35954
- Add test case for module resolution in node_modules from different contexts: #35978
- Support shared component with next built-in client components: #35975
- Use eager import to include client modules: #35979
- Use renderToString for flush effects: #35999
- test: organize react 18 tests: #36003
- allow to provide postcss plugin options as a string: #35173
- Fix leaking internal config to user-defined
loader
prop innext/image
: #36013 - Support export all syntax in client components: #36027
- Interpolate default exports: #35933
- feat(next-swc): Update swc crates: #35996
- Interpolate default exports is now unnecessary: #36065
- Do not add locale to link for api route and middleware preflight: #35994
- update @vercel/nft to 0.18.1: #36075
- Fix outputStandalone with optimizeCss: #36028
- Interpolate module.exports as default import : #36082
- fix(next-url): print properly using logger symbol: #36097
Documentation Changes
- Docs: update react 18's overview: #35766
- Update dead link for getStaticPaths in error docs: #35814
- Link to
with-docker-multi-env
example.: #35820 - Add Vitest example.: #35858
- Docs: Add useful link to invalid-getstaticprops-value error message: #35915
- Update Manual Steps in Getting Started guide: #35898
- fix: toBeInTheDocument is not a function: #35930
- Refactor default locale prefix to support clone(): #35874
- docs: clarify when you use getServerSideProps: #35922
- Update docs related to React 18: #35952
- Mention HTTP 303 See Other in redirects section: #35997
- Update the docs for Switchable Runtime: #36015
- Add docs for x-nextjs-cache header: #36023
- Improvements to the MDX Docs and replaced a leftover reference to babel: #35332
- Moving middleware file : #36009
- Revert "Improvements to the MDX Docs and replaced a leftover reference to babel": #36066
- docs: failed-loading-swc possible fix for Windows users: #36081
Example Changes
- fix(with-mongodb): Change comment of MongoDB
client
ingetServerSideProps
: #35750 - [example] Fix bird animations in with-three-js example: #36053
- Update to with-supertokens example: #35991
- [Examples] Updating with-elasticsearch to latest Elasticsearch lib version: #36063
- [example] Fix fast refresh in with-slate example: #36095
- add support for changing /route/#hashes: #36079
Misc Changes
- test: add test for basic dynamic import with react 18 hydration: #35772
- Send build trace to datadog in CI: #35306
- Fix docs only check for performance metrics job: #35785
- Run e2e suite against React 18: #35774
- ci(trace): adjust agent env variables: #35790
- ci(trace): fix workflow conditions: #35800
- ci(workflow): fix api key for trace: #35804
- Stabilize react streaming ISR test: #35885
- Fix flaky test: #35951
- Add note to contributing about docs manifest: #36020
- Update turbo cache key: #36074
- docs: suggest cloning with depth=1 to avoid huge downloads: #36064
Credits
Huge thanks to @tianenpang, @huozhi, @Brooooooklyn, @SokichiFujita, @timneutkens, @housseindjirdeh, @kwonoj, @jonespen, @leerob, @shuding, @atcastle, @SukkaW, @samueldusek, @styfle, @amandeepmittal, @bestony, @nkzawa, @kamerat, @JohnDaly, @jakejarvis, @sokra, @reconbot, @bjorm, @kdy1, @HaNdTriX, @Markos-Th09, @rishabhpoddar, @timeyoutakeit, @aravindputrevu, @molebox, @gsimone, @Ethan-Arrowood, @Kikobeats, @williamli, and @vltansky for helping!