react_on_rails_pro 16.2.0.rc.0 → 16.2.0.rc.1

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: 8a646e0fc2f72d012e57cf12d2f3439e226ac56e176705a2934ef824b29d4236
4
- data.tar.gz: cfe6963cd813e7a885e30a11fb2d8f2b28adb3a4943ebcc6ddebd140f72042e9
3
+ metadata.gz: 4788e8da409d55dac275a9c4bac880f30e572f8af51f8871ccf196d95e3cb121
4
+ data.tar.gz: 1dce259863968d62c89176b2e2dc13e6d7d2532f45bf814cd6b91c791be5ff7f
5
5
  SHA512:
6
- metadata.gz: 23900984ebb5758264088d9bcfa0c05341ce1b586702927f715aaa6b98794545df1b2ff1de92b548b5f16a8cbdc622dea8b8816c7c47269f0c161a302339e17f
7
- data.tar.gz: 351b76344a8ea9477ac553249407678e71ab535ae1687df3c1318528042902f72cca662c16ecbd749ce1948ad13dc3710502bd1f8a9bce78a1ff678aa5de2d5b
6
+ metadata.gz: 4ff2b0076baac09ce2ac17736b6229c592614f8127c0b5941fbe0cc304e81d0f474e983bc10e4b2ba8bf090546dff66a17092310423f7184692af80cb5c18f66
7
+ data.tar.gz: e493184ce6f9c091ae60d1012b37879579fbf5d24fa0085fe5572cabb9deaa1093c6489faee790bc2598b51cab4be19d716a491dfd9328bb6d4a2abad82e2dde
data/CHANGELOG.md CHANGED
@@ -17,7 +17,9 @@ You can find the **package** version numbers from this repo's tags and below in
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
- ### [v16.2.0.beta.13] - 2025-12-07
20
+ Changes since the last non-beta release.
21
+
22
+ ### [v16.2.0.rc.0] - 2025-12-29
21
23
 
22
24
  Changes since the last non-beta release.
23
25
 
@@ -32,7 +34,6 @@ Changes since the last non-beta release.
32
34
  - Added `cached_stream_react_component` helper method, similar to `cached_react_component` but for streamed components.
33
35
  - **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).
34
36
  - **Pro-Specific Configurations Moved from Open-Source**: The following React Server Components (RSC) configurations are now exclusively in the Pro gem and should be configured in `ReactOnRailsPro.configure`:
35
-
36
37
  - `rsc_bundle_js_file` - Path to the RSC bundle file
37
38
  - `react_server_client_manifest_file` - Path to the React server client manifest
38
39
  - `react_client_manifest_file` - Path to the React client manifest
@@ -40,7 +41,6 @@ Changes since the last non-beta release.
40
41
  These configurations were previously available in the open-source `ReactOnRails.configure` block but have been moved to Pro where they belong since RSC is a Pro-only feature.
41
42
 
42
43
  - **Streaming View Helpers Now Pro-Exclusive**: The following view helpers are now defined exclusively in the Pro gem:
43
-
44
44
  - `stream_react_component` - Progressive SSR using React 18+ streaming
45
45
  - `rsc_payload_react_component` - RSC payload rendering
46
46
 
@@ -52,6 +52,8 @@ Changes since the last non-beta release.
52
52
 
