Skip to content

Commit a53f29a

Browse files
committed
2.1.0
1 parent 2a09611 commit a53f29a

File tree

7 files changed

+35
-19
lines changed

7 files changed

+35
-19
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88

99
#### Bug Fixes
1010

11+
## 2.0.2 (April 18, 2017)
12+
13+
#### New Features
14+
15+
- Support Rails 5.1 #697
16+
17+
#### Bug Fixes
18+
19+
- Fix UJS unmounting by selector #696
20+
1121
## 2.0.2 (April 13, 2017)
1222

1323
#### New Features

VERSIONS.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ You can control what version of React.js (and JSXTransformer) is used by `react-
1010
| Gem | React.js |
1111
|----------|----------|
1212
| master | 15.4.2 |
13+
| 2.1.0 | 15.4.2 |
1314
| 2.0.2 | 15.4.2 |
1415
| 2.0.0 | 15.4.2 |
1516
| 1.11.0 | 15.4.2 |

lib/assets/javascripts/react_ujs.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ return /******/ (function(modules) { // webpackBootstrap
1616
/******/ function __webpack_require__(moduleId) {
1717
/******/
1818
/******/ // Check if module is in cache
19-
/******/ if(installedModules[moduleId])
19+
/******/ if(installedModules[moduleId]) {
2020
/******/ return installedModules[moduleId].exports;
21-
/******/
21+
/******/ }
2222
/******/ // Create a new module (and put it into the cache)
2323
/******/ var module = installedModules[moduleId] = {
2424
/******/ i: moduleId,
@@ -502,4 +502,4 @@ module.exports = function(reqctx) {
502502

503503
/***/ })
504504
/******/ ]);
505-
});
505+
});

lib/react/rails/version.rb

+1-1
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.0.2"
5+
VERSION = "2.1.0"
66
end
77
end

react_ujs/dist/react_ujs.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ return /******/ (function(modules) { // webpackBootstrap
1616
/******/ function __webpack_require__(moduleId) {
1717
/******/
1818
/******/ // Check if module is in cache
19-
/******/ if(installedModules[moduleId])
19+
/******/ if(installedModules[moduleId]) {
2020
/******/ return installedModules[moduleId].exports;
21-
/******/
21+
/******/ }
2222
/******/ // Create a new module (and put it into the cache)
2323
/******/ var module = installedModules[moduleId] = {
2424
/******/ i: moduleId,
@@ -502,4 +502,4 @@ module.exports = function(reqctx) {
502502

503503
/***/ })
504504
/******/ ]);
505-
});
505+
});

react_ujs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react_ujs",
3-
"version": "2.0.2",
3+
"version": "2.1.0",
44
"description": "Rails UJS for the react-rails gem",
55
"main": "index.js",
66
"repository": "reactjs/react-rails",

react_ujs/yarn.lock

+16-11
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,21 @@ acorn-dynamic-import@^2.0.0:
1212
dependencies:
1313
acorn "^4.0.3"
1414

15-
acorn@^4.0.3, acorn@^4.0.4:
15+
acorn@^4.0.3:
1616
version "4.0.11"
1717
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0"
1818

19+
acorn@^5.0.0:
20+
version "5.0.3"
21+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d"
22+
1923
ajv-keywords@^1.1.1:
2024
version "1.5.1"
2125
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c"
2226

2327
ajv@^4.7.0, ajv@^4.9.1:
24-
version "4.11.6"
25-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.6.tgz#947e93049790942b2a2d60a8289b28924d39f987"
28+
version "4.11.7"
29+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.7.tgz#8655a5d86d0824985cc471a1d913fb6729a0ec48"
2630
dependencies:
2731
co "^4.6.0"
2832
json-stable-stringify "^1.0.1"
@@ -64,8 +68,8 @@ arr-diff@^2.0.0:
6468
arr-flatten "^1.0.1"
6569

6670
arr-flatten@^1.0.1:
67-
version "1.0.1"
68-
resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b"
71+
version "1.0.3"
72+
resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.3.tgz#a274ed85ac08849b6bd7847c4580745dc51adfb1"
6973

7074
array-unique@^0.2.1:
7175
version "0.2.1"
@@ -690,8 +694,8 @@ [email protected]:
690694
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
691695

692696
hosted-git-info@^2.1.4:
693-
version "2.4.1"
694-
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.1.tgz#4b0445e41c004a8bd1337773a4ff790ca40318c8"
697+
version "2.4.2"
698+
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.2.tgz#0076b9f46a270506ddbaaea56496897460612a67"
695699

696700
http-signature@~1.1.0:
697701
version "1.1.1"
@@ -854,7 +858,7 @@ json-stringify-safe@~5.0.1:
854858
version "5.0.1"
855859
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
856860

857-
json5@^0.5.0:
861+
json5@^0.5.0, json5@^0.5.1:
858862
version "0.5.1"
859863
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
860864

@@ -1628,17 +1632,18 @@ webpack-sources@^0.2.3:
16281632
source-map "~0.5.3"
16291633

16301634
webpack@^2.3.3:
1631-
version "2.3.3"
1632-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.3.3.tgz#eecc083c18fb7bf958ea4f40b57a6640c5a0cc78"
1635+
version "2.4.1"
1636+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.4.1.tgz#15a91dbe34966d8a4b99c7d656efd92a2e5a6f6a"
16331637
dependencies:
1634-
acorn "^4.0.4"
1638+
acorn "^5.0.0"
16351639
acorn-dynamic-import "^2.0.0"
16361640
ajv "^4.7.0"
16371641
ajv-keywords "^1.1.1"
16381642
async "^2.1.2"
16391643
enhanced-resolve "^3.0.0"
16401644
interpret "^1.0.0"
16411645
json-loader "^0.5.4"
1646+
json5 "^0.5.1"
16421647
loader-runner "^2.3.0"
16431648
loader-utils "^0.2.16"
16441649
memory-fs "~0.4.1"

0 commit comments

Comments
 (0)