The Bundler 2.4 announcement includes context and a more detailed explanation of the changes in this version. This is a summary of the biggest changes. As always, a detailed list of every change is provided in the changelog.
Bundler now uses pub_grub under the hood to resolve versions. The most advance algorithm to approach the version solving problem! 💪
bundle gem
now supports Rust! Pass the --ext=rust
flag to generate a gem
with a Rust extension.
Git sources in Gemfile now work faster and use less disk space.
Support for Ruby 2.3, 2.4, and 2.5, and RubyGems 2.5, 2.6, and 2.7 has been dropped.
Bundler no longer tries to use sudo
to upgrade privileges under any circumstances.
Bundler 2.4 also includes other improvements like a new --pre
flag
to bundle lock
and bundle update
to explicitly opt-in to prereleases.