Skip to content

Releases: ruby/rubygems

v3.2.2

17 Dec 16:42
d85cd5b

Choose a tag to compare

Bug fixes:

  • Fix issue where CLI commands making more than one request to
    rubygems.org needing an OTP code would crash or ask for the code twice.
    Pull request #4162 by sonalkr132
  • Fix building rake extensions that require openssl. Pull request #4165 by
    deivid-rodriguez
  • Fix gem update --system displaying too many changelog entries. Pull
    request #4145 by deivid-rodriguez

=== 3.2.1 / 2020-12-14

Enhancements:

  • Added help message for gem i webrick in gem server command. Pull request
    #4117 by hsbt

Bug fixes:

  • Added the missing loading of fileutils same as load_specs. Pull request
    #4124 by hsbt
  • Fix Resolver::APISet to always include prereleases when necessary. Pull
    request #4113 by deivid-rodriguez

=== 3.2.0 / 2020-12-07

Enhancements:

  • Do not override Kernel#warn when there is no need. Pull request #4075 by
    eregon
  • Update endpoint of gem signin command. Pull request #3840 by sonalkr132
  • Omit deprecated commands from command help output. Pull request #4023 by
    landongrindheim
  • Suggest alternatives in gem query deprecation. Pull request #4021 by
    landongrindheim
  • Lazily load time, cgi, and zlib. Pull request #4010 by
    deivid-rodriguez
  • Don't hit the network when installing dependencyless local gemspec. Pull
    request #3968 by deivid-rodriguez
  • Add --force option to gem sources command. Pull request #3956 by
    andy-smith-msm
  • Lazily load openssl. Pull request #3850 by deivid-rodriguez
  • Pass more information when comparing platforms. Pull request #3817 by
    eregon

Bug fixes:

  • Use better owner & group for files in rubygems package. Pull request
    #4065 by deivid-rodriguez
  • Improve gem build -C flag. Pull request #3983 by bronzdoc
  • Handle unexpected behavior with URI#merge and subpaths missing trailing
    slashes. Pull request #3123 by drcapulet
  • Add missing fileutils require in rubygems installer. Pull request
    #4036 by deivid-rodriguez
  • Fix --platform option to gem specification being ignored. Pull
    request #4043 by deivid-rodriguez
  • Expose --no-minimal-deps flag to install the latest version of
    dependencies. Pull request #4030 by deivid-rodriguez
  • Fix "stack level too deep" error when overriding Warning.warn. Pull
    request #3987 by eregon
  • Append '.gemspec' extension only when it is not present. Pull request
    #3988 by voxik
  • Install to correct plugins dir when using --build-root. Pull request
    #3972 by deivid-rodriguez
  • Fix --build-root flag under Windows. Pull request #3975 by
    deivid-rodriguez
  • Fix typo_squatting? false positive for rubygems.org itself. Pull
    request #3951 by andy-smith-msm
  • Make --default and --install-dir options to gem install play nice
    together. Pull request #3906 by deivid-rodriguez

Deprecations:

  • Deprecate server command. Pull request #3868 by bronzdoc

Performance:

  • Don't change ruby process CWD when building extensions. Pull request
    #3498 by deivid-rodriguez

=== 3.2.0.rc.2 / 2020-10-08

Enhancements:

  • Make --dry-run flag consistent across rubygems commands. Pull request
    #3867 by bronzdoc
  • Disallow downgrades to too old versions. Pull request #3566 by
    deivid-rodriguez
  • Added --platform option to build command. Pull request #3079 by nobu
  • Have "gem update --system" pass through the --silent flag. Pull
    request #3789 by duckinator
  • Add writable check for cache dir. Pull request #3876 by xndcn
  • Warn on duplicate dependency in a specification. Pull request #3864 by
    bronzdoc
  • Fix indentation in gem env. Pull request #3861 by colby-swandale
  • Let more exceptions flow. Pull request #3819 by deivid-rodriguez
  • Ignore internal frames in RubyGems' Kernel#warn. Pull request #3810 by
    eregon

Bug fixes:

  • Add missing fileutils require. Pull request #3911 by deivid-rodriguez
  • Fix false positive warning on Windows when PATH has
    File::ALT_SEPARATOR. Pull request #3829 by deivid-rodriguez
  • Fix Kernel#warn override to handle backtrace location with nil path.
    Pull request #3852 by jeremyevans
  • Don't format executables on gem update --system. Pull request #3811 by
    deivid-rodriguez
  • gem install --user fails with Gem::FilePermissionError on the system
    plugins directory. Pull request #3804 by nobu

Performance:

  • Avoid duplicated generation of APISpecification objects. Pull request
    #3940 by mame
  • Eval defaults with frozen_string_literal: true. Pull request #3847 by
    casperisfine
  • Deduplicate the requirement operators in memory. Pull request #3846 by
    casperisfine
  • Optimize Gem.already_loaded?. Pull request #3793 by casperisfine

=== 3.2.0.rc.1 / 2020-07-04

Enhancements:

  • Test TruffleRuby in CI. Pull request #2797 by Benoit Daloze.
  • Rework plugins system and speed up rubygems. Pull request #3108 by David
    Rodríguez.
  • Specify explicit separator not to be affected by $;. Pull request #3424
    by Nobuyoshi Nakada.
  • Enable Layout/ExtraSpacing cop. Pull request #3449 by David Rodríguez.
  • Rollback gem deprecate. Pull request #3530 by Luis Sagastume.
  • Normalize heredoc delimiters. Pull request #3533 by David Rodríguez.
  • Log messages to stdout in rake package. Pull request #3632 by David
    Rodríguez.
  • Remove explicit psych activation. Pull request #3636 by David
    Rodríguez.
  • Delay fileutils loading to fix some warnings. Pull request #3637 by
    David Rodríguez.
  • Make sure rubygems/package can be directly required reliably. Pull
    request #3670 by Luis Sagastume.
  • Make sure tmp folder exists before calling Dir.tmpdir. Pull request
    #3711 by David Rodríguez.
  • Add Gem.disable_system_update_message to disable gem update --system if
    needed. Pull request #3720 by Josef Šimánek.
  • Tweaks to play nice with ruby-core setup. Pull request #3733 by David
    Rodríguez.
  • Remove explicit require for auto-loaded constant. Pull request #3751 by
    Karol Bucek.
  • Test files should not be included in spec.files. Pull request #3758 by
    Marc-André Lafortune.
  • Remove TODO comment about warning on setting instead of pushing. Pull
    request #2823 by Luis Sagastume.
  • Add deprecate command method. Pull request #2935 by Luis Sagastume.
  • Simplify deprecate command method. Pull request #2974 by Luis Sagastume.
  • Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
    #2985 by MSP-Greg.
  • Add funding_uri metadata field to gemspec. Pull request #3060 by
    Colby Swandale.
  • Updates to some old gem-signing docs. Pull request #3063 by Tieg
    Zaharia.
  • Update the gem method for Gem::Installer. Pull request #3137 by Daniel
    Berger.
  • Simplify initial gem help output. Pull request #3148 by Olivier Lacan.
  • Resolve latest version via gem contents. Pull request #3149 by Dan
    Rice.
  • Install suggestions. Pull request #3151 by Sophia Castellarin.
  • Only rescue the errors we actually want to rescue. Pull request #3156 by
    David Rodríguez.

