Changelog History
Page 1
-
v4.0.0 Changes
April 18, 2019v4.0: "The One With Hooks (And Much More)" Edition
React Boilerplate v4.0 is out and it's a doozy! Here are the highlights:
- React has added many new features and it's time for React Boilerplate to embrace them.
- We now use
React.lazy
andSuspense
for component lazy-loading instead of an external library. - We've added
useInjectSaga
anduseInjectReducer
hooks to manage saga and reducer injection. They're integrated into the generators and thus become the new defaults. (Should you need them, the HOCs are still there.) - The generators don't support classes anymore. The
PureComponent
vsComponent
choice was replaced with an option to wrap your component insideReact.memo
.
- We now use
- After much deliberation,
Immutable.js
is finally gone. We've addedImmer
instead. With it, we can write very concise and readable reducers while sticking to native JavaScript data structures. - ๐ Following the release of React Hooks, it's become even clearer that
react-testing-library
is now the industry-standard for React DOM testing. Workarounds for the incompatibilities betweenenzyme
andstyled-components
are gone and we can now write leaner and more meaningful tests.
๐ There are many more changes to our documentation, internals and general project setup. You can find a full changelog below.
Huge thanks to @Mensae, @gretzky, @jwinn and everyone who helped review or submit PRs! If I've forgotten your contribution in the credits below, please let me know.
๐ We hope you enjoy this release and welcome any feedback, bug reports or feature suggestions you can send our way!
Main
- โ Remove
Immutable.js
in favor ofImmer
(@julienben, @robertaird) - โ
Migrate from
enzyme
toreact-testing-library
(@Mensae)- New instructions for snapshot and behavior testing
- Embracing Hooks (@julienben)
- Add
eslint-plugin-react-hooks
- Migrate all class components to functions
- Add
useInjectSaga
anduseInjectReducer
hooks - Remove generator options to extend
Component
orPureComponent
. Replace with aReact.memo
option.
- Add
- ๐ Use
React.lazy
andSuspense
instead ofloadable-components
to code-split and asynchronously load components (@julienben)
๐ Documentation updates
- Update Heroku deployment instructions (@TheAncientGoat)
- Add subfolder deployment instructions (@nshimiye)
- Add AWS EB deployment instructions (@Al-un)
- Spelling and grammar fixes (@khayyamsaleem, @ngtan)
โก๏ธ Internals updates
- Many dependency updates including: (@julienben)
- Update default saga injection mode to DAEMON (@howardya)
- โก๏ธ Update generators to reflect all the stack changes
- Migrate default Node version to
lts/dubnium
(@julienben) - Fix support for
stylelint
(@jwinn) - Fix setup script for Windows environments (@Mensae)
- Generate passing tests for components/containers (@mjhost)
- Rewrite generators code (@Mensae)
- Complete rewrite or
generate-templates-for-linting.js
(@Mensae) webpack.DefinePlugin
=>webpack.EnvironmentPlugin
(@nshimiye)- New Webpack code splitting config (@julienben)
- Remove
process.noDeprecation = true
(@spawnia) - Miscellaneous fixes (@ngtan)
๐ง Project maintenance
- Switch from Gitter to Spectrum (@gretzky)
- Update Code of Conduct and Contribution Guidelines (@julienben)
- New Issue Templates (@gretzky)
- New bots to help with issue management (@gretzky)
- Better recognition of contributors via adherence to All Contributors specification (@julienben)
- React has added many new features and it's time for React Boilerplate to embrace them.
-
v3.7.0 Changes
October 25, 2018๐ News
๐ Welcome to a new React Boilerplate release with improvements aplenty, bug fixes and major dependency upgrades! Big thanks to @gretzky, @justingreenberg, @jwinn and everyone who helped review and submit PRs for this release!
โฌ๏ธ For existing projects, the only way to upgrade from
3.6.0
is to manually apply the changes from #2403 to your project. Please be careful when doing so as it isn't officially supported and could break things on your end.โก๏ธ Next steps will include re-thinking immutability in the store (RFC @ #2092), re-organizing docs, saga improvements, smart bundling and plenty more. Please keep the PRs coming. And if you're up for it, remember that you can use the dev branch to test all the latest updates and report bugs!
Main
- ๐ Upgrades to Babel 7, React 16.6, ESLint 5, styled-components 4 (@julienben)
- Webpack improvements
- Removal of dll plugin (@gretzky)
- Gzipping and better optimization config in prod (@gretzky)
- react-app-polyfill for targeted IE support (@gretzky)
- Switch from UglifyJS to Terser plugin (@robertaird)
- Icons generated by webpack-pwa-manifest plugin (@Mensae)
- Switch from Yarn back to npm (@julienben)
- CI improvements (@jwinn)
- ๐ New documentation section for forks
- SSR (@gretzky)
- Electron (@mjangir)
- TypeScript (@Can-Sahin)
โก๏ธ Other Updates
- ๐ Migration from deprecated react-router-redux to connected-react-router (@julienben)
- Migration from react-loadable to loadable-components (@julienben)
- ๐ฏ Quick start - Clone to a named directory (@spawnia)
- Scoped variables in i18n messages (@hatsuo)
- ๐ Use .prettierrc path relative to .eslintrc.js (@abeMedia)
- ๐ Fixes to generators (@julienben, @hatsuo, @ngtan)
- ๐ babel-plugin-lodash for easier import syntax (@julienben)
- ๐ Bug fix in setup script (@autechr3)
๐ Lots of additional documentation updates thanks to @doaboa, @cheickmec, @nicogreenarry, @sduquej, @diwakar-s-maurya.
-
v3.6.0 Changes
June 21, 2018๐ 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)
- โฌ๏ธ Upgrade Webpack to v4 (@julienben @stern-shawn)
-
v3.5.0 Changes
September 22, 2017๐ฑ The eagle has landed ๐
As always, thank you to all of our awesome contributors, community and team members!!
๐ News
๐ So, a few things have changed in the JS ecosystem since the original release of React Boilerplate, and there was a discussion in #1776 around the it's future. TLDR; we had two incompatible PRs โ one for server-side rendering, and another for react-router v4. The community decided that we would keep our dependencies up to date (upgrade react-router) and establish a clear mission for React Boilerplate:
๐ React Boilerplate is a rock-solid foundation for crafting large, high-performance enterprise-grade frontend web applications that have advanced/custom requirements.
- Static output designed for CDN and edge caches
- Extreme Developer Ergonomics
- Parallelized Tests
- DLL manifest in development for blazing rebuilds
- Scaffolding tools
- ๐ Pre-baked i18n support
- Low level tooling that gives developer complete control
๐ท We may include SSR in a future version, but for now this is our focus... create-react-app and next.js are doing an awesome job and strongly recommend these projects for most use cases.
๐ฅ Breaking
- โฌ๏ธ Upgrade React Router to v4.x.x (@anuraaga, @Dattaya, et al)
- Use React-Loadable for data lifecycle management
- Refactor
asyncInjectors
: improve code splitting/saga management - For a complete overview of changes, please see #1746
Main
- โฌ๏ธ Upgrade React to v15.6 (@g0ddish)
- โฌ๏ธ Upgrade Webpack and related dependencies to v3.x.x (@KarandikarMihir)
- ๐
Upgrade
styled-components
to v2.x.x (@justingreenberg) - Replace
babel-preset-hmre
with vanilla Webpack HMR (@Dattaya) - ๐ Serve Dlls via
add-asset-html-webpack-plugin
(@skidding) - Migrate from
React.PropTypes
toprop-types
(@dennybiasiolli)
โก๏ธ Other Updates
- โ Add Stateless Functions to Container generator (@outdooricon)
- ๐ Change development sourcemap style (@samit4me)
- ๐ Create new documentation for dependency updates (@gihrig)
- โฌ๏ธ Downgrade
sanitize.css
(@Dattaya) - Enable rule
react/no-array-index-key
(@carloscuatin) - ๐ Fix
Intl
polyfill in language generator (@tmf) - ๐ Handle 204 and 205 HTTP response (@williamdclt)
- โก๏ธ Icon updates and improvements (@samit4me)
- Import only necessary components for RRv4 (@sorin-davidoi)
- ๐ Improve
<List>
component tests (@chaintng) - ๐ Improve component tests in demo (@dennybiasiolli)
- ๐ Improve setup to recognize repo before clearing git (@Aftabnack)
- ๐ Make build output less verbose (@KarandikarMihir)
- ๐ Move
onSubmitForm
test intomapDispatchToProps
test (@tomasfrancisco) - โก๏ธ NPM script and dependency updates, many fixes (@gihrig)
- โ Remove state update in componentWillUpdate (@mawi12345)
- โ Remove unused Sinon dependency (@avdeev)
- โ Remove route names from
app/routes
(@beardedtim) - ๐ง Rename
store.js
toconfigureStore.js
to prevent conflict (@howardya) - Separate
dev
andprod
middleware (@tomazy) - ๐ Sort ESLint config in
package.json
(@bt) - ๐ Support OpenType fonts with
.otf
file extension (@kachkaev) - Turn
App
into a functional component (@Dattaya) - ๐ Update FAQ for styles getting overridden (@samit4me)
- โก๏ธ Update the 'tagged template literals' link (@joncass)
- ๐ Use camelcase for reducer and saga key to match selector (@anuraaga)
- โ Use correct selector names in tests (@Dattaya)
- ๐ Use local instance of
shelljs
(@KarandikarMihir) - โก๏ธ Use optimized version of the RBP banner (@tomazy)
- ๐ Use relative path for
manifest.json
(@mrharel)
๐ Many fixes to documentation thanks to @Aftabnack, @auchenberg, @danielrob, @gregoralbrecht, @JonathanMerklin, @marciopuga, @NicholasAnthony, @Skaronator, and @vedatmahir
-
v3.4.0 Changes
January 14, 2017๐ An amazing release full of new goodies, just for you! Let's dive right into it...
๐ News
๐ Welcome @KarandikarMihir to the team! Karandikar has been all over the repo, providing fixes and features. Happy to have him on board to make
react-boilerplate
even better!โ Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
Also, huge props to @samit4me and @Dattaya for being everywhere and fixing so many issues and of course to @KarandikarMihir for all his hard work.
โ If you want to help us make react-boilerplate great, please use the
dev
branch, test all the things and report all the bugs!๐ Changelog
Main
- โ Switch to Jest for testing , massive thanks to @dmitriiabramov
- โก๏ธ Update to webpack 2 RC (includes switching from
System.import
toimport()
), thanks to @Dattaya - โ Add progress bar while loading code splitted routes , thanks to @KarandikarMihir
- โ Add the "Hitchhikers Guide to
react-boilerplate
to the docs , massive thanks to @KarandikarMihir - โก๏ธ Update all dependencies, as always huge thanks to @gihrig, our master of dependencies
- ๐ Enable
import/first
eslint rule and rewrite all imports, huge thanks to @KarandikarMihir - โ Add Node v7 support and deprecate v4 support, thanks to @samit4me @MariusRumpf
- Prevent i18n language duplication, thanks to @harijoe
- โ Add the webpack circular dependency plugin to avoid hard to debug errors, thanks to @haikyuu
- ๐จ Refactor all selectors and generators with new naming convention, thanks to @Dattaya
- โก๏ธ Update generator templates, thanks to @virsaviya @jeremyadavis
- โ Add support for the
--host
parameter when runningnpm start
, thanks to @ifedotov - โ
Showcase reselects
createStructuredSelector
in the example, thanks to @Dattaya - โ Exclude test files from coverage report, thanks to @samit4me
- ๐ Lint the templates for the generators, thanks to @Dattaya
- โ Huge improvement to DX testing a freshly cleaned project, thanks to @outdooricon
โก๏ธ Other Updates
- โ Remove the webpack DedupePlugin as it leads to errors in production and is now included by default, thanks to @samit4me
- โ Remove the
npm run pagespeed
command and all related dependencies and files, thanks to @mkhazov - Trigger a full page reload when HMR fails, thanks @kachkaev
- Don't import all of lodash, thanks to @jwinn
- ๐ Improve
.editconfig
, thanks to @avdeev - ๐ Improve the example components, thanks to @tomazy
- ๐ Fix
npm run clean
not working as expected, thanks to @adjnor - ๐ Fix the i18n button not updating with new state, thanks to @adjnor
- ๐ Fix console error when changing language, thanks to @samit4me
- ๐ Fix default polyfill language, thanks to @web2style
- ๐ Fix language generation, thanks to @chaintng
- Switch to new webpack query syntax, thanks to @shrynx
- โ Add an Introductory document to help people get started, thanks to @KarandikarMihir
- โ Add security configuration recommendations for Nginx (
.nginx.conf
), thanks to @supergicko - โ Add and fix lots to stuff in the documentation, thanks to @pavlin-policar, @samit4me @outdooricon @PierrickGT @nndung179 @outdooricon @kelsonic @jimmyheaddon
- ๐ A wide variety of small fixes, thanks to @Dattaya @gihrig @outdooricon
๐ Supporters
๐ This release was made possible by Fullstack React and Serverless! Want to support us too? Click here!
-
v3.3.3 Changes
November 07, 2016 -
v3.3.2 Changes
November 04, 2016๐ fix(example): Fix i18n button not updating (#1187)
-
v3.3.1
November 03, 2016 -
v3.3.0 Changes
November 03, 2016๐ This release directly contains the brainpower of 25 individual contributors, with many more chiming into discussions. Thank you so much for helping out, without you
react-boilerplate
wouldn't be as great as it is!๐ Changelog
Main
- ๐ Use ๐
styled-components
, huge thanks to @samit4me - ๐ New, smaller translation messages format , thanks @chaintng
- ๐ Fix sync reducer HMR , thanks @justingreenberg
- โ Add pure component support to the generator, thanks @justingreenberg
- โ Add
eslint-plugin-redux-saga
, thanks @jstockwin - โ Remove
offline-plugin
warning in dev, thanks @sedubois - โ Show a warning if a user has JavaScript disabled, thanks @Vadorequest
- โ Add yarn support, thanks @EugeneHlushko @sedubois
- โ Add
NamedModulesPlugin
, thanks @simobasso
โก๏ธ Other Updates
- โก๏ธ Update dependencies, thanks to @gihrig
- ๐ Fix container generator, thanks to @lsanders
- โ Add a
key
toLanguageProvider
to force rerenders, thanks @andregoncalvesdev - โ Remove DevTools code in production, thanks @ansumanshah
- ๐ Showcase
sCU
inFeaturePage
, thanks @justingreenberg - ๐ป Use
browser
field of modules that supply it, thanks @chaintng @episage - ๐ Fix
npm run analyze
, thanks @chaintng - ๐ Fix dependency warnings, thanks @sedubois
- ๐ Migrate to
eslint-config-airbnb
v12, thanks @amilajack - โก๏ธ Update webpack, thanks @peter-mouland
- โก๏ธ Update Redux DevTools, thanks @zalmoxisus
- ๐ Update documentation with lots of info, thanks @Vadorequest @nappels @KarandikarMihir @GGAlanSmithee @malixsys @sethmcleod
- Clean up script files, thanks @lvarayut
- ๐ Make AppVeyor faster by caching
node_modules
, thanks @amilajack - ๐ Fix cleaned state, thanks @rubenmoya
- Simplify example CSS, thanks @sedubois
- Clean up example, thanks @sedubois @nktssh
- โ
Use
takeLatest
in example saga, thanks @pyjac
๐ News
โ Welcome @chaintng and @sedubois to the team, they'll be around the repo closing issues and answering questions! Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
โ If you want to help us make react-boilerplate great, please use the
dev
branch, test all the things and report all the bugs!๐ Supporters
๐ This release was made possible by Fullstack React and Serverless! Want to support us too? Click here!
- ๐ Use ๐
-
v3.2.1 Changes
September 26, 2016๐ Changelog
- โก๏ธ Updated dependencies (thanks @gihrig!)
- ๐ Speed up travis builds (thanks @jstockwin!)
- ๐ท Test all current Node versions on CI (thanks @amilajack!)
- โ
Use
babel-preset-latest
to get all the ESNext goodies automatically (thanks @samit4me!) - ๐ Hotfix eslint-config-airbnb (thanks @chaintng!)
๐ News
โ Welcome @amilajack to the team, he'll be around the repo closing issues and answering questions! Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
โ If you want to help us make react-boilerplate great, please use the
dev
branch, test all the things and report all the bugs!๐ Supporters
๐ This release was made possible by React.js Program, Fullstack React and Serverless! Want to support us too? Click here!