Skip to content

Latest commit

 

History

History
392 lines (281 loc) · 19.8 KB

CHANGELOG.md

File metadata and controls

392 lines (281 loc) · 19.8 KB

rv changelog

rv 0.7.2 (24 Sept, 2026)

Security

  • bump TLS related crates (root key exposure response) #820
  • fix zip warning / Update 'zip' (RUSTSEC-2026-0367) #819

Fixed

  • reject huge version numbers to prevent DoS #817
  • fix rustls warning #818
  • fix YAML string scalar handling #812
  • fix YAML metadata roundtrip #811
  • fix lockfile version coherence #809
  • fix version segment prerelease parsing #816
  • fix requirement pessimistic prerelease handling #814
  • fix version bump prerelease logic #813
  • fix rvx-from namespace parsing #804
  • install to ~/.local/bin instead of ~/.cargo/bin #797
  • correct how we handle gems that shell out to git #823

rv 0.7.1 (24 Sept, 2026)

Fixed

  • remove jemalloc, accidentally added via rubyfmt

Thank you to new contributor @jalcine!

rv 0.7.0 (2 Sept, 2026)

Added

  • support for JRuby, try it with rv ruby install jruby
  • quick formatting via rubyfmt, try it with rv fmt
  • rvx with optional gems, like rvx --with pg sequel

Fixed

  • auto-switching for PowerShell

Removed

  • remove rv ruby run, replaced by rv run in 0.5.0

Thank you to new contributors @afomera, @gilesbowkett, and @ziggythehamster!

rv 0.6.0 (15 June, 2026)

The significant changes in 0.6.0 include:

  • run rv ruby install dev to install Ruby compiled daily from git
  • use rvx @name/gem to run gems from gem.coop namespaces
  • use rv self update to update rv itself
  • gem servers that require authentication are now supported (e.g. sidekiq pro)

Thank you to new contributors @parkr, @alepore, @solojavier, @kbruccoleri, and @simi!

