React on Rails 16.5.1 Release Notes
Upgrading from 16.5.0 to 16.5.1
Update your gem and npm package versions:
# Gemfile
gem "react_on_rails", "16.5.1"
// package.json
{
"dependencies": {
"react-on-rails": "16.5.1"
}
}
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.
Fixes
- [Pro] TanStack Router: removed dependency on internal
router.ssrflag: Server-side rendering no longer sets the internalrouter.ssrproperty. Client-side legacy hydration path now uses the correct{ manifest: undefined }shape matching TanStack Router's internal$_TSRcontract instead of a baretrueboolean, improving forward compatibility. PR 2833 by justin808. - [Pro] Fixed missing rake tasks in published gem: The Pro gemspec excluded
lib/tasks/from packaged files, so allreact_on_rails_pro:*rake tasks were unavailable after gem install. PR 2872 by justin808. - [Pro] Fixed bundle duplication in remote node renderer asset uploads: When RSC support is enabled,
rake react_on_rails_pro:copy_assets_to_remote_vm_rendererno longer duplicates bundle JS files across bundle directories. Each bundle is now placed only in its own directory while shared assets are correctly distributed to all. PR 2768 by AbanoubGhadban.