Skip to content

Commit 4822765

Browse files
justin808claude
andcommitted
Update CHANGELOG.md for 16.6.0 (#3078)
## Summary - Consolidate rc.0 and rc.1 prerelease sections into a single 16.6.0 stable release section - Add new entries for PRs merged since rc.1 (PR 3086, PR 2877, PR 3083) - Reorder sections per changelog guidelines (Removed -> Added -> Improved -> Fixed) - Remove orphaned RC diff links ## Test plan - [ ] Verify changelog formatting is correct - [ ] Verify version diff links at bottom of file After merge, run `rake release` to publish and auto-create the GitHub release. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed third-party dependency version pinning in the generator. * **Improvements** * Enhanced exception messages for clearer context in node-renderer requests. * Improved diagnostic output for invalid render requests with updated documentation guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only change updating release notes and compare links; no runtime behavior is modified. > > **Overview** > Publishes the **`16.6.0`** changelog section (dated 2026-04-09) by consolidating the prior RC content and reordering entries to match the changelog guidelines. > > Adds release-note entries for recently merged work (notably Pro node-renderer diagnostic/error-message improvements and generator npm dependency pinning), and updates the bottom compare links to reference `v16.6.0` instead of the RC tag. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 956cc0f. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d2f31cc commit 4822765

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ After a release, run `/update-changelog` in Claude Code to analyze commits, writ
2424

2525
### [Unreleased]
2626

27-
#### Fixed
28-
29-
- **Pin third-party npm dependency versions in generator**: All third-party npm dependencies installed by the `react_on_rails:install` generator and `bin/switch-bundler` are now pinned to `^major.0.0` version ranges, preventing peer dependency conflicts from uncontrolled major version bumps. Fixes CI breakage caused by `@rspack/plugin-react-refresh@2.0.0` requiring `@rspack/core@^2.0.0-0` while `@rspack/core` latest was still `1.7.11`. SWC dependency pins match Shakapacker's own version constraints. Closes [Issue 3082](https://github.com/shakacode/react_on_rails/issues/3082). [PR 3083](https://github.com/shakacode/react_on_rails/pull/3083) by [ihabadham](https://github.com/ihabadham).
30-
31-
### [16.6.0.rc.1] - 2026-04-07
27+
### [16.6.0] - 2026-04-09
3228

3329
#### Removed
3430

@@ -45,6 +41,8 @@ After a release, run `/update-changelog` in Claude Code to analyze commits, writ
4541

4642
#### Improved
4743

44+
- **[Pro]** **Clearer node renderer request context in exception messages**: Exception formatting now uses a generic `Request:` label instead of render-specific wording, so `/upload-assets` failures and other non-render paths report the actual request context more clearly. [PR 2877](https://github.com/shakacode/react_on_rails/pull/2877) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
45+
- **[Pro]** **Cleaner node renderer diagnostic output**: Invalid render-request diagnostics no longer redundantly list `renderingRequest` in the `bodyKeys` output since it is already reported via the `Received type:` line, and `renderer_http_keep_alive_timeout` documentation now recommends setting it shorter than the node renderer's server-side idle timeout. [PR 3086](https://github.com/shakacode/react_on_rails/pull/3086) by [justin808](https://github.com/justin808).
4846
- **Doctor enforces strict version constraints**: `react_on_rails:doctor` now escalates non-exact gem and npm version specs (`^`, `~`, `>=`) from warnings to errors, matching the runtime VersionChecker behavior. Wildcard checks now also cover Pro packages (`react-on-rails-pro`, `react_on_rails_pro`). [PR 3070](https://github.com/shakacode/react_on_rails/pull/3070) by [justin808](https://github.com/justin808).
4947
- **Error messages recommend doctor**: Runtime version-check crashes, configuration validation errors, and autobundling errors now suggest running `bundle exec rake react_on_rails:doctor` for diagnostics and `bundle exec rake react_on_rails:sync_versions WRITE=true` to fix version mismatches. [PR 3070](https://github.com/shakacode/react_on_rails/pull/3070) by [justin808](https://github.com/justin808).
5048
- **`sync_versions` handles range specs**: Version ranges like `^16.5.0`, `~16.5.0`, and `>=16.5.0` are now parsed and rewritten to the exact expected version instead of being skipped as unsupported. When `FIX=true` is set, doctor auto-runs `sync_versions` to fix detected mismatches. [PR 3070](https://github.com/shakacode/react_on_rails/pull/3070) by [justin808](https://github.com/justin808).
@@ -54,6 +52,7 @@ After a release, run `/update-changelog` in Claude Code to analyze commits, writ
5452

5553
#### Fixed
5654

55+
- **Pin third-party npm dependency versions in generator**: All third-party npm dependencies installed by the `react_on_rails:install` generator and `bin/switch-bundler` are now pinned to `^major.0.0` version ranges, preventing peer dependency conflicts from uncontrolled major version bumps. Fixes CI breakage caused by `@rspack/plugin-react-refresh@2.0.0` requiring `@rspack/core@^2.0.0-0` while `@rspack/core` latest was still `1.7.11`. SWC dependency pins match Shakapacker's own version constraints. Closes [Issue 3082](https://github.com/shakacode/react_on_rails/issues/3082). [PR 3083](https://github.com/shakacode/react_on_rails/pull/3083) by [ihabadham](https://github.com/ihabadham).
5756
- **[Pro]** **Fixed TanStack Router SSR hydration mismatches in the async path**: Client hydration now restores server match data before first render, uses `RouterProvider` directly to match the server-rendered tree, and stops the post-hydration load when a custom `router.options.hydrate` callback fails instead of continuing with partially hydrated client state. [PR 2932](https://github.com/shakacode/react_on_rails/pull/2932) by [justin808](https://github.com/justin808).
5857
- **[Pro] Fixed infinite fork loop when node renderer worker fails to bind port**: When a worker failed during `app.listen()` (e.g., `EADDRINUSE`), the master previously reforked unconditionally, causing an infinite fork/crash loop that consumed CPU and filled logs. Workers now send a `WORKER_STARTUP_FAILURE` IPC message to the master before exiting; the master sets an abort flag and exits with a clear error message instead of reforking. Scheduled restarts and runtime crashes continue to refork as before. [PR 2881](https://github.com/shakacode/react_on_rails/pull/2881) by [justin808](https://github.com/justin808).
5958
- **[Pro] Fixed Pro generator multiline and template-literal rewrites**: The Pro install generator now correctly handles multiline non-parenthesized `gem "react_on_rails"` declarations while preserving trailing options, and correctly rewrites module specifiers around template literals by preserving escaped sequences and detecting multiline template-literal starts after a closed inline template. [PR 2918](https://github.com/shakacode/react_on_rails/pull/2918) by [justin808](https://github.com/justin808).
@@ -2102,8 +2101,8 @@ such as:
21022101

21032102
- Fix several generator-related issues.
21042103

2105-
[unreleased]: https://github.com/shakacode/react_on_rails/compare/v16.6.0.rc.1...main
2106-
[16.6.0.rc.1]: https://github.com/shakacode/react_on_rails/compare/v16.5.1...v16.6.0.rc.1
2104+
[unreleased]: https://github.com/shakacode/react_on_rails/compare/v16.6.0...main
2105+
[16.6.0]: https://github.com/shakacode/react_on_rails/compare/v16.5.1...v16.6.0
21072106
[16.5.1]: https://github.com/shakacode/react_on_rails/compare/v16.5.0...v16.5.1
21082107
[16.5.0]: https://github.com/shakacode/react_on_rails/compare/v16.4.0...v16.5.0
21092108
[16.4.0]: https://github.com/shakacode/react_on_rails/compare/v16.3.0...v16.4.0

0 commit comments

Comments
 (0)