Skip to content

Commit 7e57634

Browse files
committed
Merge branch '2.3-stable' into prebundle-the-correct-react
2 parents c04be1f + 35d1530 commit 7e57634

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
#### Breaking Changes
44

5+
#### New Features
6+
7+
#### Deprecation
8+
9+
#### Bug Fixes
10+
11+
## 2.3.1
12+
13+
#### Breaking Changes
14+
515
- React Deprecations for 15.4, 15.5, 15.6 in preparation for 16 handled in prebundled version
616

717
#### New Features

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
[![Code Climate](https://img.shields.io/codeclimate/github/reactjs/react-rails.svg?style=flat-square)](https://codeclimate.com/github/reactjs/react-rails)
77
[![Test Coverage](https://img.shields.io/codeclimate/coverage/github/reactjs/react-rails.svg?style=flat-square)](https://codeclimate.com/github/reactjs/react-rails/coverage)
88

9+
You are looking at the 2.3 stable branch. This branch is for maintaining the prebundled 15.6 ReactJS with Addons. Gem version 2.4.x onwards and master will no longer have React Addons.
10+
11+
If you need to make changes for the prebundled react, see the migration docs here:
12+
https://reactjs.org/blog/2016/11/16/react-v15.4.0.html
13+
https://reactjs.org/blog/2017/04/07/react-v15.5.0.html
14+
https://reactjs.org/blog/2017/06/13/react-v15.6.0.html
15+
916
`react-rails` makes it easy to use [React](http://facebook.github.io/react/) and [JSX](http://facebook.github.io/react/docs/jsx-in-depth.html) in your Ruby on Rails (3.2+) application. Learn more:
1017

1118
- React's [Getting Started guide](https://facebook.github.io/react/docs/getting-started.html)

Rakefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ def copy_react_asset(webpack_file, destination_file)
1212
FileUtils.cp(full_webpack_path, full_destination_path)
1313
end
1414

15-
# Move to `dirname` and execute `yarn {cmd}`
16-
def yarn_run_in(dirname, cmd)
17-
Dir.chdir(dirname) do
18-
`yarn #{cmd}`
19-
end
20-
end
21-
2215
namespace :react do
2316
desc 'Run the JS build process to put files in the gem source'
2417
task update: [:install, :build, :copy]

VERSIONS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ You can control what version of React.js (and JSXTransformer) is used by `react-
99

1010
| Gem | React.js |
1111
|----------|----------|
12-
| master | 15.6.2 |
12+
| master | 16.0.0 |
13+
| 2.3.1 | 15.6.2 | Updated Addons
1314
| 2.3.0 | 15.6.2 |
1415
| 2.2.1 | 15.4.2 |
1516
| 2.2.0 | 15.4.2 |

lib/react/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module React
22
module Rails
33
# If you change this, make sure to update VERSIONS.md
44
# and republish the UJS by updating package.json and `bundle exec rake ujs:publish`
5-
VERSION = '2.3.0'
5+
VERSION = '2.3.1'
66
end
77
end

0 commit comments

Comments
 (0)