react_on_rails 16.1.0 → 16.1.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 +4 -4
- data/CHANGELOG.md +6 -4
- data/CONTRIBUTING.md +12 -0
- data/lib/generators/react_on_rails/base_generator.rb +1 -1
- data/lib/generators/react_on_rails/react_no_redux_generator.rb +1 -1
- data/lib/generators/react_on_rails/react_with_redux_generator.rb +1 -1
- data/lib/react_on_rails/utils.rb +3 -2
- data/lib/react_on_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c21887212877416942c74ec9e7fd5e99fd7f99369ca0de9245a5efbb6d02c76
|
4
|
+
data.tar.gz: 5fbeddccacde6852d5ec1fcfbcc941846056df77899d95b93c6f4b88c6dd168e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426a51bc79efc791faf2758931acec0b028f39292ea165dd28e539065f32f54b199f98e33fe49c8265e6bc90f8833810695c8e369d4d4c682bb27cd694c27f0d
|
7
|
+
data.tar.gz: 4004d4636034bb7c91a1b1412b6d9a26d80a70249bd0f6a239ccd9130f790ad3bcbc08a393ef30dd40d2279f82d2097b12b8d4246b9b71234ba2ebd8a1f386dc
|
data/CHANGELOG.md
CHANGED
@@ -23,6 +23,10 @@ After a release, please make sure to run `bundle exec rake update_changelog`. Th
|
|
23
23
|
|
24
24
|
Changes since the last non-beta release.
|
25
25
|
|
26
|
+
#### Bug Fixes
|
27
|
+
|
28
|
+
- **React Server Components**: Fixed bug in resolving `react-server-client-manifest.json` file path. The manifest file path is now correctly resolved using `bundle_js_file_path` for improved configuration flexibility and consistency in bundle management. [PR 1818](https://github.com/shakacode/react_on_rails/pull/1818) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
|
29
|
+
|
26
30
|
### [16.1.0] - 2025-09-23
|
27
31
|
|
28
32
|
#### New Features
|
@@ -1676,10 +1680,8 @@ such as:
|
|
1676
1680
|
|
1677
1681
|
- Fix several generator-related issues.
|
1678
1682
|
|
1679
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/16.
|
1680
|
-
[16.
|
1681
|
-
[16.0.1-rc.2]: https://github.com/shakacode/react_on_rails/compare/16.0.1-rc.0...16.0.1-rc.2
|
1682
|
-
[16.0.1-rc.0]: https://github.com/shakacode/react_on_rails/compare/16.0.0...16.0.1-rc.0
|
1683
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/16.1.0...master
|
1684
|
+
[16.1.0]: https://github.com/shakacode/react_on_rails/compare/16.0.0...16.1.0
|
1683
1685
|
[16.0.0]: https://github.com/shakacode/react_on_rails/compare/14.2.0...16.0.0
|
1684
1686
|
[14.2.0]: https://github.com/shakacode/react_on_rails/compare/14.1.1...14.2.0
|
1685
1687
|
[14.1.1]: https://github.com/shakacode/react_on_rails/compare/14.1.0...14.1.1
|
data/CONTRIBUTING.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Tips for Contributors
|
2
2
|
|
3
|
+
**🏗️ Important: Monorepo Merger in Progress**
|
4
|
+
|
5
|
+
We are currently working on merging the `react_on_rails` and `react_on_rails_pro` repositories into a unified monorepo. This will provide better development experience while maintaining separate package identities and licensing. See [docs/MONOREPO_MERGER_PLAN_REF.md](./docs/MONOREPO_MERGER_PLAN_REF.md) for details.
|
6
|
+
|
7
|
+
During this transition:
|
8
|
+
|
9
|
+
- Continue contributing to the current structure
|
10
|
+
- License compliance remains critical - ensure no Pro code enters MIT-licensed areas
|
11
|
+
- Major structural changes may be coordinated with the merger plan
|
12
|
+
|
13
|
+
---
|
14
|
+
|
3
15
|
- [docs/contributor-info/Releasing](./docs/contributor-info/releasing.md) for instructions on releasing.
|
4
16
|
- [docs/contributor-info/pull-requests](./docs/contributor-info/pull-requests.md)
|
5
17
|
- See other docs in [docs/contributor-info](./docs/contributor-info)
|
@@ -37,7 +37,7 @@ module ReactOnRails
|
|
37
37
|
component_name: "HelloWorld"
|
38
38
|
}
|
39
39
|
|
40
|
-
# Only create the view template - no manual bundle needed for auto
|
40
|
+
# Only create the view template - no manual bundle needed for auto-bundling
|
41
41
|
template("#{base_path}/app/views/hello_world/index.html.erb.tt",
|
42
42
|
"app/views/hello_world/index.html.erb", config)
|
43
43
|
end
|
@@ -68,7 +68,7 @@ module ReactOnRails
|
|
68
68
|
component_name: "HelloWorldApp"
|
69
69
|
}
|
70
70
|
|
71
|
-
# Only create the view template - no manual bundle needed for auto
|
71
|
+
# Only create the view template - no manual bundle needed for auto-bundling
|
72
72
|
template("#{base_path}/app/views/hello_world/index.html.erb.tt",
|
73
73
|
"app/views/hello_world/index.html.erb", config)
|
74
74
|
end
|
data/lib/react_on_rails/utils.rb
CHANGED
@@ -112,7 +112,8 @@ module ReactOnRails
|
|
112
112
|
private_class_method def self.server_bundle?(bundle_name)
|
113
113
|
config = ReactOnRails.configuration
|
114
114
|
bundle_name == config.server_bundle_js_file ||
|
115
|
-
bundle_name == config.rsc_bundle_js_file
|
115
|
+
bundle_name == config.rsc_bundle_js_file ||
|
116
|
+
bundle_name == config.react_server_client_manifest_file
|
116
117
|
end
|
117
118
|
|
118
119
|
private_class_method def self.handle_missing_manifest_entry(bundle_name, is_server_bundle)
|
@@ -170,7 +171,7 @@ module ReactOnRails
|
|
170
171
|
"react_server_client_manifest_file is nil, ensure it is set in your configuration"
|
171
172
|
end
|
172
173
|
|
173
|
-
@react_server_manifest_path =
|
174
|
+
@react_server_manifest_path = bundle_js_file_path(asset_name)
|
174
175
|
end
|
175
176
|
|
176
177
|
def self.running_on_windows?
|