Skip to content

Releases: rubygems/rubygems

bundler-v2.5.1

15 Dec 20:47
c944d05
Compare
Choose a tag to compare

Bug fixes:

  • Fix ruby Gemfile DSL with file: parameter no longer working #7288

Performance:

  • Save array allocation for every dependency in Gemfile #7270

bundler-v2.5.0

15 Dec 14:02
58fdbff
Compare
Choose a tag to compare

Breaking changes:

  • Drop ruby 2.6 and 2.7 support #7116
  • The :mswin, :mswin64, :mingw, and :x64_mingw Gemfile platform values 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 version feature to choose the version of Bundler that should be used and potentially disable using the lockfile version by setting it to system #6817

Performance:

  • Use match? when regexp match data is unused #7263
  • Avoid some allocations when evaluating ruby Gemfile 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, and timeout to reduce conflicts between Gemfile gems and internal dependencies #6793
  • Allow bundle pristine to run in parallel #6927
  • Make bundle lock always touch the lockfile in non-frozen mode #7220
  • Use Minitest::TestTask in a template file for minitest #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 --jobs or --retry in 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 --system deprecation advice #7190
  • Fix invalid platform removal missing adjacent platforms #7170

Documentation:

  • Add missing --prefer-local to Synopsis in bundle-install.1.ronn #7194
  • Update GitHub organization of Standard Ruby in bundle gem output and generated configuration #6818
  • Replace "prior to" with "immediately after" in bundle gem generated README file #6338

v3.3.27

10 Nov 05:16
d1204e8
Compare
Choose a tag to compare

Bug fixes:

  • Installs bundler 2.3.27 as a default gem.

bundler-v2.3.27

10 Nov 05:43
d1204e8
Compare
Choose a tag to compare

Bug fixes

  • Provide fix for bundler Gemfile resolving regression. Pull request #6717
    by Hiroshi SHIBATA.

v3.4.22

09 Nov 16:51
ec20896
Compare
Choose a tag to compare

Enhancements:

  • Update SPDX license list as of 2023-10-05. Pull request
    #7040 by
    github-actions[bot]
  • Remove unnecessary rescue. Pull request
    #7109 by
    deivid-rodriguez
  • Installs bundler 2.4.22 as a default gem.

Bug fixes:

  • Handle empty array at built-in YAML serializer. Pull request
    #7099 by hsbt
  • Ignore non-tar format .gem files during search. Pull request
    #7095 by dearblue
  • Allow explicitly uninstalling multiple versions of same gem. Pull
    request #7063 by
    kstevens715

Performance:

  • Avoid regexp match on every call to Gem::Platform.local. Pull request
    #7104 by segiddins

Documentation:

  • Get Gem::Specification#extensions_dir documented. Pull request
    #6218 by
    deivid-rodriguez

bundler-v2.4.22

09 Nov 16:48
ec20896
Compare
Choose a tag to compare

Enhancements:

  • Add Bundler::Plugin.loaded? helper #6964
  • Give better error when previous installation folder is insecure to remove #7030
  • Set file path when eval-ing local specification in EndpointSpecification #7106
  • Git ignore the proper files for the CI service selected for bundle gem #7101
  • Update vendored thor to v1.3.0 #7078
  • Restore using old way of passing Ruby version to resolver #7066
  • Bump vendored net-http-persistent to 4.0.2 #6787

Bug fixes:

  • Fix regression when installing native extensions on universal rubies #7077
  • Only remove bundler plugin gem when it's inside the cache #7001
  • Don't show bug report template when GEM_HOME has no writable bit #7113
  • Fix regression in old git versions #7114
  • Handle empty array at built-in YAML serializer #7099
  • Fix force_ruby_platform: when the lockfile only locks the ruby platform #6936

v3.4.21

17 Oct 14:49
d10b46b
Compare
Choose a tag to compare

Enhancements:

  • Abort setup.rb if Ruby is too old. Pull request
    #7011 by
    deivid-rodriguez
  • Remove usage of Dir.chdir that only execute a subprocess. Pull request
    #6930 by segiddins
  • Freeze more strings in generated gemspecs. Pull request
    #6974 by segiddins
  • Use pure-ruby YAML parser for loading configuration at RubyGems. Pull
    request #6615 by hsbt
  • Installs bundler 2.4.21 as a default gem.