53
53
  - **Thread-Safe Connection Management**: Fixed race conditions in `ReactOnRailsPro::Request` connection management. The lazy initialization (`@connection ||= create_connection`) was not atomic, allowing multiple threads to create duplicate connections at startup. Now uses a mutex with double-checked locking pattern for thread-safe initialization while maintaining lock-free reads for optimal performance. [PR 2259](https://github.com/shakacode/react_on_rails/pull/2259) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
54
54
 
55
+ - **Legacy Module Resolver Compatibility**: Added `main` field to `react-on-rails-pro` and `react-on-rails-pro-node-renderer` package.json files for compatibility with legacy module resolvers like `eslint-import-resolver-node` that don't support Node.js conditional exports. [PR 2256](https://github.com/shakacode/react_on_rails/pull/2256) by [ihabadham](https://github.com/ihabadham).
56
+
55
57
  - **SECURITY: CVE-2025-55182 - React Server Components RCE Vulnerability**: by updating `react-on-rails-rsc` peer dependency to `v19.0.3` which mitigates that vulnerability. Also, users should update `react` and `react-dom` package versions to `v19.0.1` to ensure complete mitigation. [PR 2175](https://github.com/shakacode/react_on_rails/pull/2175) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
56
58
 
57
59
  - 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).
@@ -117,7 +119,6 @@ Changes since the last non-beta release.
117
119
  ### Changed
118
120
 
119
121
  - [PR 511](https://github.com/shakacode/react_on_rails_pro/pull/511) by [Romex91](https://github.com/Romex91)
120
-
121
122
  - Set `bodyLimit` to 100 MB by default to fix error 413.
122
123
  - Add `fastifyServerOptions` to the config
123
124
 
@@ -264,7 +265,6 @@ React 18 is now supported! Check the [React on Rails CHANGELOG.md](https://githu
264
265
  ### Added
265
266
 
266
267
  - [PR 220](https://github.com/shakacode/react_on_rails_pro/pull/220) by [justin808](https://github.com/justin808).
267
-
268
268
  - **Add `ssr_timeout` configuration** so the Rails server will not wait more than this many seconds for a SSR request to return once issued.
269
269
  - Change default for `renderer_use_fallback_exec_js` to `false`.
270
270
  - Change default log level to info.
@@ -544,8 +544,8 @@ Above changes in [PR 52](https://github.com/shakacode/react_on_rails_pro/pull/52
544
544
  - advanced error handling
545
545
 
546
546
  [HEAD compared to 3.2.1]: https://github.com/shakacode/react_on_rails_pro/compare/3.3.1...HEAD
547
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/v16.2.0.beta.13...master
548
- [v16.2.0.beta.13]: https://github.com/shakacode/react_on_rails/compare/16.1.1...v16.2.0.beta.13
547
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/v16.2.0.rc.0...master
548
+ [v16.2.0.rc.0]: https://github.com/shakacode/react_on_rails/compare/16.1.1...v16.2.0.rc.0
549
549
  [4.0.0-rc.15]: https://github.com/shakacode/react_on_rails_pro/compare/4.0.0-rc.14...4.0.0-rc.15
550
550
  [4.0.0.rc.11]: https://github.com/shakacode/react_on_rails_pro/compare/4.0.0-rc.9...4.0.0-rc.11
551
551
  [4.0.0.rc.9]: https://github.com/shakacode/react_on_rails_pro/compare/4.0.0-rc.6...4.0.0-rc.9
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.rc.0)
12
+ react_on_rails (16.2.0.rc.1)
13
13
  addressable
14
14
  connection_pool
15
15
  execjs (~> 2.5)
@@ -20,7 +20,7 @@ PATH
20
20
  PATH
21
21
  remote: .
22
22
  specs:
23
- react_on_rails_pro (16.2.0.rc.0)
23
+ react_on_rails_pro (16.2.0.rc.1)
24
24
  addressable
25
25
  async (>= 2.6)
26
26
  connection_pool
@@ -29,7 +29,7 @@ PATH
29
29
  httpx (~> 1.5)
30
30
  jwt (~> 2.7)
31
31
  rainbow
32
- react_on_rails (= 16.2.0.rc.0)
32
+ react_on_rails (= 16.2.0.rc.1)
33
33
 
34
34
  GEM
35
35
  remote: https://rubygems.org/
data/docs/installation.md CHANGED
@@ -47,16 +47,15 @@ Set your license token as an environment variable:
47
47
  export REACT_ON_RAILS_PRO_LICENSE="your-license-token-here"
48
48
  ```
49
49
 
50
- Or configure it in your Rails initializer (not recommended for production):
50
+ Or create a config file at `config/react_on_rails_pro_license.key`:
51
51
 
52
- ```ruby
53
- # config/initializers/react_on_rails_pro.rb
54
- ReactOnRailsPro.configure do |config|
55
- config.license_token = ENV["REACT_ON_RAILS_PRO_LICENSE"]
56
- end
52
+ ```bash
53
+ echo "your-license-token-here" > config/react_on_rails_pro_license.key
57
54
  ```
58
55
 
59
- ⚠️ **Security Warning**: Never commit your license token to version control. Always use environment variables or secure secret management systems (like Rails credentials, Heroku config vars, AWS Secrets Manager, etc.).
56
+ ⚠️ **Security Warning**: Never commit your license token to version control. Add `config/react_on_rails_pro_license.key` to your `.gitignore`. For production, use environment variables or secure secret management systems (Rails credentials, Heroku config vars, AWS Secrets Manager, etc.).
57
+
58
+ For complete license setup instructions, see [LICENSE_SETUP.md](../LICENSE_SETUP.md).
60
59
 
61
60
  ## Rails Configuration
62
61
 
data/docs/updating.md CHANGED
@@ -169,19 +169,18 @@ Add your React on Rails Pro license token as an environment variable:
169
169
  export REACT_ON_RAILS_PRO_LICENSE="your-license-token-here"
170
170
  ```
171
171
 
172
- **Or** configure it in your Rails initializer:
172
+ Or create a config file at `config/react_on_rails_pro_license.key`:
173
173
 
174
- ```ruby
175
- # config/initializers/react_on_rails_pro.rb
176
- ReactOnRailsPro.configure do |config|
177
- config.license_token = ENV["REACT_ON_RAILS_PRO_LICENSE"]
178
- end
174
+ ```bash
175
+ echo "your-license-token-here" > config/react_on_rails_pro_license.key
179
176
  ```
180
177
 
181
- ⚠️ **Security Warning**: Never commit your license token to version control. Always use environment variables or secure secret management systems (Rails credentials, Heroku config vars, AWS Secrets Manager, etc.).
178
+ ⚠️ **Security Warning**: Never commit your license token to version control. Add `config/react_on_rails_pro_license.key` to your `.gitignore`. For production, use environment variables or secure secret management systems (Rails credentials, Heroku config vars, AWS Secrets Manager, etc.).
182
179
 
183
180
  **Where to get your license token:** Contact [justin@shakacode.com](mailto:justin@shakacode.com) if you don't have your license token.
184
181
 
182
+ For complete license setup instructions, see [LICENSE_SETUP.md](../LICENSE_SETUP.md).
183
+
185
184
  ### Verify Migration
186
185
 
187
186
  #### 1. Verify Gem Installation
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRailsPro
4
- VERSION = "16.2.0.rc.0"
4
+ VERSION = "16.2.0.rc.1"
5
5
  PROTOCOL_VERSION = "2.0.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.2.0.rc.0
4
+ version: 16.2.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-12-30 00:00:00.000000000 Z
11
+ date: 2026-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 16.2.0.rc.0
131
+ version: 16.2.0.rc.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 16.2.0.rc.0
138
+ version: 16.2.0.rc.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement