Skip to content

Commit cdf12b4

Browse files
justin808claude
andauthored
Consolidate beta releases into v16.2.0.beta.8 (#2048)
## Summary Consolidated all beta versions (beta.4 through beta.8) into a single v16.2.0.beta.8 changelog entry with proper date (2025-11-16). Added missing user-visible changes from PRs 2010, 2015, 2021, 2023, and 2039. ## Changes - Moved PR 2039 (Generator Configuration Modernization) from Unreleased to v16.2.0.beta.8/Changed section - Added PR 2010: Doctor checks for :async loading strategy in Added section - Added PR 2015: Concurrent streaming performance improvements in new Improved section - Added PR 2021 & 2023: Bug fixes for shakapacker template and bin/dev --verbose in Fixed section - Updated version diff links to properly reference v16.2.0.beta.8 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 37ddafe commit cdf12b4

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

CHANGELOG.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,7 @@ After a release, please make sure to run `bundle exec rake update_changelog`. Th
2323

2424
Changes since the last non-beta release.
2525

26-
#### Changed
27-
28-
- **Generator Configuration Modernization**: Updated the generator to enable recommended configurations by default for new applications:
29-
30-
- `config.build_test_command` is now uncommented and set to `"RAILS_ENV=test bin/shakapacker"` by default, enabling automatic asset building during tests for better integration test reliability
31-
- `config.auto_load_bundle = true` is now set by default, enabling automatic loading of component bundles
32-
- `config.components_subdirectory = "ror_components"` is now set by default, organizing React components in a dedicated subdirectory
33-
34-
**Note:** These changes only affect newly generated applications. Existing applications are unaffected and do not need to make any changes. If you want to adopt these settings in an existing app, you can manually add them to your `config/initializers/react_on_rails.rb` file. [PR 2039](https://github.com/shakacode/react_on_rails/pull/2039) by [justin808](https://github.com/justin808).
35-
36-
### [16.2.0.beta.4] - 2025-11-12
26+
### [v16.2.0.beta.8] - 2025-11-16
3727

3828
#### Added
3929

@@ -49,6 +39,8 @@ Changes since the last non-beta release.
4939

5040
- **Use as Git dependency**: All packages can now be installed as Git dependencies. This is useful for development and testing purposes. See [CONTRIBUTING.md](./CONTRIBUTING.md#git-dependencies) for documentation. [PR #1873](https://github.com/shakacode/react_on_rails/pull/1873) by [alexeyr-ci2](https://github.com/alexeyr-ci2).
5141

42+
- **Doctor Checks for :async Loading Strategy**: Added proactive diagnostic checks to the React on Rails doctor tool to detect usage of the `:async` loading strategy in projects without React on Rails Pro. The feature scans view files and initializer configuration, providing clear guidance to either upgrade to Pro or use alternative loading strategies like `:defer` or `:sync` to avoid component registration race conditions. [PR 2010](https://github.com/shakacode/react_on_rails/pull/2010) by [justin808](https://github.com/justin808).
43+
5244
#### Changed
5345

5446
- **Shakapacker 9.0.0 Upgrade**: Upgraded Shakapacker from 8.2.0 to 9.0.0 with Babel transpiler configuration for compatibility. Key changes include:
@@ -63,6 +55,8 @@ Changes since the last non-beta release.
6355

6456
- **`generated_component_packs_loading_strategy` now defaults based on Pro license**: When using Shakapacker >= 8.2.0, the default loading strategy is now `:async` for Pro users and `:defer` for non-Pro users. This provides optimal performance for Pro users while maintaining compatibility for non-Pro users. You can still explicitly set the strategy in your configuration. [PR #1993](https://github.com/shakacode/react_on_rails/pull/1993) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
6557

58+
- **Generator Configuration Modernization**: Updated the generator to enable recommended configurations by default for new applications. `config.build_test_command` is now uncommented and set to `"RAILS_ENV=test bin/shakapacker"` by default, enabling automatic asset building during tests for better integration test reliability. `config.auto_load_bundle = true` is now set by default, enabling automatic loading of component bundles. `config.components_subdirectory = "ror_components"` is now set by default, organizing React components in a dedicated subdirectory. **Note:** These changes only affect newly generated applications. Existing applications are unaffected and do not need to make any changes. If you want to adopt these settings in an existing app, you can manually add them to your `config/initializers/react_on_rails.rb` file. [PR 2039](https://github.com/shakacode/react_on_rails/pull/2039) by [justin808](https://github.com/justin808).
59+
6660
#### Documentation
6761

6862
- **Simplified Configuration Files**: Improved configuration documentation and generator template for better clarity and usability. Reduced generator template from 67 to 42 lines (37% reduction). Added comprehensive testing configuration guide. Reorganized configuration docs into Essential vs Advanced sections. Enhanced Doctor program with diagnostics for server rendering and test compilation consistency. [PR #2011](https://github.com/shakacode/react_on_rails/pull/2011) by [justin808](https://github.com/justin808).
@@ -77,6 +71,14 @@ Changes since the last non-beta release.
7771

7872
- **Body Duplication Bug On Streaming**: Fixed a bug that happens while streaming if the node renderer connection closed after streaming some chunks to the client. [PR #1995](https://github.com/shakacode/react_on_rails/pull/1995) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
7973

74+
- **bin/dev --verbose Option**: Fixed `OptionParser::InvalidOption` error that occurred when using the `--verbose`/`-v` flag. The flag was documented in help text but not functional. Now properly implemented with flag parsing and passing verbose option through method calls. [PR 2023](https://github.com/shakacode/react_on_rails/pull/2023) by [justin808](https://github.com/justin808).
75+
76+
- **Shakapacker Template Configuration**: Fixed shakapacker.yml template to prevent unnecessary "Slow setup for development" warnings by setting `compile: false` as the default configuration. This allows development environments to inherit the setting instead of forcing on-demand compilation when using Procfiles with `bin/dev` that already run the shakapacker dev server or watch mode. [PR 2021](https://github.com/shakacode/react_on_rails/pull/2021) by [justin808](https://github.com/justin808).
77+
78+
#### Improved
79+
80+
- **Concurrent Streaming Performance**: Implemented concurrent draining of streamed React components using the async gem. Instead of processing components sequentially, the system now uses a producer-consumer pattern with bounded buffering to allow multiple components to stream simultaneously while maintaining per-component chunk ordering. [PR 2015](https://github.com/shakacode/react_on_rails/pull/2015) by [ihabadham](https://github.com/ihabadham).
81+
8082
#### Breaking Changes
8183

8284
- **`config.immediate_hydration` configuration removed**: The `config.immediate_hydration` setting in `config/initializers/react_on_rails.rb` has been removed. Immediate hydration is now automatically enabled for React on Rails Pro users and automatically disabled for non-Pro users.
@@ -1837,7 +1839,8 @@ such as:
18371839

18381840
- Fix several generator-related issues.
18391841

1840-
[unreleased]: https://github.com/shakacode/react_on_rails/compare/16.2.0.beta.4...master
1842+
[unreleased]: https://github.com/shakacode/react_on_rails/compare/v16.2.0.beta.8...master
1843+
[v16.2.0.beta.8]: https://github.com/shakacode/react_on_rails/compare/16.2.0.beta.4...v16.2.0.beta.8
18411844
[16.2.0.beta.4]: https://github.com/shakacode/react_on_rails/compare/16.1.1...16.2.0.beta.4
18421845
[16.1.1]: https://github.com/shakacode/react_on_rails/compare/16.1.0...16.1.1
18431846
[16.1.0]: https://github.com/shakacode/react_on_rails/compare/16.0.0...16.1.0

0 commit comments

Comments
 (0)