Skip to content

v10.0.5

Compare
Choose a tag to compare
@Timer Timer released this 07 Jan 06:50
· 18131 commits to canary since this release

Core Changes

  • Remove extra redirect for index with i18n: #20397
  • Update revalidate checks: #19796
  • Ensure query is present with i18n and history navigation: #20441
  • Ensure index rewrite is matched with i18n correctly: #20509
  • fix(next/image): inherit parent visibility: #20542
  • fix Fast Refresh tests with webpack@5: #20543
  • Ensure path encoding is handled consistently for prerendered pages: #19135
  • Remove import type syntax from core files: #20379
  • Add error for invalid webpack 5 version: #20558
  • Ignore emacs lockfiles: #20497
  • fix(next/image): ignore typography prose styles: #20580
  • Clean up webpack 5 version error: #20578
  • Update sharp optional dependency to support NPM 7: #20432
  • deps: upgrade various deps (mainly babel): #20586
  • Remove unnecessary unfetch polyfill for dev: #20589
  • Add profiling to webpack loaders: #20392
  • Ensure next/image loads correctly with basePath: #20592
  • fix(next/link): reset scroll before lifecycles: #20595
  • Refactor GS(S)P notFound client-side handling: #20594
  • Ensure index basePath is detected correctly: #20596
  • Ensure domain locales are redirected client-side: #20562
  • fix(build): require test files be full name or extension: #20605
  • fix(router): consistent scroll behavior for Link/Router#push: #20606
  • feat(next/image): reduce byte waste for 3x screens: #20610
  • Fix memory leak in useIntersection: #20407
  • feat(next/image): preload priority images: #20615
  • Move CSS Preloads to top of head at document render: #18864
  • Ensure SSG data 404 handles correctly for non-notFound: #20622
  • Fix: fallback font tag repetition: #20382
  • feat: upgrade to [email protected]: #20627
  • Ensure href is updated for locale domain: #20631
  • fix(experimental scroll): use sessionStorage instead of history: #20633
  • Add isReady field on router: #20628
  • fix(overlay): skip disable & upgrade platform: #20647
  • Fix react-dev-overlay rem style conflict: #17723
  • fix(next/image): do not pass-through srcSrc on lazy image: #20651
  • Ensure all entries are cleared from cache on runtime change: #20652
  • Update error when internal href and external as are used: #20658
  • fix(source map): correctly generate source maps: #20672
  • chore: remove old traces of next/data experiment: #20678
  • fix(next/babel): read env from caller, not process: #20679
  • Don't dedupe meta tags with the same name but unique keys: #17099
  • chore(client-image): add return types: #20686
  • Ensure isReady is set correctly for auto static dynamic route: #20729
  • Call res.write('') inside apiRes.redirect() helper to prevent an edge case: #20461
  • fix(next): add missing peer dependencies for sass support: #17606
  • fix(next-mdx): resolve webpack loader: #17983
  • Move sizes var declaration just before used: #18402
  • fix(next/head): assign bool attrs to match server: #20748
  • Fix notFound false pages returning 404: #19861
  • Add pr section to azure config: #20758
  • refactor(client): add return types: #20728
  • Support for custom image loaders via image component prop: #20216
  • Ensure path starts with / when deleting index basePath with query: #20766
  • Ensure i18n + API rewrite is handled correctly: #20751
  • Update error for mis-matching path in getStaticPaths: #20767
  • Only prefetch Link if router is in context: #19857
  • Add missing isReady declaration to NextRouter type: #20819

Documentation Changes

  • Upgrade all http links to https: #20402
  • Docs typo fix: #20498
  • Remove "priority" prop from Image docs: #20471
  • Ignore domains option when loader is set: #18447
  • Add version history for API changes to documentation.: #20604
  • docs: update image docs for consistency: #20621
  • Add docs on authentication patterns.: #16277
  • Update docs for basePath: false rewrite: #20663
  • Update link.md: #20435
  • Clarify how to use Environment Variables on Vercel: #20708
  • Remove outdated documentation: #20714
  • Clarify ctx.query type on getServerSideProps: #20327
  • Add documentation for rewrite params query passing behavior: #20757
  • Add docs for custom image loaders.: #20788
  • Update static file serving doc to mention Next.js 10: #20815
  • Use vercel.app for blog starter URL: #20820