Documentation:

  • Update suggested variable for bindir. Pull request
    #7028 by hsbt
  • Fix invalid links in documentation. Pull request
    #7008 by simi

bundler-v2.4.21

17 Oct 14:46
d10b46b
Compare
Choose a tag to compare

Enhancements:

  • Avoid duplicates -rbundler/setup in RUBYOPT with Ruby preview #7002
  • Prevent gem activation in standalone mode #6925
  • Support Ruby's preview version format (Ex: 3.3.0-preview2) in Gemfile #7016
  • Fix bundle install when older revisions of git source #6980
  • Remove usage of Dir.chdir that only execute a subprocess #6930

Bug fixes:

  • Don't delete the release version from pre-release string more than once #7054
  • Make the lock command not be affected by the frozen setting #7034
  • Raise an error when adding a gem incompatible with some locked platform #7035
  • Re-resolve when lockfile is invalid #7020
  • Don't re-resolve with prereleases if unlocked gem has no prereleases #7021
  • Include gemspec in ExtensionTask for native gem tasks #7015
  • Avoid error reporting relative path when validating frozen #5128
  • Fix bundle lock --minor --update <dep> edge case #6992
  • Stop bundler eagerly loading all specs with exts #6945

Performance:

  • Reduce allocations when parsing lockfile #6976
  • Stop allocating the same settings keys repeatedly #6963

Documentation:

  • Improve formatting and global source information in bundle plugin man page #7045
  • Update man page of bundle exec to reflect default true of flag --keep-file-descriptors #7033

v3.4.20

27 Sep 11:21
de20c7e
Compare
Choose a tag to compare

Enhancements:

  • Raise Gem::Package::FormatError when gem encounters corrupt EOF.
    Pull request #6882
    by martinemde
  • Allow skipping empty license gem build warning by setting license to
    nil. Pull request
    #6879 by jhong97
  • Update SPDX license list as of 2023-06-18. Pull request
    #6891 by
    github-actions[bot]
  • Update SPDX license list as of 2023-04-28. Pull request
    #6642 by segiddins
  • Update SPDX license list as of 2023-01-26. Pull request
    #6310 by segiddins
  • Installs bundler 2.4.20 as a default gem.

Bug fixes:

  • Fixed false positive SymlinkError in symbolic link directory. Pull
    request #6947 by
    negi0109
  • Ensure that loading multiple gemspecs with legacy YAML class references
    does not warn. Pull request
    #6889 by segiddins
  • Fix NoMethodError when choosing a too big number from gem uni list.
    Pull request #6901 by
    amatsuda

Performance:

  • Reduce allocations for stub specifications. Pull request
    #6972 by segiddins

bundler-v2.4.20

27 Sep 11:17
de20c7e
Compare
Choose a tag to compare

Enhancements:

  • Bump actions/checkout to v4 in bundler gem template #6966
  • Add support for the ruby-3.2.2 format in the ruby file: Gemfile directive, and explicitly test the 3.2.2@gemset format as rejected #6954
  • Support ruby file: ".tool-versions" in Gemfile #6898
  • Unify LockfileParser loading of SPECS section #6933
  • Only check circular deps when dependency api is available, not on full index sources #6919

Bug fixes:

  • Allow standalone mode to work on a Windows edge case #6989
  • Fix bundle outdated crashing when both ref and branch specified for a git gem in Gemfile #6959
  • Fix bundle update --redownload #6924
  • Fixed malformed bundler version in lockfile making Bundler crash #6920
  • Fix standalone install crashing when using legacy gemfiles with multiple global sources #6918
  • Resolve ruby version file relative to bundle root #6892

Performance:

  • Lazily construct fetcher debug messages #6973
  • Avoid allocating empty hashes in Index #6962
  • Stop allocating the same settings keys repeatedly #6963
  • Improve Bundler::Index efficiency by removing unnecessary creation and dups #6931
  • (Further) Improve Bundler::Settings#[] performance and memory usage #6923
  • Don't use full indexes unnecessarily on legacy Gemfiles #6916
  • Improve memory usage in Bundler::Settings, and thus improve boot time #6884