bundler-v2.2.2
deivid-rodriguez
released this
17 Dec 16:41
·
556 commits
to 3.2
since this release
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
torequire
#4066 - Always show underlying error when fetching specs fails #4061
- Add
--all-platforms
flag tobundle 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 nestedbundle 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
andspecific_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
andbundle update
#3534 - Fix
specific_platform
andcache_all
withbundle 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 fromspec_helper.rb
generated bybundle 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
overpath
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
orgems.rb
files.
Enhancements:
bundle info
now includes gem metadata #7376bundle list --without-group
andbundle list --only-group
now support space separated list of groups in addition to single groups #7404bundle gem
now supports a--rubocop
flag that adds therubocop
gem to the new gem layout #6455bundle gem
now supports--test-unit
in addition torspec
andminitest
as a value for its--test
option #5521bundle 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 agem.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 - 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 thegem.test
setting and asks for a value without overwriting configuration if-t
without a value is passed explicitly #3544bundle 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
orgems.rb
files containing:path
gems using relative paths not working when the app is packaged as ajar
withwarbler
#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 bybundle gem
#7629 - Fix "unresolvable warning" being printed on
bundle install
of multipliplatformGemfile
orgems.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 oldbundle show
#3509 - The
--no-deployment
flag tobundle install
was deprecated just like the other flags that rely on their value being remembered #3657 - Fix
bundle install
unintentionally copyingwith
andwithout
global config to local configuration #3666. This PR also address theBUNDLE_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
tobundle install
being unintentionally deprecated #3688 - Avoid calling
LoadError#message
to fix performance regression in future ruby 3.0 #3762