v12.0.10
Core Changes
- fix: image optimizer hangs when invalid image is requested: #33719
- feat: make
compress
configurable in standalone mode: #33717 - fix: allow certain variable names in development: #33638
- Use swc parse for flight server and client loaders: #33713
- Properly support custom 500 page in the web server: #33729
- chore: deprecate process.browser: #32862
- Improve tests for streaming and server components: #33740
- fix: fixes #33314 move is-plain-object for es5 compilation: #33690
- Add
stale-while-revalidate
pattern to Image Optimization API: #33735 - Allow to delete URL search params in middleware rewrites: #33725
- Ensure all CSS files are included for experimental critical CSS: #33752
- Ensure non-error thrown in getStaticPaths shows correctly: #33753
- Fix encoding error with location and refresh headers: #33763
- Fix duplicate image src causing canceled request: #33776
- Generate functions manifest: #33770
- Enable jest hoist transform when using next/jest: #33731
- fix typo: #33840
- fix(next/image): render valid html according to W3C: #33825
Documentation Changes
- Update Time to First Byte (TTFB) link: #33715
- Changed data fetching file name to overview to fix meta data title: #33232
- Correct misspelling in testing documentation #33754: #33755
- Move custom server note from middleware doc: #33744
- Fixed duplicate data fetching overview page + links: #33774
- [docs] Mention SWC in TypeScript documentation.: #33801
- Testing docs: Comment out optional config that points to a file: #33827
- Update Content-Security-Policy header usage explanation: #33833
Example Changes
- Fix
with-docker
example dockerfile: #33695 - Added next.config.js with datocms-assets domain in allow list: #33647
- Fix: broken npm install: #33767
- [example] Upgrade the with-stripe-typescript example app: #33761
- Upgrade to @stitches/react 1.2.6: #33817
- Doc: fix broken link to api routes doc: #33836
Misc Changes
- run stale 20 minutes earlier
- fix: use github action instead of bot: #33718
- fix syntax error in
lock.yml
- fix rsc test suite runner: #33745
Credits
Huge thanks to @Vienio99, @balazsorban44, @kyliau, @molebox, @huozhi, @shuding, @PepijnSenders, @krystofex, @PizzaPete, @souljuse, @styfle, @Schniz, @nelsonfrank, @ijjk, @Mhmdrza, @timneutkens, @hideokamoto-stripe, @Emrin, @gr-qft, @delbaoliveira, @redbar0n, @amandeepmittal, @lxy-yz, and @divlo for helping!