The Wire · Showcase
JSBUNDLING-RAILS FIXES PACKAGE MANAGER DETECTION, RAILS 8.1 LANDS IN CI
By RepoJournal · Filed · About Rails
The install task for jsbundling-rails was hardcoded to Yarn even when you chose Bun, esbuild, or Webpack - that's fixed now.
Rails jsbundling-rails has merged a critical fix that finally makes the install tasks respect your package manager choice [1]. Until now, running ./bin/rails javascript:install:bun would configure everything for Bun, then the install task would force Yarn anyway. The build tasks already detected the package manager correctly, so this fix closes the gap between setup and reality. In parallel, the library now runs against Rails 8.1 in CI [2], catching integration issues earlier. On the Rails core side, PostgreSQL schema dumping for IPv6 CIDR and INET columns is getting fixed to preserve prefix notation [3]. This matters because omitting /32 prefixes on IPv6 addresses creates schema drift when you re-import. Both fixes are straightforward but solve real pain points for production systems.
Action items
- → Upgrade jsbundling-rails after this release ships - stops Yarn forcing on non-Yarn projects rails/jsbundling-rails [plan]
- → Review your schema.rb if you use PostgreSQL CIDR/INET defaults with IPv6 - this patch will normalize them on next dump rails/rails [monitor]
References
- [1] Detect package manager in install tasks ↗ rails/jsbundling-rails
- [2] CI: Add Rails 8.1 to CI Matrix ↗ rails/jsbundling-rails
- [3] Preserve IPv6 prefix when dumping PostgreSQL `cidr`/`inet` defaults to schema.rb ↗ rails/rails
FAQ
- What changed in Rails on May 31, 2026?
- The install task for jsbundling-rails was hardcoded to Yarn even when you chose Bun, esbuild, or Webpack - that's fixed now.
- What should Rails teams do about it?
- Upgrade jsbundling-rails after this release ships - stops Yarn forcing on non-Yarn projects • Review your schema.rb if you use PostgreSQL CIDR/INET defaults with IPv6 - this patch will normalize them on next dump
- Which Rails repositories shipped on May 31, 2026?
- rails/jsbundling-rails, rails/rails