react_on_rails_pro 17.2.1 → 17.3.0.rc.0

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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/.controlplane/Dockerfile +4 -4
  3. data/.controlplane/controlplane.yml +4 -4
  4. data/.controlplane/gvc.yml +4 -4
  5. data/.controlplane/rails.yml +4 -4
  6. data/.controlplane/redis.yml +4 -4
  7. data/.rubocop.yml +4 -4
  8. data/AGENTS.md +10 -8
  9. data/Gemfile +4 -4
  10. data/Gemfile.development_dependencies +4 -4
  11. data/Gemfile.loader +4 -4
  12. data/Gemfile.lock +3 -3
  13. data/LICENSE +388 -212
  14. data/LICENSE_SETUP.md +33 -21
  15. data/README.md +37 -31
  16. data/Rakefile +4 -4
  17. data/app/controllers/react_on_rails_pro/rolling_deploy/bundles_controller.rb +4 -4
  18. data/app/controllers/react_on_rails_pro/rsc_payload_controller.rb +4 -4
  19. data/app/helpers/react_on_rails_pro_helper.rb +4 -4
  20. data/app/views/react_on_rails_pro/rsc_payload.text.erb +10 -5
  21. data/babel.config.js +4 -4
  22. data/lib/react_on_rails_pro/assets_precompile.rb +4 -4
  23. data/lib/react_on_rails_pro/async_props_emitter.rb +4 -4
  24. data/lib/react_on_rails_pro/async_value.rb +4 -4
  25. data/lib/react_on_rails_pro/cache/revalidates.rb +4 -4
  26. data/lib/react_on_rails_pro/cache/tag_index.rb +4 -4
  27. data/lib/react_on_rails_pro/cache.rb +4 -4
  28. data/lib/react_on_rails_pro/compression_middleware_guard.rb +4 -4
  29. data/lib/react_on_rails_pro/concerns/async_rendering.rb +4 -4
  30. data/lib/react_on_rails_pro/concerns/rsc_payload_renderer.rb +67 -5
  31. data/lib/react_on_rails_pro/concerns/stream.rb +4 -4
  32. data/lib/react_on_rails_pro/configuration.rb +40 -5
  33. data/lib/react_on_rails_pro/constants.rb +4 -4
  34. data/lib/react_on_rails_pro/csp_nonce_stream_rewriter.rb +4 -4
  35. data/lib/react_on_rails_pro/engine.rb +12 -7
  36. data/lib/react_on_rails_pro/error.rb +4 -4
  37. data/lib/react_on_rails_pro/immediate_async_value.rb +4 -4
  38. data/lib/react_on_rails_pro/license_public_key.rb +6 -6
  39. data/lib/react_on_rails_pro/license_task_formatter.rb +4 -4
  40. data/lib/react_on_rails_pro/license_validator.rb +4 -4
  41. data/lib/react_on_rails_pro/open_telemetry.rb +6 -5
  42. data/lib/react_on_rails_pro/pre_seed_renderer_cache.rb +4 -4
  43. data/lib/react_on_rails_pro/prepare_node_renderer_bundles.rb +4 -4
  44. data/lib/react_on_rails_pro/renderer_artifact.rb +4 -4
  45. data/lib/react_on_rails_pro/renderer_artifact_support.rb +4 -4
  46. data/lib/react_on_rails_pro/renderer_cache_helpers.rb +4 -4
  47. data/lib/react_on_rails_pro/renderer_cache_path.rb +4 -4
  48. data/lib/react_on_rails_pro/renderer_http_client.rb +4 -4
  49. data/lib/react_on_rails_pro/rendering_error.rb +4 -4
  50. data/lib/react_on_rails_pro/request.rb +4 -4
  51. data/lib/react_on_rails_pro/rolling_deploy/safe_hash_pattern.rb +4 -4
  52. data/lib/react_on_rails_pro/rolling_deploy/tarball.rb +4 -4
  53. data/lib/react_on_rails_pro/rolling_deploy_adapters/http.rb +4 -4
  54. data/lib/react_on_rails_pro/rolling_deploy_cache_stager.rb +4 -4
  55. data/lib/react_on_rails_pro/routes.rb +4 -4
  56. data/lib/react_on_rails_pro/server_rendering_js_code.rb +12 -4
  57. data/lib/react_on_rails_pro/server_rendering_pool/node_rendering_pool.rb +33 -19
  58. data/lib/react_on_rails_pro/server_rendering_pool/pro_rendering.rb +7 -11
  59. data/lib/react_on_rails_pro/stream_cache.rb +4 -4
  60. data/lib/react_on_rails_pro/stream_request.rb +4 -4
  61. data/lib/react_on_rails_pro/utils.rb +4 -4
  62. data/lib/react_on_rails_pro/v8_log_processor.rb +4 -4
  63. data/lib/react_on_rails_pro/version.rb +5 -5
  64. data/lib/react_on_rails_pro.rb +4 -4
  65. data/lib/tasks/assets.rake +4 -4
  66. data/lib/tasks/license.rake +4 -4
  67. data/lib/tasks/v8_log_processor.rake +4 -4
  68. data/package-scripts.yml +4 -4
  69. data/rakelib/dummy_apps.rake +4 -4
  70. data/rakelib/lint.rake +4 -4
  71. data/rakelib/public_key_management.rake +51 -22
  72. data/rakelib/rbs.rake +4 -4
  73. data/rakelib/run_rspec.rake +4 -4
  74. data/rakelib/task_helpers.rb +4 -4
  75. data/rakelib/yard.rake +4 -4
  76. data/react_on_rails_pro.gemspec +5 -5
  77. data/scripts/load/lib/config.rb +4 -4
  78. data/scripts/load/lib/harness.rb +4 -4
  79. data/scripts/load/lib/memory_sampler.rb +4 -4
  80. data/scripts/load/lib/metrics.rb +4 -4
  81. data/scripts/load/lib/reporters/csv_reporter.rb +4 -4
  82. data/scripts/load/lib/reporters/json_reporter.rb +4 -4
  83. data/scripts/load/lib/reporters/terminal_reporter.rb +4 -4
  84. data/scripts/load/lib/request_result.rb +4 -4
  85. data/scripts/load/lib/runner.rb +4 -4
  86. data/scripts/load/lib/scenario_registry.rb +4 -4
  87. data/scripts/load/lib/scenarios/base.rb +4 -4
  88. data/scripts/load/lib/scenarios/standard_render.rb +4 -4
  89. data/scripts/load/lib/scenarios/streaming_render.rb +4 -4
  90. data/scripts/load/lib/transport_probe.rb +4 -4
  91. data/scripts/load/renderer_harness.rb +4 -4
  92. data/scripts/load/transport_probe.rb +4 -4
  93. data/scripts/load/transport_probe_server.mjs +4 -4
  94. data/sig/react_on_rails_pro/async_value.rbs +4 -4
  95. data/sig/react_on_rails_pro/cache.rbs +4 -4
  96. data/sig/react_on_rails_pro/concerns/async_rendering.rbs +4 -4
  97. data/sig/react_on_rails_pro/configuration.rbs +8 -4
  98. data/sig/react_on_rails_pro/error.rbs +4 -4
  99. data/sig/react_on_rails_pro/immediate_async_value.rbs +4 -4
  100. data/sig/react_on_rails_pro/license_validator.rbs +4 -4
  101. data/sig/react_on_rails_pro/open_telemetry.rbs +4 -4
  102. data/sig/react_on_rails_pro/renderer_http_client.rbs +4 -4
  103. data/sig/react_on_rails_pro/utils.rbs +4 -4
  104. data/sig/react_on_rails_pro.rbs +4 -4
  105. metadata +4 -4