Example Changes

  • example with-google-tag-manager: #20042
  • Style improvements on MongoDB example : #20515
  • Fix typos found on examples docs: #20516
  • fix example using-router import wrong pathname: #20536
  • Update README for with-emotion example: #20338
  • Update README.md: #19885
  • Upgrade Tailwindcss to 2.0.2: #20517
  • Update with-msw example: #20335
  • Correct import comment in interfaces: #20052
  • with-zustand example fix for build error on ssr page: #19465
  • Update with-mongodb to be TypeScript-friendly: #19383
  • Update with-styletron example to not use DebugEngine: #20233
  • Update authentication examples: #19330
  • Update dbConnect.js: #19644
  • Update blog starter example: #19698
  • Update Next.js in mongoose example: #20644
  • example with-mdbreact: #19879
  • Fix withSourceMaps is not a function: #20643
  • Update to Tailwind CSS 2.0 in blog-starter-typescript example: #20664
  • Improve the "why did you render" library example and readme: #20712
  • Update database config explanation in with-firebase-app example: #20709
  • New example: /with-storybook-styled-jsx-scss: #18570
  • Update withUser to useUser in README.md of the example with-iron-session: #20723
  • Update with-antd example: #19699
  • Add new example for rate limiting API routes.: #19509
  • Remove an undefined parameter: #20762
  • with-sitemap example - fix deploy button: #20774
  • with-strict-csp example - fix deploy button since repo was moved: #20777
  • Fix with-react-intl example: #20763
  • Move window check to after initializing Firebase: #20764
  • Updated deploy button URL: #20756
  • Fix mini typo in with-cookie-auth-fauna-example: #20808
  • Guard useSwr() to avoid sending invalid request: #20671
  • Fix: Build time error for with-mysql example #19635: #19636
  • Added with-mqtt-js example: #17939
  • Update gtm.js: #20807
  • feat: add Twilio Paste example: #20587

Misc Changes

  • Update i18n test: #20548
  • Ensure webpack 5 test set-up matches integration flow: #20553
  • ci: adjust Azure Pipelines trigger: #20554
  • Create bug_report.yml
  • Update bug_report.yml
  • Update bug_report.yml
  • Update bug_report.yml
  • Update bug_report.yml
  • Update bug_report.yml
  • Rename bug_report.yml to 1.bug_report.yml
  • Delete 1.Bug_report.md
  • Update 1.bug_report.yml
  • Create 2.feature_request.yml
  • Update 2.feature_request.yml
  • Delete 2.Feature_request.md
  • Update 1.bug_report.yml
  • Update 1.bug_report.yml
  • Update 1.bug_report.yml
  • Update 1.bug_report.yml
  • Create 3.example_bug_report.yml
  • Update 1.bug_report.yml
  • Change order of templates
  • Run prettier against new issue templates
  • Bring back indicator documentation with a note that the feature has been removed
  • tests: add isReady field test for TS: #20821

Credits

Huge thanks to @xom9ikk, @niko20, @LauraBeatris, @armspkt, @xiaooye, @sungpro, @awareness481, @ijjk, @joebernard, @jensmeindertsma, @donavon, @DaneTheory, @Zertz, @danielyefet, @lfender6445, @tajo, @Timer, @lfades, @jorrit, @timneutkens, @matamatanot, @leerob, @tvler, @mustafaKamal-fe, @atcastle, @prateekbh, @gregrickaby, @guybedford, @ciruz, @enochndika, @zimv, @lharries, @JstnEdr, @zbialecki, @fredmontet, @tarunama, @vzaidman, @leo, @kachkaev, @merceyz, @mongolyy, @justinphilpott, @mjr, @fireairforce, @jvarho, @gr-qft, @kaykdm, @thomaswang, @c316, @benbender, @michael, @damusnet, @farhankk360, @smaktacular, @webda2l, @chibicode, @bar7b, and @SiTaggart for helping!