react_on_rails 16.1.1 → 16.1.2

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: 2c21887212877416942c74ec9e7fd5e99fd7f99369ca0de9245a5efbb6d02c76
4
- data.tar.gz: 5fbeddccacde6852d5ec1fcfbcc941846056df77899d95b93c6f4b88c6dd168e
3
+ metadata.gz: a0e1b605989c169efc65df4d26eb0a2db042e580fffd7d9c4499debfa61d04c9
4
+ data.tar.gz: cb2b6a59bb10fa9f230462fe8c9b91c430e9e7287d7df113650f75a548af6cd8
5
5
  SHA512:
6
- metadata.gz: 426a51bc79efc791faf2758931acec0b028f39292ea165dd28e539065f32f54b199f98e33fe49c8265e6bc90f8833810695c8e369d4d4c682bb27cd694c27f0d
7
- data.tar.gz: 4004d4636034bb7c91a1b1412b6d9a26d80a70249bd0f6a239ccd9130f790ad3bcbc08a393ef30dd40d2279f82d2097b12b8d4246b9b71234ba2ebd8a1f386dc
6
+ metadata.gz: b8893a08a9a2836d98c548e94c0119f5a72b42a5a46fba5c02845982a1e9cff19cd33af1015812dd2d278fea2883ec26c48b1cb901ec1a8a451af2b9a05258a5
7
+ data.tar.gz: 1d07b61172b72737517395cc8da761c82571bc49cf72bb97cb154a822d5cc9b874710c51bb5eb715b2093ffdbd607258e42fd91b85b92368073a23eeeb1d39c5
data/CHANGELOG.md CHANGED
@@ -23,6 +23,14 @@ 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
+ ### [16.1.2] - 2025-11-19
27
+
28
+ #### Fixed
29
+
30
+ - **Duplicate Rake Task Execution**: Fixed rake tasks executing twice during asset precompilation and other rake operations. Rails Engine was loading task files twice: once via explicit `load` calls in the `rake_tasks` block (Railtie layer) and once via automatic file loading from `lib/tasks/` (Engine layer). This caused `react_on_rails:assets:webpack`, `react_on_rails:generate_packs`, and `react_on_rails:locale` tasks to run twice, significantly increasing build times. Removed explicit `load` calls and now rely on Rails Engine's standard auto-loading behavior. [PR 2052](https://github.com/shakacode/react_on_rails/pull/2052) by [justin808](https://github.com/justin808).
31
+
32
+ ### [16.1.1] - 2025-09-24
33
+
26
34
  #### Bug Fixes
27
35
 
28
36
  - **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)
@@ -9,10 +9,7 @@ module ReactOnRails
9
9
  ReactOnRails::ServerRenderingPool.reset_pool
10
10
  end
11
11
 
12
- rake_tasks do
13
- load File.expand_path("../tasks/generate_packs.rake", __dir__)
14
- load File.expand_path("../tasks/assets.rake", __dir__)
15
- load File.expand_path("../tasks/locale.rake", __dir__)
16
- end
12
+ # Rake tasks are automatically loaded from lib/tasks/*.rake by Rails::Engine
13
+ # No need to explicitly load them here to avoid duplicate loading
17
14
  end
18
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "16.1.1"
4
+ VERSION = "16.1.2"
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.1
4
+ version: 16.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.6.7
274
+ rubygems_version: 3.7.2
275
275
  specification_version: 4
276
276
  summary: Rails with react server rendering with webpack.
277
277
  test_files: []