- Added
sideEffects: false
configuration to package.json to allow efficient tree shaking with webpack (see webpack documentation)
Reduced CommonJS bundle size, redux-saga had been accidentally included in the bundle
Breaking
bootstrap
now uses thecomponentDidMount
lifecycle phase to execute the callback function. Previously, it usedcomponentWillMount
, which is deprecated and will be removed in React version 17.
Other
- Removed Sinon and Chai from unit tests
onLocationChanged
now usescomponentDidUpdate
instead ofcomponentWillReceiveProps
to ensure compatibility with future React versionsonLocationChanged
now accepts an optional boolean flag as second parameter; defaults isfalse
, if set to `true`` the callback is invoded on initial rendering of the component in addition to when the location changes- Dependency update to fix some security issues
- Drop
omitProps
. See@hocs/omit-props
and such if you still need it.
- Maintenance release
- JS code now ES5 compatible (transpiled through Babel)
- If you want to use the untranspiled code (highly recommended), us the esnext version, which is included in the same npm package (more info here)
- Initial release