nwb v0.25.0 Release Notes

Release Date: 2020-05-20 // almost 4 years ago
  • ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘ Node.js 8 is no longer supported; Node.js 10.13.0 is now the minimum required version, as per many of nwb's dependencies.

    ๐Ÿ’ป Browser Support

    • โœ‚ Removed default polyfills for Promise, fetch() and Object.assign() and deprecated polyfill config.

    If you need to support older browsers, you will now need to include the necessary polyfills in your app - see the new Browser Support docs for details on polyfilling and suggested modules which provide them.

    If this change affects your app, a quick fix is to use react-app-polyfill's IE11 polyfill, which is equivalent to what nwb's default polyfill used to be:

      import 'react-app-polyfill/ie11'
    

    When running a development server, this defaults to the most recent version of Chrome, Firefox or Safari, so you may need to adjust browsers.development config if you're using an out of date browser and you will need to adjust it if you're developing with an older browser supported by your app.

    When running a development server, the default browser configuration has changed to last 1 chrome version, last 1 firefox version, last 1 safari version.

    ๐Ÿ”ง Configuration

    In particular, the ignore option in a copy pattern must now be put inside the new globOptions option.

    Dependencies

    โž• Added

    Dependencies

    • autoprefixer: v9.7.6 โ†’ v9.8.0
    • ๐Ÿš€ chalk: v3.0.0 โ†’ v4.0.0
    • ๐Ÿ”Œ copy-webpack-plugin: v5.1.1 โ†’ v6.0.1
    • file-loader: v4.3.0 โ†’ v6.0.0
    • fs-extra: v8.1.0 โ†’ v9.0.0
    • karma: v4.4.1 โ†’ v5.0.9
    • karma-mocha: v1.3.0 โ†’ v2.0.1
    • ๐Ÿ”Œ terser-webpack-plugin v2.3.6 โ†’ v3.0.1
    • url-loader: v2.3.0โ†’ v4.1.0