v3.6.0
版本发布时间: 2018-06-21 14:44:08
react-boilerplate/react-boilerplate最新发布版本:v4.0.0(2019-04-19 01:48:51)
News
Major version updates are finally here! It's been awhile, but we're a small team that's been pushing this for awhile. Thanks to several users' PRs, we were able to cherry-pick a lot from the dev branch to push this release out. We decided because of the amount of dependencies that needed to be updated- we would overshoot some of the changes made on the dev branch and just grab the most pressing ones.
Next steps for us will be revisiting the dev branch, revisiting outstanding PRs and RFCs (like Immutable), and also plugging away at a create-react-app spinoff for react-boilerplate.
Main
-
Upgrade Webpack to v4 (@julienben @stern-shawn)
- Syntax / function changes (mode, optimization, etc.)
- Remove webpack loader syntax from main app
- Better SVG handling
- Upgrade Redux to v4 (@gretzky)
- Upgrade React to v16 (@blling @gretzky)
-
Upgrade Enzyme to v3 (@blling @gretzky)
- Add in new Adapter, as required
- Minor Jest config tweaks to include new Enzyme setup config
-
Upgrade styled-components to v3 (@julienben)
- Reconfigure Jest snapshot testing for styled-components (@gretzky)
-
Added support for node v9, v8 (@julienben)
- Removed support for node v6
- Add Prettier (@julienben)
- Upgrade ESLint to v4 (@julienben)
- Add stylelint and stylelint config (@julienben)
Other Updates
- Add
--fix
flag to eslint command (@shobhitchittora) - Correct babel plugin order (@petrhanak)
- Add missing
import PropTypes
to component generators (@GoldAnna) - Remove unnecessary
onRejected()
from FontFaceObserver (@akarve) - Include "Setting Up Your Editor" in documentation (@mjbvz)
- Add login / authentication flow example into documentation (@tinavanschelt)
- More detailed redux-saga usage documentation (@acharlop)
- Fix ejection error of done sagas (@outdooricon)