Nwb Versions Save

A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)

v0.19.2

6 years ago

0.19.2 / 2017-11-09

Fixed

  • Backed out use of preact/debug in favour of preact/devtools, as the debug module tries to override the preact module's render export, which fails due to Webpack enforcing the read-only nature of ES module exports.

v0.19.1

6 years ago

0.19.1 / 2017-11-04

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.6.1
  • 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.7
  • 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

v0.19.0

6 years ago

0.19.0 / 2017-10-02

Breaking Changes

  • Removed hooking of React, Preact and Inferno render() functions in quick commands, as this won't work with ES modules builds (which are used by default in Webpack v3). This affected the current version of Preact at the time of writing.
    • If you're manually using render() with quick commands, you must now handle providing the target DOM node too - document.getElementById('app') is available in the default HTML template.

Added

Changed

  • Now using babel-preset-env instead of deprecated babel-preset-es201X presets [#375]
  • Use beautify: true for webpack.debug output so code split bundles are readable.

Dependencies

  • autoprefixer: v7.1.2 → v7.1.4
  • babel-cli: v6.24.1 → v6.26.0
  • babel-core: v6.24.1 → v6.26.0
  • babel-loader: v7.1.1 → v7.1.2
  • babel-plugin-istanbul: v4.1.4 → v4.1.5
  • babel-plugin-react-transform: v2.0.2 → v3.0.0 - add React.PureComponent to the list of default super classes
  • babel-plugin-transform-react-remove-prop-types: v0.4.6 → v0.4.8
  • babel-polyfill: v6.23.0 → v6.26.0
  • babel-runtime: v6.25.0 → v6.26.0
  • copy-webpack-plugin: v4.0.1 → v4.1.0
  • css-loader: v0.28.4 → v0.28.7
  • file-loader: v0.11.2 → v1.1.4
  • gzip-size: v3.0.0 → v4.0.0 - async interface now uses Promises
  • html-webpack-plugin: v2.29.0 → v2.30.1
  • inquirer: v3.2.1 → v3.3.0
  • karma-mocha-reporter: v2.2.3 → v2.2.4
  • karma: v1.7.0 → v1.7.1
  • mocha: v3.4.2 → v3.5.3
  • phantomjs-prebuilt: v2.1.14 → v2.1.15 - fix security issues with dependencies
  • webpack-dev-middleware: v1.11.0 → v1.12.0
  • webpack-dev-server: v2.6.1 → v2.9.1
  • webpack-hot-middleware: v2.18.2 → v2.19.0
  • webpack: v3.4.1 → v3.6.0

v0.18.10

6 years ago

0.18.10 / 2017-07-27

Fixed

  • Fix dev server HMR for people running on different hosts or a different localhost port [#356] [DethAriel]

Dependencies

  • babel-runtime: v6.23.0 → v6.25.0
  • resolve: v1.3.3 → v1.4.0
  • webpack: v3.4.0 → v3.4.1

v0.18.9

6 years ago

0.18.9 / 2017-07-26

Changed

  • Now using preact/debug instead of preact/devtools in quick Preact commands and the Preact project skeleton - requires Preact >= 8.2.0

Dependencies

  • inquirer: v3.2.0 → v3.2.1
  • promise: v8.0.0 → v8.0.1
  • webpack: v3.2.0 → v3.4.0 - bug fixes; now watches for missing directories being added; perf improvements
  • webpack-dev-server: v2.5.1 → v2.6.1

v0.18.8

6 years ago

0.18.8 / 2017-07-16

Dependencies

  • promise: v8.0.0 → v8.0.1
  • webpack: v3.2.0 → v3.3.0 - bug fixes; now watches for missing directories being added

v0.18.7

6 years ago

0.18.7 / 2017-07-12

Changed

Dependencies

  • extract-text-webpack-plugin: v3.0.0-rc.2 → v3.0.0
  • webpack: v3.1.0 → v3.2.0 - bug fixes

Documentation

v0.18.6

6 years ago

0.18.6 / 2017-07-10

Dependencies

  • extract-text-webpack-plugin: v3.0.0-rc.1 → v3.0.0-rc.2 - fix module sorting type error
  • inquirer: v3.1.1→ v3.2.0

v0.18.5

6 years ago

0.18.5 / 2017-07-09

Dependencies

  • extract-text-webpack-plugin: v3.0.0-beta.3 → v3.0.0-rc.1
  • karma-webpack: v2.0.3 → v2.0.4 - Webpack 3 support
  • webpack-dev-server: v2.5.0 → v2.5.1 - Webpack 3 support

v0.17.3

6 years ago

0.17.3 / 2017-07-07

Fixed

Backported fixes from 0.18:

  • Fixed use of @import in CSS by adding ident back to postcss-loader config [#311]
  • Fixed display of valid properties when an invalid property is used when configuring a custom webpack.styles rule.