data/LICENSE CHANGED
@@ -1,46 +1,64 @@
1
- # The React on Rails Pro License
1
+ # The ShakaStack License
2
2
 
3
- The React on Rails Pro License, version 3.0, an application of ShakaCode
4
- Trust-Based Commercial Licensing.
3
+ The ShakaStack License, version 1.0, applied to React on Rails Pro. An
4
+ application of ShakaCode Trust-Based Commercial Licensing.
5
5
 
6
- Copyright (c) 2015-2026 ShakaCode LLC, a Hawaii limited liability company
7
- ("ShakaCode").
6
+ Copyright (c) 2015-2026 ShakaCode LLC, a Hawaii limited liability
7
+ company ("ShakaCode").
8
8
 
9
- SPDX-License-Identifier: LicenseRef-ReactOnRailsPro
9
+ SPDX-License-Identifier: LicenseRef-ShakaStack-1.0-ReactOnRailsPro
10
+
11
+ This file is the complete license for React on Rails Pro. It has two parts.
12
+ Part A holds the common terms shared by every ShakaStack product. Part B is
13
+ the Product Schedule for React on Rails Pro: it names the software, says which
14
+ uses of it are free and which require a subscription, and lists the
15
+ obligations that apply to it. Part B applies only to React on Rails Pro
16
+ (Section A16).
10
17
 
11
18
  ## Plain-language summary (informative, not part of the terms)
12
19
 
13
20
  React on Rails Pro is trust-based: no license key is needed to run it,
14
- nothing phones home, and a missing key never blocks, slows, or changes
15
- how your app runs. Reading the source, development, test, CI, staging,
16
- review apps, education, personal projects, and open-source work are free
17
- for everyone, at any organization size. Production use is also free if
18
- you can answer yes to all three questions: *Do fewer than 10 people work
19
- for your organization (counting all affiliates)? Was its revenue in the
20
- last twelve months under US $1M? Has it raised under US $1M in outside
21
- capital, ever?* Charities, educational institutions, and hospitals are
22
- free at any size. If any answer is no and you are none of those,
23
- production use requires a paid subscription, and one subscription covers
24
- your whole organization: every application, environment, and developer.
25
- See https://pro.reactonrails.com/. Every page rendered with Pro carries
26
- one HTML comment naming the product and its license status; the license
27
- key that comes with a subscription makes it read `Licensed`. Once a
28
- version ships under these terms, those terms govern that version
29
- permanently.
30
-
31
- ## 1. Acceptance
32
-
33
- By using the software, you agree to these terms. If you use the software
34
- on behalf of an organization, you represent that you have authority to
35
- bind that organization, and "you" includes it.
36
-
37
- ## 2. Definitions
38
-
39
- **"Software"** means React on Rails Pro: the `react_on_rails_pro` Ruby
40
- gem, the `react-on-rails-pro` and `react-on-rails-pro-node-renderer` npm
41
- packages, and any other component ShakaCode distributes under these
42
- terms. The open-source React on Rails core that the software builds on is
43
- licensed separately under the MIT License.
21
+ nothing phones home, and a missing key never blocks, slows, or changes how
22
+ your app runs. Reading the source, development, test, CI, staging, review
23
+ apps, education, personal projects, and open-source work are free for
24
+ everyone, at any organization size. Production use, including serving your
25
+ users or doing background work that supports a live application, is also
26
+ free if you can answer yes to all three questions: *Do fewer than
27
+ 10 people work for your organization (counting all affiliates)? Was its
28
+ revenue in the last twelve months under US $1M? Has it raised under US $1M
29
+ in outside capital, ever?* Charities, educational institutions, and
30
+ hospitals are free at any size. If any answer is no and you are none of
31
+ those, production use needs ShakaStack Pro: one subscription per
32
+ organization that covers React on Rails Pro, ShakaPerf, and Inertia Rails
33
+ SSR Cache for every affiliate, application, environment, and developer,
34
+ with no limit on organization size. An existing React on Rails Pro
35
+ subscription is a ShakaStack Pro subscription. Every page rendered with
36
+ Pro carries one HTML comment naming the product and its license status;
37
+ the license key that comes with a subscription makes it read `Licensed`.
38
+ The environment permission applies only to development, testing, verification,
39
+ or demonstration before production; background work that supports a live
40
+ application is production even in a separate worker or CI environment. The
41
+ free environments listed here are a rule about React on Rails Pro; each
42
+ ShakaStack product's own license says what is free for it. See
43
+ https://pro.reactonrails.com/. Once a version ships under these terms,
44
+ those terms govern that version permanently.
45
+
46
+ # Part A. Common terms
47
+
48
+ ## A1. Acceptance
49
+
50
+ By using the Software, you agree to these terms. If you use the Software on
51
+ behalf of an organization, you represent that you have authority to bind
52
+ that organization, and "you" includes it.
53
+
54
+ ## A2. Definitions
55
+
56
+ **"Product"** means React on Rails Pro, the ShakaStack product this file is
57
+ applied to. **"Software"** means the components of the Product listed in
58
+ Section B1, in every version that ships with this text, and any other
59
+ component ShakaCode distributes under this text as part of the Product.
60
+
61
+ **"Product Schedule"** means Part B of this file.
44
62
 
