Skip to content

Releases: reactjs/react-rails

2.6.2

06 Apr 21:56
68f3a4b
Compare
Choose a tag to compare

What's Change

  • React 16.14
  • Support for ShakaPacker
  • Preparation for React 18 #1151

Bug Fixes

  • URI.open instead of open #1099
  • No longer unmount components on Turbolinks navigation #1135

New Contributors

Full Changelog: v2.6.1...v2.6.2

2.6.0

27 Jul 16:36
43b97a5
Compare
Choose a tag to compare

As always a big thank you to everyone who contributes to make the project a success!
🎉 We passed 7 million downloads of the Gem and 3 million on the NPM package. 🎉

New Features

  • Typescript component generator #990

Deprecation

Bug Fixes

  • assert_react_component will not pass tests where the case was different #979
  • action_controller/test_case was accidentally required in dev #996

Thanks to all the wonderful people that helped.

@delkopiso
@huacnlee
@Aesthetikx
@HorizonShadow
@cprodhomme
@0xdevalias
@gasi
@hphu3

2.5.0

31 Mar 20:07
Compare
Choose a tag to compare

As always a big thank you to everyone who contributes to make the project a success!
🎉 We passed 5 million downloads of the Gem this month and very close to 2 million on the NPM package. 🎉

Breaking Changes

New Features

  • React 16.8.6 prebundled #977
  • Added assert_react_component test helper #957
  • Supports Webpacker 4, Ruby 2.6 #934
  • Supports camelize on ActionController::Parameters #932

Deprecation

Bug Fixes

  • Linting fix to generated JS #941
  • (Meta) Tests for react-rails updated #892 #894 #916

2.4.5

15 Jul 09:56
fd70bcf
Compare
Choose a tag to compare
Merge pull request #908 from reactjs/update-react

:arrow_up: Upgrade pre-bundled react to 16.3.2

2.4.3

27 Nov 21:59
Compare
Choose a tag to compare

2.4.3

Bug Fixes

  • Call ReactDOM.render() when react_component :prerender option is falsy, instead of ReactDOM.hydrate() #844, #842

2.4.2

14 Nov 00:16
3a30d23
Compare
Choose a tag to compare

2.4.2

Bug Fixes

  • ReactDOM.hydrate() may not be defined for everyone, it will now use hydrate if it is defined or fallback to render #832

2.4.1

06 Nov 23:14
873fbfe
Compare
Choose a tag to compare

New Features

  • Webpacker gets ES6 components by default #822
  • ReactDOM.hydrate() #828
  • Documentation updates #830

Bug Fixes

  • Webpacker local manifest sometimes had double asset_hosts if the dev server was running #834 thanks @joeyparis

2.4.0

22 Oct 11:41
Compare
Choose a tag to compare

Breaking Changes

  • (Sprockets) Prebundled React upgraded to 16 #792
  • (Sprockets) Addons removed #792

New Features

  • All generators make React 16 style components

Deprecation

Bug Fixes

  • Coffeescript generator exports correctly #799, #800
  • Running detector manually no longer breaks if Turbolinks is not preset #802

2.3.1

16 Oct 09:14
Compare
Choose a tag to compare

Breaking Changes

  • React Deprecations for 15.4, 15.5, 15.6 in preparation for 16 handled in prebundled version

New Features

  • Generator now makes modern style createReactClass(JS) or extends React.Component(ES6, CoffeeScript) code

Deprecation

  • Next version will drop the addons option as they are not supported with React 16
  • TheRubyRacer's newest version (0.12.3 at time of writing) only supports libV8 (3.16.14.15) which is too old for some new JS features, future versions of this gem will need more modern ExecJS runtimes such as mini_racer (currently on libV8 5.9.x)

2.3.0

27 Sep 14:28
Compare
Choose a tag to compare

New Features

  • Webpacker and Webpack 3 support #777
  • Update to React 15.6.2 #789