react_on_rails_pro 16.2.0.beta.12 → 16.2.0.beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 854f5a9777992949bb7a47ffeda999372725350e20fb8dfb8cf22d45892a5367
4
- data.tar.gz: b2ec876cfcb9952a736538500b5d726f4ef53a1f97f20aff6b7ba36d53d60737
3
+ metadata.gz: 6ea28d8199e9609b3233cd147a173c48936d4400fe618bd609c972bff2fe22a9
4
+ data.tar.gz: ab4e291db072282321c49648c0ea4e247f1c69160e6d3bdade1c650ab221d057
5
5
  SHA512:
6
- metadata.gz: 1e6aa9a0a171a777584f454c41114cf9732634b926b47508338f069510c86fbc640882db27014a601582ebc365f98d44d3948af2ca668646d76055e505a4a6ef
7
- data.tar.gz: 4024bbdb1c7537d10907eb29f0b5af5cbf120e4d04d6820fd2e25991712391fac3a14ea40b2b475a8c711f770f8ae922c60ed4bcabe163a0ffc20141a3a68168
6
+ metadata.gz: 86872a77f2b473f5e5e4c36aa7b0809e0e6f26907adfbe6e98b5701e0cfea85c826ab84de90d753c18a03c2b9812672ad9999d418a5abb34995ddaefd2c4b97e
7
+ data.tar.gz: 5edffa8cafd674020d4e441b10bb90e2098f1074eadeb2555202e64af238babe8c6ca0d6b55e9ae6c9bda797e7106a28b286416c1b97b691ea28c063e9762126
data/.gitignore CHANGED
@@ -48,7 +48,7 @@ junit.xml
48
48
 
49
49
  node_modules
50
50
 
51
- /packages/node-renderer/tests/tmp
51
+ /../packages/react-on-rails-pro-node-renderer/tests/tmp
52
52
 
53
53
  yarn-debug.*
54
54
  spec/dummy/client/yarn-debug.log*
data/.prettierignore CHANGED
@@ -1,6 +1,5 @@
1
1
  node_modules
2
2
  **/node_modules/**
3
- packages/node-renderer/tests/fixtures/projects
4
3
  **/tmp
5
4
  **/public
6
5
  **/package.json
data/CHANGELOG.md CHANGED
@@ -25,6 +25,7 @@ _Add changes in master not yet tagged._
25
25
 
26
26
  ### Added
27
27
 
28
+ - **Async React Component Rendering**: Added `async_react_component` and `cached_async_react_component` helpers for concurrent component rendering. Multiple components now execute HTTP requests to the Node renderer in parallel instead of sequentially, significantly reducing latency when rendering multiple components in a view. Requires `ReactOnRailsPro::AsyncRendering` concern in controller. [PR 2139](https://github.com/shakacode/react_on_rails/pull/2139) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
28
29
  - Added `config.concurrent_component_streaming_buffer_size` configuration option to control the memory buffer size for concurrent component streaming (defaults to 64). This allows fine-tuning of memory usage vs. performance for streaming applications.
29
30
  - Added `cached_stream_react_component` helper method, similar to `cached_react_component` but for streamed components.
30
31
  - **License Validation System**: Implemented comprehensive JWT-based license validation with offline verification using RSA-256 signatures. License validation occurs at startup in both Ruby and Node.js environments. Supports required fields (`sub`, `iat`, `exp`) and optional fields (`plan`, `organization`, `iss`). FREE evaluation licenses are available for 3 months at [shakacode.com/react-on-rails-pro](https://shakacode.com/react-on-rails-pro). [PR #1857](https://github.com/shakacode/react_on_rails/pull/1857) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
@@ -47,6 +48,8 @@ _Add changes in master not yet tagged._
47
48
 
48
49
  ### Fixed
49
50
 
51
+ - Fixed compatibility issue with httpx 1.6.x by explicitly requiring http-2 >= 1.1.1. [PR 2141](https://github.com/shakacode/react_on_rails/pull/2141) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
52
+
50
53
  - **Node Renderer Worker Restart**: Fixed "descriptor closed" error that occurred when the node renderer restarts while handling an in-progress request (especially streaming requests). Workers now perform graceful shutdowns: they disconnect from the cluster to stop receiving new requests, wait for active requests to complete, then shut down cleanly. A configurable `gracefulWorkerRestartTimeout` ensures workers are forcibly killed if they don't shut down in time. [PR 1970](https://github.com/shakacode/react_on_rails/pull/1970) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
51
54
 
52
55
  - **Body Duplication Bug On Streaming**: Fixed a bug that happens while streaming if the node renderer connection closed after streaming some chunks to the client. [PR 1995](https://github.com/shakacode/react_on_rails/pull/1995) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: ..
11
11
  specs:
12
- react_on_rails (16.2.0.beta.12)
12
+ react_on_rails (16.2.0.beta.13)
13
13
  addressable
14
14
  connection_pool
15
15
  execjs (~> 2.5)
@@ -20,79 +20,82 @@ PATH
20
20
  PATH
21
21
  remote: .
22
22
  specs:
23
- react_on_rails_pro (16.2.0.beta.12)
23
+ react_on_rails_pro (16.2.0.beta.13)
24
24
  addressable
25
25
  async (>= 2.6)
26
26
  connection_pool
27
27
  execjs (~> 2.9)
28
+ http-2 (>= 1.1.1)
28
29
  httpx (~> 1.5)
29
30
  jwt (~> 2.7)
30
31
  rainbow
31
- react_on_rails (= 16.2.0.beta.12)
32
+ react_on_rails (= 16.2.0.beta.13)
32
33
 
33
34
  GEM
34
35
  remote: https://rubygems.org/
35
36
  specs:
36
- actioncable (7.2.2.1)
37
- actionpack (= 7.2.2.1)
38
- activesupport (= 7.2.2.1)
37
+ actioncable (7.2.3)
38
+ actionpack (= 7.2.3)
39
+ activesupport (= 7.2.3)
39
40
  nio4r (~> 2.0)
40
41
  websocket-driver (>= 0.6.1)
41
42
  zeitwerk (~> 2.6)
42
- actionmailbox (7.2.2.1)
43
- actionpack (= 7.2.2.1)
44
- activejob (= 7.2.2.1)
45
- activerecord (= 7.2.2.1)
46
- activestorage (= 7.2.2.1)
47
- activesupport (= 7.2.2.1)
43
+ actionmailbox (7.2.3)
44
+ actionpack (= 7.2.3)
45
+ activejob (= 7.2.3)
46
+ activerecord (= 7.2.3)
47
+ activestorage (= 7.2.3)
48
+ activesupport (= 7.2.3)
48
49
  mail (>= 2.8.0)
49
- actionmailer (7.2.2.1)
50
- actionpack (= 7.2.2.1)
51
- actionview (= 7.2.2.1)
52
- activejob (= 7.2.2.1)
53
- activesupport (= 7.2.2.1)
50
+ actionmailer (7.2.3)
51
+ actionpack (= 7.2.3)
52
+ actionview (= 7.2.3)
53
+ activejob (= 7.2.3)
54
+ activesupport (= 7.2.3)
54
55
  mail (>= 2.8.0)
55
56
  rails-dom-testing (~> 2.2)
56
- actionpack (7.2.2.1)
57
- actionview (= 7.2.2.1)
58
- activesupport (= 7.2.2.1)
57
+ actionpack (7.2.3)
58
+ actionview (= 7.2.3)
59
+ activesupport (= 7.2.3)
60
+ cgi
59
61
  nokogiri (>= 1.8.5)
60
62
  racc
61
- rack (>= 2.2.4, < 3.2)
63
+ rack (>= 2.2.4, < 3.3)
62
64
  rack-session (>= 1.0.1)
63
65
  rack-test (>= 0.6.3)
64
66
  rails-dom-testing (~> 2.2)
65
67
  rails-html-sanitizer (~> 1.6)
66
68
  useragent (~> 0.16)
67
- actiontext (7.2.2.1)
68
- actionpack (= 7.2.2.1)
69
- activerecord (= 7.2.2.1)
70
- activestorage (= 7.2.2.1)
71
- activesupport (= 7.2.2.1)
69
+ actiontext (7.2.3)
70
+ actionpack (= 7.2.3)
71
+ activerecord (= 7.2.3)
72
+ activestorage (= 7.2.3)
73
+ activesupport (= 7.2.3)
72
74
  globalid (>= 0.6.0)
73
75
  nokogiri (>= 1.8.5)
74
- actionview (7.2.2.1)
75
- activesupport (= 7.2.2.1)
76
+ actionview (7.2.3)
77
+ activesupport (= 7.2.3)
76
78
  builder (~> 3.1)
79
+ cgi
77
80
  erubi (~> 1.11)
78
81
  rails-dom-testing (~> 2.2)
79
82
  rails-html-sanitizer (~> 1.6)
80
- activejob (7.2.2.1)
81
- activesupport (= 7.2.2.1)
83
+ activejob (7.2.3)
84
+ activesupport (= 7.2.3)
82
85
  globalid (>= 0.3.6)
83
- activemodel (7.2.2.1)
84
- activesupport (= 7.2.2.1)
85
- activerecord (7.2.2.1)
86
- activemodel (= 7.2.2.1)
87
- activesupport (= 7.2.2.1)
86
+ activemodel (7.2.3)
87
+ activesupport (= 7.2.3)
88
+ activerecord (7.2.3)
89
+ activemodel (= 7.2.3)
90
+ activesupport (= 7.2.3)
88
91
  timeout (>= 0.4.0)
89
- activestorage (7.2.2.1)
90
- actionpack (= 7.2.2.1)
91
- activejob (= 7.2.2.1)
92
- activerecord (= 7.2.2.1)
93
- activesupport (= 7.2.2.1)
92
+ activestorage (7.2.3)
93
+ actionpack (= 7.2.3)
94
+ activejob (= 7.2.3)
95
+ activerecord (= 7.2.3)
96
+ activesupport (= 7.2.3)
94
97
  marcel (~> 1.0)
95
- activesupport (7.2.2.1)
98
+ activesupport (7.2.3)
96
99
  base64
97
100
  benchmark (>= 0.3)
98
101
  bigdecimal
@@ -104,19 +107,19 @@ GEM
104
107
  minitest (>= 5.1)
105
108
  securerandom (>= 0.3)
106
109
  tzinfo (~> 2.0, >= 2.0.5)
107
- addressable (2.8.7)
108
- public_suffix (>= 2.0.2, < 7.0)
110
+ addressable (2.8.8)
111
+ public_suffix (>= 2.0.2, < 8.0)
109
112
  amazing_print (1.6.0)
110
113
  ast (2.4.2)
111
- async (2.27.4)
114
+ async (2.35.0)
112
115
  console (~> 1.29)
113
116
  fiber-annotation
114
117
  io-event (~> 1.11)
115
118
  metrics (~> 0.12)
116
- traces (~> 0.15)
117
- base64 (0.2.0)
118
- benchmark (0.4.0)
119
- bigdecimal (3.1.9)
119
+ traces (~> 0.18)
120
+ base64 (0.3.0)
121
+ benchmark (0.5.0)
122
+ bigdecimal (3.3.1)
120
123
  bindex (0.8.1)
121
124
  bootsnap (1.18.3)
122
125
  msgpack (~> 1.2)
@@ -134,14 +137,15 @@ GEM
134
137
  capybara-screenshot (1.0.26)
135
138
  capybara (>= 1.0, < 4)
136
139
  launchy
140
+ cgi (0.5.0)
137
141
  childprocess (5.0.0)
138
142
  coderay (1.1.3)
139
143
  commonmarker (1.1.4-arm64-darwin)
140
144
  commonmarker (1.1.4-x86_64-darwin)
141
145
  commonmarker (1.1.4-x86_64-linux)
142
146
  concurrent-ruby (1.3.5)
143
- connection_pool (2.5.0)
144
- console (1.33.0)
147
+ connection_pool (3.0.2)
148
+ console (1.34.2)
145
149
  fiber-annotation
146
150
  fiber-local (~> 1.1)
147
151
  json
@@ -155,14 +159,15 @@ GEM
155
159
  bigdecimal
156
160
  rexml
157
161
  crass (1.0.6)
158
- date (3.4.1)
162
+ date (3.5.0)
159
163
  diff-lcs (1.5.1)
160
164
  docile (1.4.0)
161
- drb (2.2.1)
165
+ drb (2.2.3)
162
166
  equivalent-xml (0.6.0)
163
167
  nokogiri (>= 1.4.3)
168
+ erb (6.0.0)
164
169
  erubi (1.13.1)
165
- execjs (2.9.1)
170
+ execjs (2.10.0)
166
171
  fakefs (2.8.0)
167
172
  faker (3.4.1)
168
173
  i18n (>= 1.8.11, < 2)
@@ -177,19 +182,19 @@ GEM
177
182
  generator_spec (0.10.0)
178
183
  activesupport (>= 3.0.0)
179
184
  railties (>= 3.0.0)
180
- globalid (1.2.1)
185
+ globalid (1.3.0)
181
186
  activesupport (>= 6.1)
182
187
  graphiql-rails (1.10.0)
183
188
  railties
184
189
  hashdiff (1.1.0)
185
- http-2 (1.0.2)
186
- httpx (1.5.1)
190
+ http-2 (1.1.1)
191
+ httpx (1.6.3)
187
192
  http-2 (>= 1.0.0)
188
193
  i18n (1.14.7)
189
194
  concurrent-ruby (~> 1.0)
190
- io-console (0.8.0)
191
- io-event (1.12.1)
192
- irb (1.15.1)
195
+ io-console (0.8.1)
196
+ io-event (1.14.2)
197
+ irb (1.15.3)
193
198
  pp (>= 0.6.0)
194
199
  rdoc (>= 4.0.0)
195
200
  reline (>= 0.4.2)
@@ -200,8 +205,8 @@ GEM
200
205
  rails-dom-testing (>= 1, < 3)
201
206
  railties (>= 4.2.0)
202
207
  thor (>= 0.14, < 2.0)
203
- json (2.7.2)
204
- jwt (2.9.3)
208
+ json (2.17.1)
209
+ jwt (2.10.2)
205
210
  base64
206
211
  launchy (3.0.1)
207
212
  addressable (~> 2.8)
@@ -209,27 +214,28 @@ GEM
209
214
  listen (3.9.0)
210
215
  rb-fsevent (~> 0.10, >= 0.10.3)
211
216
  rb-inotify (~> 0.9, >= 0.9.10)
212
- logger (1.6.6)
213
- loofah (2.24.0)
217
+ logger (1.7.0)
218
+ loofah (2.24.1)
214
219
  crass (~> 1.0.2)
215
220
  nokogiri (>= 1.12.0)
216
- mail (2.8.1)
221
+ mail (2.9.0)
222
+ logger
217
223
  mini_mime (>= 0.1.1)
218
224
  net-imap
219
225
  net-pop
220
226
  net-smtp
221
- marcel (1.0.4)
227
+ marcel (1.1.0)
222
228
  matrix (0.4.2)
223
229
  method_source (1.1.0)
224
- metrics (0.14.0)
230
+ metrics (0.15.0)
225
231
  mini_mime (1.1.5)
226
- minitest (5.25.4)
232
+ minitest (5.26.2)
227
233
  mize (0.4.1)
228
234
  protocol (~> 2.0)
229
235
  msgpack (1.7.2)
230
236
  net-http (0.4.1)
231
237
  uri
232
- net-imap (0.5.8)
238
+ net-imap (0.5.12)
233
239
  date
234
240
  net-protocol
235
241
  net-pop (0.1.2)
@@ -238,12 +244,12 @@ GEM
238
244
  timeout
239
245
  net-smtp (0.5.1)
240
246
  net-protocol
241
- nio4r (2.7.4)
242
- nokogiri (1.18.8-arm64-darwin)
247
+ nio4r (2.7.5)
248
+ nokogiri (1.18.10-arm64-darwin)
243
249
  racc (~> 1.4)
244
- nokogiri (1.18.8-x86_64-darwin)
250
+ nokogiri (1.18.10-x86_64-darwin)
245
251
  racc (~> 1.4)
246
- nokogiri (1.18.8-x86_64-linux-gnu)
252
+ nokogiri (1.18.10-x86_64-linux-gnu)
247
253
  racc (~> 1.4)
248
254
  package_json (0.2.0)
249
255
  parallel (1.25.1)
@@ -251,7 +257,7 @@ GEM
251
257
  ast (~> 2.4.1)
252
258
  racc
253
259
  pg (1.5.6)
254
- pp (0.6.2)
260
+ pp (0.6.3)
255
261
  prettyprint
256
262
  prettyprint (0.2.0)
257
263
  protocol (2.0.0)
@@ -266,63 +272,67 @@ GEM
266
272
  pry (>= 0.13.0)
267
273
  pry-theme (1.3.1)
268
274
  coderay (~> 1.1)
269
- psych (5.2.3)
275
+ psych (5.2.6)
270
276
  date
271
277
  stringio
272
- public_suffix (6.0.0)
278
+ public_suffix (7.0.0)
273
279
  puma (6.5.0)
274
280
  nio4r (~> 2.0)
275
281
  racc (1.8.1)
276
- rack (3.1.12)
282
+ rack (3.2.4)
277
283
  rack-proxy (0.7.7)
278
284
  rack
279
- rack-session (2.1.0)
285
+ rack-session (2.1.1)
280
286
  base64 (>= 0.1.0)
281
287
  rack (>= 3.0.0)
282
288
  rack-test (2.2.0)
283
289
  rack (>= 1.3)
284
- rackup (2.2.1)
290
+ rackup (2.3.1)
285
291
  rack (>= 3)
286
- rails (7.2.2.1)
287
- actioncable (= 7.2.2.1)
288
- actionmailbox (= 7.2.2.1)
289
- actionmailer (= 7.2.2.1)
290
- actionpack (= 7.2.2.1)
291
- actiontext (= 7.2.2.1)
292
- actionview (= 7.2.2.1)
293
- activejob (= 7.2.2.1)
294
- activemodel (= 7.2.2.1)
295
- activerecord (= 7.2.2.1)
296
- activestorage (= 7.2.2.1)
297
- activesupport (= 7.2.2.1)
292
+ rails (7.2.3)
293
+ actioncable (= 7.2.3)
294
+ actionmailbox (= 7.2.3)
295
+ actionmailer (= 7.2.3)
296
+ actionpack (= 7.2.3)
297
+ actiontext (= 7.2.3)
298
+ actionview (= 7.2.3)
299
+ activejob (= 7.2.3)
300
+ activemodel (= 7.2.3)
301
+ activerecord (= 7.2.3)
302
+ activestorage (= 7.2.3)
303
+ activesupport (= 7.2.3)
298
304
  bundler (>= 1.15.0)
299
- railties (= 7.2.2.1)
300
- rails-dom-testing (2.2.0)
305
+ railties (= 7.2.3)
306
+ rails-dom-testing (2.3.0)
301
307
  activesupport (>= 5.0.0)
302
308
  minitest
303
309
  nokogiri (>= 1.6)
304
310
  rails-html-sanitizer (1.6.2)
305
311
  loofah (~> 2.21)
306
312
  nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
307
- railties (7.2.2.1)
308
- actionpack (= 7.2.2.1)
309
- activesupport (= 7.2.2.1)
313
+ railties (7.2.3)
314
+ actionpack (= 7.2.3)
315
+ activesupport (= 7.2.3)
316
+ cgi
310
317
  irb (~> 1.13)
311
318
  rackup (>= 1.0.0)
312
319
  rake (>= 12.2)
313
320
  thor (~> 1.0, >= 1.2.2)
321
+ tsort (>= 0.2)
314
322
  zeitwerk (~> 2.6)
315
323
  rainbow (3.1.1)
316
- rake (13.2.1)
324
+ rake (13.3.1)
317
325
  rb-fsevent (0.11.2)
318
326
  rb-inotify (0.11.1)
319
327
  ffi (~> 1.0)
320
328
  rbs (3.9.5)
321
329
  logger
322
- rdoc (6.12.0)
330
+ rdoc (6.16.1)
331
+ erb
323
332
  psych (>= 4.0.0)
333
+ tsort
324
334
  regexp_parser (2.9.2)
325
- reline (0.6.0)
335
+ reline (0.6.3)
326
336
  io-console (~> 0.5)
327
337
  rexml (3.3.9)
328
338
  rspec-core (3.13.0)
@@ -417,18 +427,19 @@ GEM
417
427
  sqlite3 (1.7.3-arm64-darwin)
418
428
  sqlite3 (1.7.3-x86_64-darwin)
419
429
  sqlite3 (1.7.3-x86_64-linux)
420
- stringio (3.1.2)
430
+ stringio (3.1.9)
421
431
  sync (0.5.0)
422
432
  term-ansicolor (1.10.2)
423
433
  mize
424
434
  tins (~> 1.0)
425
- thor (1.3.2)
435
+ thor (1.4.0)
426
436
  tilt (2.4.0)
427
- timeout (0.4.3)
437
+ timeout (0.4.4)
428
438
  tins (1.33.0)
429
439
  bigdecimal
430
440
  sync
431
- traces (0.18.1)
441
+ traces (0.18.2)
442
+ tsort (0.2.0)
432
443
  turbolinks (5.2.1)
433
444
  turbolinks-source (~> 5.2)
434
445
  turbolinks-source (5.2.0)
@@ -453,14 +464,14 @@ GEM
453
464
  crack (>= 0.3.2)
454
465
  hashdiff (>= 0.4.0, < 2.0.0)
455
466
  websocket (1.2.10)
456
- websocket-driver (0.7.7)
467
+ websocket-driver (0.8.0)
457
468
  base64
458
469
  websocket-extensions (>= 0.1.0)
459
470
  websocket-extensions (0.1.5)
460
471
  xpath (3.2.0)
461
472
  nokogiri (~> 1.8)
462
473
  yard (0.9.36)
463
- zeitwerk (2.7.1)
474
+ zeitwerk (2.7.3)
464
475
 
465
476
  PLATFORMS
466
477
  arm64-darwin-24