next 10.0.1
Core Changes
- Add err.sh for missing images domain: #18325
- Unlazify images if no intersection observer found: #18345
- Add err.sh for image config errors: #18424
- Add err.sh for i18n config errors: #18425
- Ensure custom routes handling with i18n: #18427
- Ensure i18n context values are provided for blocking 404: #18513
- Add layout prop to Image component: #18491
- Deprecate Image
unsizedproperty and addlayout="fill": #18562 - Add all deviceSizes to srcset for responsive and fill: #18594
- Avoid calling setState in callback ref: #18589
- Ensure correct params are used with i18n revalidation: #18569
- Fix image format for Safari and old browsers: #18646
- Update 3rd party image loaders to prevent upscaling: #18647
- fix: add missing dot to https://err.sh/nextjs: #18652
- Remove the static optimization indicator: #18629
- Rotate image from EXIF data: #18687
- Ensure preload works correctly with locale option: #18511
- Ensure html lang is updating on locale transition: #18699
- Ensure getStaticProps isn't called without params with i18n: #18702
- Ensure localeDetection: false doesn't detect from header: #18695
- Allow passing statusCode for GS(S)P redirect: #18422
- Ensure correct locale is used for non-prefixed path: #18708
- Ensure locale is added/stripped correctly: #18712
- Update default widths configuration to handle 2x/3x DPI: #18717
- Ensure multi-level basePath works properly: #18715
- Fix dynamic css unloading: #17173
- Prevent Next.js from removing all of its styles on hydration: #18723
- Ensure redirect from GS(S)P doesn't render: #18749
Documentation Changes
- Fix docs default config values: #18319
- Update docs with details for cached images: #18399
- Update image optimization docs to include blog details: #18401
- docs: Add description to i18n-routing: #18438
- Update install-sharp.md: #18508
- docs: fix missing comma in invalid redirect gssp: #18580
- Update
redirectand notFound GS(S)P documentation: #18690 - Add documentation for localeDetection: false: #18696
- Update Gatsby migration guide to include next/image.: #18741
Example Changes
- fix: Order
moduleFileExtensionsleft-to-right: #18328 - Tweak Image Optimization URL in example: #18355
- remove unneeded deps & updated example: #17651
- Fix GSP page titles in i18n-routing example: #18465
- Update using-preact example's dependencies: #18493
- Fix i18n-routing Vercel deploy button URLs: #18524
- small tweaks for those testing on an existing site with missing autho…: #18506
- fix: issue #18360 - loading spinner not showing up: #18527
- Update next-translate example to support Next 10 with i18n routing: #18480
Misc Changes
- Fix Symbol.prototype.description: #18423
- Update README.md
- Fix Symbol.protype.description polyfill: #18575
- Add default tags for issue templates: #18627
- add rewrites in storybook preset: #18364
Credits
Huge thanks to @styfle, @quinnturner, @ijjk, @atcastle, @SebastianTroc, @JipSterk, @developit, @yokinist, @jorisw, @queq1890, @oriverk, @ospira, @danielivert, @huv1k, @Janpot, @minhtule, @shunkakinoki, @cascandaliato, @khades, @leerob, @aralroca, and @eric-burel for helping!