Releases: KleoPetroff/react-webpack-boilerplate
v.3.9.5
This release fixes a major bug with the url-loader
options (#262), as well as updating most of the dependencies. The most major ones are:
react
andreact-dom
updated to 16.2react-hot-loader
updated to 3.1.3eslint
updated to 4.12.0, with all surrounding plugins also updatedreact-router-dom
updated to 4.2.2
This release is also the last one in the v3 lifecycle. The next release will start the v4 lifecycle, in which I plan to implement Prettier
, create a separate branch for a Redux integration. In v4, I also plan to test how Typescript suits the project.
v.3.9.0
Support for React 16
This is a big milestone for the project. With version 3.9.0, the project officially supports the latest version of React.
React 16 comes with a whole lot of optimizations and features like:
- Better error handling
- Portals
- Better server-side rendering
- Support for custom DOM attributes
- Reduced bundler size
and last but not least New Core Architecture
Testing has always been taking a big part of the project. That's why version 3.9 comes packed with the latest versions of Jest and Enzyme, both working seamlessly with React 16. There are some breaking changes, so make sure you read Enzyme's installation documentation for more information about what has changed.
I'm really excited about React 16, now that the project is again released under MIT license. Facebook made the right thing, which sure is a great news for the whole community.
Now go there and build something awesome. See you again next release.
v3.7.3
Asset exports, production file structure, GIF support
This release fixes a critical bug with exporting images and fonts. file-loader
had to be reverted to version 0.11.2 until the problem with the latest version is resolved.
On the bright side, version 3.7.3 introduces two new features:
- a better file structure when generating production builds - images, fonts and CSS files will now be separated into its own folders.
- support for GIFs images.
Special thanks to @kanlidy for submitting the asset export bug and @khusainovk, who emailed me about the problem provided a reasonable solution. Kudos to both! 🎉
v3.7.0
Better testing experience and code coverage
The project migrated to Jest as a default testing framework. Jest provides better developer experience with faster execution times and more features than mocha and chai. The project now provides continuous testing with pattern matching thanks to Jest. Please check the npm command in the description for more information.
With the introduction to Jest, another long awaited feature sneaks by - code coverage. Thanks to Jest's built-in code coverage tool, you can now check your coverage status. Just type npm run coverage
in the terminal and a full report will be generated in the coverage
folder. Also, make sure you check the documentation for more info.
It won't be a full release if we don't update the dependencies, right? This release makes no exception. webpack
, webpack-dev-server
, eslint-plugin-react
, eslint-loader
, eslint-config-airbnb
, file-loader
, html-webpack-plugin
are updated to the latest version.
v3.5.3
v3.5.0
This release introduces several major updates to the project:
- migrated to Webpack 3
- updated most of the dependencies to the latest version, including React
- optimized the start time of the dev server
- cleaned up the production webpack config, by removing the bundle warnings and optimizing the bundle size
- implemented continuous linting
v3.2.0
Dependency Updates and Component Cleanup
- Updated React to latest version - 15.5.4 #81
- Updated react-router to latest version - 4.1.1 #81
- Updated Webpack to latest version - 2.4.1 #81
- Updated all of the outdated dependencies to the latest version, including Babel, ESLint, Enzyme, node-sass. #81
- Refactored and cleaned up the
Root
component. #81
v3.1.1
- Re-enabled image loader (jpg and png images)
- Added missing prestart npm script, which will compile
dist
before starting webpack-dev-server. - Fixed various ESLint warnings and errors in webpack configs.
v3.0.0
- Updated React to latest version - 15.4.2
- Migrated to Webpack 2.2.0
- Fixed not working Hot Module Reloading (now using latest version)
- Improved production build - less time to compile, better optimization
- Added
clean
command, which removes thedist
folder - Disabled
linebreak-style
andglobal-require
ESLint rules