Core Changes
- Fix router not working on some protocol: #16650
- Remove @babel/preset-modules: #18759
- Typo in err.sh url nextjs instead of next.js: #18787
- Omit ignored property from <Image/ > to prevent confusion: #18796
- Update Image docs with links to examples: #18770
- Print error when Image src is protocol-relative: #18809
- Disable image optimization for Data URLs: #18804
- ncc inlining optimizations: #18752
- Ensure redirects are handled properly from cache: #18806
- Update ncc: #18823
- tests(create-next-app): increase coverage: #18630
- Speed up SSG prefetching: #18813
- Make getInlineScriptSource arg Readonly: #17281
- Upgrade browserslist: #17662
- ncc Babel inlining: #18768
- (docs) Add format to
notFound
for consistency: #18363 - Add props
objectFit
andobjectPosition
to Image component: #18849 - Fix chromedriver set-up to test electron separately: #18854
- yarn dev regression fix, ncc revert: #18861
- Fix lazy loaded images on IE 11 when no IntersectionObserver detected: #18868
- Ensure we prefetch on hover: #18859
- ncc 0.25.0 upgrade and fixes: #18873
- Upgrade cssnano: #18879
- Load CSS early instead of only preloading: #18846
- Ensure correct target is used for ncc'ing web-vitals: #18905
- Control prefetching with React: #18904
- Fix redirect query handling for param like values: #17448
- Fix html validation for Image component: #18903
- Ensure auto-export dynamic routes work with i18n next start: #18930
- Export ImageProps from Image component: #18576
- Fix false positive in isSerializable with shared references in arrays: #18232
- Upgrade sass-loader to 10.0.5: #18972
- Add etag header to optimized image response: #18986
- Remove
next-head-count
: #16758 - Fixed wrong function name in error message: #19034
- Ensure correct defaultLocale is provided for locale domain: #19040
- Ensure basePath behavior with GS(S)P redirect: #18988
- Update chokidar to latest: #18995
- fix(next): resolve absolute path to @babel/runtime: #18921
- Print error during
next export
with default image loader: #19032 - Replace page loader with new route loader: #19006
- Ensure params and locale are parsed correctly in fallback mode: #19063
- Add test and errsh for mixed notFound/redirect error: #19076
- Add experimental Next.js plugin version locking: #19084
- Ensure i18n with basePath works properly: #19083
- Upgrade use-subscription for React 16/17 bicompat: #19087
- Adjust how CSS files are fetched: #19091
- Update node-html-parser lib: #19103
- Fix grammar in isSerializableProps: #19072
- fix: issue #18338 - don't add a trailing slash to external links: #18595
- Ensure optional catchall prerendered indexes and i18n: #19116
- Fallback to default config to enable testing Image component: #19107
- Remove preload for priority images: #19118
- Fix component lifecycle order for style swap: #19125
- Add missing
sizes
prop on image component: #19128 - Respect next/babel user provided runtime option: #19136
- Add "nonce" from to the injected <style> to satisfy CSP: #19150
- Upgrade Cosmic example to Next.js 10, image load fix, post sorting by -created_at: #18310
- Add locale: false for custom-routes + i18n: #19164
- Enable handling for revalidate and notFound: #19165
- Fix minifying inline CSS comments: #19167
- Fix prefetching in IE11: #19171
- Upgrade
styled-jsx
: #19241 - Ensure data prefetch for default locale is correct: #19085
- Ensure i18n + trailingSlash: true handles correctly: #19149
Documentation Changes
- Update exportPathMap.md: #18483
- Update asPath to mention basePath/locale stripping: #18807
- docs: fix a typo "concatenated" instead of "concatentated": #18812
- Fix typo on
api-reference/image
: #18818 - Add note to i18n docs about domain locales: #18845
- Update docs for
notFound
andredirect
: #18870 - Add docs for fallback: 'blocking': #18568
- Add type keyword to API Routes examples: #18234
- Add upgrading guide from Next.js 9 to 10: #19101
- Add note about changing basePath config: #19111
- Propose some sentence changes: #19121
- Update docs to use instead of : #19160
- Add next/image docs for omitted props: #19158
- Update response-helpers.md: #19189
- Update multi zones example: #16281
- Update fast-refresh.md: #18047
- Add docs on incrementally adopting Next.js.: #19226
- Update next/link docs to not include example without
href
: #19247 - Fix docs about the return of getStaticProps on basic-features/pages: #19267
Example Changes
- fix: issue #18256 - examples/with-firebase-authentication: fix to use getIdToken to get the token: #18599
- feat(examples): use next-plugin-preact on using-preact example: #18588
- Fix issues with apollo cache data merging and restoration: #17681
- Updated chakra-ui dependencies: #18881
- Add to : #18900
- Update image example with link back to source code: #18909
- [Examples] Switch contentful example to graphql: #15223
- chore: updated react to v17 on with-webassembly example: #18916
- Fixes with-chakra-ui example error: #18954
- chore: fix some with-electron-typescript example setup: #18976
- Update with-sentry example to show how to track API routes + bug fixes: #16484
- Add
with-gsap
example: #17195 - Upgrade with-mobx example: #17921
- Fix ViewSource component in the docs: #19022
- Add mutation example to with-typescript-graphql: #16742
- Add with-knex example: #17904
- Feat(example): Add with-zustand example: #17835
- [Examples] Prevent getStaticProps from returning "undefined": #19012
- Add missing dependency to with-typescript-eslint-jest: #17864
- Fixed missing SSR styles in with-fela example: #17647
- Use useRouter over Router for with-react-ga example: #17710
- refactor: update example of storybook: #17936
- fix(examples/with-firebase-cloud-messaging): replace deprecated method: #19080
- Add self-hosted information to with-sentry example: #18102
- Example for adding a service worker into a next.js application: #17855
- [examples/blog-starter-typescript] Upgrade to TypeScript v4: #18225
- fix(examples/with-chakra-ui): Fixed Spelling: #19088
- fixed project name to reflect example name in readme: #19056
- Improve with-electron-typescript example: #18277
- Added query object as property to url object: #18340
- Example: Deta Base: #19061
- Revise image example with layouts near the top: #19161
- Add apollo state func: #19137
- Upgraded to chakra V1: #19181
- Update with-magic example: #19207
- Fix link to developer plan in Kontent example: #19265
- Upgraded to chakra V1: #19181
- Update with-magic example: #19207
Misc Changes
- Silence GH Comments for Preview URLs: #18766
- tests(create-next-app): remove extraneous helper: #18833
- Fix production test compatibility for ie11: #18874
- Fix relay-analytics test on Azure: #18875
- Add additional tests: #18597
- feat: update create-next-app to init with main as initial branch: #17745
- Update Azure config: #18931
- Update Azure cache key: #18964
- tests(create-next-app): prevent catch assertions: #18939
- Break-up unit tests to separate step: #18992
- Add test for
.ico
image bypass: #19025 - [bundle-analyzer] Fix incorrect example: #18952
- Bump node-sass development dep to v5: #19070
- Mention feature requests are converted to discussions
- Update 1.Bug_report.md
- Fix typo in 1.Bug_report.md: #19143
- Update 1.Bug_report.md
Credits
Huge thanks to @Cow258, @styfle, @toshi1127, @guybedford, @ciruz, @Timer, @jorisw, @rifaidev, @willianjusten, @jamesgeorge007, @willheslam, @TrySound, @AlexVilchis, @ijjk, @vitordino, @matthewlilley, @lfades, @Prottoy2938, @brunocrosier, @OriginalEXE, @sidthesloth92, @davidsonsns, @awareness481, @giraffesyo, @saitolume, @tolfino, @iczero, @WestonThayer, @galanggg, @davidgolden, @weichienhung, @devknoll, @ashconnell, @callumbooth, @lyderichti59, @lukyth, @FredyC, @merceyz, @danielstocks, @valse, @MrJmpl3, @Sm1t, @lucas-varela, @jose-donato, @Kerumen, @chr-ge, @pocorschi, @ludofischer, @timneutkens, @jflayhart, @aried3r, @gr-qft, @LittleboyHarry, @Akumzy, @balazsorban44, @xeust, @tonyspiro, @yordis, @AmrSaber, @Mzaien, @PaulPCIO, @sphilee, @leerob, and @Simply007 for helping!