Skip to main content
Edit on GitHub

React on Rails 16.3.0 Release Notes

Upgrading from 16.2.x to 16.3.0

Update your gem and npm package versions:

# Gemfile
gem "react_on_rails", "16.3.0"
// package.json
{
"dependencies": {
"react-on-rails": "16.3.0"
}
}

Pro users: Use react-on-rails-pro instead of react-on-rails in package.json, and react_on_rails_pro instead of react_on_rails in your Gemfile. See the Pro upgrade guide for details.

Then run bundle install and your package manager's install command.

Key Changes

Simplified Shakapacker Version Handling

Removed obsolete minimum version checks (6.5.1) and example generation pinning (8.2.0). The gemspec dependency shakapacker >= 6.0 is now the only minimum version requirement, with autobundling requiring >= 7.0.0. PR 2247.

Bug Fixes

  • Rspack configuration not applying to all environments: Fixed bin/switch-bundler crashing with Psych::AliasesNotEnabled on YAML files with anchors/aliases, and fixed the --rspack generator flag only updating the default section. PR 2275.
  • Precompile hook not configured when Shakapacker is pre-installed: Fixed the install generator not configuring the precompile_hook when Shakapacker was already installed. PR 2280.
  • bin/dev failing with --route flag: Fixed bin/dev command failing with "Unknown argument" when the generator was run with a --route option. PR 2273.

Pro Changes

  • License-Optional Attribution Model: React on Rails Pro now works without a license for evaluation, development, testing, and CI/CD. A paid license is only required for production deployments. PR 2324.
  • Multiple License Plan Types: License validation now supports plan types beyond "paid": startup, nonprofit, education, oss, and partner. PR 2334.
  • Node Renderer Master/Worker Exports: Added public master and worker exports to react-on-rails-pro-node-renderer. PR 2326.

See the CHANGELOG for the full list of changes.