45
63
  **"Control"** means ownership of more than 50% of the voting interests of
46
64
  an entity, or the power to direct its management or policies, by contract
@@ -48,15 +66,17 @@ or otherwise.
48
66
 
49
67
  **"Your organization"** means you together with every entity that Controls
50
68
  you, that you Control, or that is under common Control with you. Teams,
51
- departments, and other sub-units are not separate organizations.
69
+ departments, subsidiaries, and other sub-units are not separate
70
+ organizations.
52
71
 
53
72
  **"Small Organization"** means an organization for which all of the
54
73
  following are true, counted across the entire organization as defined
55
74
  above:
56
75
 
57
76
  a. fewer than 10 individuals perform paid work for it or on its products
58
- and services, whether directly or through staffing, outsourcing, or
59
- services arrangements, counted as full-time equivalents;
77
+ and services, whether directly or through staffing, outsourcing,
78
+ contracting, or services arrangements, counted as full-time
79
+ equivalents;
60
80
  b. its total gross revenue, measured over the twelve months ending with
61
81
  the most recently completed calendar quarter, was less than
62
82
  US $1,000,000; and
@@ -90,199 +110,237 @@ qualifying entity and to affiliates that qualify on their own; it does
90
110
  not extend to for-profit affiliates, spin-offs, or commercial ventures
91
111
  that are not themselves one of these.
92
112
 
93
- **"Production use"** means running the software to serve an application,
94
- website, or service to its end users, whether those users are the public,
95
- your customers, or your own staff. Development, test, continuous
96
- integration, staging, preview, review-app, and other non-production
97
- environments are not production use.
98
-
99
- **"Generated Attribution"** means the HTML comment the software emits
100
- once in each document it renders, in the form
101
- `<!-- Powered by React on Rails Pro (c) ShakaCode | STATUS -->`, where
102
- STATUS is generated by the software from the license status.
103
-
104
- **"Subscription"** means an active paid React on Rails Pro subscription
105
- purchased at https://pro.reactonrails.com/, through another order channel
106
- ShakaCode designates (for example a designated GitHub Sponsors tier or an
107
- invoice), or under a separate written agreement with ShakaCode.
108
- Sponsorships and donations that ShakaCode has not designated as
109
- subscriptions are appreciated but are not Subscriptions and grant no
110
- production-use rights.
111
-
112
- **"License key"** means the optional credential ShakaCode issues that
113
- identifies your organization in the software's license-status logs and in
114
- the Generated Attribution. A license key is identity, not enforcement.
115
-
116
- ## 3. Copyright grant
113
+ **"Free Use"** means a use listed in Section A4 or in Section B3.
114
+
115
+ **"Covered Use"** means the use of the Software that Section B2 defines as
116
+ Covered Use. Covered Use is the use that requires a Subscription above the
117
+ free line (Section A5). Whether a use of the Software is a Free Use or a
118
+ Covered Use is decided only by this file, never by the license of another
119
+ product (Section A16).
120
+
121
+ **"Evaluation Period"** means one period of 45 consecutive days per
122
+ organization per Product, beginning on the first day anyone in your
123
+ organization uses the Product in a way that would require a Subscription if
124
+ Section A4(b) did not exist. It does not restart with a new version, person,
125
+ installation, application, repository, package, or affiliate, and time
126
+ already used to evaluate the Product under earlier terms counts toward it. A
127
+ use that is free without Section A4(b), including use by a Small
128
+ Organization, does not start it.
129
+
130
+ **"ShakaStack Pro"** means the paid subscription that ShakaCode sells under
131
+ that name at https://pro.reactonrails.com/ or at a successor address
132
+ ShakaCode publishes, or that ShakaCode provides under an invoice, order
133
+ form, GitHub Sponsors tier, or other channel that ShakaCode designates in
134
+ writing as ShakaStack Pro.
135
+
136
+ **"Included Product"** means React on Rails Pro (including the
137
+ react-on-rails-rsc package), ShakaPerf, Inertia Rails SSR Cache, and any
138
+ product ShakaCode adds under Section A6.
139
+
140
+ **"Subscription"** means an active ShakaStack Pro subscription held by or
141
+ for your organization (Section A6), or a separate written agreement with
142
+ ShakaCode that covers the Software. A paid subscription that Section A6
143
+ recognizes is a Subscription even if it was sold under an earlier product
144
+ name. Other sponsorships, donations, and supporter memberships are
145
+ appreciated but are not Subscriptions and grant no right to Covered Use.
146
+
147
+ **"Version line"** means the releases of the Software that share the same
148
+ major and minor version numbers (for example, every 17.3.x release). This
149
+ definition applies to releases first governed by this text. It does not
150
+ define or reinterpret the phrase in an earlier license.
151
+
152
+ ## A3. Copyright grant
117
153
 
118
154
  ShakaCode grants you a non-exclusive, worldwide, royalty-free license to
119
- use, copy, modify, and create derivative works of the software, and to
120
- include it in the builds and deployments of your organization's own
121
- applications, in each case only as allowed by these terms. You may share
122
- copies with contractors and service providers working on those
123
- applications, who must observe these terms. You may not distribute the
124
- software or your modifications as a standalone product or library, or as
125
- part of a product whose purpose is to provide the software's
126
- functionality to others (see Section 7).
155
+ use, copy, modify, and create derivative works of the Software, in each
156
+ case only as allowed by these terms and within the limits stated in
157
+ Section B5. You may share copies with contractors and service providers
158
+ working for your organization, who must observe these terms.
127
159
 
128
- ## 4. Free uses
160
+ ## A4. Free uses
129
161
 
130
162
  The following uses are free of charge for anyone, at any organization
131
163
  size:
132
164
 
133
165
  a. reading and studying the source code;
134
- b. development, test, continuous integration, staging, preview,
135
- review-app, and every other non-production environment, without time
136
- limit;
137
- c. evaluating the software in production for up to 45 days per
138
- organization (not per version, person, or application), solely to
139
- decide whether to adopt it;
140
- d. education and training of people, tutorials, demonstrations, and
141
- academic research, in each case not directed at developing or
142
- operating your organization's own products or services;
143
- e. personal and hobby projects;
144
- f. developing and operating a public open-source project distributed
145
- under a license approved by the Open Source Initiative, where the
146
- software runs as part of that project's own publicly available code
147
- and primarily for that project's benefit, and not for the development
148
- or operation of a proprietary product or service.
149
-
150
- In addition, **all production use is free of charge for a Small
151
- Organization, a Charity, an Educational Institution, or a Hospital, at
152
- any size for the last three.** If your organization is one of these,
153
- nothing in Section 5 applies to you.
154
-
155
- ## 5. Paid uses
156
-
157
- Production use by an organization that is not a Small Organization, a
158
- Charity, an Educational Institution, or a Hospital requires a
159
- Subscription. This includes, without limitation, production use beyond
160
- the Section 4(c) evaluation window, internal applications used only by
161
- your staff, and applications you operate for your customers.
162
-
163
- In any conflict between Section 4 and this Section 5, use described in
164
- this Section 5 is production use and is not a free use under Section
165
- 4(b), (c), or (d).
166
-
167
- **Client work.** If you use the software to build or run an application
168
- for a client, the use is attributed to the organization whose business
169
- the application ultimately serves, traced through any intermediaries.
170
- That organization's status determines whether the use is free or paid,
171
- and any required Subscription must be held by, or purchased for the
172
- benefit of and identifying, that organization. You may rely on a client's
173
- written self-certification of its status. A consulting firm's or agency's
174
- own applications are attributed to the firm or agency.
175
-
176
- ## 6. Subscriptions
177
-
178
- One Subscription covers your whole organization: every application,
179
- environment, server, and developer of your organization, with no per-seat
180
- or per-application charge. A Subscription is governed by the subscription
181
- terms, order form, or other agreement under which it is purchased; if
182
- that agreement conflicts with these terms, that agreement controls. While
183
- a Subscription is active, ShakaCode provides software updates and
184
- reasonable support through its published channels; no response or
185
- resolution times are guaranteed unless an order or separate agreement
186
- says so. If a required Subscription expires or is terminated, your
187
- production use remains licensed for 30 days while you renew or wind down,
188
- and the software keeps running either way. ShakaCode and you may enter a
189
- separate written agreement that supplements or supersedes these terms.
190
-
191
- ## 7. No hosted or embedded offering
192
-
193
- You may not provide the software or its rendering functionality to third
194
- parties as a hosted, managed, embedded, or bundled offering, for example
195
- a platform that builds or runs other organizations' React on Rails
196
- applications, without a separate written agreement with ShakaCode. Each
197
- organization whose applications use the software must independently
198
- qualify for free use or hold its own Subscription. Running your own
199
- applications for your own users, customers, or staff is not an offering
200
- to third parties.
201
-
202
- ## 8. Attribution and license status
203
-
204
- Every HTML document rendered with the software must retain exactly one
205
- complete, unmodified Generated Attribution in its source. You may not
206
- remove, alter, obscure, or suppress it, in free and paid use alike. With
207
- a valid license key the status reads `Licensed`; without a key it reads
208
- `UNLICENSED`; an expired or malformed key reads `LICENSE EXPIRED` or
209
- `INVALID LICENSE`. An `UNLICENSED` status is not by itself a violation,
210
- because free uses need no key. The software never blocks, degrades, or
211
- reports your use based on license status; it only labels and logs it.
212
- Keep your license key private: it identifies your organization. A related
213
- component that does not itself generate or insert the Generated
214
- Attribution, such as `react-on-rails-rsc`, has no obligation to insert a
215
- second one.
216
-
217
- ## 9. Trust, self-certification, and true-up
218
-
219
- These terms are enforced by trust, not technology: the software contains
220
- no activation, no usage telemetry, and no runtime lockout, and a license
221
- key only changes what the status says. You are responsible for
222
- determining in good faith whether your use is free or paid. ShakaCode
223
- encourages every organization, free and paid alike, to register at
224
- https://pro.reactonrails.com/ (free of charge). Registration is optional
225
- and is never a condition of any free use.
226
-
227
- If your organization stops qualifying as a Small Organization, your
228
- production use remains licensed for 60 days after the change; after that,
229
- continued production use requires a Subscription. No payment is owed for
230
- use during that window, and the obligation is not avoided by
231
- re-qualification within 12 months of the change.
166
+ b. evaluating the Software during the Evaluation Period, in the form the
167
+ Product Schedule allows (Section B4), solely to decide whether to adopt
168
+ it;
169
+ c. education and training of people, tutorials, demonstrations, and
170
+ academic research, in each case not directed at developing or operating
171
+ your organization's own products or services, and not including
172
+ training or operating machine-learning models or automated agents;
173
+ d. personal and hobby projects of an individual, not carried out for any
174
+ organization's work;
175
+ e. developing, testing, operating, and supporting a public open-source
176
+ project distributed under a license approved by the Open Source
177
+ Initiative, where the Software runs as part of, or on, that project's
178
+ own publicly available code and primarily for that project's benefit,
179
+ and not for the development or operation of a proprietary product or
180
+ service;
181
+ f. the additional free uses, if any, listed in Section B3.
182
+
183
+ In addition, **all Covered Use is free of charge for a Small Organization,
184
+ a Charity, an Educational Institution, or a Hospital, at any size for the
185
+ last three.** If your organization is one of these, nothing in Section A5
186
+ applies to you.
187
+
188
+ ## A5. Covered uses
189
+
190
+ Covered Use requires a Subscription unless the organization it serves (see
191
+ Client work below) is a Small Organization, a Charity, an Educational
192
+ Institution, or a Hospital, or a grace period in Section A6 or A8 applies. A
193
+ Free Use needs no Subscription. The examples of Covered Use in Section B2 do
194
+ not override a Free Use, and a Free Use covers only what it states.
195
+
196
+ **Client work.** If you use the Software to build, run, test, measure, or
197
+ otherwise deliver work for a client, the use is attributed to the
198
+ organization whose business the work ultimately serves, traced through any
199
+ intermediaries. That organization's status determines whether the use is
200
+ free or Covered, and any required Subscription must be held by, or
201
+ purchased for the benefit of and identifying, that organization. You may
202
+ rely on a client's written self-certification of its status. A consulting
203
+ firm's or agency's own applications and own work are attributed to the
204
+ firm or agency.
205
+
206
+ ## A6. Subscriptions
207
+
208
+ **Scope.** One Subscription covers your whole organization: every entity
209
+ within it, and every application, environment, repository, pipeline,
210
+ server, developer, and automated agent of it, with no per-seat,
211
+ per-application, per-repository, or per-run charge, and with no limit
212
+ based on headcount, revenue, capital raised, or any other measure of size.
213
+
214
+ **Included Products.** A Subscription covers Covered Use of every Included
215
+ Product. React on Rails Pro, ShakaPerf, and Inertia Rails SSR Cache stay
216
+ included for every release governed by this text whenever your organization
217
+ has an active Subscription, including after renewal. ShakaCode may add a
218
+ product by publishing a written designation that names it and the date it
219
+ joins. An addition never removes an Included Product, changes the terms
220
+ delivered with a release, or adds a fee during a service period already paid
221
+ for.
222
+
223
+ **Existing subscriptions.** A React on Rails Pro subscription, a GitHub
224
+ Sponsors tier or other purchase that ShakaCode designated as a subscription
225
+ to an Included Product, or any other paid subscription to an Included
226
+ Product, that ShakaCode sold before this version was published is a
227
+ ShakaStack Pro subscription under these terms for as long as it remains
228
+ active, at no additional charge and without any limit based on organization
229
+ size.
230
+
231
+ **Keys and labels.** A license key, a registration, or a license status
232
+ label is not a Subscription and does not prove one, and a free key does not
233
+ expand any right. Cancelling a future renewal does not end a service period
234
+ already paid for.
235
+
236
+ **Order terms.** The applicable order governs payment, service period,
237
+ renewal, taxes, and purchased services. The product and organization
238
+ coverage in this Section A6 prevails over a narrower standard product or
239
+ size limit in an order or in a published plan description. Additional rights
240
+ and services that an order expressly grants remain in effect. While a
241
+ Subscription is active, ShakaCode provides software updates and reasonable
242
+ support through its published channels; no response or resolution times
243
+ are guaranteed unless an order or separate agreement says so.
244
+
245
+ **Lapse.** If a required Subscription expires or is terminated, your
246
+ Covered Use remains licensed for 30 days while you renew or wind down, and
247
+ the Software keeps running either way.
248
+
249
+ **Separate agreements.** ShakaCode and you may expressly agree in writing to
250
+ supplement or vary identified clauses, for example for a hosted or embedded
251
+ offering (Section A7), for indemnity or support commitments, or for
252
+ procurement paperwork. A change that reduces the coverage in this Section A6
253
+ must identify that reduction and be accepted by both parties.
254
+
255
+ ## A7. No hosted or embedded offering
256
+
257
+ You may not provide the Software or its functionality to third parties as
258
+ a hosted, managed, embedded, or bundled offering, for example a platform or
259
+ service that builds, runs, tests, or measures other organizations'
260
+ applications with the Software, without a separate written agreement with
261
+ ShakaCode. Each organization whose applications, code, or systems the
262
+ Software is used on or for must independently qualify for free use or hold
263
+ its own Subscription. Operating your own application for its users is not a
264
+ hosted offering merely because that application uses the Software. A
265
+ contractor doing work for an identified client under Section A5 is not, by
266
+ that work alone, offering a prohibited service. Selling other organizations
267
+ access to the Software's analysis, rendering, or cache functionality does
268
+ require a separate agreement, even when they are your customers.
269
+
270
+ ## A8. Trust, self-certification, and true-up
271
+
272
+ These terms are enforced by trust, not technology: the Software contains
273
+ no activation, no usage telemetry, and no runtime lockout. You are
274
+ responsible for determining in good faith whether your use is free or
275
+ Covered. ShakaCode encourages every organization, free and paid alike, to
276
+ register at the address in Section B6 (free of charge). Registration is
277
+ optional and is never a condition of any free use.
278
+
279
+ If your organization stops qualifying as a Small Organization, your Covered
280
+ Use remains licensed for 60 days after the change; after that, continued
281
+ Covered Use requires a Subscription. No payment is owed for use during that
282
+ window, and the obligation is not avoided by re-qualification within 12
283
+ months of the change. Another Free Use stays available.
232
284
 
233
285
  If you discover in good faith that past use required a Subscription,
234
- purchasing the applicable Subscription within 60 days of discovery is
235
- full compliance, and no back payment is owed for the good-faith period.
236
- If your organization made production use requiring a Subscription
237
- without a good-faith basis for treating it as free, ShakaCode may require
238
- payment of the applicable subscription fees for the period of that use,
239
- up to 24 months.
286
+ purchasing a Subscription within 60 days of discovery is full compliance,
287
+ and no back payment is owed for the good-faith period. If your
288
+ organization made Covered Use requiring a Subscription without a good-faith
289
+ basis for treating it as free, ShakaCode may require payment of the
290
+ applicable subscription fees for the period of that use, up to 24 months.
240
291
 
241
292
  You must not misrepresent your organization, its size or status, or your
242
- license status, whether in a registration, in the software's
243
- configuration, or in the Generated Attribution.
293
+ license status, whether in a registration, in the Software's configuration,
294
+ or in the Software's output.
244
295
 
245
- ## 10. Redistribution and notices
296
+ ## A9. Redistribution and notices
246
297
 
247
- Copies of the software and derivative works that these terms allow you to
248
- make must remain under these same terms and must retain these terms, all
249
- copyright and attribution notices, and the SPDX identifier.
298
+ Copies of the Software and derivative works that these terms allow you to
299
+ make must remain under these same terms and must retain these terms, both
300
+ parts, all copyright and attribution notices, and the SPDX identifier. This
301
+ applies to material governed by these terms. Separately licensed components
302
+ keep their own notices and permissions.
250
303
 
