gems bundler 4.1.0
v4.1.0

one hour ago

RubyGems

Changes already released in 4.0.x are not repeated here.

Features:

  • Support content addressable gems in Gem::PackageTask. Pull request #9897 by Harriet Oughton, Gira Chawda and Jenny Shen
  • Add --content-addressable to gem build and make --ruby-abi only set the Ruby ABI. Pull request #9906 by Harriet Oughton
  • Add content addressable gems support. Pull request #9773 by Jenny Shen, Harriet Oughton and Gira Chawda
  • Let the gem and bundle cooldown settings cover each other. Pull request #9852 by Hiroshi SHIBATA
  • Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request #9697 by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA
  • Preserve non-UTF-8 legacy gem metadata. Pull request #9835 by Stanislav (Stas) Katkov
  • Add an opt-in OS credential store for gem and bundler credentials. Pull request #9671 by Hiroshi SHIBATA
  • Add --cooldown to gem install, update and outdated. Pull request #9734 by Hiroshi SHIBATA
  • Adopt the compact index for gem commands. Pull request #9606 by Hiroshi SHIBATA
  • Replace Molinillo with PubGrub for dependency resolution. Pull request #9402 by Matt Larraz and Colby Swandale
  • Replace the rubygems-specific lockfile parser with Bundler's parser. Pull request #9564 by Hiroshi SHIBATA
  • Remove pessimistic versioning in gem command output. Pull request #9550 by Jeremy Evans
  • Change Gem::Version#approximate_recommendation to be optimistic. Pull request #9537 by Jeremy Evans
  • Add --no-build-extension and --no-install-plugin options to gem install. Pull request #9473 by Hiroshi SHIBATA
  • Push with auto-attestation. Pull request #9325 by Hiroshi SHIBATA
  • Implement yaml parser written by pure ruby instead of Psych. Pull request #9352 by Hiroshi SHIBATA
  • Honor concurrent_downloads from .gemrc in Gem::ConfigFile. Pull request #9339 by Andrii Furmanets
  • Add support for custom error response from external registries. Pull request #9270 by Luis J. Gonzalez
  • Add global gem cache shared by RubyGems and Bundler. Pull request #9230 by Anthony Panozzo
  • Write gem files atomically. Pull request #9154 by Eileen

Performance:

  • Fix slow and misaligned Bignum loading in Gem::SafeMarshal. Pull request #10057 by Hiroshi SHIBATA
  • Build Gem::Requirement.default without parsing ">= 0". Pull request #10002 by Lawrence Lin
  • Remove verify_gz. Pull request #9093 by Eileen

Enhancements:

  • Installs bundler 4.1.0 as a default gem.

Breaking changes:

  • Delete some unused internal methods. Pull request #9827 by Issy Long and Hiroshi SHIBATA
  • Build a platform gem with gem build --platform for the local platform. Pull request #9873 by Hiroshi SHIBATA
  • Fix gem update --user-install updating gems outside the user directory. Pull request #9872 by Hiroshi SHIBATA
  • Stop installing native extension build logs. Pull request #9700 by Hiroshi SHIBATA
  • Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request #9842 by Hiroshi SHIBATA
  • Raise an error when building a gem that has a self reference. Pull request #9392 by Edouard CHIN
  • Revert DEFAULT_INSTALL_EXTENSION_IN_LIB and warn require_relative with C ext. Pull request #9390 by Hiroshi SHIBATA
  • Remove deprecated and unused Gem::List. Pull request #9161 by Hiroshi SHIBATA

Bundler

Changes already released in 4.0.x are not repeated here.

