# react-rails #### Breaking Changes #### New Features #### Deprecation #### Bug Fixes ## 2.3.0 #### New Features - Webpacker and Webpack 3 support #777 - Update to React 15.6.2 #789 #### Deprecation #### Bug Fixes ## 2.2.1 #### New Features - Support `config.react.server_renderer_directories` in initializers #729 #### Bug Fixes - Fix Railtie watcher to update its timestamp when files change #722 - Don't use `yarn` binstub because webpacker doesn't provide it anymore #717 ## 2.2.0 #### New Features - Improve error handling when components aren't found #704 #### Bug Fixes - Camelize filename when generating for webpack #703 - Include node module boilerplate when generating for webpack #710 - Don't look for non-existent `Turbolinks.EVENTS` #708 ## 2.1.0 (April 18, 2017) #### New Features - Support Rails 5.1 #697 #### Bug Fixes - Fix UJS unmounting by selector #696 ## 2.0.2 (April 13, 2017) #### New Features - Rerun events detection at any time with `ReactRailsUJS.detectEvents()` #693 - Make the NPM version of `react_ujs` match the Rubygem version `2.0.1` was skipped because a bad version of `react_ujs` was published to NPM. ## 2.0.0 (April 13, 2017) #### Breaking Changes - Server rendering loads `server_rendering.js` by default #471 . Upgrade by adding a new file which requires the previous defaults: ```js // app/assets/javascripts/server_rendering.js // = require react-server // = require components ``` #### New Features - Webpacker support: - `react_component` can find components via `require.context` + `ReactRailsUJS.useContext` #678 - Server rendering detects Webpacker and uses packs #683, #687 - `ReactRailsUJS` is available from `npm` with `yarn add react_ujs` or `npm install react_ujs` #678 - `per_request_react_rails_prerenderer` Allows you to check out a renderer for the _whole request_ instead of once-per-`react_component` #559 #### Bug Fixes - Improved watching of server-rendering JS files #687 - Fix console replay: - Put the `