251
- ## 11. Patents
304
+ ## A10. Patents
252
305
 
253
306
  ShakaCode grants you a license under any patent claims it can license that
254
- are necessarily infringed by the software, only for uses allowed by these
307
+ are necessarily infringed by the Software, only for uses allowed by these
255
308
  terms. This patent license ends immediately if you or your organization
256
309
  initiate a patent claim (excluding counterclaims and cross-claims filed in
257
310
  response to a patent claim first brought against you) alleging that the
258
- software infringes a patent.
311
+ Software infringes a patent.
259
312
 
260
- ## 12. Trademarks
313
+ ## A11. Trademarks
261
314
 
262
315
  These terms grant no rights in the names, logos, or trademarks of
263
- ShakaCode, React on Rails, or React on Rails Pro, except for the
264
- attribution required by these terms and truthful factual references.
316
+ ShakaCode, ShakaStack, or the Product, except for the attribution required
317
+ by these terms and truthful factual references.
265
318
 
266
- ## 13. Per-version terms, breach, and cure
319
+ ## A12. Per-version terms, breach, and cure
267
320
 
268
321
  These terms apply per version: the terms delivered with a version of the
269
- software govern that version permanently, and patch and security releases
270
- of a version line remain under that line's terms. Later versions may be
271
- offered under different terms.
322
+ Software govern that version permanently, and patch and security releases
323
+ of a Version line remain under that line's terms. Later Version lines may
324
+ be offered under different terms. A later version of The ShakaStack
325
+ License never changes the terms of a version of the Software you already
326
+ have. The permanence of a version's terms does not extend a Subscription:
327
+ Covered Use of any version still requires an active Subscription where
328
+ these terms require one.
272
329
 
273
330
  If you breach these terms, your license ends automatically 30 days after
274
331
  ShakaCode provides written notice of the breach, unless you cure it within
275
332
  that period; upon cure, your license is reinstated retroactively. Curing
276
- continued production use during a lapsed Subscription includes payment of
277
- the applicable fees for the lapsed period.
333
+ continued Covered Use during a lapsed Subscription includes payment of the
334
+ applicable fees for that use, excluding periods licensed or forgiven under
335
+ Sections A6 and A8 and any Free Use.
278
336
 