Features:

  • Fix regressions of bundler/inline's forked install. Pull request #10048 by Hiroshi SHIBATA and Samer Masry
  • Rename the from: and to: keys of override to in: and with:. Pull request #9979 by Hiroshi SHIBATA
  • Record overrides in Gemfile.lock (OVERRIDES section). Pull request #9958 by Ufuk Kayserilioglu
  • Let override drop or replace one dependency of a gem. Pull request #9935 by Hiroshi SHIBATA
  • Add sparse_checkout option to git source. Pull request #9295 by Ian Ker-Seymer and Hiroshi SHIBATA
  • Implement --exact-match Flag for bundle info / show / open. Pull request #9489 by Harriet Oughton
  • Add content addressable gems support. Pull request #9773 by Jenny Shen, Harriet Oughton and Gira Chawda
  • Let the gem and bundle cooldown settings cover each other. Pull request #9852 by Hiroshi SHIBATA
  • Reject created_at years outside four digits in cooldown parsing. Pull request #9846 by Hiroshi SHIBATA
  • Add a prune setting to drop rebuildable install artifacts. Pull request #9815 by Hiroshi SHIBATA
  • Add an opt-in OS credential store for gem and bundler credentials. Pull request #9671 by Hiroshi SHIBATA
  • Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request #9786 by Hiroshi SHIBATA
  • Reuse RubyGems' compact index client in Bundler. Pull request #9753 by Hiroshi SHIBATA
  • Reuse RubyGems' vendored PubGrub in Bundler. Pull request #9752 by Hiroshi SHIBATA
  • Use RubyGems' YAML serializer in Bundler. Pull request #9751 by Hiroshi SHIBATA
  • Reuse RubyGems' vendored SecureRandom in Bundler. Pull request #9651 by Hiroshi SHIBATA
  • Reuse RubyGems' vendored URI in Bundler. Pull request #9650 by Hiroshi SHIBATA
  • Fix two issues by including the ruby platform variants in the lock file. Pull request #9556 by Randy Stauner
  • Fix plugin installation from gemfile. Pull request #6957 by Cody Cutrer, Diogo Fernandes and Hiroshi SHIBATA
  • Add plugin hooks for Gemfile evaluation and source fetching. Pull request #9488 by Hiroshi SHIBATA, Cody Cutrer and Marv
  • Use optimistic version constraints in bundle gem output. Pull request #9533 by Jeremy Evans
  • Extend Gemfile override DSL with :all target and metadata fields (Phase 2). Pull request #9530 by Hiroshi SHIBATA
  • Switch bundle add to use optimistic versioning by default. Pull request #9526 by Jeremy Evans
  • Add Gemfile override DSL for version constraints (Phase 1). Pull request #9517 by Hiroshi SHIBATA
  • Add --no-build-extension and --no-install-plugin options to gem install. Pull request #9473 by Hiroshi SHIBATA
  • Include detailed dependencies when gemfile and lockfile are conflicts. Pull request #9332 by Hiroshi SHIBATA
  • Implement relative path handling for plugin paths. Pull request #9299 by Hiroshi SHIBATA
  • Bundler/inline: perform installation from a forked child. Pull request #7941 by Jean Boussier and Hiroshi SHIBATA
  • Add global gem cache shared by RubyGems and Bundler. Pull request #9230 by Anthony Panozzo
  • Update custom errors with Exception#full_message. Pull request #8488 by neimadTL

Performance:

  • Skip loading default gemspecs the bundle already has. Pull request #10000 by Lawrence Lin
  • Add a lockfile source's spec names once, after parsing. Pull request #10004 by Lawrence Lin
  • Look up a dependency's specs by name in SpecSet#validate_deps. Pull request #9999 by Lawrence Lin
  • Delegate contains_requirable_file? to the stub in Bundler::StubSpecification. Pull request #9997 by Lawrence Lin
  • Autoload the vendored FileUtils. Pull request #10001 by Lawrence Lin
  • Use separate Bundler download and installation workers. Pull request #9777 by Joshua Young
  • Cache a shared git source only once per command. Pull request #9689 by Hiroshi SHIBATA

Enhancements:

  • Warn about downgrading default gems in bundle install. Pull request #10026 by Kazuki Yamaguchi

Bug fixes:

  • Fix Bundler mirror probing with fallback_timeout. Pull request #10046 by Hiroshi SHIBATA
  • Preload git sources that share a cache one after another. Pull request #9951 by Shai

Breaking changes:

  • Report permission errors from bundle clean. Pull request #9772 by Florian Meyer and Hiroshi SHIBATA
  • Remove external tool version checks from bundle env. Pull request #9593 by Hiroshi SHIBATA
  • Bundler: ignore patchlevel kwarg in ruby DSL. Pull request #6023 by Takuya N and Hiroshi SHIBATA
  • Unify RubyGems and Bundler documentation. Pull request #9237 by Hiroshi SHIBATA

Deprecations:

  • Rename the no_prune setting to keep_outdated_cache. Pull request #9816 by Hiroshi SHIBATA

Don't miss a new bundler release

NewReleases is sending notifications on new releases.