Skip to content

Commit 6378189

Browse files
authored
chore: update React on Rails RC and Shakapacker 10.1.0 (#740)
* Bump React on Rails gems to 16.7.0.rc.0 * Bump React on Rails lockfile gems to 16.7.0.rc.0 * Bump React on Rails npm packages to 16.7.0-rc.0 * Update yarn lockfile for React on Rails RC * Update RSC payload spec for RC wire format * Handle framed RSC payloads in request spec * Bump React on Rails packages to 16.7.0-rc.2 Updates react_on_rails_pro gem and react-on-rails-pro, react-on-rails-pro-node-renderer npm packages from RC.0 to RC.2. * Bump React on Rails and Shakapacker releases * Handle invalid RSC frame lengths
1 parent 48626f6 commit 6378189

6 files changed

Lines changed: 157 additions & 139 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ruby "3.4.6"
77

88
gem "cpflow", "5.0.4", require: false
99
gem "react_on_rails_pro", "16.7.0.rc.3"
10-
gem "shakapacker", "10.0.0"
10+
gem "shakapacker", "10.1.0"
1111

1212
# Bundle edge Rails instead: gem "rails", github: "rails/rails"
1313
gem "rails", "~> 8.1.2"

Gemfile.lock

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
action_text-trix (2.1.17)
4+
action_text-trix (2.1.19)
55
railties
6-
actioncable (8.1.2)
7-
actionpack (= 8.1.2)
8-
activesupport (= 8.1.2)
6+
actioncable (8.1.3)
7+
actionpack (= 8.1.3)
8+
activesupport (= 8.1.3)
99
nio4r (~> 2.0)
1010
websocket-driver (>= 0.6.1)
1111
zeitwerk (~> 2.6)
12-
actionmailbox (8.1.2)
13-
actionpack (= 8.1.2)
14-
activejob (= 8.1.2)
15-
activerecord (= 8.1.2)
16-
activestorage (= 8.1.2)
17-
activesupport (= 8.1.2)
12+
actionmailbox (8.1.3)
13+
actionpack (= 8.1.3)
14+
activejob (= 8.1.3)
15+
activerecord (= 8.1.3)
16+
activestorage (= 8.1.3)
17+
activesupport (= 8.1.3)
1818
mail (>= 2.8.0)
19-
actionmailer (8.1.2)
20-
actionpack (= 8.1.2)
21-
actionview (= 8.1.2)
22-
activejob (= 8.1.2)
23-
activesupport (= 8.1.2)
19+
actionmailer (8.1.3)
20+
actionpack (= 8.1.3)
21+
actionview (= 8.1.3)
22+
activejob (= 8.1.3)
23+
activesupport (= 8.1.3)
2424
mail (>= 2.8.0)
2525
rails-dom-testing (~> 2.2)
26-
actionpack (8.1.2)
27-
actionview (= 8.1.2)
28-
activesupport (= 8.1.2)
26+
actionpack (8.1.3)
27+
actionview (= 8.1.3)
28+
activesupport (= 8.1.3)
2929
nokogiri (>= 1.8.5)
3030
rack (>= 2.2.4)
3131
rack-session (>= 1.0.1)
3232
rack-test (>= 0.6.3)
3333
rails-dom-testing (~> 2.2)
3434
rails-html-sanitizer (~> 1.6)
3535
useragent (~> 0.16)
36-
actiontext (8.1.2)
36+
actiontext (8.1.3)
3737
action_text-trix (~> 2.1.15)
38-
actionpack (= 8.1.2)
39-
activerecord (= 8.1.2)
40-
activestorage (= 8.1.2)
41-
activesupport (= 8.1.2)
38+
actionpack (= 8.1.3)
39+
activerecord (= 8.1.3)
40+
activestorage (= 8.1.3)
41+
activesupport (= 8.1.3)
4242
globalid (>= 0.6.0)
4343
nokogiri (>= 1.8.5)
44-
actionview (8.1.2)
45-
activesupport (= 8.1.2)
44+
actionview (8.1.3)
45+
activesupport (= 8.1.3)
4646
builder (~> 3.1)
4747
erubi (~> 1.11)
4848
rails-dom-testing (~> 2.2)
4949
rails-html-sanitizer (~> 1.6)
50-
activejob (8.1.2)
51-
activesupport (= 8.1.2)
50+
activejob (8.1.3)
51+
activesupport (= 8.1.3)
5252
globalid (>= 0.3.6)
53-
activemodel (8.1.2)
54-
activesupport (= 8.1.2)
55-
activerecord (8.1.2)
56-
activemodel (= 8.1.2)
57-
activesupport (= 8.1.2)
53+
activemodel (8.1.3)
54+
activesupport (= 8.1.3)
55+
activerecord (8.1.3)
56+
activemodel (= 8.1.3)
57+
activesupport (= 8.1.3)
5858
timeout (>= 0.4.0)
59-
activestorage (8.1.2)
60-
actionpack (= 8.1.2)
61-
activejob (= 8.1.2)
62-
activerecord (= 8.1.2)
63-
activesupport (= 8.1.2)
59+
activestorage (8.1.3)
60+
actionpack (= 8.1.3)
61+
activejob (= 8.1.3)
62+
activerecord (= 8.1.3)
63+
activesupport (= 8.1.3)
6464
marcel (~> 1.0)
65-
activesupport (8.1.2)
65+
activesupport (8.1.3)
6666
base64
6767
bigdecimal
6868
concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -75,8 +75,8 @@ GEM
7575
securerandom (>= 0.3)
7676
tzinfo (~> 2.0, >= 2.0.5)
7777
uri (>= 0.13.1)
78-
addressable (2.8.7)
79-
public_suffix (>= 2.0.2, < 7.0)
78+
addressable (2.9.0)
79+
public_suffix (>= 2.0.2, < 8.0)
8080
ast (2.4.3)
8181
async (2.39.0)
8282
console (~> 1.29)
@@ -101,7 +101,7 @@ GEM
101101
execjs (~> 2)
102102
awesome_print (1.9.2)
103103
base64 (0.3.0)
104-
bigdecimal (4.0.1)
104+
bigdecimal (4.1.2)
105105
bindex (0.8.1)
106106
binding_of_caller (1.0.1)
107107
debug_inspector (>= 1.2.0)
@@ -164,10 +164,10 @@ GEM
164164
docile (1.4.0)
165165
dotenv (3.2.0)
166166
drb (2.2.3)
167-
erb (6.0.2)
167+
erb (6.0.4)
168168
erubi (1.13.1)
169169
erubis (2.7.0)
170-
execjs (2.10.0)
170+
execjs (2.10.1)
171171
factory_bot (6.4.6)
172172
activesupport (>= 5.0.0)
173173
factory_bot_rails (6.4.3)
@@ -193,15 +193,15 @@ GEM
193193
io-endpoint (0.17.2)
194194
io-event (1.16.1)
195195
io-stream (0.13.0)
196-
irb (1.17.0)
196+
irb (1.18.0)
197197
pp (>= 0.6.0)
198198
prism (>= 1.3.0)
199199
rdoc (>= 4.0.0)
200200
reline (>= 0.4.2)
201201
jbuilder (2.12.0)
202202
actionview (>= 5.0.0)
203203
activesupport (>= 5.0.0)
204-
json (2.19.1)
204+
json (2.19.5)
205205
jwt (3.2.0)
206206
base64
207207
language_server-protocol (3.17.0.5)
@@ -218,18 +218,18 @@ GEM
218218
net-imap
219219
net-pop
220220
net-smtp
221-
marcel (1.1.0)
221+
marcel (1.2.1)
222222
matrix (0.4.2)
223223
method_source (1.1.0)
224224
metrics (0.15.0)
225225
mini_mime (1.1.5)
226-
minitest (6.0.2)
226+
minitest (6.0.6)
227227
drb (~> 2.0)
228228
prism (~> 1.5)
229229
mize (0.4.1)
230230
protocol (~> 2.0)
231231
msgpack (1.8.0)
232-
net-imap (0.6.3)
232+
net-imap (0.6.4)
233233
date
234234
net-protocol
235235
net-pop (0.1.2)
@@ -239,11 +239,11 @@ GEM
239239
net-smtp (0.5.1)
240240
net-protocol
241241
nio4r (2.7.5)
242-
nokogiri (1.19.1-aarch64-linux-gnu)
242+
nokogiri (1.19.3-aarch64-linux-gnu)
243243
racc (~> 1.4)
244-
nokogiri (1.19.1-arm64-darwin)
244+
nokogiri (1.19.3-arm64-darwin)
245245
racc (~> 1.4)
246-
nokogiri (1.19.1-x86_64-linux-gnu)
246+
nokogiri (1.19.3-x86_64-linux-gnu)
247247
racc (~> 1.4)
248248
package_json (0.2.0)
249249
parallel (1.27.0)
@@ -254,7 +254,7 @@ GEM
254254
pp (0.6.3)
255255
prettyprint
256256
prettyprint (0.2.0)
257-
prism (1.5.1)
257+
prism (1.9.0)
258258
protocol (2.0.0)
259259
ruby_parser (~> 3.0)
260260
protocol-hpack (1.5.1)
@@ -285,34 +285,34 @@ GEM
285285
psych (5.3.1)
286286
date
287287
stringio
288-
public_suffix (6.0.2)
288+
public_suffix (7.0.5)
289289
puma (6.4.2)
290290
nio4r (~> 2.0)
291291
racc (1.8.1)
292-
rack (3.2.5)
293-
rack-proxy (0.7.7)
292+
rack (3.2.6)
293+
rack-proxy (0.8.2)
294294
rack
295-
rack-session (2.1.1)
295+
rack-session (2.1.2)
296296
base64 (>= 0.1.0)
297297
rack (>= 3.0.0)
298298
rack-test (2.2.0)
299299
rack (>= 1.3)
300300
rackup (2.3.1)
301301
rack (>= 3)
302-
rails (8.1.2)
303-
actioncable (= 8.1.2)
304-
actionmailbox (= 8.1.2)
305-
actionmailer (= 8.1.2)
306-
actionpack (= 8.1.2)
307-
actiontext (= 8.1.2)
308-
actionview (= 8.1.2)
309-
activejob (= 8.1.2)
310-
activemodel (= 8.1.2)
311-
activerecord (= 8.1.2)
312-
activestorage (= 8.1.2)
313-
activesupport (= 8.1.2)
302+
rails (8.1.3)
303+
actioncable (= 8.1.3)
304+
actionmailbox (= 8.1.3)
305+
actionmailer (= 8.1.3)
306+
actionpack (= 8.1.3)
307+
actiontext (= 8.1.3)
308+
actionview (= 8.1.3)
309+
activejob (= 8.1.3)
310+
activemodel (= 8.1.3)
311+
activerecord (= 8.1.3)
312+
activestorage (= 8.1.3)
313+
activesupport (= 8.1.3)
314314
bundler (>= 1.15.0)
315-
railties (= 8.1.2)
315+
railties (= 8.1.3)
316316
rails-dom-testing (2.3.0)
317317
activesupport (>= 5.0.0)
318318
minitest
@@ -328,17 +328,17 @@ GEM
328328
json
329329
require_all (~> 3.0)
330330
ruby-progressbar
331-
railties (8.1.2)
332-
actionpack (= 8.1.2)
333-
activesupport (= 8.1.2)
331+
railties (8.1.3)
332+
actionpack (= 8.1.3)
333+
activesupport (= 8.1.3)
334334
irb (~> 1.13)
335335
rackup (>= 1.0.0)
336336
rake (>= 12.2)
337337
thor (~> 1.0, >= 1.2.2)
338338
tsort (>= 0.2)
339339
zeitwerk (~> 2.6)
340340
rainbow (3.1.1)
341-
rake (13.3.1)
341+
rake (13.4.2)
342342
rb-fsevent (0.11.2)
343343
rb-inotify (0.11.1)
344344
ffi (~> 1.0)
@@ -446,7 +446,7 @@ GEM
446446
websocket (~> 1.0)
447447
semantic_range (3.1.1)
448448
sexp_processor (4.17.1)
449-
shakapacker (10.0.0)
449+
shakapacker (10.1.0)
450450
activesupport (>= 5.2)
451451
package_json
452452
rack-proxy (>= 0.6.1)
@@ -512,7 +512,7 @@ GEM
512512
xpath (3.2.0)
513513
nokogiri (~> 1.8)
514514
yard (0.9.36)
515-
zeitwerk (2.7.5)
515+
zeitwerk (2.8.2)
516516

517517
PLATFORMS
518518
aarch64-linux
@@ -561,7 +561,7 @@ DEPENDENCIES
561561
scss_lint
562562
sdoc
563563
selenium-webdriver (~> 4)
564-
shakapacker (= 10.0.0)
564+
shakapacker (= 10.1.0)
565565
spring
566566
spring-commands-rspec
567567
stimulus-rails (~> 1.3)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ assets_bundler: rspack
184184

185185
### Version Targets
186186

187-
- `react_on_rails_pro` gem: `16.6.0`
188-
- `react-on-rails-pro` npm package: `16.6.0`
189-
- `react-on-rails-pro-node-renderer` npm package: `16.6.0`
190-
- `shakapacker` gem/npm package: `10.0.0`
187+
- `react_on_rails_pro` gem: `16.7.0.rc.3`
188+
- `react-on-rails-pro` npm package: `16.7.0-rc.3`
189+
- `react-on-rails-pro-node-renderer` npm package: `16.7.0-rc.3`
190+
- `shakapacker` gem/npm package: `10.1.0`
191191
- `@rspack/core` and `@rspack/cli`: `2.0.0-beta.7`
192192
- `react`: `~19.0.4` (minimum for React Server Components)
193193

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
"react-dom": "~19.0.4",
8383
"react-error-boundary": "^4.1.2",
8484
"react-intl": "^6.4.4",
85-
"react-on-rails-pro": "16.6.0",
86-
"react-on-rails-pro-node-renderer": "16.6.0",
85+
"react-on-rails-pro": "16.7.0-rc.3",
86+
"react-on-rails-pro-node-renderer": "16.7.0-rc.3",
8787
"react-on-rails-rsc": "19.0.4",
8888
"react-redux": "^8.1.0",
8989
"react-router": "^6.13.0",
@@ -99,7 +99,7 @@
9999
"sass": "^1.58.3",
100100
"sass-loader": "^13.3.2",
101101
"sass-resources-loader": "^2.2.5",
102-
"shakapacker": "10.0.0",
102+
"shakapacker": "10.1.0",
103103
"stimulus": "^3.0.1",
104104
"style-loader": "^3.3.1",
105105
"swc-loader": "^0.2.6",

0 commit comments

Comments
 (0)