279
- ## 14. Feedback
337
+ ## A13. Feedback
280
338
 
281
339
  If you submit feedback, suggestions, or improvements to ShakaCode, you
282
340
  grant ShakaCode a worldwide, royalty-free, irrevocable license to use and
283
341
  incorporate them.
284
342
 
285
- ## 15. Disclaimer and limitation of liability
343
+ ## A14. Disclaimer and limitation of liability
286
344
 
287
345
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
288
346
  IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
@@ -293,7 +351,7 @@ TERMS, AND SHAKACODE'S TOTAL LIABILITY WILL NOT EXCEED THE AMOUNTS YOU
293
351
  PAID SHAKACODE FOR THE SOFTWARE IN THE TWELVE MONTHS BEFORE THE CLAIM
294
352
  AROSE.
295
353
 
296
- ## 16. Assignment, governing law, and miscellaneous
354
+ ## A15. Assignment, governing law, and miscellaneous
297
355
 
298
356
  You may assign these terms, together with any active Subscription, to a
299
357
  successor in connection with a merger, acquisition, or sale of
@@ -302,44 +360,162 @@ otherwise non-transferable. These terms are governed by the laws of the
302
360
  State of Hawaii, USA, excluding its conflict-of-law rules, with exclusive
303
361
  jurisdiction and venue in the state and federal courts located in
304
362
  Honolulu, Hawaii. If a provision of these terms is unenforceable, the
305
- remainder stays in effect. These terms, together with any subscription
306
- agreement or order, are the entire agreement about the software; if they
307
- conflict, the order controls.
363
+ remainder stays in effect. These terms, the applicable order, and any
364
+ express separate agreement are the entire agreement about the Software.
365
+ Section A6 determines their precedence.
366
+
367
+ ## A16. The common terms and the Product Schedule
308
368
 
309
- ## 17. Questions and commercial licensing
369
+ The Product Schedule applies only to its own Product. A free use, a
370
+ Covered Use definition, an evaluation form, or an obligation stated in the
371
+ Product Schedule of one ShakaStack product does not apply to another
372
+ ShakaStack product, even when the products are installed, run, or
373
+ purchased together, and even when one product is used to build, test, or
374
+ measure an application that uses another. Each ShakaStack product ships
375
+ its own complete license file, and that file alone decides which uses of
376
+ that product are free.
310
377
 
311
- contact@shakacode.com · https://pro.reactonrails.com/ ·
378
+ If Part A and Part B conflict, Part B controls for the Product. Part B
379
+ cannot remove the free uses in Section A4(a), (c), (d), or (e), the free
380
+ line in Section A4, or the scope of a Subscription in Section A6.
381
+
382
+ ## A17. Questions and commercial licensing
383
+
384
+ contact@shakacode.com, https://pro.reactonrails.com/,
312
385
  https://github.com/shakacode/commercial-licensing
313
386
 
387
+ # Part B. Product Schedule: React on Rails Pro
388
+
389
+ ## B1. Software
390
+
391
+ The Software is React on Rails Pro: the `react_on_rails_pro` Ruby gem, the
392
+ `react-on-rails-pro`, `react-on-rails-pro-node-renderer`, and
393
+ `react-on-rails-rsc` npm packages, and any other component ShakaCode
394
+ distributes under this text as part of React on Rails Pro. The open-source
395
+ React on Rails core that the Software builds on is licensed separately
396
+ under the MIT License. Dependencies and identified third-party portions keep
397
+ their own licenses; in particular, the Meta portions of the RSC webpack plugin
398
+ remain under their accompanying MIT notice.
399
+
400
+ ## B2. Use model and Covered Use
401
+
402
+ React on Rails Pro is served software: it runs inside your application to
403
+ render and serve pages.
404
+
405
+ **Covered Use** means production use: running the Software to serve an
406
+ application, website, or service to its end users, whether those users are
407
+ the public, your customers, or your own staff, including the rendering,
408
+ streaming, and background work that supports it. It includes,
409
+ without limitation, internal applications used only by your staff and
410
+ applications you operate for your customers. An environment used to serve
411
+ real end users, or to do background work that supports a live application,
412
+ is production whatever its name and whether or not it receives user requests
413
+ directly. Environments used solely to develop, test, verify, or demonstrate
414
+ an application before production are not Covered Use of this Product
415
+ (Section B3(a)).
416
+
417
+ This environment rule is a rule about React on Rails Pro only. It does not
418
+ make any use of another ShakaStack product free (Section A16).
419
+
420
+ ## B3. Additional free uses
421
+
422
+ a. development, test, continuous integration, staging, preview, review-app,
423
+ and other environments used solely to develop, verify, or demonstrate an
424
+ application before production, without time limit. This does not cover
425
+ serving real end users or background work that supports a live
426
+ application, even in a separate worker or CI environment.
427
+
428
+ ## B4. Evaluation
429
+
430
+ During the Evaluation Period you may evaluate the Software in any Covered Use
431
+ defined in Section B2, including background work that supports a live
432
+ application, solely to decide whether to adopt it. Uses that are free under
433
+ Section A4 or Section B3 need no evaluation period.
434
+
435
+ ## B5. Grant limits and Generated Attribution
436
+
437
+ You may include the Software in the builds and deployments of your
438
+ organization's own applications. You may not distribute the Software or
439
+ your modifications as a standalone product or library, or as part of a
440
+ product whose purpose is to provide the Software's functionality to others
441
+ (Section A7).
442
+
443
+ **"Generated Attribution"** means the HTML comment the Software emits once
444
+ in each document it renders, in the form
445
+ `<!-- Powered by React on Rails Pro (c) ShakaCode | STATUS -->`, where
446
+ STATUS is generated by the Software from the license status.
447
+ **"License key"** means the optional credential ShakaCode issues that
448
+ identifies your organization in the Software's license-status logs and in
449
+ the Generated Attribution. A license key is identity, not enforcement.
450
+
451
+ Every HTML document rendered with the Software must retain exactly one
452
+ complete, unmodified Generated Attribution in its source. You may not
453
+ remove, alter, obscure, or suppress it, in free and paid use alike. With a
454
+ valid license key the status reads `Licensed`; without a key it reads
455
+ `UNLICENSED`; an expired or malformed key reads `LICENSE EXPIRED` or
456
+ `INVALID LICENSE`. An `UNLICENSED` status is not by itself a violation,
457
+ because free uses need no key. The Software never blocks, degrades, or
458
+ reports your use based on license status; it only labels and logs it. Keep
459
+ your license key private: it identifies your organization. A related
460
+ component that does not itself generate or insert the Generated
461
+ Attribution, such as `react-on-rails-rsc`, has no obligation to insert a
462
+ second one.
463
+
464
+ ## B6. Included Product, registration, and purchase
465
+
466
+ React on Rails Pro is an Included Product: its Subscription is ShakaStack
467
+ Pro (Section A6). Register, free of charge and optionally, and purchase at
468
+ https://pro.reactonrails.com/. Free and paid uses are summarized at
469
+ https://reactonrails.com/pricing/.
470
+
314
471
  ## Machine-readable summary (informative)
