Breaking changes:
- Drop ruby 2.6 and 2.7 support #7116
- The
:mswin,:mswin64,:mingw, and:x64_mingwGemfileplatformvalues are soft-deprecated and aliased to:windows#6391
Features:
- Leverage ruby feature to warn when requiring default gems not included in the bundle that will be turned into bundled gems in the future #6831
- Introduce
bundle config set versionfeature to choose the version of Bundler that should be used and potentially disable using thelockfileversion by setting it tosystem#6817
Performance:
- Use match? when regexp match data is unused #7263
- Avoid some allocations when evaluating
rubyGemfile DSL #7251 - Reduce array allocations when loading definition #7199
- Avoid re-compiling static regexp in a loop #7198
- Reduce allocations when installing gems with bundler #6977
- Use a shared connection pool for fetching gems #7079
- Reduce allocations when parsing compact index #6971
Enhancements:
- Add 3.4 as a supported ruby version in Gemfile DSL #7264
- Improve install advice when some gems are not found #7265
- Vendor
net-http,net-protocol,resolv, andtimeoutto reduce conflicts between Gemfile gems and internal dependencies #6793 - Allow
bundle pristineto run in parallel #6927 - Make
bundle lockalways touch the lockfile in non-frozen mode #7220 - Use
Minitest::TestTaskin a template file forminitest#7234 - Add missing services to CI detection and make it consistent between RubyGems and Bundler #7205
- Allow auto-install to install missing git gems #7197
- Stop remembering cli flags like
--jobsor--retryin configuration #7191 - Simplify remembered flags deprecation message #7189
- Make sure to
require "rubygems"explicitly #7139 - Handle development dependencies duplicated in gemspec vs Gemfile #6014
- Make lockfiles generated on macOS include a lock for Linux by default #5700
- Only add a dummy bundler spec to the metadata source when necessary #4443
Bug fixes:
- Resolve
ruby file: ".ruby-version"relative to containing Gemfile #7250 - Implement opaque ETag in Compact Index to avoid falling back to old index in servers with different etag implementations #7122
- Fix
bundle install --systemdeprecation advice #7190 - Fix invalid platform removal missing adjacent platforms #7170