nwb v0.19.1 Release Notes

Release Date: 2017-11-04 // over 6 years ago
  • nwb.config.js Config Changes

    • โฌ†๏ธ Deprecated the webpack.compat.enzyme flag for Enzyme v2 compatibility settings. Upgrade to Enzyme v3 when you can, which supports React all the way back to v0.13.

    ๐Ÿ›  Fixed

    • โž• Added 'createClass' and 'createReactClass' to the factory function names React Transform looks for, so React component hot reloading will work for apps using create-react-class imported as one of those names.

    ๐Ÿ”„ Changed

    • โœ… nwb is now also tested against Node 8 now that it's the Long Term Support version.
    • ๐Ÿ“ฆ Reverted the Webpack settings change for webpack.compat.enzyme config in v0.19.0, as it only applied while the version numbers of published React packages were out of sync. The compatibility settings assume Enzyme v2 and React >= v15.5.
    • ๐Ÿ’… style-loader's new hmr option is set to false when creating builds to prevent inclusion of its HMR code.

    Dependencies

    • autoprefixer: v7.1.4 โ†’ v7.1.6
    • ๐Ÿš€ babel-plugin-inferno: v3.2.0 โ†’ v3.3.0
    • ๐Ÿš€ babel-plugin-transform-react-remove-prop-types: v0.4.8 โ†’ v0.4.10
    • babel-preset-env: v1.6.0 โ†’ v1.7.0
    • chalk: v2.1.0 โ†’ v2.3.0
    • ๐Ÿ”Œ copy-webpack-plugin: v4.1.0 โ†’ v4.2.0
    • ๐Ÿ”Œ extract-text-webpack-plugin: v3.0.0 โ†’ v3.0.2
    • file-loader: v1.1.4 โ†’ v1.1.5
    • filesize: v3.5.10 โ†’ v3.5.11
    • karma-mocha-reporter: v2.2.4 โ†’ v2.2.5
    • karma-webpack: v2.0.4 โ†’ v2.0.5
    • phantomjs-prebuilt: v2.1.15 โ†’ v2.1.16
    • postcss-loader: v2.0.6 โ†’ v2.0.8
    • ๐Ÿ’ป resolve: v1.4.0 โ†’ v1.5.0
    • ๐Ÿ’… style-loader: v0.18.2 โ†’ v0.19.0
    • url-loader: v0.5.9 โ†’ v0.6.2
    • ๐Ÿš€ webpack: v3.6.0 โ†’ v3.8.1
    • ๐Ÿš€ webpack-dev-server: v2.9.1 โ†’ v2.9.4
    • webpack-hot-middleware: v2.19.1 โ†’ v2.20.0
    • ๐Ÿ”€ webpack-merge: v4.1.0 โ†’ v4.1.1