Skip to content

Bump react_on_rails_pro from 17.2.1.rc.3 to 17.2.1 in the react-on-rails-family group - #879

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/react-on-rails-family-b209b503e4
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/react-on-rails-family-b209b503e4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the react-on-rails-family group with 1 update: react_on_rails_pro.

Updates react_on_rails_pro from 17.2.1.rc.3 to 17.2.1

Release notes

Sourced from react_on_rails_pro's releases.

v17.2.1

Fixed

  • pnpm lockfiles are read on Psych older than 5.2.5: The version check and doctor read pnpm-lock.yaml with YAML.safe_load_stream, which Psych added in 5.2.5 (Ruby 3.4 ships 5.2.2). On older Psych every pnpm lockfile read failed silently, so the version check fell back to package.json and doctor's react-server-dom-webpack check reported "could not check". Older Psych now parses the stream and safe-loads each document. Fixes #5300. #5301 by justin808.

  • Rspack server bundles no longer write a stray ssr-generated/manifest.json: The generated serverWebpackConfig.js removed client-only plugins by webpack class names only, so Rspack apps kept rspack-manifest-plugin and CssExtractRspackPlugin in the server compilation and in the RSC compilations derived from it. Each of those builds wrote its own ssr-generated/manifest.json, which ended up listing only the bundle that finished last. The generated config now removes both Rspack plugins. Existing Rspack apps can apply the same change to the plugin filter in config/rspack/serverWebpackConfig.js. Fixes #5184. #5185 by justin808.

  • [Pro] unstable_cache no longer crashes on RSC payload-endpoint requests: BUILD_ID was initialized only on page-render requests, so any /rsc_payload/* request (e.g. RSCRoute.refetch()) that landed on a renderer worker which had not yet served a full page render threw BUILD_ID not set. The RSC bundle hash is now published on both paths, and the renderer VM context carries the bundle identity as a structural fallback so future RSC entrypoints are safe by default. Fixes #5076. #5141, #5142 by AbanoubGhadban.

  • [Pro] Fix CSP nonce handling in fragment-cached components: The cached_* helpers now refresh executable inline script nonces on cache hits, preventing CSP from blocking hydration, console replay, and streaming scripts. Only nonces the framework emitted are refreshed. A cached render gives framework scripts a random placeholder nonce, and every response swaps it for its own nonce. App markup that carries the request's nonce, such as stored HTML injected while the nonce generator is session-derived, keeps its stale nonce for CSP to block on cache hits. Upgrade notes: App code that needs a nonce inside a cached component should read railsContext.cspNonce; a nonce passed in through props or Rails helpers is not refreshed. Overrides of these private Pro helpers must accept and forward their new parameters: normalize_cached_pro_attribution and normalize_cached_pro_attribution_html (cached_csp_nonce), append_cached_csp_nonce_marker (placeholder), consumer_stream_async (live_chunk_rewriter: keyword), and process_stream_chunks (live_chunk_rewriter); fetch_cache_entry now returns a fourth value. Framework emitters read the nonce through ReactOnRails::Helper#csp_nonce, which returns the placeholder during cached renders; code that overrides or stubs it should use the new request_csp_nonce for the request's own nonce. Component cache keys use a new csp-nonce-placeholder partition segment, so nonce-rendered entries written before upgrading are not reused. See CSP caching caveats for details. Fixes #5021 and #5267. #5025 by AbanoubGhadban and #5270 by justin808.

  • [Pro] Inline RSC payloads now suppress console replay outside development and test whenever renderingError is present, including null, empty, and malformed values. This matches fetched RSC payloads and prevents console replay from exposing server diagnostics that error metadata omits. Ruby diagnostics now use JavaScript trim whitespace rules: NUL/NEL-only errors count as nonblank, while BOM-only errors do not. Clean-chunk replay is unchanged. Backports #5210 by justin808.

  • [Pro] Concurrent SSR keeps hydrated Redux stores separate: Async rendering, streaming, and RSC Client Component providers now read only their request's stores in a shared Node Renderer worker. Action required for upgraders: Upgrade the Node Renderer and React on Rails JavaScript packages together. Move module-scope setStore calls into per-render hydration. Browser store APIs and page lifecycle behavior are unchanged. Set isolateHydratedStores: false or RENDERER_ISOLATE_HYDRATED_STORES=false to restore the shared registry temporarily. Fixes #5124. #5133 by justin808.

Security

  • [Pro] Doctor warns when the lockfile resolves a vulnerable react-server-dom-webpack: With RSC enabled, rake react_on_rails:doctor now reads every react-server-dom-webpack copy in yarn.lock, package-lock.json, pnpm-lock.yaml, or bun.lock, including copies installed through react-on-rails-rsc and npm aliases. It warns when a copy is affected by React's 2026-10-14 advisories (critical RCE

... (truncated)

Changelog

Sourced from react_on_rails_pro's changelog.

[17.2.1] - 2026-11-05

Fixed

  • pnpm lockfiles are read on Psych older than 5.2.5: The version check and doctor read pnpm-lock.yaml with YAML.safe_load_stream, which Psych added in 5.2.5 (Ruby 3.4 ships 5.2.2). On older Psych every pnpm lockfile read failed silently, so the version check fell back to package.json and doctor's react-server-dom-webpack check reported "could not check". Older Psych now parses the stream and safe-loads each document. Fixes Issue 5300. PR 5301 by justin808.

  • Rspack server bundles no longer write a stray ssr-generated/manifest.json: The generated serverWebpackConfig.js removed client-only plugins by webpack class names only, so Rspack apps kept rspack-manifest-plugin and CssExtractRspackPlugin in the server compilation and in the RSC compilations derived from it. Each of those builds wrote its own ssr-generated/manifest.json, which ended up listing only the bundle that finished last. The generated config now removes both Rspack plugins. Existing Rspack apps can apply the same change to the plugin filter in config/rspack/serverWebpackConfig.js. Fixes Issue 5184. PR 5185 by justin808.

  • [Pro] unstable_cache no longer crashes on RSC payload-endpoint requests: BUILD_ID was initialized only on page-render requests, so any /rsc_payload/* request (e.g. RSCRoute.refetch()) that landed on a renderer worker which had not yet served a full page render threw BUILD_ID not set. The RSC bundle hash is now published on both paths, and the renderer VM context carries the bundle identity as a structural fallback so future RSC entrypoints are safe by default. Fixes Issue 5076. PR 5141, PR 5142 by AbanoubGhadban.

  • [Pro] Fix CSP nonce handling in fragment-cached components: The cached_* helpers now refresh executable inline script nonces on cache hits, preventing CSP from blocking hydration, console replay, and streaming scripts. Only nonces the framework emitted are refreshed. A cached render gives framework scripts a random placeholder nonce, and every response swaps it for its own nonce. App markup that carries the request's nonce, such as stored HTML injected while the nonce generator is session-derived, keeps its stale nonce for CSP to block on cache hits. Upgrade notes: App code that needs a nonce inside a cached component should read railsContext.cspNonce; a nonce passed in through props or Rails helpers is not refreshed. Overrides of these private Pro helpers must accept and forward their new parameters: normalize_cached_pro_attribution and normalize_cached_pro_attribution_html (cached_csp_nonce), append_cached_csp_nonce_marker (placeholder), consumer_stream_async (live_chunk_rewriter: keyword), and process_stream_chunks (live_chunk_rewriter); fetch_cache_entry now returns a fourth value. Framework emitters read the nonce through ReactOnRails::Helper#csp_nonce, which returns the placeholder during cached renders; code that overrides or stubs it should use the new request_csp_nonce for the request's own nonce. Component cache keys use a new csp-nonce-placeholder partition segment, so nonce-rendered entries written before upgrading are not reused. See CSP caching caveats for details. Fixes Issue 5021 and Issue 5267. PR 5025 by AbanoubGhadban and PR 5270 by justin808.

  • [Pro] Inline RSC payloads now suppress console replay outside development and test whenever renderingError is present, including null, empty, and malformed values. This matches fetched RSC payloads and prevents console replay from exposing server diagnostics that error metadata omits. Ruby diagnostics now use JavaScript trim whitespace rules: NUL/NEL-only errors count as nonblank, while BOM-only errors do not. Clean-chunk replay is unchanged. Backports PR 5210 by justin808.

  • [Pro] Concurrent SSR keeps hydrated Redux stores separate: Async rendering, streaming, and RSC Client Component providers now read only their request's stores in a shared Node Renderer worker. Action required for upgraders: Upgrade the Node Renderer and React on Rails JavaScript packages together. Move module-scope setStore calls into per-render hydration. Browser store APIs and page lifecycle behavior are unchanged. Set isolateHydratedStores: false or RENDERER_ISOLATE_HYDRATED_STORES=false to restore the shared registry temporarily. Fixes Issue 5124. PR 5133 by justin808.

Security

  • [Pro] Doctor warns when the lockfile resolves a vulnerable react-server-dom-webpack: With RSC enabled, rake react_on_rails:doctor now reads every react-server-dom-webpack copy in yarn.lock, package-lock.json, pnpm-lock.yaml, or bun.lock, including copies installed through react-on-rails-rsc and npm aliases. It warns

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the react-on-rails-family group with 1 update: [react_on_rails_pro](https://github.com/shakacode/react_on_rails).


Updates `react_on_rails_pro` from 17.2.1.rc.3 to 17.2.1
- [Release notes](https://github.com/shakacode/react_on_rails/releases)
- [Changelog](https://github.com/shakacode/react_on_rails/blob/main/CHANGELOG.md)
- [Commits](shakacode/react_on_rails@v17.2.1.rc.3...v17.2.1)

---
updated-dependencies:
- dependency-name: react_on_rails_pro
  dependency-version: 17.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: react-on-rails-family
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 12, 2026
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 420477a9-4836-46c5-aaf6-fd58904824d7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

🚀 Quick Review App Commands

Welcome! Here are the commands you can use in this PR:
They require the repository to have cpflow review apps configured, including the CPLN_TOKEN_STAGING secret.

+review-app-deploy

Deploy your PR branch for testing.

+review-app-delete

Remove the review app when done.

+review-app-help

Show detailed instructions, environment setup, and configuration options.

Comment +review-app-help for full setup details.

@github-actions

Copy link
Copy Markdown

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T23:05:28.507293Z 5254e33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5254e33016

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread Gemfile

gem "cpflow", "6.0.1", require: false
gem "react_on_rails_pro", "17.2.1.rc.3"
gem "react_on_rails_pro", "17.2.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Upgrade the JavaScript packages with the gem

This updates only the Ruby side to 17.2.1, while package.json and yarn.lock still pin both react-on-rails-pro and react-on-rails-pro-node-renderer to 17.2.1-rc.3. When the app starts its SSR/RSC stack, the coordinated-package version check can reject this gem/npm mismatch; the 17.2.1 upgrade notes explicitly require upgrading the JavaScript and Node Renderer packages together. Update those exact pins and the Yarn lockfile in the same change.

AGENTS.md reference: AGENTS.md:L3-L5

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants