Next.js 10.0.0 is officially released. This project is a simple framework for rendering React applications on the server side.
The updated information is as follows:
Core changes
- Add domain to locale mapping processing: #17771
- Make sure locale detection is not case sensitive: #17757
- Solve several international cases: #17805
- Font optimization in Webpack 5: #17450
- Allow pages to be asynchronous modules to enable top-level waits: #17590
- Update the redirection handling of the locale domain: #17856
- Image component basis: #17343
- chore (collect-plugins.ts): delete duplicate entries: #17441
- Resolve to actual path before checking for path inequality: #17279
- The way to deal with the default locale instead of accepting the language's preferred language: #17883
- Add locale tool for transitional locale client: #17898
- Make sure to pass the parameters correctly to the hybrid amplifier page: #17461
- Add the i18n item to the route list: #17893
- Add support for returning 404 from getStaticProps: #17755
- Make sure AMP supports i18n: #17923
- Call Web Vitals at the right time to report: #17933
- Use i18n to fix the initialRevalidateSeconds list field: #17926
- Add support for Image Optimizer: #17749
- Add missing next/image package file: #17940
- Only load plugins with the @next prefix: # 17945
- Update the default configuration to match the image optimization: #17943
- Fix the width parameter name of Image Optimizer: #17952
- Unify config.image.breakpoints into config.image.sizes: #17953
- Improve the type of image component: #17954
- Add performance data experiment: #17956
- Make sure
w
to include parameters only when providing width. #17971 - Image component lazy loading: #17916
- Make sure that the optimizer does not cancel the animation processing of the animation asset: #17974
- Fix the type of lazy image component: #17984
- Update to postcss-loader 4.0.2 .: #17458
- Update the processing of related files in the image optimizer: #17998
- Ensure that the correct default locale is detected for the domain locale: #18046
- Remove multi-host support for image components and support quality delivery: #18038
- Add
width
andheight
prop image component: #18031 - Make sure to record the revalidation of the root index GSP page: #18053
- Update resolve-url-loader to fix the vulnerability: #18064
- Pass the locale to getStaticPaths of i18n: #18077
unsized
Add attributes to the image component: #18059- Fix CSS dependency in /_error: #17301
- Moved to optional dependencies : #18068
- Update to PostCSS 8 .: #17415
- Update peer dependency to resolve React 17: #18089
- Upgrade to Chokidar 3.: #17558
- Upgrade @ampproject/toolbox-optimizer: #18087
- Fix the precompiled code: #18093
- Image component: Support Akamai Image CDN: #18100
- Fix the default settings of the image component and remove the automatic optimization: #18101
- Fix merge conflict: #18106
- Update fallback 404 handling to prevent reloading loop: #18119
- Set lazy loading to next/image by default: #18123
- Add locale error handling: #18115
- Skip image optimization for vector images: #18179
- Add support for string width/height on image component: #18178
- Fix the flickering of no-src image when using next / image: #18195
- Update style jsx to 3.3.1: #18200
- Make sure to use notFound to correctly render 404 with SSG: #18205
- Update to use subscription to illustrate React 17 peerDependency: #18199
- Divide configuration into
deviceSizes
andiconSizes
( #18267 ) - Add configuration limit check for image optimizer ( #18217 )
- Fix the image
srcset
to ensure that the componentwidth
is as large as possible for the image ( #18236 ) - Add next/image default loader error ( #18152 )
- If the loader is not the default setting, the image optimization API should be 404 ( #18211 )
- Adjust the position of configuration options: #18279
- Remove the unstable_ prefix from unstable_blocking: #18276
- Fix the problem of redirecting from getServerSideProps / getStaticProps returned by the browser: #17741
- Add support for notFound in getServerSideProps: #18241
- Improve the type of GSP return type: #18285
- Remove the unstable_ prefix from unstable_redirect: #18282
- Re-add the domain locale redirection processing: #18274
- Remove the unstable_ prefix from unstable_notFound: #18283
- Add the discovery of extracting 404 SSG data when the fallback is not found #18214
- Expose the configured default locale in the GS(S)P method: #18216
- Adjust the default image quality to 75: #18292
- Added support number quality on picture component: #18224
- Rename iconSizes to imageSizes, remove size limit: #18294
- Record leverage configuration: #18175
- Fix the trailing slash in the default image loader: #18298
- Make sure getStaticProps is called for SSG 404 in blocking mode: #18300
- Enable feature flag: #18303
View detailed update information: https://github.com/vercel/next.js/releases/tag/v10.0.0