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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e606cadbca5e1019c44272e88ae2a7ec148b9becf9817dc74925fc531bb2b80f
4
- data.tar.gz: 88a6a32f2def3bdb2231a39e5900c1b0c5054e2f2d7c3126a53599b85e54a767
3
+ metadata.gz: 2c21887212877416942c74ec9e7fd5e99fd7f99369ca0de9245a5efbb6d02c76
4
+ data.tar.gz: 5fbeddccacde6852d5ec1fcfbcc941846056df77899d95b93c6f4b88c6dd168e
5
5
  SHA512:
6
- metadata.gz: 4548a73877807049e0ce8ba5146468e473e6c0b17765e1866f001cd2dba6564d00e51b1a70a9ff8a421dc396f108908da68913a97f86167d6aac32e6ca792658
7
- data.tar.gz: 8f4ab4ed17438e1d64ccd1c7b54417e6158ea39d3b1498f04b7778fe65eb735a8fdbe0cce112d11388ab14d26ff6e0cbdd846a7af79740333af35aecdf34a942
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.0.1-rc.4...master
1680
- [16.0.1-rc.4]: https://github.com/shakacode/react_on_rails/compare/16.0.1-rc.2...16.0.1-rc.4
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)
@@ -95,7 +95,7 @@ module ReactOnRails
95
95
  run "bundle"
96
96
  end
97
97
 
98
- def update_gitignore_for_auto_registration
98
+ def update_gitignore_for_generated_bundles
99
99
  gitignore_path = File.join(destination_root, ".gitignore")
100
100
  return unless File.exist?(gitignore_path)
101
101
 
@@ -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 registration
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 registration
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
@@ -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 = File.join(public_bundles_full_path, asset_name)
174
+ @react_server_manifest_path = bundle_js_file_path(asset_name)
174
175
  end
175
176
 
176
177
  def self.running_on_windows?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "16.1.0"
4
+ VERSION = "16.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.1.0
4
+ version: 16.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon