2.2.0
Minor Changes
- Add CDN support with
assetPrefix
config flag innext.config.js
: #1700 - Improved performance: Implement ETag support for server rendered pages: #1693
Patches
- Use
babel-loader
7 beta to fix webpack warning that shows up on every run: #1495 - Use
prop-types
instead ofReact.PropTypes
for React 15 compatibility without warnings: #1684 - Update
isLocal
logic to enforce protocol and port: #1737 - Only watch config file that exists on the level of source files: #1643
- Use
babel-preset-env
instead ofbabel-preset-latest
: #1701
New examples and improvements
- Material-UI example: #1771
- Socket.io example: #1766
- Semantic ui example: #1753
- Firebase: #1756
- Fix amp example: #1755
- Fix Fela example: #1663
- Fix dependencies install error on 'with-url-object-routing' example: #1764
Updated packages
- Updated webpack-dev-middleware to version 1.10.2: #1778
- Updated mitt to version 1.1.1: #1726
- Updated webpack to version 2.4.0: #1719
- Updated babel-plugin-transform-react-remove-prop-types to version 0.4.1: #1738
- Updated write-file-webpack-plugin to version 4.0.2: #1729
- Updated babel-generator to version 6.24.1: #1665
- Updated babel-plugin-transform-class-properties to version 6.24.1: #1671
- Updated babel-preset-react to version 6.24.1: #1670
- Updated babel-plugin-transform-es2015-modules-commonjs to version 6.24.1: #1668
- Updated babel-preset-es2015 to version 6.24.1: #1661
- Updated babel-eslint to version 7.2.3: #1775
Meta
- Add one-click deploy button to the top of all example READMEs: #1763
- Add https://learnnextjs.com/ as an option for learning step by step: #1710
- Fix a typo.: #1749
- Remove
publishConfig
frompackage.json
: 2337827 - Add wallaby.js support for testing: #1742
- Fix a typo: e054430
- Remove roadmap to 2.0: #1711
- Corrected css pre-processing #readme link: #1709
- Document skipping cache for babel-loader + setting env at runtime: #1747
Credits
Huge thanks to @arunoda, @khankuan, @kevmannn, @chentsulin, @kandros, @orlin, @impronunciable, @palafoxernesto, @paulmolluzzo, @sergiodxa, @captDaylight, @sedubois, @davegomez and @steida for their help!