v10.0.8
Core Changes
- fix: use absolute paths for require hook: #21877
- Experimental feature - fix optimizeCss flag for serverless deployments: #21790
- feat(next/image): remove
sharp
for wasm variant: #22253 - Add isPreview field to router: #21638
- Delay server compilation until client compilation is done in development: #22187
- Reduce webpack watcher aggregate timing: #22418
- Add generating static 500 status page: #22139
- chore: upgrade webpack5: #22460
- Ensure static 500 hydrates correctly with query: #22468
- Ensure rewrites are resolved while prefetching: #22442
- Allow smaller sizes in srcset for image with fill layout and sizes prop: #21670
- Experimental script loader changes: #22038
- Ensure component load order: #22731
- chore: upgrade webpack 5 version: #22737
- Fix index revalidate with dynamic route in minimal mode: #22783
Documentation Changes
- Document
scroll
option for router.push: #22275 - Point to official next-auth example: #22282
- Update docs.: #22358
- docs(deployment): Add Docker Image section: #17794
- add-supertokens-to-authentication.md: #22223
- Update NEXT_LOCALE cookie note: #22736
Example Changes
- With Supertokens example: #21384
- Fixing grammar: #22201
- Update emotion example package names in readme: #22144
- with-google-analytics: replace the GA_TRACKING_ID string by a environment variable: #21817
- Fix typo in German translation: #22291
- Change zeit fetch to vercel fetch: #21913
- Fix/Update (with-chakra-ui-typescript) dependencies: #22328
- improved the example on how to use WDYR with the latest next.js: #21651
- chore: fix typo in web.js: #22150
- added port config var to migrate-db.js and .env: #22395
- fix(examples/with-three-js): Upgrade [email protected] & [email protected] #22365: #22431
- moving to upstash and new integration: #22436
- Add Azure Pipelines example to no-cache docs: #22708
- Add missing dependencies in example: #22712
Misc Changes
- Update CODEOWNERS: #22232
- Fix issue templates: #22349
- docs(deployment): Update working directory in builder stage: #22478
- Update deployment docs to mention caveat on next.config.js.: #22480
- example: Nhost with auth and realtime graphql example added: #22493
- fix: correctly handle fallbacks for webpack 5: #22497
- Mention regex route behavior with i18n: #22500
- Fix experimental optimizeCss for SSR: #22513
- docs(deployment): Update user ownership in docker deployment docs (#22539)
- bug (#21943): remove incorrect rewrite of parsedUrl.pathname in serverless handler (#22445)
- Forward log argument from loadEnvConfig to processEnv (#22440)
- Update the react-three-js example. (#22549)
- Add link to TypeScript docs from API Routes section (#22564)
- Simplify code examples for dynamic API routes (#22546)
- Load next.config.js async (#22578)
- fix: load webpack hook before config is required (#22583)
- Switch to stable rust for with-webassembly example (#22582)
- Add use cases for API Routes to documentation. (#22616)
- Fix typescript-eslint-jest example to remove Prettier package causing errors (#22452)
- Add note about other redirects to
next.config.js
docs.: #22640 - Update authentication.md SSR example: #22641
- Fix grammar in next/amp API reference: #22653
- Add note about preloading to routing introduction.: #22656
- [examples/with-typescript] Upgrade to React v17: #22674
- deps(examples/hello-world): Upgrade to React v17: #22692
- Add note for using
getStaticProps
with404.js
: #22693 - Ensure optional params are normalized in minimal mode: #22676
- Update webpack server chunks output: #22697
- Examples bump supertokens: #22764
- Add example prepr cms: #22776
Credits
Huge thanks to @rishabhpoddar, @daviavmello, @jpalmieri, @merceyz, @Segolene-Alquier, @divmain, @michrome, @janicklas-ralph, @Parnswir, @giraffesyo, @balazsorban44, @ijjk, @Cicada95, @vzaidman, @deniseyu, @leerob, @eltociear, @unimprobable, @timneutkens, @getspooky, @Timer, @armand1m, @alexknipfer, @elitan, @atcastle, @noahfschr, @amille44420, @laanayam333, @spidgorny, @devuxer, @Janpot, @nickbabcock, @rsipakov, @NkxxkN, @dominicfraser, @alevosia, @Kerumen, @CMeeg, @Pomaio, and @tim-hanssen for helping!