Skip to releases
Next.js Releases
All releases
Stablev2.4 line

2.4.0

Published ·

View on GitHub

Improve error handling, HMR, Windows support (+CI tests)

Features

  • Add option to extend webpack dev middleware config: #1931

Patches

  • Use cheap module inline source map: #1894
  • Use development babel presets if we are not in production.: #1895
  • Fix windows sub-path dev rebuild failed issue.: #1930
  • Fix hmr failing issue.: #1968

Examples

  • Support for cxs rehydration and removal of duplicate styles.: #1860
  • Update incorrect example reference in readme: #1901
  • Add SSR to examples/with-styled-components + bump styled_components v2: #1908
  • Add link to the Glamorous example: #1887
  • Fix production builds for the material-ui example: #1906
  • Ensure server credentials aren't bundled with client code for firebase example: #1875
  • Add rehydration to example/aphrodite: #1858
  • Remove unnecessary stage-0 from styled-components example: #1959
  • Many improvements to the Apollo examples: #1905
  • Fix react-md example: 2ea6196

Packages

  • Updated webpack to version 2.5.1: #1902
  • Updated babel-jest to version 20.0.1: #1940
  • Updated jest-cli to version 20.0.1: #1941
  • Updated prop-types to version 15.5.10: #1954
  • Updated cross-env to version 5.0.0: #1944
  • Updated babel-plugin-transform-react-remove-prop-types to version 0.4.5: #1925
  • Updated nyc to version 10.3.2: #1889
  • Upgrade jest and simplify .babelrc: #1913

Meta

  • Remove the getting started section.: 564ae2b
  • Update README.MD with warning about BETA version. Remove redundant note.: #1909
  • Added recipes section to readme: #1928
  • Add appveyor.yml file: #1984
  • Add some Appveyor customizations: #1985
  • Improve styled-jsx section of readme: #1932
  • Add a warning when using _document.js: #1884

Credits

Huge thanks to @Reggino, @arunoda, @silvenon, @aranajhonny, @paulxuca, @Grokling, @Rowno, @Ehesp, @brikou, @raygesualdo and @timneutkens for their help!