Releases: insin/nwb
Releases · insin/nwb
v0.19.2
v0.19.1
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.- An example of configuring Enzyme v3 has been added to the testing docs.
Fixed
- Added
'createClass'
and'createReactClass'
to the factory function names React Transform looks for, so React component hot reloading will work for apps usingcreate-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 newhmr
option is set tofalse
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
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.
- If you're manually using
Added
- Added
babel.env
config to pass additional options forbabel-preset-env
. - Added additional Enzyme
webpack.compat
for recent versions of React 15.
Changed
- Now using
babel-preset-env
instead of deprecatedbabel-preset-es201X
presets [#375] - Use
beautify: true
forwebpack.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
v0.18.9
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
v0.18.8
v0.18.7
0.18.7 / 2017-07-12
Changed
- You can now set
webpack.extractText
config tofalse
to disable extraction of stylesheets in builds [#343]
Dependencies
- extract-text-webpack-plugin: v3.0.0-rc.2 → v3.0.0
- webpack: v3.1.0 → v3.2.0 - bug fixes
Documentation
- Documented default
webpack.extractText
config.
v0.18.6
v0.18.5
v0.18.4
0.18.4 / 2017-07-07
Fixed
- Fixed use of
@import
in CSS by addingident
back topostcss-loader
config [#311] - Fixed config validation error being thrown when using
webpack.styles
config for custom preprocessor plugin rules [#342] - Fixed display of valid properties when an invalid property is used when configuring a custom
webpack.styles
rule.
Added
-
Added
webpack.debug
config to trigger creation of a more debuggable production build [#336]The recommended way to use this is via a config argument:
npm run build -- --webpack.debug
-
Added support for the following arguments when building a React component's demo:
--title
- set the generated demoindex.html
's<title>
--vendor
- enable creation of a vendor bundle for modules imported fromnode_modules/
[#335]
Dependencies
- autoprefixer: v7.1.1 → v7.1.2
- babel-loader: v7.1.0 → v7.1.1 - don't read
.babelrc
for cache identifier whenbabelrc=false
(nwb uses this option) - chalk: v1.1.3 → v2.0.1
- extract-text-webpack-plugin: v2.1.2 → v3.0.0-beta.3 - Webpack 3 support
- html-webpack-plugin: v2.28.0 → v2.29.0 - Webpack 3 support
- karma-chrome-launcher: v2.1.1 → v2.2.0
- webpack: v3.0.0 → v3.1.0 - perf boost; fix ordering in
ExtractTextPlugin
- webpack-hot-middleware: v2.18.0 → v2.18.2