Bug fixes:

  • Accept not only /usr/bin/env but also /bin/env in some tests. Pull
    request #3422 by Yusuke Endoh.
  • Skip a test that attempts to remove the current directory on Solaris.
    Pull request #3423 by Yusuke Endoh.
  • Fix race condition on bundler's parallel installer. Pull request #3440
    by David Rodríguez.
  • Fix platform comparison check in #contains_requirable_file?. Pull
    request #3495 by Benoit Daloze.
  • Improve missing spec error. Pull request #3559 by Luis Sagastume.
  • Fix hidden bundler template installation from rubygems updater. Pull
    request #3674 by David Rodríguez.
  • Fix gem update --user-install. Pull request #2901 by Luis Sagastume.
  • Correct conflict list when uninstallation is prevented. Pull request
    #2973 by David Rodríguez.
  • Fix error when trying to find bundler with a deleted "working directo….
    Pull request #3090 by Luis Sagastume.
  • Fix -I require priority. Pull request #3124 by David Rodríguez.
  • Fix ruby setup.rb for new plugins layout. Pull request #3144 by David
    Rodríguez.

Deprecations:

  • Set deprecation warning on query command. Pull request #2967 by Luis
    Sagastume.

Breaking changes:

  • Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
  • Minitest cleanup. Pull request #3445 by David Rodríguez.
  • Remove builder gem requirement for gem regenerate_index. Pull
    request #3552 by David Rodríguez.
  • Remove modelines for consistency. Pull request #3714 by David Rodríguez.
  • Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
    Bart de Water.
  • Remove Gem module deprecated methods. Pull request #3101 by Luis
    Sagastume.
  • Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
  • Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
    Sagastume.
  • Remove dependency installer deprecated methods. Pull request #3106 by
    Luis Sagastume.
  • Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
    Sagastume.
  • Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
    Sagastume.
  • Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
    Luis Sagastume.
  • Remove source_exception from Gem::Exception. Pull request #3112 by Luis
    Sagastume.
  • Requiring rubygems/source_specific_file is deprecated, remove it. Pull
    request #3114 by Luis Sagastume.

bundler-v2.2.2

17 Dec 16:41
d85cd5b

Choose a tag to compare

Bug fixes:

  • Fix resolver crash when a candidate has 0 matching platforms #4163
  • Restore change to copy global with/without config locally upon bundle install #4154

2.2.1 (December 14, 2020)

Bug fixes:

  • Ad-hoc fix for platform regression #4127
  • Workaround JRuby + Windows issue with net-http-persistent vendored code #4138
  • Reset also root when in a nested invocation #4140
  • Restore 2.1.4 resolution times #4134
  • Fix bundle outdated --strict crash #4133
  • Autoload Bundler::RemoteSpecification to workaround crash on jruby #4114

2.2.0 (December 7, 2020)

Enhancements:

  • New gem template: prefer require_relative to require #4066
  • Always show underlying error when fetching specs fails #4061
  • Add --all-platforms flag to bundle binstubs to generate binstubs for all platforms #3886
  • Improve gem not found in source error messages #4019
  • Revert resolving all Gemfile platforms automatically #4052
  • Remove extra empty line from README template #4041
  • Lazily load erb #4011

Bug fixes:

  • Fix Bundler::Plugin::API::Source#to_s having empty source type #4084
  • Raise consistent errors with or without bundle exec #4063
  • Fix edge case resulting in a crash when using zeitwerk inside a nested bundle exec invocation #4062
  • Enable specific_platform by default #4015
  • Prevent remove command from deleting gemfile lines that are comments #4045
  • Fix issue with cache_all_platforms and specific_platform configured #4042
  • Fix incorrect error message on Windows #4039
  • Make printed drive letters consistent on Windows #4038
  • Load rubygems plugins from RUBYLIB during bundle install and bundle update #3534
  • Fix specific_platform and cache_all with bundle cache --all-platforms #4022
  • Bring back the possibility to install a plugin from path #4020
  • Move ronn pages to lib #3997
  • Fix fileutils double load when using bundler/inline #3991
  • Accept responses with no etag header #3865

Documentation:

  • Fix typo of bundle-install.1 (v2.1) #4079
  • Add commented out example and more information link to generated gemspec #4034

2.2.0.rc.2 (October 6, 2020)

Features:

  • Add bundle fund command #3390

Enhancements:

  • Fix ls-files matching regexp #3845
  • Remove redundant bundler/setup require from spec_helper.rb generated by bundle gem #3791

Bug fixes:

  • Deduplicate spec groups #3965
  • Fix some cases of running bundler on a path including brackets #3854
  • Don't warn when deinit'ing submodules #3969
  • Make bundle clean --force leave default gem executables untouched #3907
  • Prioritize path.system over path when it makes sense #3933
  • Sort requirements in Gem::Requirement to succeed comparison with different order #3889
  • Print bug report template to standard error #3924
  • Restore bundle cache --all in all cases #3914
  • Move shebang to the top of bin/console template #3927
  • Fix platform issues when running under a frozen bundle #3909
  • Fix deprecation messages for bundle install flags, the config should be --local as before #3917
  • Look for absolute path when removing bundler/setup from RUBYOPT in Bundler.unbundled_env method #3877
  • Fix incorrect re-resolution when path gem excluded and not available #3902
  • Fix error when building error message in bundler/inline #3901
  • Fix regression related to locked ruby #3900
  • Expand load paths in standalone setup.rb file #3522
  • Fix broken exception recovery code when installing plugins #3487
  • Fix incorrect build info on development versions of bundler, and on bundler versions installed as a default gem #3778
  • Avoid autoloading openssl to try help with jruby load service issues #3809
  • Fix rake release pushing all local tags instead of only the release tag #3785
  • Fix rake release aborting when credentials file is missing, even if properly configured through XDG #3783

Deprecations:

  • Deprecate bundle cache --all flag #3932

Documentation:

  • Correct grammar in Gemfile docs #3990
  • Fix typo in bundle pristine warning message #3959
  • Improve human readable fallback version of CLI help messages #3921
  • Note CLI flag deprecations in documentation #3915
  • Update man page and deprecation warning for binstubs --all #3872

2.2.0.rc.1 (July 2, 2020)

Features:

  • Windows support. There's still gotchas and unimplemented features, but a Windows CI is now enforced.
  • Full multiplatform support. Bundler should now seamlessly handle multiplatform Gemfile or gems.rb files.