315
472
 
316
473
  ```yaml
317
- license_name: The React on Rails Pro License 3.0
318
- spdx_identifier: LicenseRef-ReactOnRailsPro
474
+ license_name: The ShakaStack License 1.0
475
+ product: React on Rails Pro
476
+ spdx_identifier: LicenseRef-ShakaStack-1.0-ReactOnRailsPro
319
477
  type: trust-based commercial
320
- free_production_use_if_all:
478
+ use_model: served_software # covered use is serving end users or supporting a live application
479
+ free_line_if_all:
321
480
  max_org_headcount_fte: 10 # exclusive; whole control group
322
481
  max_ttm_revenue_usd: 1000000 # exclusive; trailing 12 months
323
482
  max_lifetime_outside_capital_usd: 1000000 # exclusive
324
- free_production_use_if_any:
483
+ free_line_if_any:
325
484
  - charity # recognized charitable / public-benefit org, any size
326
485
  - educational_institution # school, college, university, any size
327
486
  - hospital # licensed inpatient care provider, any size
328
- always_free: [read, study, development, test, ci, staging, preview, review_apps, evaluate_in_production_45_days, education, personal, oss_projects]
329
- paid: production use by any other organization; one subscription per organization, unlimited applications and developers
487
+ always_free: [read, study, development, test, ci, staging, preview, review_apps, evaluate_in_production_45_days_per_org_per_product, education, personal, oss_projects]
488
+ free_environment_condition: solely_development_testing_verification_or_demonstration_before_production
489
+ covered_use: [serving_end_users, background_work_supporting_live_applications, internal_apps_for_staff, apps_operated_for_customers]
490
+ environment_matters: true # actual purpose controls, not the environment's name
491
+ subscription: ShakaStack Pro
492
+ subscription_scope: whole organization, every affiliate, application, environment, server and developer
493
+ subscription_size_limit: none
494
+ included_products: [react_on_rails_pro, shakaperf, inertia_rails_ssr_cache]
495
+ existing_react_on_rails_pro_subscriptions: are ShakaStack Pro while active
330
496
  license_key: optional # identity only; sets the attribution status; never required for free use
331
497
  runtime_enforcement: none # no activation, no telemetry, no lockout; status is logged and labeled
332
498
  attribution_required: true # one HTML comment per rendered document
333
499
  subscription_lapse_grace_days: 30
334
500
  outgrow_free_line_grace_days: 60
335
501
  per_version_terms: true
336
- pricing_url: https://pro.reactonrails.com/
502
+ version_line: major.minor
503
+ pricing_url: https://reactonrails.com/pricing/
504
+ purchase_url: https://pro.reactonrails.com/
337
505
  register_url: https://pro.reactonrails.com/
338
506
  contact: contact@shakacode.com
339
507
  ```
340
508
 
341
509
  ## Version history (informative)
342
510
 
343
- Version 3.0 replaces the React on Rails Pro End User License Agreement,
344
- version 2.3 (2026-07-14), for releases shipped under these terms. Releases
345
- shipped under earlier terms remain under those terms.
511
+ The ShakaStack License 1.0 replaces The React on Rails Pro License, version
512
+ 3.0 (2026-09-21), for releases of React on Rails Pro shipped under this text.
513
+ The free line, the free environments, the definition of production use, the
514
+ Generated Attribution, the grace periods, and the trust model carry over, with
515
+ the clarifications listed in the license changelog; the subscription is now
516
+ ShakaStack Pro, which covers the whole organization with no size limit and
517
+ includes ShakaPerf and Inertia Rails SSR Cache. Version 3.0 replaced the React
518
+ on Rails Pro End User License Agreement, version 2.3 (2026-07-14). Releases
519
+ shipped under earlier terms remain under those terms. Every released text is
520
+ archived byte for byte at
521
+ https://github.com/shakacode/commercial-licensing/tree/main/license/archive/.