v11.0.1
Core Changes
- Fix failing Runner import: #26172
- docs: fix ignoring-eslint-url during build: #26165
- Fix babel-loader failing on JSON5 syntax: #26194
- Fix eslint version check for older versions: #26212
- fix: use a client-side navigation when redirecting to a rewriten URL: #25990
- Fix next/image noscript src path with loaders: #24011
- Fix long URLs causing 400s with dynamic routes/rewrites: #26221
- Ensure has query encoding is normalized: #25732
- Fix Show error when user put wrong values in width or height: #26166
- Update to latest TypeScript version and de-dupe versions: #26285
- Automatically use createRoot for React@>=18: #26279
- Omit svg static imports if custom webpack config is defined: #26281
- [ESLint] Adds
--quiet
flag, TypeScript resolver and bug fixes: #26280 - Add runtime to hotUpdateMainFilename: #26256
- Add check for startLatency in fast refresh: #26417
- fix: ignore invalid accept-language header: #26476
- chore: Add Alex to lint documentation: #26354
- Fix domain locales not available on client: #26083
- Update to only add image import types when enabled: #26485
- Strongly type
Router.events.on
andRouter.events.off
: #26456
Documentation Changes
- docs(image): fix image import path: #26142
- Ensure all errors are added in manifest: #26129
- Update next/image docs and examples: #26150
- Fixed no-img-element documentation snippet.: #26154
- docs(next/script): Improve formatting of docs: #26149
- add missing step of installing next@latest: #26141
- Fix
next/image
docs version history: #26192 - Update next/image docs and example with shimmer animation: #26183
- Update docs on static image imports: #26211
- Update note in script doc: #26214
- Doc "no-sync-scripts" remove experimental notice: #26225
- Correct the word "remove": #26258
- Update next/script docs to clear up confusion around next/head and client-side JS: #26253
- docs: remove duplicated
--ts, --typescript
from Options: #26252 - Correct Next.js 9 upgrade instructions: #26271
- Fix closing tag in Script docs: #26276
- docs: fixed typo: #26311
- Extend disclaimer for dynamic image imports: #26241
- Add docs on adding HTTP security headers.: #25833
- Improve the
next/script
documentation.: #26325 - add missing closing bracket: #26375
- Docs: Add Prettier section on ESLint page: #26347
- docs(router.md) Add note about page state and navigation: #26320
- Add module.exports to security headers documentation: #26466
- Update i18n fields in docs: #26492
Example Changes
- (examples/image-component): fix placeholder href: #26140
- fix(examples):
future.webpack5
-> top levelwebpack5
: #26175 - [examples/cms-wordpress] fix typo on alert message: #26115
- Follow the breaking change of jest-config: #26082
- Update examples to use React 17: #26133
- Add cms-drupal example: #25198
- Fix: upgrade react-test-renderer version to 17.0.2: #26229
- Update postcss version in examples: #26226
- Update with-supertokens example: #26266
- Updating Typescript to recommended minimum 4.3.2: #26267
- (examples/with-lingui): update example: #26076
- Examples: Fixed the example path to correct value: #26255
- Update with-eslint example.: #25817
- (examples/with-webassembly) fixed for webpack 5: #26440
Misc Changes
- Update create-next-app template favicons: #26289
- Remove period for ESLint
passHref
docs link.: #26402 - Ensure image-types file is included: #26495
Credits
Huge thanks to @HermanNygaard, @styfle, @IvanKalinin, @lachlanjc, @Braweria, @RileyMShea, @Dev-CasperTheGhost, @CauanCabral, @toyamarinyon, @DavidVaness, @nickbabcock, @jwilsson, @timneutkens, @antoinechalifour, @valse, @arshad, @Silinde87, @Vadorequest, @tim-hanssen, @ducdev, @rishabhpoddar, @LEvinson2504, @akellbl4, @schemburkar, @greatSumini, @giraffesyo, @zneb, @jthcast, @devknoll, @housseindjirdeh, @lukeingalls, @joe-bell, @leerob, @pacocoursey, @aksdevac, @araujogui, @ijjk, @vitalybaev, @samrobbins85, @huozhi, @petermekhaeil, @RobVermeer, and @flybayer for helping!