Skip to content

5.0.0

Compare
Choose a tag to compare
@timneutkens timneutkens released this 05 Feb 19:02

Read more here: https://zeit.co/blog/next5

Major Changes

Minor Changes

  • A11y: Set focus back to body after link was clicked: #3545
  • Fix server not closing properly in dev mode (issue #2540): #3540
  • Check if headers are sent: #3642
  • Don’t finish request when it’s already finished: #3660
  • Set assetPrefix dynamically: #3661
  • Improved next/asset support: #3664
  • Upgrade react-hot-loader: #3665
  • Upgrade source-map-support: 0da17ca
  • Do not use window.history if inside iframe: #3437
  • Add update notifier: #3678
  • [Example] with-polyfills : show how to load polyfills: #3568

Patches

  • Move security related test cases into a its own file.: 33f8f28
  • Removes the unused renderScript function: 77c10b2
  • Add a nerv example.: #3573
  • Extend with-data-prefetch to handle advanced use cases: #3525
  • Fix(store): product env cannot find module 'redux-devtools-extension'.: #3618
  • Fix Doc in with-firebase-authentication: #3626
  • Upgraded flow version and updated code to use of React.Node (#3635): #2
  • Update Next.js version on examples: 9a82ca4
  • Don’t externalize css/sass/scss/less/svg: 5818e6f
  • Make sure dynamic imports works on Windows: #3641
  • Added IoC example: #3595
  • Ignore _document.js on windows and expand symlinks when using next export: #3637
  • Match .js instead of not css: 8a4a9a1
  • Update custom-server-micro example to latest version: #3594
  • Add Polka server example: #3588
  • Add an example using analytics: #3580
  • [with-portals] Remove dynamic import, add : #3571
  • [fix] apollo-redux: Separate out entire example #3463: #3629
  • Deprecate css examples: 6db44f8
  • Update preact example: f0703f8
  • Fix __route error when importing a page inside a page: #3644
  • (custom-server-express) avoid a 404 when navigating to a custom route: #3645
  • Handle page 404 properly in production.: #3648
  • Don’t exclude webpack: #3646
  • Upgrade styled-jsx: #3657
  • Use a latest version of path-to-regexp for path-match: #3655
  • [DOC] typo in readme: double negation is probably unintended: #3658
  • Fixed the example with-react-intl, cannot read property 'locale' of undefined: #3392
  • Fix typos in gh-pages example README: #3669
  • Example: Passing data from server through API: #2594
  • Handle empty assetPrefix scenario properly.: #3667
  • Format subhead in gh-pages README example: #3670
  • [with-apollo] Use getDataFromTree in browser: #3457
  • Refactor redux observable example: #3495
  • Make sure externals logic works on Windows.: #3677
  • Indicate how to import fonts: #3676
  • Use correct port in with-zones example: #3679
  • Make links text: 70295f2
  • Add tests for universal webpack: #3680

Credits

Huge thanks to @connor-baer, @lucleray, @arunoda, @hankmander, @malixsys, @shalzz, @gavin1995, @sarovin, @impronunciable, @alexindigo, @lfades, @sergiodxa, @mcansh, @stephenmathieson, @brikou, @JeromeFitz, @shogunsea, @soulmachine, @johnpolacek, @unregistered, @jonespen, @mpacer, @timhuff and @tomaswitek for helping!