Enhancements:

  • bundle info now includes gem metadata #7376
  • bundle list --without-group and bundle list --only-group now support space separated list of groups in addition to single groups #7404
  • bundle gem now supports a --rubocop flag that adds the rubocop gem to the new gem layout #6455
  • bundle gem now supports --test-unit in addition to rspec and minitest as a value for its --test option #5521
  • bundle install now uses the available number of processors automatically for concurrent gem install, except for Windows where it still uses a single thread by default #3393 and #3718
  • Report Gitlab CI within bundler user-agent string #3432
  • Add bundle plugin uninstall #3482
  • bundle gem now supports a --ci flag and a gem.ci configuration that adds CI config files for the main CI providers to the generated gem skeleton #3667
  • Allow setting a tag prefix to be used by release tasks #3766
  • bundle outdated now prints output in columns for better readability #4474
  • bundler's release rake task now prints a better message when not being logged in and trying to push a gem #7513
  • BUNDLE_APP_CONFIG environment variable is now documented #7563
  • Original exception is now reported when bundler fails to load OpenSSL #7527
  • RVM specific instructions for recompiling ruby is no longer recommended when bundler fails to load OpenSSL #7597
  • Improve resolver debugging out from resolver #7589 and #7590
  • Clarify `...
Read more

v3.2.1

14 Dec 19:28
2537856

Choose a tag to compare

Enhancements:

  • Added help message for gem i webrick in gem server command. Pull request
    #4117 by hsbt

Bug fixes:

  • Added the missing loading of fileutils same as load_specs. Pull request
    #4124 by hsbt
  • Fix Resolver::APISet to always include prereleases when necessary. Pull
    request #4113 by deivid-rodriguez

=== 3.2.0 / 2020-12-7

Enhancements:

  • Do not override Kernel#warn when there is no need. Pull request #4075 by
    eregon
  • Update endpoint of gem signin command. Pull request #3840 by sonalkr132
  • Omit deprecated commands from command help output. Pull request #4023 by
    landongrindheim
  • Suggest alternatives in gem query deprecation. Pull request #4021 by
    landongrindheim
  • Lazily load time, cgi, and zlib. Pull request #4010 by
    deivid-rodriguez
  • Don't hit the network when installing dependencyless local gemspec. Pull
    request #3968 by deivid-rodriguez
  • Add --force option to gem sources command. Pull request #3956 by
    andy-smith-msm
  • Lazily load openssl. Pull request #3850 by deivid-rodriguez
  • Pass more information when comparing platforms. Pull request #3817 by
    eregon

Bug fixes:

  • Use better owner & group for files in rubygems package. Pull request
    #4065 by deivid-rodriguez
  • Improve gem build -C flag. Pull request #3983 by bronzdoc
  • Handle unexpected behavior with URI#merge and subpaths missing trailing
    slashes. Pull request #3123 by drcapulet
  • Add missing fileutils require in rubygems installer. Pull request
    #4036 by deivid-rodriguez
  • Fix --platform option to gem specification being ignored. Pull
    request #4043 by deivid-rodriguez
  • Expose --no-minimal-deps flag to install the latest version of
    dependencies. Pull request #4030 by deivid-rodriguez
  • Fix "stack level too deep" error when overriding Warning.warn. Pull
    request #3987 by eregon
  • Append '.gemspec' extension only when it is not present. Pull request
    #3988 by voxik
  • Install to correct plugins dir when using --build-root. Pull request
    #3972 by deivid-rodriguez
  • Fix --build-root flag under Windows. Pull request #3975 by
    deivid-rodriguez
  • Fix typo_squatting? false positive for rubygems.org itself. Pull
    request #3951 by andy-smith-msm
  • Make --default and --install-dir options to gem install play nice
    together. Pull request #3906 by deivid-rodriguez

Deprecations:

  • Deprecate server command. Pull request #3868 by bronzdoc

Performance:

  • Don't change ruby process CWD when building extensions. Pull request
    #3498 by deivid-rodriguez

=== 3.2.0.rc.2 / 2020-10-8

Enhancements:

  • Make --dry-run flag consistent across rubygems commands. Pull request
    #3867 by bronzdoc
  • Disallow downgrades to too old versions. Pull request #3566 by
    deivid-rodriguez
  • Added --platform option to build command. Pull request #3079 by nobu
  • Have "gem update --system" pass through the --silent flag. Pull
    request #3789 by duckinator
  • Add writable check for cache dir. Pull request #3876 by xndcn
  • Warn on duplicate dependency in a specification. Pull request #3864 by
    bronzdoc
  • Fix indentation in gem env. Pull request #3861 by colby-swandale
  • Let more exceptions flow. Pull request #3819 by deivid-rodriguez
  • Ignore internal frames in RubyGems' Kernel#warn. Pull request #3810 by
    eregon

Bug fixes:

  • Add missing fileutils require. Pull request #3911 by deivid-rodriguez
  • Fix false positive warning on Windows when PATH has
    File::ALT_SEPARATOR. Pull request #3829 by deivid-rodriguez
  • Fix Kernel#warn override to handle backtrace location with nil path.
    Pull request #3852 by jeremyevans
  • Don't format executables on gem update --system. Pull request #3811 by
    deivid-rodriguez
  • gem install --user fails with Gem::FilePermissionError on the system
    plugins directory. Pull request #3804 by nobu

Performance:

  • Avoid duplicated generation of APISpecification objects. Pull request
    #3940 by mame
  • Eval defaults with frozen_string_literal: true. Pull request #3847 by
    casperisfine
  • Deduplicate the requirement operators in memory. Pull request #3846 by
    casperisfine
  • Optimize Gem.already_loaded?. Pull request #3793 by casperisfine

=== 3.2.0.rc.1 / 2020-07-04

Enhancements:

  • Test TruffleRuby in CI. Pull request #2797 by Benoit Daloze.
  • Rework plugins system and speed up rubygems. Pull request #3108 by David
    Rodríguez.
  • Specify explicit separator not to be affected by $;. Pull request #3424
    by Nobuyoshi Nakada.
  • Enable Layout/ExtraSpacing cop. Pull request #3449 by David Rodríguez.
  • Rollback gem deprecate. Pull request #3530 by Luis Sagastume.
  • Normalize heredoc delimiters. Pull request #3533 by David Rodríguez.
  • Log messages to stdout in rake package. Pull request #3632 by David
    Rodríguez.
  • Remove explicit psych activation. Pull request #3636 by David
    Rodríguez.
  • Delay fileutils loading to fix some warnings. Pull request #3637 by
    David Rodríguez.
  • Make sure rubygems/package can be directly required reliably. Pull
    request #3670 by Luis Sagastume.
  • Make sure tmp folder exists before calling Dir.tmpdir. Pull request
    #3711 by David Rodríguez.
  • Add Gem.disable_system_update_message to disable gem update --system if
    needed. Pull request #3720 by Josef Šimánek.
  • Tweaks to play nice with ruby-core setup. Pull request #3733 by David
    Rodríguez.
  • Remove explicit require for auto-loaded constant. Pull request #3751 by
    Karol Bucek.
  • Test files should not be included in spec.files. Pull request #3758 by
    Marc-André Lafortune.
  • Remove TODO comment about warning on setting instead of pushing. Pull
    request #2823 by Luis Sagastume.
  • Add deprecate command method. Pull request #2935 by Luis Sagastume.
  • Simplify deprecate command method. Pull request #2974 by Luis Sagastume.
  • Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
    #2985 by MSP-Greg.
  • Add funding_uri metadata field to gemspec. Pull request #3060 by
    Colby Swandale.
  • Updates to some old gem-signing docs. Pull request #3063 by Tieg
    Zaharia.
  • Update the gem method for Gem::Installer. Pull request #3137 by Daniel
    Berger.
  • Simplify initial gem help output. Pull request #3148 by Olivier Lacan.
  • Resolve latest version via gem contents. Pull request #3149 by Dan
    Rice.
  • Install suggestions. Pull request #3151 by Sophia Castellarin.
  • Only rescue the errors we actually want to rescue. Pull request #3156 by
    David Rodríguez.

Bug fixes:

  • Accept not only /usr/bin/env but also /bin/env in some tests. Pull
    request #3422 by Yusuke Endoh.
  • Skip a test that attempts to remove the current directory on Solaris.
    Pull request #3423 by Yusuke Endoh.
  • Fix race condition on bundler's parallel installer. Pull request #3440
    by David Rodríguez.
  • Fix platform comparison check in #contains_requirable_file?. Pull
    request #3495 by Benoit Daloze.
  • Improve missing spec error. Pull request #3559 by Luis Sagastume.
  • Fix hidden bundler template installation from rubygems updater. Pull
    request #3674 by David Rodríguez.
  • Fix gem update --user-install. Pull request #2901 by Luis Sagastume.
  • Correct conflict list when uninstallation is prevented. Pull request
    #2973 by David Rodríguez.
  • Fix error when trying to find bundler with a deleted "working directo….
    Pull request #3090 by Luis Sagastume.
  • Fix -I require priority. Pull request #3124 by David Rodríguez.
  • Fix ruby setup.rb for new plugins layout. Pull request #3144 by David
    Rodríguez.

Deprecations:

  • Set deprecation warning on query command. Pull request #2967 by Luis
    Sagastume.

Breaking changes:

  • Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
  • Minitest cleanup. Pull request #3445 by David Rodríguez.
  • Remove builder gem requirement for gem regenerate_index. Pull
    request #3552 by David Rodríguez.
  • Remove modelines for consistency. Pull request #3714 by David Rodríguez.
  • Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
    Bart de Water.
  • Remove Gem module deprecated methods. Pull request #3101 by Luis
    Sagastume.
  • Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
  • Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
    Sagastume.
  • Remove dependency installer deprecated methods. Pull request #3106 by
    Luis Sagastume.
  • Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
    Sagastume.
  • Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
    Sagastume.
  • Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
    Luis Sagastume.
  • Remove source_exception from Gem::Exception. Pull request #3112 by Luis
    Sagastume.
  • Requiring rubygems/source_specific_file is deprecated, remove it. Pull
    request #3114 by Luis Sagastume.

bundler-v2.2.1

14 Dec 16:11
2537856

Choose a tag to compare

Bug fixes:

  • Ad-hoc fix for platform regression #4127
  • Workaround JRuby + Windows issue with net-http-persistent vendored code #4138
  • Reset also root when in a nested invocation #4140
  • Restore 2.1.4 resolution times #4134
  • Fix bundle outdated --strict crash #4133
  • Autoload Bundler::RemoteSpecification to workaround crash on jruby #4114

2.2.0 (December 7, 2020)

Enhancements:

  • New gem template: prefer require_relative to require #4066
  • Always show underlying error when fetching specs fails #4061
  • Add --all-platforms flag to bundle binstubs to generate binstubs for all platforms #3886
  • Improve gem not found in source error messages #4019
  • Revert resolving all Gemfile platforms automatically #4052
  • Remove extra empty line from README template #4041
  • Lazily load erb #4011

Bug fixes:

  • Fix Bundler::Plugin::API::Source#to_s having empty source type #4084
  • Raise consistent errors with or without bundle exec #4063
  • Fix edge case resulting in a crash when using zeitwerk inside a nested bundle exec invocation #4062
  • Enable specific_platform by default #4015
  • Prevent remove command from deleting gemfile lines that are comments #4045
  • Fix issue with cache_all_platforms and specific_platform configured #4042
  • Fix incorrect error message on Windows #4039
  • Make printed drive letters consistent on Windows #4038
  • Load rubygems plugins from RUBYLIB during bundle install and bundle update #3534
  • Fix specific_platform and cache_all with bundle cache --all-platforms #4022
  • Bring back the possibility to install a plugin from path #4020
  • Move ronn pages to lib #3997
  • Fix fileutils double load when using bundler/inline #3991
  • Accept responses with no etag header #3865

Documentation:

  • Fix typo of bundle-install.1 (v2.1) #4079
  • Add commented out example and more information link to generated gemspec #4034

2.2.0.rc.2 (October 6, 2020)

Features:

  • Add bundle fund command #3390

Enhancements:

  • Fix ls-files matching regexp #3845
  • Remove redundant bundler/setup require from spec_helper.rb generated by bundle gem #3791

Bug fixes:

  • Deduplicate spec groups #3965
  • Fix some cases of running bundler on a path including brackets #3854
  • Don't warn when deinit'ing submodules #3969
  • Make bundle clean --force leave default gem executables untouched #3907
  • Prioritize path.system over path when it makes sense #3933
  • Sort requirements in Gem::Requirement to succeed comparison with different order #3889
  • Print bug report template to standard error #3924
  • Restore bundle cache --all in all cases #3914
  • Move shebang to the top of bin/console template #3927
  • Fix platform issues when running under a frozen bundle #3909
  • Fix deprecation messages for bundle install flags, the config should be --local as before #3917
  • Look for absolute path when removing bundler/setup from RUBYOPT in Bundler.unbundled_env method #3877
  • Fix incorrect re-resolution when path gem excluded and not available #3902
  • Fix error when building error message in bundler/inline #3901
  • Fix regression related to locked ruby #3900
  • Expand load paths in standalone setup.rb file #3522
  • Fix broken exception recovery code when installing plugins #3487
  • Fix incorrect build info on development versions of bundler, and on bundler versions installed as a default gem #3778
  • Avoid autoloading openssl to try help with jruby load service issues #3809
  • Fix rake release pushing all local tags instead of only the release tag #3785
  • Fix rake release aborting when credentials file is missing, even if properly configured through XDG #3783

Deprecations:

  • Deprecate bundle cache --all flag #3932

Documentation:

  • Correct grammar in Gemfile docs #3990
  • Fix typo in bundle pristine warning message #3959
  • Improve human readable fallback version of CLI help messages #3921
  • Note CLI flag deprecations in documentation #3915
  • Update man page and deprecation warning for binstubs --all #3872

2.2.0.rc.1 (July 2, 2020)

Features:

  • Windows support. There's still gotchas and unimplemented features, but a Windows CI is now enforced.
  • Full multiplatform support. Bundler should now seamlessly handle multiplatform Gemfile or gems.rb files.

Enhancements:

  • bundle info now includes gem metadata #7376
  • bundle list --without-group and bundle list --only-group now support space separated list of groups in addition to single groups #7404
  • bundle gem now supports a --rubocop flag that adds the rubocop gem to the new gem layout #6455
  • bundle gem now supports --test-unit in addition to rspec and minitest as a value for its --test option #5521
  • bundle install now uses the available number of processors automatically for concurrent gem install, except for Windows where it still uses a single thread by default #3393 and #3718
  • Report Gitlab CI within bundler user-agent string #3432
  • Add bundle plugin uninstall #3482
  • bundle gem now supports a --ci flag and a gem.ci configuration that adds CI config files for the main CI providers to the generated gem skeleton #3667
  • Allow setting a tag prefix to be used by release tasks #3766
  • bundle outdated now prints output in columns for better readability #4474
  • bundler's release rake task now prints a better message when not being logged in and trying to push a gem #7513
  • BUNDLE_APP_CONFIG environment variable is now documented #7563
  • Original exception is now reported when bundler fails to load OpenSSL #7527
  • RVM specific instructions for recompiling ruby is no longer recommended when bundler fails to load OpenSSL #7597
  • Improve resolver debugging out from resolver #7589 and #7590
  • Clarify bundle config --local docs #3408
  • Make sure to not "leak" to a different bundler install under any circumstances #3595
  • Make sure users messing with $; doesn't affect us [#3602](https://github.com/...
Read more

v3.2.0

10 Dec 11:58
d3628e5

Choose a tag to compare

Enhancements:

  • Do not override Kernel#warn when there is no need. Pull request #4075 by
    eregon
  • Update endpoint of gem signin command. Pull request #3840 by sonalkr132
  • Omit deprecated commands from command help output. Pull request #4023 by
    landongrindheim
  • Suggest alternatives in gem query deprecation. Pull request #4021 by
    landongrindheim
  • Lazily load time, cgi, and zlib. Pull request #4010 by
    deivid-rodriguez
  • Don't hit the network when installing dependencyless local gemspec. Pull
    request #3968 by deivid-rodriguez
  • Add --force option to gem sources command. Pull request #3956 by
    andy-smith-msm
  • Lazily load openssl. Pull request #3850 by deivid-rodriguez
  • Pass more information when comparing platforms. Pull request #3817 by
    eregon

Bug fixes:

  • Use better owner & group for files in rubygems package. Pull request
    #4065 by deivid-rodriguez
  • Improve gem build -C flag. Pull request #3983 by bronzdoc
  • Handle unexpected behavior with URI#merge and subpaths missing trailing
    slashes. Pull request #3123 by drcapulet
  • Add missing fileutils require in rubygems installer. Pull request
    #4036 by deivid-rodriguez
  • Fix --platform option to gem specification being ignored. Pull
    request #4043 by deivid-rodriguez
  • Expose --no-minimal-deps flag to install the latest version of
    dependencies. Pull request #4030 by deivid-rodriguez
  • Fix "stack level too deep" error when overriding Warning.warn. Pull
    request #3987 by eregon
  • Append '.gemspec' extension only when it is not present. Pull request
    #3988 by voxik
  • Install to correct plugins dir when using --build-root. Pull request
    #3972 by deivid-rodriguez
  • Fix --build-root flag under Windows. Pull request #3975 by
    deivid-rodriguez
  • Fix typo_squatting? false positive for rubygems.org itself. Pull
    request #3951 by andy-smith-msm
  • Make --default and --install-dir options to gem install play nice
    together. Pull request #3906 by deivid-rodriguez

Deprecations:

  • Deprecate server command. Pull request #3868 by bronzdoc

Performance:

  • Don't change ruby process CWD when building extensions. Pull request
    #3498 by deivid-rodriguez

=== 3.2.0.rc.2 / 2020-10-8

Minor enhancements:

  • Make --dry-run flag consistent across rubygems commands. Pull request
    #3867 by bronzdoc
  • Disallow downgrades to too old versions. Pull request #3566 by
    deivid-rodriguez
  • Added --platform option to build command. Pull request #3079 by nobu
  • Have "gem update --system" pass through the --silent flag. Pull
    request #3789 by duckinator
  • Add writable check for cache dir. Pull request #3876 by xndcn
  • Warn on duplicate dependency in a specification. Pull request #3864 by
    bronzdoc
  • Fix indentation in gem env. Pull request #3861 by colby-swandale
  • Let more exceptions flow. Pull request #3819 by deivid-rodriguez
  • Ignore internal frames in RubyGems' Kernel#warn. Pull request #3810 by
    eregon

Bug fixes:

  • Add missing fileutils require. Pull request #3911 by deivid-rodriguez
  • Fix false positive warning on Windows when PATH has
    File::ALT_SEPARATOR. Pull request #3829 by deivid-rodriguez
  • Fix Kernel#warn override to handle backtrace location with nil path.
    Pull request #3852 by jeremyevans
  • Don't format executables on gem update --system. Pull request #3811 by
    deivid-rodriguez
  • gem install --user fails with Gem::FilePermissionError on the system
    plugins directory. Pull request #3804 by nobu

Performance:

  • Avoid duplicated generation of APISpecification objects. Pull request
    #3940 by mame
  • Eval defaults with frozen_string_literal: true. Pull request #3847 by
    casperisfine
  • Deduplicate the requirement operators in memory. Pull request #3846 by
    casperisfine
  • Optimize Gem.already_loaded?. Pull request #3793 by casperisfine

=== 3.2.0.rc.1 / 2020-07-04

Major enhancements:

  • Test TruffleRuby in CI. Pull request #2797 by Benoit Daloze.
  • Rework plugins system and speed up rubygems. Pull request #3108 by David
    Rodríguez.

Minor enhancements:

  • Specify explicit separator not to be affected by $;. Pull request #3424
    by Nobuyoshi Nakada.
  • Enable Layout/ExtraSpacing cop. Pull request #3449 by David Rodríguez.
  • Rollback gem deprecate. Pull request #3530 by Luis Sagastume.
  • Normalize heredoc delimiters. Pull request #3533 by David Rodríguez.
  • Log messages to stdout in rake package. Pull request #3632 by David
    Rodríguez.
  • Remove explicit psych activation. Pull request #3636 by David
    Rodríguez.
  • Delay fileutils loading to fix some warnings. Pull request #3637 by
    David Rodríguez.
  • Make sure rubygems/package can be directly required reliably. Pull
    request #3670 by Luis Sagastume.
  • Make sure tmp folder exists before calling Dir.tmpdir. Pull request
    #3711 by David Rodríguez.
  • Add Gem.disable_system_update_message to disable gem update --system if
    needed. Pull request #3720 by Josef Šimánek.
  • Tweaks to play nice with ruby-core setup. Pull request #3733 by David
    Rodríguez.
  • Remove explicit require for auto-loaded constant. Pull request #3751 by
    Karol Bucek.
  • Test files should not be included in spec.files. Pull request #3758 by
    Marc-André Lafortune.
  • Remove TODO comment about warning on setting instead of pushing. Pull
    request #2823 by Luis Sagastume.
  • Add deprecate command method. Pull request #2935 by Luis Sagastume.
  • Simplify deprecate command method. Pull request #2974 by Luis Sagastume.
  • Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
    #2985 by MSP-Greg.
  • Add funding_uri metadata field to gemspec. Pull request #3060 by
    Colby Swandale.
  • Updates to some old gem-signing docs. Pull request #3063 by Tieg
    Zaharia.
  • Update the gem method for Gem::Installer. Pull request #3137 by Daniel
    Berger.
  • Simplify initial gem help output. Pull request #3148 by Olivier Lacan.
  • Resolve latest version via gem contents. Pull request #3149 by Dan
    Rice.
  • Install suggestions. Pull request #3151 by Sophia Castellarin.
  • Only rescue the errors we actually want to rescue. Pull request #3156 by
    David Rodríguez.

Bug fixes:

  • Accept not only /usr/bin/env but also /bin/env in some tests. Pull
    request #3422 by Yusuke Endoh.
  • Skip a test that attempts to remove the current directory on Solaris.
    Pull request #3423 by Yusuke Endoh.
  • Fix race condition on bundler's parallel installer. Pull request #3440
    by David Rodríguez.
  • Fix platform comparison check in #contains_requirable_file?. Pull
    request #3495 by Benoit Daloze.
  • Improve missing spec error. Pull request #3559 by Luis Sagastume.
  • Fix hidden bundler template installation from rubygems updater. Pull
    request #3674 by David Rodríguez.
  • Fix gem update --user-install. Pull request #2901 by Luis Sagastume.
  • Correct conflict list when uninstallation is prevented. Pull request
    #2973 by David Rodríguez.
  • Fix error when trying to find bundler with a deleted "working directo….
    Pull request #3090 by Luis Sagastume.
  • Fix -I require priority. Pull request #3124 by David Rodríguez.
  • Fix ruby setup.rb for new plugins layout. Pull request #3144 by David
    Rodríguez.

Deprecations:

  • Set deprecation warning on query command. Pull request #2967 by Luis
    Sagastume.

Breaking changes:

  • Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
  • Minitest cleanup. Pull request #3445 by David Rodríguez.
  • Remove builder gem requirement for gem regenerate_index. Pull
    request #3552 by David Rodríguez.
  • Remove modelines for consistency. Pull request #3714 by David Rodríguez.
  • Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
    Bart de Water.
  • Remove Gem module deprecated methods. Pull request #3101 by Luis
    Sagastume.
  • Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
  • Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
    Sagastume.
  • Remove dependency installer deprecated methods. Pull request #3106 by
    Luis Sagastume.
  • Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
    Sagastume.
  • Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
    Sagastume.
  • Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
    Luis Sagastume.
  • Remove source_exception from Gem::Exception. Pull request #3112 by Luis
    Sagastume.
  • Requiring rubygems/source_specific_file is deprecated, remove it. Pull
    request #3114 by Luis Sagastume.

bundler-v2.2.0

10 Dec 10:27
d3628e5

Choose a tag to compare

Enhancements:

  • New gem template: prefer require_relative to require #4066
  • Always show underlying error when fetching specs fails #4061
  • Add --all-platforms flag to bundle binstubs to generate binstubs for all platforms #3886
  • Improve gem not found in source error messages #4019
  • Revert resolving all Gemfile platforms automatically #4052
  • Remove extra empty line from README template #4041
  • Lazily load erb #4011

Bug fixes:

  • Fix Bundler::Plugin::API::Source#to_s having empty source type #4084
  • Raise consistent errors with or without bundle exec #4063
  • Fix edge case resulting in a crash when using zeitwerk inside a nested bundle exec invocation #4062
  • Enable specific_platform by default #4015
  • Prevent remove command from deleting gemfile lines that are comments #4045
  • Fix issue with cache_all_platforms and specific_platform configured #4042
  • Fix incorrect error message on Windows #4039
  • Make printed drive letters consistent on Windows #4038
  • Load rubygems plugins from RUBYLIB during bundle install and bundle update #3534
  • Fix specific_platform and cache_all with bundle cache --all-platforms #4022
  • Bring back the possibility to install a plugin from path #4020
  • Move ronn pages to lib #3997
  • Fix fileutils double load when using bundler/inline #3991
  • Accept responses with no etag header #3865

Documentation:

  • Fix typo of bundle-install.1 (v2.1) #4079
  • Add commented out example and more information link to generated gemspec #4034

2.2.0.rc.2 (October 6, 2020)

Minor enhancements:

  • Fix ls-files matching regexp #3845
  • Remove redundant bundler/setup require from spec_helper.rb generated by bundle gem #3791

Bug fixes:

  • Deduplicate spec groups #3965
  • Fix some cases of running bundler on a path including brackets #3854
  • Don't warn when deinit'ing submodules #3969
  • Make bundle clean --force leave default gem executables untouched #3907
  • Prioritize path.system over path when it makes sense #3933
  • Sort requirements in Gem::Requirement to succeed comparison with different order #3889
  • Print bug report template to standard error #3924
  • Restore bundle cache --all in all cases #3914
  • Move shebang to the top of bin/console template #3927
  • Fix platform issues when running under a frozen bundle #3909
  • Fix deprecation messages for bundle install flags, the config should be --local as before #3917
  • Look for absolute path when removing bundler/setup from RUBYOPT in Bundler.unbundled_env method #3877
  • Fix incorrect re-resolution when path gem excluded and not available #3902
  • Fix error when building error message in bundler/inline #3901
  • Fix regression related to locked ruby #3900
  • Expand load paths in standalone setup.rb file #3522
  • Fix broken exception recovery code when installing plugins #3487
  • Fix incorrect build info on development versions of bundler, and on bundler versions installed as a default gem #3778
  • Avoid autoloading openssl to try help with jruby load service issues #3809
  • Fix rake release pushing all local tags instead of only the release tag #3785
  • Fix rake release aborting when credentials file is missing, even if properly configured through XDG #3783

Deprecations:

  • Deprecate bundle cache --all flag #3932

Features:

  • Add bundle fund command #3390

Documentation:

  • Correct grammar in Gemfile docs #3990
  • Fix typo in bundle pristine warning message #3959
  • Improve human readable fallback version of CLI help messages #3921
  • Note CLI flag deprecations in documentation #3915
  • Update man page and deprecation warning for binstubs --all #3872

2.2.0.rc.1 (July 2, 2020)

Major enhancements:

  • Windows support. There's still gotchas and unimplemented features, but a Windows CI is now enforced.
  • Full multiplatform support. Bundler should now seamlessly handle multiplatform Gemfile or gems.rb files.

Features:

  • bundle info now includes gem metadata #7376
  • bundle list --without-group and bundle list --only-group now support space separated list of groups in addition to single groups #7404
  • bundle gem now supports a --rubocop flag that adds the rubocop gem to the new gem layout #6455
  • bundle gem now supports --test-unit in addition to rspec and minitest as a value for its --test option #5521
  • bundle install now uses the available number of processors automatically for concurrent gem install, except for Windows where it still uses a single thread by default #3393 and #3718
  • Report Gitlab CI within bundler user-agent string #3432
  • Add bundle plugin uninstall #3482
  • bundle gem now supports a --ci flag and a gem.ci configuration that adds CI config files for the main CI providers to the generated gem skeleton #3667
  • Allow setting a tag prefix to be used by release tasks #3766

Minor enhancements:

  • bundle outdated now prints output in columns for better readability #4474
  • bundler's release rake task now prints a better message when not being logged in and trying to push a gem #7513
  • BUNDLE_APP_CONFIG environment variable is now documented #7563
  • Original exception is now reported when bundler fails to load OpenSSL #7527
  • RVM specific instructions for recompiling ruby is no longer recommended when bundler fails to load OpenSSL #7597
  • Improve resolver debugging out from resolver #7589 and #7590
  • Clarify bundle config --local docs #3408
  • Make sure to not "leak" to a different bundler install under any circumstances #3595
  • Make sure users messing with $; doesn't affect us #3602
  • Remove explicit psych activation which could potentially lead to packaging-specific issues #3638
  • Deprecate --no-deployment flag and never recommend it #3657
  • bundle gem test framework defaults to the gem.test setting and asks for a value without overwriting configuration if -t without a value is passed explicitly #3544
  • bundle gem now ships with a default .rubocop.yml file and an offense free initial gem skeleton [#3731](https://github.com/rubyge...
Read more

v3.2.0.rc.2

08 Oct 23:35
8f6ed2f

Choose a tag to compare

v3.2.0.rc.2 Pre-release
Pre-release

Minor enhancements:

  • Don't hit the network when installing dependencyless local gemspec. Pull
    request #3968 by deivid-rodriguez
  • Add --force option to gem sources command. Pull request #3956 by
    andy-smith-msm
  • Make --dry-run flag consistent across rubygems commands. Pull request
    #3867 by bronzdoc
  • Disallow downgrades to too old versions. Pull request #3566 by
    deivid-rodriguez
  • Added --platform option to build command. Pull request #3079 by nobu
  • Have "gem update --system" pass through the --silent flag. Pull
    request #3789 by duckinator
  • Add writable check for cache dir. Pull request #3876 by xndcn
  • Warn on duplicate dependency in a specification. Pull request #3864 by
    bronzdoc
  • Fix indentation in gem env. Pull request #3861 by colby-swandale
  • Let more exceptions flow. Pull request #3819 by deivid-rodriguez
  • Ignore internal frames in RubyGems' Kernel#warn. Pull request #3810 by
    eregon

Bug fixes:

  • Append '.gemspec' extension only when it is not present.. Pull request
    #3988 by voxik
  • Install to correct plugins dir when using --build-root. Pull request
    #3972 by deivid-rodriguez
  • Fix --build-root flag under Windows. Pull request #3975 by
    deivid-rodriguez
  • Fix typo_squatting? false positive for rubygems.org itself. Pull
    request #3951 by andy-smith-msm
  • Make --default and --install-dir options to gem install play nice
    together. Pull request #3906 by deivid-rodriguez
  • Add missing fileutils require. Pull request #3911 by deivid-rodriguez
  • Fix false positive warning on Windows when PATH has
    File::ALT_SEPARATOR. Pull request #3829 by deivid-rodriguez
  • Fix Kernel#warn override to handle backtrace location with nil path.
    Pull request #3852 by jeremyevans
  • Don't format executables on gem update --system. Pull request #3811 by
    deivid-rodriguez
  • gem install --user fails with Gem::FilePermissionError on the system
    plugins directory. Pull request #3804 by nobu

Performance:

  • Don't change ruby process CWD when building extensions. Pull request
    #3498 by deivid-rodriguez
  • Avoid duplicated generation of APISpecification objects. Pull request
    #3940 by mame
  • Eval defaults with frozen_string_literal: true. Pull request #3847 by
    casperisfine
  • Deduplicate the requirement operators in memory. Pull request #3846 by
    casperisfine
  • Optimize Gem.already_loaded?. Pull request #3793 by casperisfine

bundler-v2.2.0.rc.2

07 Oct 19:53
d7c0467

Choose a tag to compare

bundler-v2.2.0.rc.2 Pre-release
Pre-release

Minor enhancements:

  • Fix ls-files matching regexp #3845
  • Remove redundant bundler/setup require from spec_helper.rb generated by bundle gem #3791

Bug fixes:

  • Deduplicate spec groups #3965
  • Fix some cases of running bundler on a path including brackets #3854
  • Don't warn when deinit'ing submodules #3969
  • Make bundle clean --force leave default gem executables untouched #3907
  • Prioritize path.system over path when it makes sense #3933
  • Sort requirements in Gem::Requirement to succeed comparison with different order #3889
  • Print bug report template to standard error #3924
  • Restore bundle cache --all in all cases #3914
  • Move shebang to the top of bin/console template #3927
  • Fix platform issues when running under a frozen bundle #3909
  • Fix deprecation messages for bundle install flags, the config should be --local as before #3917
  • Look for absolute path when removing bundler/setup from RUBYOPT in Bundler.unbundled_env method #3877
  • Fix incorrect re-resolution when path gem excluded and not available #3902
  • Fix error when building error message in bundler/inline #3901
  • Fix regression related to locked ruby #3900
  • Expand load paths in standalone setup.rb file #3522
  • Fix broken exception recovery code when installing plugins #3487
  • Fix incorrect build info on development versions of bundler, and on bundler versions installed as a default gem #3778
  • Avoid autoloading openssl to try help with jruby load service issues #3809
  • Fix rake release pushing all local tags instead of only the release tag #3785
  • Fix rake release aborting when credentials file is missing, even if properly configured through XDG #3783

Deprecations:

  • Deprecate bundle cache --all flag #3932

Features:

  • Add bundle fund command #3390

Documentation:

  • Correct grammar in Gemfile docs #3990
  • Fix typo in bundle pristine warning message #3959
  • Improve human readable fallback version of CLI help messages #3921
  • Note CLI flag deprecations in documentation #3915
  • Update man page and deprecation warning for binstubs --all #3872

2.2.0.rc.1 (July 2, 2020)

Major enhancements:

  • Windows support. There's still gotchas and unimplemented features, but a Windows CI is now enforced.
  • Full multiplatform support. Bundler should now seamlessly handle multiplatform Gemfile or gems.rb files.

Features:

  • bundle info now includes gem metadata #7376
  • bundle list --without-group and bundle list --only-group now support space separated list of groups in addition to single groups #7404
  • bundle gem now supports a --rubocop flag that adds the rubocop gem to the new gem layout #6455
  • bundle gem now supports --test-unit in addition to rspec and minitest as a value for its --test option #5521
  • bundle install now uses the available number of processors automatically for concurrent gem install, except for Windows where it still uses a single thread by default #3393 and #3718
  • Report Gitlab CI within bundler user-agent string #3432
  • Add bundle plugin uninstall #3482
  • bundle gem now supports a --ci flag and a gem.ci configuration that adds CI config files for the main CI providers to the generated gem skeleton #3667
  • Allow setting a tag prefix to be used by release tasks #3766

Minor enhancements:

  • bundle outdated now prints output in columns for better readability #4474
  • bundler's release rake task now prints a better message when not being logged in and trying to push a gem #7513
  • BUNDLE_APP_CONFIG environment variable is now documented #7563
  • Original exception is now reported when bundler fails to load OpenSSL #7527
  • RVM specific instructions for recompiling ruby is no longer recommended when bundler fails to load OpenSSL #7597
  • Improve resolver debugging out from resolver #7589 and #7590
  • Clarify bundle config --local docs #3408
  • Make sure to not "leak" to a different bundler install under any circumstances #3595
  • Make sure users messing with $; doesn't affect us #3602
  • Remove explicit psych activation which could potentially lead to packaging-specific issues #3638
  • Deprecate --no-deployment flag and never recommend it #3657
  • bundle gem test framework defaults to the gem.test setting and asks for a value without overwriting configuration if -t without a value is passed explicitly #3544
  • bundle gem now ships with a default .rubocop.yml file and an offense free initial gem skeleton #3731, #3740, #3765
  • Remove some requires that might workaround some autoloading issues on jruby #3771
  • Unswallow an error that should make some random crashes on jruby easier to troubleshoot #3774

Bug fixes:

  • Fix bundle pristine removing gems with local overrides. Be conservative by printing a warning and skipping the removal #7423
  • Fix multiplaform resolution edge cases #7522 and #7578
  • Fix ruby version conflicts not displaying the current ruby version 7559
  • Fix Gemfile or gems.rb files containing :path gems using relative paths not working when the app is packaged as a jar with warbler #7614
  • Fix config location edge case where if BUNDLE_APP_CONFIG is set to an absolute path like in official ruby docker images, and there's no Gemfile up in the directory hierarchy, bundler would end up using the default config location instead of the customized one #7622
  • Fix error message about missing permissions recommending a deprecated command #7633
  • Fix init_gems_rb setting being ignored by bundle gem #7629
  • Fix "unresolvable warning" being printed on bundle install of multipliplatform Gemfile or gems.rb files without lockfiles, multiplatform is now managed automatically #7580
  • Fix setting the number of --jobs to be one unit less than specified to the CLI #3393
  • Fix extension building when the same git source specifies several gems with extensions #3475
  • Fix uninitialized instance variable warning under ruby-head (2.8-dev) #3477
  • Fix double chdir warning while installing a git gem with extensions #3479
  • Fix some deprecations not showing up when CLI flags passed as --flag=value #3561
  • Fix man pages display when bundler installed as a default gem #3562
  • Fix bundler gem tasks not handling re...
Read more

v3.2.0.rc.1

07 Jul 12:02
1a19643

Choose a tag to compare

v3.2.0.rc.1 Pre-release
Pre-release

Major enhancements:

  • Test TruffleRuby in CI. Pull request #2797 by Benoit Daloze.
  • Rework plugins system and speed up rubygems. Pull request #3108 by David
    Rodríguez.

Minor enhancements:

  • Specify explicit separator not to be affected by $;. Pull request #3424
    by Nobuyoshi Nakada.
  • Enable Layout/ExtraSpacing cop. Pull request #3449 by David Rodríguez.
  • Rollback gem deprecate. Pull request #3530 by Luis Sagastume.
  • Normalize heredoc delimiters. Pull request #3533 by David Rodríguez.
  • Log messages to stdout in rake package. Pull request #3632 by David
    Rodríguez.
  • Remove explicit psych activation. Pull request #3636 by David
    Rodríguez.
  • Delay fileutils loading to fix some warnings. Pull request #3637 by
    David Rodríguez.
  • Make sure rubygems/package can be directly required reliably. Pull
    request #3670 by Luis Sagastume.
  • Make sure tmp folder exists before calling Dir.tmpdir. Pull request
    #3711 by David Rodríguez.
  • Add Gem.disable_system_update_message to disable gem update --system if
    needed. Pull request #3720 by Josef Šimánek.
  • Tweaks to play nice with ruby-core setup. Pull request #3733 by David
    Rodríguez.
  • Remove explicit require for auto-loaded constant. Pull request #3751 by
    Karol Bucek.
  • Test files should not be included in spec.files. Pull request #3758 by
    Marc-André Lafortune.
  • Remove TODO comment about warning on setting instead of pushing. Pull
    request #2823 by Luis Sagastume.
  • Add deprecate command method. Pull request #2935 by Luis Sagastume.
  • Simplify deprecate command method. Pull request #2974 by Luis Sagastume.
  • Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
    #2985 by MSP-Greg.
  • Add funding_uri metadata field to gemspec. Pull request #3060 by
    Colby Swandale.
  • Updates to some old gem-signing docs. Pull request #3063 by Tieg
    Zaharia.
  • Update the gem method for Gem::Installer. Pull request #3137 by Daniel
    Berger.
  • Simplify initial gem help output. Pull request #3148 by Olivier Lacan.
  • Resolve latest version via gem contents. Pull request #3149 by Dan
    Rice.
  • Install suggestions. Pull request #3151 by Sophia Castellarin.
  • Only rescue the errors we actually want to rescue. Pull request #3156 by
    David Rodríguez.

Bug fixes:

  • Accept not only /usr/bin/env but also /bin/env in some tests. Pull
    request #3422 by Yusuke Endoh.
  • Skip a test that attempts to remove the current directory on Solaris.
    Pull request #3423 by Yusuke Endoh.
  • Fix race condition on bundler's parallel installer. Pull request #3440
    by David Rodríguez.
  • Fix platform comparison check in #contains_requirable_file?. Pull
    request #3495 by Benoit Daloze.
  • Improve missing spec error. Pull request #3559 by Luis Sagastume.
  • Fix hidden bundler template installation from rubygems updater. Pull
    request #3674 by David Rodríguez.
  • Fix gem update --user-install. Pull request #2901 by Luis Sagastume.
  • Correct conflict list when uninstallation is prevented. Pull request
    #2973 by David Rodríguez.
  • Fix error when trying to find bundler with a deleted "working directo….
    Pull request #3090 by Luis Sagastume.
  • Fix -I require priority. Pull request #3124 by David Rodríguez.
  • Fix ruby setup.rb for new plugins layout. Pull request #3144 by David
    Rodríguez.

Compatibility changes:

  • Revert "Remove Gem::DependencyInstaller#find_gems_with_sources". Pull
    request #3412 by David Rodríguez.
  • Version horizon deprecations. Pull request #3414 by Luis Sagastume.
  • Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
  • Minitest cleanup. Pull request #3445 by David Rodríguez.
  • Remove builder gem requirement for gem regenerate_index. Pull
    request #3552 by David Rodríguez.
  • Remove modelines for consistency. Pull request #3714 by David Rodríguez.
  • Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
    Bart de Water.
  • Remove Gem module deprecated methods. Pull request #3101 by Luis
    Sagastume.
  • Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
  • Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
    Sagastume.
  • Remove dependency installer deprecated methods. Pull request #3106 by
    Luis Sagastume.
  • Set deprecation warning on query command. Pull request #2967 by Luis
    Sagastume.
  • Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
    Sagastume.
  • Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
    Sagastume.
  • Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
    Luis Sagastume.
  • Remove source_exception from Gem::Exception. Pull request #3112 by Luis
    Sagastume.
  • Requiring rubygems/source_specific_file is deprecated, remove it. Pull
    request #3114 by Luis Sagastume.

bundler-v2.2.0.rc.1

02 Jul 12:07
0173758

Choose a tag to compare

bundler-v2.2.0.rc.1 Pre-release
Pre-release

Highlights:

  • Windows support. There's still gotchas and unimplemented features, but a Windows CI is now enforced.
  • Full multiplatform support. Bundler should now seamlessly handle multiplatform Gemfile or gems.rb files.

Features:

  • bundle info now includes gem metadata #7376
  • bundle list --without-group and bundle list --only-group now support space separated list of groups in addition to single groups #7404
  • bundle gem now supports a --rubocop flag that adds the rubocop gem to the new gem layout #6455
  • bundle gem now supports --test-unit in addition to rspec and minitest as a value for its --test option #5521
  • bundle install now uses the available number of processors automatically for concurrent gem install, except for Windows where it still uses a single thread by default #3393 and #3718
  • Report Gitlab CI within bundler user-agent string #3432
  • Add bundle plugin uninstall #3482
  • bundle gem now supports a --ci flag and a gem.ci configuration that adds CI config files for the main CI providers to the generated gem skeleton #3667
  • Allow setting a tag prefix to be used by release tasks #3766

Improvements:

  • bundle outdated now prints output in columns for better readability #4474
  • bundler's release rake task now prints a better message when not being logged in and trying to push a gem #7513
  • BUNDLE_APP_CONFIG environment variable is now documented #7563
  • Original exception is now reported when bundler fails to load OpenSSL #7527
  • RVM specific instructions for recompiling ruby is no longer recommended when bundler fails to load OpenSSL #7597
  • Improve resolver debugging out from resolver #7589 and #7590
  • Clarify bundle config --local docs #3408
  • Make sure to not "leak" to a different bundler install under any circumstances #3595
  • Make sure users messing with $; doesn't affect us #3602
  • Remove explicit psych activation which could potentially lead to packaging-specific issues #3638
  • Deprecate --no-deployment flag and never recommend it #3657
  • bundle gem test framework defaults to the gem.test setting and asks for a value without overwriting configuration if -t without a value is passed explicitly #3544
  • bundle gem now ships with a default .rubocop.yml file and an offense free initial gem skeleton #3731, #3740, #3765
  • Remove some requires that might workaround some autoloading issues on jruby #3771
  • Unswallow an error that should make some random crashes on jruby easier to troubleshoot #3774

Bugfixes:

  • Fix bundle pristine removing gems with local overrides. Be conservative by printing a warning and skipping the removal #7423
  • Fix multiplaform resolution edge cases #7522 and #7578
  • Fix ruby version conflicts not displaying the current ruby version 7559
  • Fix Gemfile or gems.rb files containing :path gems using relative paths not working when the app is packaged as a jar with warbler #7614
  • Fix config location edge case where if BUNDLE_APP_CONFIG is set to an absolute path like in official ruby docker images, and there's no Gemfile up in the directory hierarchy, bundler would end up using the default config location instead of the customized one #7622
  • Fix error message about missing permissions recommending a deprecated command #7633
  • Fix init_gems_rb setting being ignored by bundle gem #7629
  • Fix "unresolvable warning" being printed on bundle install of multipliplatform Gemfile or gems.rb files without lockfiles, multiplatform is now managed automatically #7580
  • Fix setting the number of --jobs to be one unit less than specified to the CLI #3393
  • Fix extension building when the same git source specifies several gems with extensions #3475
  • Fix uninitialized instance variable warning under ruby-head (2.8-dev) #3477
  • Fix double chdir warning while installing a git gem with extensions #3479
  • Fix some deprecations not showing up when CLI flags passed as --flag=value #3561
  • Fix man pages display when bundler installed as a default gem #3562
  • Fix bundler gem tasks not handling relative paths #3586
  • Fix deprecation warnings when options the dashed names are used, such as --no-prune #3623
  • Fix crash related to bundler gem activation under old rubygems version (2.6.1 or older) #3626
  • Avoid stack overflow inside StubSpecification on some edge cases #3635
  • Fix bundle remove with multiline gem specifications #3400
  • Fix bundle info not informing about deleted gems as opposed to old bundle show #3509
  • The --no-deployment flag to bundle install was deprecated just like the other flags that rely on their value being remembered #3657
  • Fix bundle install unintentionally copying with and without global config to local configuration #3666. This PR also address the BUNDLE_WITH environment variable unintentionally being persisted to configuration in a similar way (#3708)
  • Fix race condition in bundle install that could "empty" exceptions to be raised #3669
  • Fix --no-cache to bundle install being unintentionally deprecated #3688
  • Avoid calling LoadError#message to fix performance regression in future ruby 2.8 #3762