Skip to content

Commit 1b739a2

Browse files
authored
Merge branch 'master' into master
2 parents 108ed6e + 40a2f42 commit 1b739a2

File tree

7 files changed

+445
-353
lines changed

7 files changed

+445
-353
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
### Summary
22

3-
Provide a general description of the code changes in your pull
3+
_Remove this paragraph and provide a general description of the code changes in your pull
44
request... were there any bugs you had fixed? If so, mention them. If
55
these bugs have open GitHub issues, be sure to tag them here as well,
6-
to keep the conversation linked together.
6+
to keep the conversation linked together._
77

88
### Other Information
99

10-
If there's anything else that's important and relevant to your pull
11-
request, mention that information here. This could include
12-
benchmarks, or other information.
10+
_Remove this parapraph and mention any other important and relevant information such as benchmarks._
1311

14-
If you are updating any of the CHANGELOG files or are asked to update the
15-
CHANGELOG files by reviewers, please add the CHANGELOG entry at the top of the file.
12+
### Pull Request checklist
13+
_Remove this line after checking all the items here. If the item is not applicable to the PR, both check it out and wrap it by `~`._
1614

17-
Thanks for contributing!
15+
- [ ] Add/update test to cover these changes
16+
- [ ] Update documentation
17+
- [ ] Update CHANGELOG file
18+
_Add the CHANGELOG entry at the top of the file._

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# react-rails
22

3+
If you need help upgrading `react-rails`, `webpacker` to `shakapacker`, or JS packages, contact [email protected]. The ShakaCode.com team is helping to maintain this Ruby gem. You also might want to consider the [react_on_rails](https://github.com/shakacode/react_on_rails) gem.
4+
5+
[#1209 2.7 Release Discussion](https://github.com/reactjs/react-rails/issues/1209)
6+
7+
## Unrelease
8+
39
#### Breaking Changes
410

511
#### New Features
612
- Camelizes keys with primitive values, in addition to hashes #946
713
- Expose alternative implementations for `ReactUJS.getConstructor` #1050
14+
- Include turbolinks in dev and update webdrivers #1174
815
- Add support for multiple `require.context` with addition of `useContexts` #1144
916
- Update dependencies
17+
18+
#### Update dependencies
1019
- react to 17.0.2 #1218
1120
- webpack to 5.74.0
1221
- webpack-dev-server to 2.11.5 #1150
@@ -18,7 +27,6 @@
1827
- eventsource to 1.1.1 #1183
1928
- rails-html-sanitizer to 1.4.3 #1188
2029
- tzinfo to 1.2.10 #1190
21-
- Include turbolinks in dev and update webdrivers #1174
2230

2331
#### Deprecation
2432

Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ GEM
9898
coffee-script-source
9999
execjs
100100
coffee-script-source (1.12.2)
101-
concurrent-ruby (1.1.5)
101+
concurrent-ruby (1.1.10)
102102
connection_pool (2.3.0)
103103
crass (1.0.6)
104104
docile (1.1.5)
@@ -109,8 +109,8 @@ GEM
109109
execjs (2.7.0)
110110
ffi (1.11.3)
111111
formatador (0.2.5)
112-
globalid (0.4.2)
113-
activesupport (>= 4.2.0)
112+
globalid (1.0.1)
113+
activesupport (>= 5.0)
114114
guard (2.17.0)
115115
formatador (>= 0.2.4)
116116
listen (>= 2.7, < 4.0)
@@ -124,7 +124,7 @@ GEM
124124
guard-minitest (2.4.6)
125125
guard-compat (~> 1.2)
126126
minitest (>= 3.0)
127-
i18n (1.7.0)
127+
i18n (1.12.0)
128128
concurrent-ruby (~> 1.0)
129129
jbuilder (2.11.5)
130130
actionview (>= 5.0.0)
@@ -133,7 +133,7 @@ GEM
133133
listen (3.0.8)
134134
rb-fsevent (~> 0.9, >= 0.9.4)
135135
rb-inotify (~> 0.9, >= 0.9.7)
136-
loofah (2.18.0)
136+
loofah (2.19.1)
137137
crass (~> 1.0.2)
138138
nokogiri (>= 1.5.9)
139139
lumberjack (1.0.13)
@@ -148,10 +148,10 @@ GEM
148148
rake
149149
mini_mime (1.0.2)
150150
mini_portile2 (2.8.0)
151-
minitest (5.16.3)
151+
minitest (5.17.0)
152152
nenv (0.3.0)
153153
nio4r (2.5.2)
154-
nokogiri (1.13.9)
154+
nokogiri (1.13.10)
155155
mini_portile2 (~> 2.8.0)
156156
racc (~> 1.4)
157157
notiffany (0.1.3)
@@ -164,8 +164,8 @@ GEM
164164
byebug (~> 11.0)
165165
pry (~> 0.10)
166166
public_suffix (4.0.6)
167-
racc (1.6.0)
168-
rack (2.2.3.1)
167+
racc (1.6.1)
168+
rack (2.2.6.2)
169169
rack-test (2.0.2)
170170
rack (>= 1.3)
171171
rails (6.0.2.1)
@@ -186,8 +186,8 @@ GEM
186186
rails-dom-testing (2.0.3)
187187
activesupport (>= 4.2.0)
188188
nokogiri (>= 1.6)
189-
rails-html-sanitizer (1.4.3)
190-
loofah (~> 2.3)
189+
rails-html-sanitizer (1.4.4)
190+
loofah (~> 2.19, >= 2.19.1)
191191
railties (6.0.2.1)
192192
actionpack (= 6.0.2.1)
193193
activesupport (= 6.0.2.1)
@@ -236,7 +236,7 @@ GEM
236236
websocket-extensions (0.1.5)
237237
xpath (3.2.0)
238238
nokogiri (~> 1.8)
239-
zeitwerk (2.6.1)
239+
zeitwerk (2.6.6)
240240

241241
PLATFORMS
242242
ruby

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ React-Rails is a flexible tool to use [React](http://facebook.github.io/react/)
1414
## Resouces
1515
* [Click to join **React + Rails Slack**](https://reactrails.slack.com/join/shared_invite/enQtNjY3NTczMjczNzYxLTlmYjdiZmY3MTVlMzU2YWE0OWM0MzNiZDI0MzdkZGFiZTFkYTFkOGVjODBmOWEyYWQ3MzA2NGE1YWJjNmVlMGE). Then join the channel `#react-rails`.
1616
* If you need help upgrading `react-rails`, `webpacker`, or JS packages, contact [[email protected]](mailto:[email protected]). The [ShakaCode.com](https://www.shakacode.com) team is helping to maintain this Ruby gem. Check out [this discussion](https://github.com/reactjs/react-rails/discussions/1200).
17+
* If you are upgrading, you might consider migrating to the [react_on_rails](https://github.com/shakacode/react_on_rails) gem.
1718
* Source code example utilizing React-Rails: https://github.com/BookOfGreg/react-rails-example-app
1819

1920
<!-- START doctoc generated TOC please keep comment here to allow auto update -->

react_ujs/src/renderHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ReactDOM = require("react-dom")
1+
import ReactDOM from "react-dom"
22

33
export function supportsHydration() {
44
return typeof ReactDOM.hydrate === "function" || typeof ReactDOM.hydrateRoot === "function"

0 commit comments

Comments
 (0)