Skip to releases
Next.js Releases
All releases
Stablev6.1 line

6.1.0

Published ·

View on GitHub

Minor Changes

  • Add class properties configuration: #4619
  • Rename dist to server to be more consistent: #4506
  • Remove react-hot-loader: #4500
  • Allow onClick on next/link component's child: #4474
  • Added "hashChangeStart" and "hashChangeComplete" events: #4234

Patches

  • Make production compilation faster: #4677
  • Move plugins and loaders to webpack folder: #4618
  • Pass in the generated asPath instead of a full url: #4622
  • Failing test for #4620: #4625
  • Remove the React 15 support comment: #4648
  • Rephrase url deprecation text and add link to next-codemod: #4649
  • Update "url deprecated" error docs with note re: React Dev Tools: #4652
  • Remove unneeded async: #4635
  • Fix incorrect wording: #4658
  • Pass through buildId to webpack config in development: #4665
  • Only log out using external babelrc once: #4600
  • Apply hot-self-accept to all pageExtensions: #4616
  • Process available chunk names properly in dev mode: #4604
  • Update README.md to include browser support and polyfills docs: #4601
  • Catch errors thrown in _app.js: #4607
  • Move build directory outside of server folder: #4565
  • Properly escape the dot character in regexp: #4608
  • Next/head allow duplicates if it has uniq keys: #4121
  • Remove deprecated and removed route: #4509
  • Add CONFIG_FILE constant, add types for server/config.js: #4529
  • Remove uglify options in preparation of webpack 4: #4536
  • Clean up references to this.dir and this.dist everywhere: #4535
  • Make router properties update when re-rendering: #4541
  • Add dependencies of _app.js to commons: #4396
  • Use a more appropriate regexp for removing hash from a filename: #4510
  • Fix Access-Control-Request-Method header: #4424
  • Upgrade update-check: #4585
  • Add check for added/deleted pages: #4497
  • Default query to {}, same behaviour as next export: #4466
  • Add title to default error page: #4383
  • Add section to the readme about configuring .babelrc: 4e8009c
  • Clarify documentation regarding the static folder: #4340
  • Improve issue templates: 7193f49
  • Make sure index of issue template is correct: e6f3542
  • Fix(bin/next:inspect): Allow node inspect flag to be used: #4160
  • Fix dynamic import in non webpack env: #4208
  • Improve route prefetch docs: add client side imperative code: #4213
  • Fix generated page chunk when libraryTarget is umd: #4205
  • Don’t use chunkhash in development: #4436
  • Use custom Babel loader to avoid using separate Babel copies for loader and loader options: #4417
  • Remove note about exportPathMap not being supported in development: 13cf942
  • Update with-url-object-routing: #4314
  • Improve files list order in package.json: #4399
  • Minor improve with-typescript example [ci skip]: #4402
  • Add example with next-page-transitions: #4404
  • Fix and improve example : with-componentdidcatch: #4400
  • Example updated: with-apollo-auth to Next 6: #4420
  • Set cache-control public correctly: #4322

Examples

  • Update with-universal-configuration: #4624
  • Added with-unstated example: #4628
  • [with-jest] Move jest deps to devDeps: #4650
  • With-socket.io Example updated with _app.js: #4644
  • Add example to Recipes section: #4661
  • Update with-markdown example: #4612
  • With-styled-components: Move babel plugin to dev dependency: #4602
  • Update with-absolute-imports example to Babel 7: #4610
  • Fixes bug in with-react-intl example: messages and locale variables were undefined on CSR: #4517
  • Upgrade with-jest-typescript example to next 6.0.0: #4543
  • Stop duplicating charset: #4546
  • Added example for Ant Design with LESS: #4520
  • [with-apollo-auth] Remove useless apolloState from App's props: #4554
  • [with-apollo-auth] Remove useless check from constructor: #4560
  • [with-apollo-auth] simplify apolloState prop: #4563
  • Upgrade gh-pages example to next 6.0.3: #4575
  • With-firebase-hosting: fix npm scripts, remove firebase.json predeploy scripts: #4593
  • Clean up Redux example: #4594
  • Remove unused import: #4493
  • Fix README typo: #4476
  • Add with-next-less example: #4492
  • Added support flex: 1 and and tag support Dimensions in with-react-native-web: #4460
  • Fix viewport issue in with-react-native-web: c461d46
  • Sitemap.xml and robots.txt example: #4163
  • Update typescript examples to use 1.0.1 of next-typescript: #4472
  • Improve custom server typescript example v2: #4470
  • 📝️Restructure with-material-ui per #4439: #4444
  • Create with-firebase-hosting-and-typescript example: #4443
  • With-firebase-hosting: update to work with next v6: #4435
  • update to with-apollo-auth: #4426
  • Fixed error with the cookie parser in with-apollo-auth: #4445

Credits

Huge thanks to @ex3ndr @teleginzhenya, @Zn4rK, @bennygenel, @brikou, @scaasic, @oliviertassinari, @fatfisz, @andrewmclagan, @koss-lebedev, @davscro, @tobitos, @ngauthier, @skv-headless, @rovansteen, @giautm, @swissspidy, @teleginzhenya, @jthegedus, @lon-io, @mmiszy, @vasco3, @dlcoffee, @quietshu, @klyburke, @toolmantim @gHashTag, @TheRobBrennan, @lukebarton, @tvthatsme, @joaogranado, @rwieruch, @andy-viv, @AriLFrankel, @vladnicula, @JeromeFitz, @elrumordelaluz, @Yuripetusko, @yhirano55, @nwalters512, @lucleray, @lfades, @jonespen, @sampsonjoliver, @DevSpeak, and @loganfsmyth for helping!