Added

  • Support for private gems with username:password credentials (#694, @alepore)
  • rvx namespace syntax (#692, @indirect)
  • rv self update integrates with Homebrew installs (#667, @a-chacon)
  • rv tool install supports namespaced gem sources (#658, @deivid-rodriguez)
  • rv tool install validates package checksums against the gem API (#640, @deivid-rodriguez)
  • rv tool dir shows the tools directory path (#621, @savechina)
  • bin/install accepts additional parameters (#610, @a-chacon)
  • Settings can be configured via a config file (#590, #642, #633, @a-chacon)
  • rv can now update itself with rv self update (#562, #620, @a-chacon, @savechina)

Fixed

  • Path traversal vulnerabilities in zip and tar extraction (#702, @deivid-rodriguez)
  • Don't confuse XDG_DATA_HOME with XDG_STATE_HOME (#676, @deivid-rodriguez)
  • User and gemspec inputs are now properly escaped (#670, @indirect)
  • Several bugs compiling native extensions (#666, @deivid-rodriguez)
  • Don't run make when there is no Makefile (#662, @deivid-rodriguez)
  • rv tool install now tolerates additional metadata fields in compact index info files (#661, #718, @deivid-rodriguez, @parkr)
  • rv tool install prints better errors when the target gem does not exist (#660, @deivid-rodriguez)
  • rv tool install foo now fails clearly if no executable named foo is provided (#659, @deivid-rodriguez)
  • rv tool install archive-tar-minitar failing due to compact index parsing bug (#629, @deivid-rodriguez)
  • .0.0.pre incorrectly being treated as a valid version (#628, @deivid-rodriguez)
  • rv tool install failing on truncated data.tar.gz archives (#625, @deivid-rodriguez)
  • rv tool install panic when checksum validation failed (#624, @deivid-rodriguez)
  • Only rv clean-install and rv run read Bundler settings (#617, @deivid-rodriguez)
  • Activating ruby-dev versions (#616, @deivid-rodriguez)
  • Handle empty Bundler config gracefully (#614, @deivid-rodriguez)
  • Don't download anything if the lockfile does not specify a remote source (#609, @deivid-rodriguez)
  • rv shell init falls back to the highest installed ruby if the pinned ruby is missing (#600, @deivid-rodriguez)
  • Multiple lockfile parsing fixes (#597, #613, #619, #636, @deivid-rodriguez)
  • Lockfile parse errors no longer break ruby version discovery (#596, @deivid-rodriguez)
  • More Windows fixes (#587, @case)
  • ruby-dev reinstalls now work correctly (#584, @deivid-rodriguez)

Improved

  • More performant bash shell integration (#647, @deivid-rodriguez)
  • Configuration is now resolved just once per invocation (#646, @deivid-rodriguez)
  • Avoid shelling out to Ruby to discover extensions scope (#639, @deivid-rodriguez)
  • Refactored rv ruby list and ruby version matching (#637, @deivid-rodriguez)
  • rv tool install caching (#626, @deivid-rodriguez)
  • rv ruby list output is now slimmer (#615, @deivid-rodriguez)
  • rv now knows how to write Gemfile.lock files (#612, @deivid-rodriguez)
  • Examples added to rv ruby install --help (#583, @deivid-rodriguez)

Internal

  • Build linux-gnu releases on ubuntu-22.04 for glibc 2.35 compatibility (#699, @kbruccoleri)
  • Added SECURITY.md (#657, @indirect)
  • Removed unused dependencies (#634, @deivid-rodriguez)
  • Unified duplicated types (#627, @deivid-rodriguez)
  • Removed serde derive macros from lockfile types (#618, @deivid-rodriguez)
  • Fixed intermittent integration test failures (#608, @deivid-rodriguez)
  • Dependabot cooldown for rust-toolchain updates (#599, @shaanmajid)
  • Replaced dtolnay/rust-toolchain action with rustup show (#598, @shaanmajid)
  • GitHub Actions are pinned to commit SHAs (#593, @shaanmajid)
  • Added zizmor for GitHub Actions security scanning (#578, @shaanmajid)
  • Many dependency bumps across cargo, GitHub Actions, and the Rust toolchain (@dependabot)

Documentation

  • Added link to Ruby Users Forum in the README (#691, @solojavier)
  • Updated README Slack link (#688, @simi)
  • Added rv settings configuration to the README (#644, @a-chacon)

rv 0.5.3 (6 March, 2026)

Added

  • rv ruby install --force to force reinstalling ruby (#536, @a-chacon)
  • rv clean-install now supports installing gems from private sources (#550, @deivid-rodriguez)
  • rv ruby list now shows information about why active ruby is active (#551, @deivid-rodriguez)
  • Windows ARM support (#556, @case)
  • Support for installing daily builds of Ruby on Windows (#557, @case)

Fixed

  • rv clean-install claiming to be compiling extensions for all gems (#527, @deivid-rodriguez)
  • rv run not finding gems installed by rv clean-install (#532, @deivid-rodriguez)
  • rv clean-install reinstalling git gems every time (#541, @deivid-rodriguez)
  • rv clean-install not reinstalling gems with broken extensions (#545, @deivid-rodriguez)
  • rv clean-install not reinstalling dependencies of gems with broken extensions (#549, @deivid-rodriguez)
  • Shell integration duplicating entries in MANPATH (#553, @deivid-rodriguez)
  • rv run not finding commands on Windows (#555, @case)
  • Shell integration duplicating entries in PATH (#558, @deivid-rodriguez)
  • Reinstalling tools after a failed previous install (#570, @deivid-rodriguez)
  • No attestations getting created for releases due to a typo in cargo-dist configuration (#576, @shaanmajid)

Improved

  • Don't look outside of current project for tool files (#534, @deivid-rodriguez)
  • Make default GEM_HOME version dependent and compatible with RubyGems (#538, @deivid-rodriguez)
  • We now print a better error in MacOS if failing to compile extensions because dev tools are not installed (#561, @case)

Deprecated

  • rv ruby run in favor of rv run ruby (#559, @deivid-rodriguez)

Internal

  • Configure that tests that are too slow abort nextest run (#525, @kaspth)
  • Streamline CI workflows (#531, @indirect)
  • bin/rv --quiet is now really quiet (#539, @deivid-rodriguez)
  • Smoke tests now run for every PR (#547, @deivid-rodriguez)

Documentation

  • Windows and standalone installer instructions now live right in our README (#526, @a-chacon)

rv 0.5.2 (18 February, 2026)

Added

  • ´rv ruby install latest´ (#494, @a-chacon)

Fixed

  • rv ci: Gems weren't being compiled if extension deps already installed (#522, @deivid-rodriguez)
  • Tests fail faster when the required shell isn't installed (#521, @a-chacon)

rv 0.5.1 (18 February, 2026)

Added

  • Full support for Linux musl on x86_64 and Arm64 (#507, @case, @indirect)

Changed

  • Enforce that gem versions must be ASCII (#515, @adamchalmers)
  • Gem version comparison 4x-10x speedup (#512, @adamchalmers)

Fixed

  • rv ci, rvx: Some native extensions were being compiled twice (#509, @deivid-rodriguez)
  • Test improvements (#511, #510, @deivid-rodriguez)
  • rv ruby list sort order fixed (#513, @deivid-rodriguez)

rv 0.5.0 (12 February, 2026)

Thank you to new contributors @a-chacon and @phromo!

Added

  • Windows support #377 #478 #487 @case
  • rv run #404 @phromo @indirect
  • rv tool install #336 #409 #428 @adamchalmers @deivid-rodriguez
  • rv tool list #396 @adamchalmers
  • rv tool uninstall #396 @adamchalmers
  • rv tool run #412 #424 #426 @adamchalmers @indirect
  • rvx #425 @indirect
  • New rv ruby list flag to show all available versions #462 @a-chacon
  • New --force flag for reinstalling gems in rv clean-install #475 @a-chacon

Changed

  • Better quickstart/readme #445 @indirect
  • rv clean-install shows how many native extension compilations were cached #473 @adamchalmers

Fixed

  • Better error messages when gemspecs fail parsing #432 #435 @deivid-rodriguez
  • Build Rakefile extensions with build dependencies #436 @deivid-rodriguez
  • Native extensions were installing in the wrong order #442 @deivid-rodriguez
  • Use platform-specific gems where possible #454 @case
  • Consistent behavior when there's no user HOME #463 @deivid-rodriguez
  • Better errors when trying to install a Ruby version that doesn’t exist #467 @adamchalmers
  • rv clean-install no longer requires a Gemfile #468 @deivid-rodriguez
  • --ruby-dir flag supports relative paths #470 @deivid-rodriguez
  • Choose the right Ruby version #476 @deivid-rodriguez
  • Change default gem home to be shared across ABI-compatible Ruby versions #495 @deivid-rodriguez
  • rv ruby pin <version> now properly pins version in project directory, even if there's a globally pinned version in user's home #476 @deivid-rodriguez
  • rv now properly activates ruby version configured in ~/.ruby-version , even if run outside of user's home folder #476 @deivid-rodriguez

Internal

  • Big improvements to smoke test suite for most of rv’s surface area #440 #453 @case
  • Centralized, cohesive platform handling via rv_platform #472 @case
  • Integration tests for Rake extensions #481 @case

rv 0.4.3 (22 January, 2026)

  • rv ci did not respect custom gem lib directories (#402, @deivid-rodriguez)
  • rv ci install path was wrong if BUNDLE_PATH was set (#403, @deivid-rodriguez)
  • better summary statistics for rv ci (#401, @deivid-rodriguez)

rv 0.4.2 (22 January, 2026)

Fixed

  • rv ci was not compiling all native extensions (#399, @deivid-rodriguez)
  • rv ci was using the wrong Ruby (#345, @case)
  • rv ci was not finding Gemfile properly (#361, @deivid-rodriguez)
  • rv ci was not installing all path gems (#368, #369 @deivid-rodriguez)
  • rv ci had a race condition (#373, @deivid-rodriguez)
  • rv ci was splitting version/platform wrong (#390, @deivid-rodriguez)
  • Incorrect .tool-versions file (#347, @deivid-rodriguez)
  • rv ruby pin should pin normalized versions (#347, @deivid-rodriguez)
  • rv ruby pin didn't handle non-CRuby ruby (#349, @deivid-rodriguez)
  • depgraph was setting the wrong number of workers (#362, @case)

Added

  • Users can use their GitHub auth to get more generous ratelimits (#386, @pboling)
  • Progress indicators for rv ci (#350, #352, #357, #358, #374 @case, @deivid-rodriguez)
  • Generate gemspecs in Rust instead of shelling out to Ruby (#376, #391, @adamchalmers, @deivid-rodriguez)

Improved

  • bin/setup script works on more platforms (#388, @pboling)
  • Better smoke tests (#343, #346, #360, #365 @case)
  • Better error messages in rv ci (#363, @deivid-rodriguez)
  • Nicer rv ruby pin output (#354, @kaspth)
  • Only find rubies that could match the desired version (#356, @deivid-rodriguez)

rv 0.4.1 (9 January, 2026)

This is a small release to fix a few bugs in the 0.4.0 release.

  • rv ruby commands should act on rv rubies before rubies from other sources (#333, @deivid-rodriguez)
  • rv ci command should not be hidden (#337, @adamchalmers)
  • Improvements to how rv ruby list displays active ruby (#339, @deivid-rodriguez)
  • Clearer descriptions for rv ruby subcommands (#338, @sstephenson)
  • Tests: Add smoke tests for rv ci with popular projects (#331, @case)

rv 0.4.0 (6 January, 2026)

Major new command: rv clean-install. Similar to bundle install --frozen, you can use rv ci to install gems that have already been resolved and recorded in your Gemfile.lock. If you notice anything wrong when installing your gems, please let us know!

Improves listing Ruby versions, hiding (uninstalled) pre-releases once a final is out.

  • Hide 3.5.0-preview1 in rv ruby list (#270, @deivid-rodriguez)
  • Install submodules for git sources (#274, @adamchalmers)
  • Download gems in parallel (#275, @adamchalmers)
  • Install Ruby once for ci (#278, @adamchalmers)
  • Install path gems (#282, @indirect)
  • Fix dep graph race condition (#309, @case)
  • Compile gems in dependency order (#295, @indirect)
  • Integrate tracing with Instruments.app (#301, @adamchalmers)
  • Parse branches and tags for git gems (#313, @case)
  • Add Version::from(segments) (#320, @kaspth)
  • Separate RubyVersion from RubyRequest (#322, @adamchalmers)

rv 0.3.1 (30 December, 2025)

Ruby 4.0.0 is now available! (and has been since Christmas Day). This release is mainly a fix to make sure that previews are considered "before" final releases, so we will stop showing 4.0.0-preview3 as if you might want to install it after 4.0.0.

  • Parse submodules option on git sources (#268, @adamchalmers)
  • Sort preview releases before final releases (#266, @deivid-rodriguez)
  • Default to true XDG spec dir ~/.local/share (#265, @deivid-rodriguez)
  • Use final Ruby versions in rv ruby run, not preview versions (#258, @deivid-rodriguez)
  • Print shell integration instructions on e.g. rv shell zsh (#255, @deivid-rodriguez)
  • Update Ruby version for every command, not just cd (#250, @deivid-rodriguez)
  • Set MANPATH for Ruby man pages (#251, @case)
  • Use the latest Ruby in rv ruby run by default (#237, @deivid-rodriguez)
  • Set GEM_HOME to ~/.local/share/rv/gems if ~/.gems doesn't exist (#231, @lgarron)
  • Ensure rv ruby pin prints versions consistently (#229, @deivid-rodriguez)

rv 0.3.0 (8 December, 2025)

Highlights include support for Ruby versions 3.2.x, 3.5.0-preview1, 4.0.0-preview2, automatic Ruby installation during the rv ruby run command, and support for .tool-versions files, which are also used by the asdf and mise tools.

Just for fun, we also added the oldest version of Ruby that has released source code: 0.49! If you'd like to try it, there are some example scripts available in the repo where @sampersand modernized the code.

Special thanks to our new contributors @savechina, @Mado13, @case, and @deivid-rodriguez!

  • Make ruby pin reject invalid versions (#223, @deivid-rodriguez)
  • Test against Arch Linux (#193, @case)
  • Support Ruby preview releases (#201, @indirect)
  • Support Ruby 0.49 (#189, @indirect)
  • Install Ruby during rv ruby run (#182, @adamchalmers)
  • Sign macOS binaries (#179, @indirect)
  • Support SOCKS Proxy configuration (#175, @indirect)
  • Support .tool-versions file for Ruby version (#172, @indirect)
  • Add configuration for Nushell (#170, @indirect)
  • Fix fish auto-switch when shell launches (#165, @Mado13)
  • Add rv cache prune (#164, @savechina)
  • Add rv ruby uninstall (#153, @savechina)
  • Add rv ruby dir (#150, @savechina)

rv 0.2.0 (8 October, 2025)

Adds x86 macOS as a supported platform, Ruby 3.3, and YJIT for all Rubies. Adds shells bash, fish, and nushell.

  • Build for x86 macOS (#137, @indirect)
  • Enable Actions support for merge queue (#137, @indirect)
  • Test all four platforms (#136, @adamchalmers)
  • Set GEM_PATH to gem location, no bin (#110, @Thomascountz)
  • Default data to ~/.local/share/rv, respect XDG (#84, @lgarron)
  • Support Ruby 3.3.x via the new rv-ruby release scheme (#132, @adamchalmers)
  • Support nushell (#123, @adamchalmers)
  • Add code coverage reporting to CI (#112, @adamchalmers)
  • Add benchmarks and fuzz testing for library code (#95, @adamchalmers)
  • Shell completions for zsh, bash, and fish (#81, @lgarron)
  • Fix race condition from tracing+rayon together (#73, @segiddins)
  • List available Rubies (#68, @coezbek)
  • Support fish shell (#67, @renatolond)
  • Compact top-level help, even on --help (#70, @coezbek)

rv 0.1.1 (28 August, 2025)

  • Dual license MIT / Apache-2
  • turn up LTO for smaller releases
  • Fix rv ruby pin if not run in a project_dir
  • Fix bin/setup in non-root situations under Ubuntu
  • replace openssl with rustls
  • Added bash to supported shells

rv 0.1.0 (25 August, 2025)

First release. Supports macOS 14+, Ubuntu 24.04+, Ruby 3.4.1+, and zsh.

  • rv ruby command group
    • rv ruby list command to show installed rubies
    • rv ruby install to install precompiled rubies
    • rv ruby run to run a specific ruby version regardless of .ruby-version
  • rv shell command group
    • rv shell init command to set up automatic ruby switching that respects .ruby-version files