Skip to content

Pin react-on-rails-rsc to an explicit version range in packages/react-on-rails-pro (currently "*") #3965

Description

@justin808

Summary

packages/react-on-rails-pro/package.json pins react-on-rails-rsc: "*". Replace the wildcard with an explicit version range once react-on-rails-rsc@19.0.5 reaches npm latest.

Why

  • * auto-adopts any future stable the moment it's published (e.g. 19.0.5, and later the 19.2.x line with its react ^19.2 peer requirement) with no coordinated upgrade or review — a silent-breakage channel for every Pro installation.
  • Semver * never matches prereleases, so RC rollouts already require explicit overrides — the wildcard provides convenience to no one while making resolution context-dependent.
  • The RSC package's versioning policy (being formalized in shakacode/react_on_rails_rsc — package line tracks the React runtime line) makes an explicit range the only way to express which React line Pro supports.

Tasks

  • Replace "*" with an explicit range (suggest ^19.0.5 now; bump deliberately to the 19.2.x line when Pro adopts the React 19.2 runtime).
  • Verify react_on_rails_pro/spec/dummy (and any other lockfile consumers) resolve and pass RSC specs with the pin.
  • Add a Dependabot/Renovate rule (or document the manual bump process) so future react-on-rails-rsc bumps are reviewed PRs.
  • Document the version coupling in the Pro docs (which package line ↔ which React line).

Acceptance criteria

  • Explicit pin merged; dummy app + CI green.
  • Bump process documented/automated.

Dependencies

Part of the react_on_rails_rsc improvement plan (Batch C), filed here because the change lives in this monorepo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions