Hacker News new | ask | show | jobs
by olingern 1287 days ago
JS land really needs to take some notes on how Rust and Go handle major versions, i.e. avoid them if possible. Breaking changes may be progress for tooling but for end users it's upgrade hell.

Ruby ~Rails~ found the middleground where major/minor versions[1] typically land in December. Rails[2] typically follows which gives users ample time to upgrade along with a migration guide

1 - https://www.ruby-lang.org/en/downloads/releases/

2 - https://rubygems.org/gems/rails/versions

2 comments

> Rails typically follows which gives users ample time to upgrade along with a migration guide

FWIW, this is the norm for Vite and other well-managed JS frameworks as well. Vite 2 is still available, Vite 3 will presumably be available for another year or two, and you can see from the migration guide that the Vite 4 migration process is minimal: https://vitejs.dev/guide/migration.html

With December being the month of code freezes, so engineers have time to do technical upgrades. Smart.