All Versions
90
Latest Version
Avg Release Cycle
45 days
Latest Release
128 days ago

Changelog History
Page 1

  • v0.25.2

    May 20, 2020

    ๐Ÿ›  Fixed

    • โฌ†๏ธ Bumped Node.js version in templates.
  • v0.25.1

    May 20, 2020

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ Don't include docs/ in the npm package.
  • v0.25.0

    May 20, 2020

    ๐Ÿ’ฅ 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
  • v0.24.7

    May 16, 2020

    ๐Ÿ›  Fixed

    • Fixed inclusion of __source and __ self debugging information when transpiling JSX in react-component projects by defaulting process.env.NODE_ENV to 'production' when building.

    Dependencies

    • ๐Ÿš€ open: v7.0.3 โ†’ v7.0.4
  • v0.24.6

    May 12, 2020

    Dependencies

    • @babel/core: v7.90 โ†’ v7.9.6
    • ๐Ÿ”Œ @babel/plugin-transform-runtime: v7.9.0 โ†’ v7.9.6
    • @babel/preset-env: v7.9.0 โ†’ v7.9.6
    • @babel/runtime: v7.9.2 โ†’ v7.9.6
    • ๐Ÿ”Œ @pmmmwh/react-refresh-webpack-plugin: v0.2.0 โ†’ v0.3.1
    • autoprefixer: v9.7.5 โ†’ v9.7.6
    • cross-spawn: v7.0.1 โ†’ v7.0.2
    • css-loader: v3.4.2 โ†’ v3.5.3
    • ๐Ÿ”Œ html-webpack-plugin: v3.2.0 โ†’ v4.3.0
    • karma-coverage: v2.0.1 โ†’ v2.0.2
    • mocha: v7.1.1 โ†’ v7.1.2
    • ora: v4.0.3 โ†’ v4.0.4
    • ๐Ÿ“ฆ react-refresh: v0.8.1 โ†’ v0.8.2
    • ๐Ÿ’ป resolve: v1.15.1 โ†’ v1.17.0
    • semver: v7.1.3 โ†’ v7.3.2
    • ๐Ÿ’… style-loader: v1.1.3 โ†’ v1.2.1
    • ๐Ÿ”Œ terser-webpack-plugin v2.3.5 โ†’ v2.3.6
    • ๐Ÿš€ webpack: v4.42.1 โ†’ v4.43.0
    • webpack-dev-server: v3.10.3 โ†’ v3.11.0
  • v0.24.5

    March 24, 2020

    0.24.5 / 2020-03-24

    ๐Ÿ”„ Changed

    • ๐Ÿš€ html-webpack-plugin got a major version bump to v4
      • Output HTML is now minified by default - you can disable this by configuring html.minification = false.
      • Chunk sorting was removed, but it seems to work as before for the ordering of the JavaScript files generated by nwb's build.
      • The plugin nwb uses to inline the webpack runtime chunk was rewritten to use v4's new hooks.

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ The lang attribute on <html> wasn't getting set to the default 'en' when using the nwb react, nwb preact and nwb inferno quick development commands.

    Dependencies

    • ๐Ÿš€ @babel/plugin-transform-react-jsx: v7.9.1 โ†’ v7.9.4
    • ๐Ÿš€ @babel/preset-react: v7.9.1 โ†’ v7.9.4
    • @babel/runtime: v7.9.0 โ†’ v7.9.2
    • autoprefixer: v9.7.4 โ†’ v9.7.5
    • ๐Ÿ”Œ html-webpack-plugin: v3.2.0 โ†’ v4.0.1
    • ๐Ÿš€ webpack: v4.42.0 โ†’ v4.42.1
  • v0.24.4

    March 21, 2020

    โž• Added

    For convenience, you can just configure the runtime name if you want to try it with the experimental version of React:

      module.exports = {
        babel: {
          react: 'automatic'
        }
      }
    

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated to Babel v7.9.0.
    • Validate that the entry module for quick commands (e.g. nwb react run SomeComponent.js) exists, to avoid a confusing error message [#441]

    Dependencies

    • @babel/core: v7.8.7 โ†’ v7.9.0
    • ๐Ÿ”Œ @babel/plugin-transform-react-constant-elements: v7.8.3 โ†’ v7.9.0
    • ๐Ÿ”Œ @babel/plugin-transform-react-jsx: v7.8.3 โ†’ v7.9.1
    • ๐Ÿ”Œ @babel/plugin-transform-runtime: v7.8.3 โ†’ v7.9.0
    • @babel/preset-env: v7.8.7 โ†’ v7.9.0
    • @babel/preset-react: v7.8.3 โ†’ v7.9.1
    • @babel/runtime: v7.8.7 โ†’ v7.9.0
    • ๐Ÿš€ babel-loader: v8.0.6 โ†’ v8.1.0
    • mocha: v7.1.0 โ†’ v7.1.1
    • react-refresh: v0.8.0 โ†’ v0.8.1
  • v0.24.3

    March 14, 2020

    0.24.3 / 2020-03-14

    ๐Ÿ”„ Changed

    • โž• Added a temporary hack to bypass startup info logging Webpack Dev Server currently does even when its quiet option is set.
    • โšก๏ธ CSS minification hasn't been enabled since nwb v0.23.0 as css-loader v1.0.0 stopped doing it by default - re-enable it using Optimize CSS Assets Webpack Plugin [#467]

    Dependencies

    • minimist v1.2.4 โ†’ v1.2.5
    • โšก๏ธ optimize-css-assets-webpack-plugin v5.0.3
  • v0.24.2

    March 12, 2020

    0.24.2 / 2020-03-12

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed copying of co-located .test.js/.spec.js files when building a React component or web module by also passing the new --no-copy-ignored flag when calling @babel/cli [#529]

    Dependencies

    • inquirer: v7.0.6 โ†’ v7.1.0
    • ๐Ÿ”’ minimist v1.2.0 โ†’ v1.2.4 - security fix
    • ๐Ÿš€ open: v7.0.2 โ†’ v7.0.3
  • v0.24.1

    March 11, 2020

    0.24.1 / 2020-03-11

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed serving the demo app for a React component [#542]
    • ๐Ÿ›  Fixed Fast Refresh for the default React component demo app by exporting the Demo component in the template.