rubygems-update 4.1.0.beta3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -135
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/checksum.rb +8 -2
- data/lib/bundler/cli/clean.rb +19 -3
- data/lib/bundler/cli/exec.rb +1 -1
- data/lib/bundler/cli/install.rb +1 -1
- data/lib/bundler/cli/lock.rb +12 -0
- data/lib/bundler/cli/update.rb +1 -1
- data/lib/bundler/cli.rb +2 -0
- data/lib/bundler/definition.rb +125 -3
- data/lib/bundler/dsl.rb +6 -2
- data/lib/bundler/errors.rb +8 -0
- data/lib/bundler/fetcher/downloader.rb +7 -3
- data/lib/bundler/index.rb +7 -2
- data/lib/bundler/inline.rb +16 -8
- data/lib/bundler/installer.rb +19 -0
- data/lib/bundler/lazy_specification.rb +42 -25
- data/lib/bundler/lockfile_generator.rb +21 -9
- data/lib/bundler/lockfile_parser.rb +21 -5
- data/lib/bundler/man/bundle-lock.1 +7 -1
- data/lib/bundler/man/bundle-lock.1.ronn +10 -0
- data/lib/bundler/man/bundle-plugin.1 +61 -0
- data/lib/bundler/man/bundle-plugin.1.ronn +84 -0
- data/lib/bundler/man/gemfile.5 +3 -1
- data/lib/bundler/man/gemfile.5.ronn +11 -3
- data/lib/bundler/match_platform.rb +3 -3
- data/lib/bundler/mirror.rb +7 -5
- data/lib/bundler/resolver.rb +2 -0
- data/lib/bundler/ruby_dsl.rb +2 -1
- data/lib/bundler/rubygems_ext.rb +41 -9
- data/lib/bundler/rubygems_integration.rb +2 -4
- data/lib/bundler/runtime.rb +24 -10
- data/lib/bundler/source/git/git_proxy.rb +18 -6
- data/lib/bundler/source/git.rb +0 -2
- data/lib/bundler/spec_set.rb +26 -7
- data/lib/bundler/stub_specification.rb +4 -0
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler/worker.rb +4 -0
- data/lib/bundler.rb +1 -1
- data/lib/rubygems/available_set.rb +0 -27
- data/lib/rubygems/command.rb +0 -9
- data/lib/rubygems/commands/sources_command.rb +0 -12
- data/lib/rubygems/compact_index_client/http_fetcher.rb +3 -1
- data/lib/rubygems/config_file.rb +7 -4
- data/lib/rubygems/content_address.rb +5 -4
- data/lib/rubygems/dependency_installer.rb +0 -10
- data/lib/rubygems/dependency_list.rb +2 -12
- data/lib/rubygems/ext/builder.rb +1 -1
- data/lib/rubygems/package.rb +3 -0
- data/lib/rubygems/remote_fetcher.rb +1 -1
- data/lib/rubygems/requirement.rb +1 -1
- data/lib/rubygems/resolver/dependency_request.rb +0 -8
- data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +11 -6
- data/lib/rubygems/safe_yaml.rb +33 -3
- data/lib/rubygems/specification_policy.rb +3 -1
- data/lib/rubygems/yaml_serializer.rb +128 -46
- data/lib/rubygems.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c879666cb1c4a2400671c7cbb29953f2fbbae02e3f9eaa7a38e125727eef844
|
|
4
|
+
data.tar.gz: 18e7a85d0ceed52d86672bb48642d2a8cc6dec5cabf2cf16744cfc6b50e6bf31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6f491d00d0e92237aec539d6bc24f49c7ccf8580266ecb721f97553965520fe90992715f11cdfc165eb35f60391043beb29a8c00e9ceb5ff1b301cafe86574f
|
|
7
|
+
data.tar.gz: da61e6c25fdf2e78293eb00b9afcff9dadd51d6bf49607167efcebe062b9ff82b86874548eb5c323c68fe18190b7f2a684bd77541ef4f703f19c9195e99c1219
|
data/CHANGELOG.md
CHANGED
|
@@ -2,19 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
Bundler's changelog before 4.0.0, when it was versioned separately from RubyGems, is in [doc/CHANGELOG-bundler-2.x.md](https://github.com/ruby/rubygems/blob/master/doc/CHANGELOG-bundler-2.x.md).
|
|
4
4
|
|
|
5
|
-
## 4.1.0
|
|
5
|
+
## 4.1.0 / 2026-11-16
|
|
6
6
|
|
|
7
7
|
### RubyGems
|
|
8
8
|
|
|
9
|
+
Changes already released in 4.0.x are not repeated here.
|
|
10
|
+
|
|
11
|
+
#### Features:
|
|
12
|
+
|
|
13
|
+
* Support content addressable gems in `Gem::PackageTask`. Pull request [#9897](https://github.com/ruby/rubygems/pull/9897) by Harriet Oughton, Gira Chawda and Jenny Shen
|
|
14
|
+
* Add `--content-addressable` to `gem build` and make `--ruby-abi` only set the Ruby ABI. Pull request [#9906](https://github.com/ruby/rubygems/pull/9906) by Harriet Oughton
|
|
15
|
+
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
16
|
+
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
17
|
+
* Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request [#9697](https://github.com/ruby/rubygems/pull/9697) by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA
|
|
18
|
+
* Preserve non-UTF-8 legacy gem metadata. Pull request [#9835](https://github.com/ruby/rubygems/pull/9835) by Stanislav (Stas) Katkov
|
|
19
|
+
* Add an opt-in OS credential store for gem and bundler credentials. Pull request [#9671](https://github.com/ruby/rubygems/pull/9671) by Hiroshi SHIBATA
|
|
20
|
+
* Add --cooldown to gem install, update and outdated. Pull request [#9734](https://github.com/ruby/rubygems/pull/9734) by Hiroshi SHIBATA
|
|
21
|
+
* Adopt the compact index for gem commands. Pull request [#9606](https://github.com/ruby/rubygems/pull/9606) by Hiroshi SHIBATA
|
|
22
|
+
* Replace Molinillo with PubGrub for dependency resolution. Pull request [#9402](https://github.com/ruby/rubygems/pull/9402) by Matt Larraz and Colby Swandale
|
|
23
|
+
* Replace the rubygems-specific lockfile parser with Bundler's parser. Pull request [#9564](https://github.com/ruby/rubygems/pull/9564) by Hiroshi SHIBATA
|
|
24
|
+
* Remove pessimistic versioning in gem command output. Pull request [#9550](https://github.com/ruby/rubygems/pull/9550) by Jeremy Evans
|
|
25
|
+
* Change Gem::Version#approximate_recommendation to be optimistic. Pull request [#9537](https://github.com/ruby/rubygems/pull/9537) by Jeremy Evans
|
|
26
|
+
* Add `--no-build-extension` and `--no-install-plugin` options to gem install. Pull request [#9473](https://github.com/ruby/rubygems/pull/9473) by Hiroshi SHIBATA
|
|
27
|
+
* Push with auto-attestation. Pull request [#9325](https://github.com/ruby/rubygems/pull/9325) by Hiroshi SHIBATA
|
|
28
|
+
* Implement yaml parser written by pure ruby instead of Psych. Pull request [#9352](https://github.com/ruby/rubygems/pull/9352) by Hiroshi SHIBATA
|
|
29
|
+
* Honor concurrent_downloads from .gemrc in Gem::ConfigFile. Pull request [#9339](https://github.com/ruby/rubygems/pull/9339) by Andrii Furmanets
|
|
30
|
+
* Add support for custom error response from external registries. Pull request [#9270](https://github.com/ruby/rubygems/pull/9270) by Luis J. Gonzalez
|
|
31
|
+
* Add global gem cache shared by RubyGems and Bundler. Pull request [#9230](https://github.com/ruby/rubygems/pull/9230) by Anthony Panozzo
|
|
32
|
+
* Write gem files atomically. Pull request [#9154](https://github.com/ruby/rubygems/pull/9154) by Eileen
|
|
33
|
+
|
|
34
|
+
#### Performance:
|
|
35
|
+
|
|
36
|
+
* Fix slow and misaligned Bignum loading in Gem::SafeMarshal. Pull request [#10057](https://github.com/ruby/rubygems/pull/10057) by Hiroshi SHIBATA
|
|
37
|
+
* Build Gem::Requirement.default without parsing ">= 0". Pull request [#10002](https://github.com/ruby/rubygems/pull/10002) by Lawrence Lin
|
|
38
|
+
* Remove `verify_gz`. Pull request [#9093](https://github.com/ruby/rubygems/pull/9093) by Eileen
|
|
39
|
+
|
|
9
40
|
#### Enhancements:
|
|
10
41
|
|
|
11
|
-
* Installs bundler 4.1.0
|
|
42
|
+
* Installs bundler 4.1.0 as a default gem.
|
|
12
43
|
|
|
13
|
-
####
|
|
44
|
+
#### Breaking changes:
|
|
14
45
|
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
46
|
+
* Delete some unused internal methods. Pull request [#9827](https://github.com/ruby/rubygems/pull/9827) by Issy Long and Hiroshi SHIBATA
|
|
47
|
+
* Build a platform gem with `gem build --platform` for the local platform. Pull request [#9873](https://github.com/ruby/rubygems/pull/9873) by Hiroshi SHIBATA
|
|
48
|
+
* Fix `gem update --user-install` updating gems outside the user directory. Pull request [#9872](https://github.com/ruby/rubygems/pull/9872) by Hiroshi SHIBATA
|
|
49
|
+
* Stop installing native extension build logs. Pull request [#9700](https://github.com/ruby/rubygems/pull/9700) by Hiroshi SHIBATA
|
|
50
|
+
* Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request [#9842](https://github.com/ruby/rubygems/pull/9842) by Hiroshi SHIBATA
|
|
51
|
+
* Raise an error when building a gem that has a self reference. Pull request [#9392](https://github.com/ruby/rubygems/pull/9392) by Edouard CHIN
|
|
52
|
+
* Revert `DEFAULT_INSTALL_EXTENSION_IN_LIB` and warn `require_relative` with C ext. Pull request [#9390](https://github.com/ruby/rubygems/pull/9390) by Hiroshi SHIBATA
|
|
53
|
+
* Remove deprecated and unused `Gem::List`. Pull request [#9161](https://github.com/ruby/rubygems/pull/9161) by Hiroshi SHIBATA
|
|
18
54
|
|
|
19
55
|
### Bundler
|
|
20
56
|
|
|
@@ -22,73 +58,123 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
22
58
|
|
|
23
59
|
#### Features:
|
|
24
60
|
|
|
61
|
+
* Fix regressions of bundler/inline's forked install. Pull request [#10048](https://github.com/ruby/rubygems/pull/10048) by Hiroshi SHIBATA and Samer Masry
|
|
25
62
|
* Rename the `from:` and `to:` keys of `override` to `in:` and `with:`. Pull request [#9979](https://github.com/ruby/rubygems/pull/9979) by Hiroshi SHIBATA
|
|
26
63
|
* Record overrides in Gemfile.lock (`OVERRIDES` section). Pull request [#9958](https://github.com/ruby/rubygems/pull/9958) by Ufuk Kayserilioglu
|
|
64
|
+
* Let override drop or replace one dependency of a gem. Pull request [#9935](https://github.com/ruby/rubygems/pull/9935) by Hiroshi SHIBATA
|
|
65
|
+
* Add `sparse_checkout` option to git source. Pull request [#9295](https://github.com/ruby/rubygems/pull/9295) by Ian Ker-Seymer and Hiroshi SHIBATA
|
|
66
|
+
* Implement `--exact-match` Flag for `bundle info` / `show` / `open`. Pull request [#9489](https://github.com/ruby/rubygems/pull/9489) by Harriet Oughton
|
|
67
|
+
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
68
|
+
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
69
|
+
* Reject created_at years outside four digits in cooldown parsing. Pull request [#9846](https://github.com/ruby/rubygems/pull/9846) by Hiroshi SHIBATA
|
|
70
|
+
* Add a `prune` setting to drop rebuildable install artifacts. Pull request [#9815](https://github.com/ruby/rubygems/pull/9815) by Hiroshi SHIBATA
|
|
71
|
+
* Add an opt-in OS credential store for gem and bundler credentials. Pull request [#9671](https://github.com/ruby/rubygems/pull/9671) by Hiroshi SHIBATA
|
|
72
|
+
* Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request [#9786](https://github.com/ruby/rubygems/pull/9786) by Hiroshi SHIBATA
|
|
73
|
+
* Reuse RubyGems' compact index client in Bundler. Pull request [#9753](https://github.com/ruby/rubygems/pull/9753) by Hiroshi SHIBATA
|
|
74
|
+
* Reuse RubyGems' vendored PubGrub in Bundler. Pull request [#9752](https://github.com/ruby/rubygems/pull/9752) by Hiroshi SHIBATA
|
|
75
|
+
* Use RubyGems' YAML serializer in Bundler. Pull request [#9751](https://github.com/ruby/rubygems/pull/9751) by Hiroshi SHIBATA
|
|
76
|
+
* Reuse RubyGems' vendored SecureRandom in Bundler. Pull request [#9651](https://github.com/ruby/rubygems/pull/9651) by Hiroshi SHIBATA
|
|
77
|
+
* Reuse RubyGems' vendored URI in Bundler. Pull request [#9650](https://github.com/ruby/rubygems/pull/9650) by Hiroshi SHIBATA
|
|
78
|
+
* Fix two issues by including the ruby platform variants in the lock file. Pull request [#9556](https://github.com/ruby/rubygems/pull/9556) by Randy Stauner
|
|
79
|
+
* Fix plugin installation from gemfile. Pull request [#6957](https://github.com/ruby/rubygems/pull/6957) by Cody Cutrer, Diogo Fernandes and Hiroshi SHIBATA
|
|
80
|
+
* Add plugin hooks for Gemfile evaluation and source fetching. Pull request [#9488](https://github.com/ruby/rubygems/pull/9488) by Hiroshi SHIBATA, Cody Cutrer and Marv
|
|
81
|
+
* Use optimistic version constraints in bundle gem output. Pull request [#9533](https://github.com/ruby/rubygems/pull/9533) by Jeremy Evans
|
|
82
|
+
* Extend Gemfile `override` DSL with `:all` target and metadata fields (Phase 2). Pull request [#9530](https://github.com/ruby/rubygems/pull/9530) by Hiroshi SHIBATA
|
|
83
|
+
* Switch bundle add to use optimistic versioning by default. Pull request [#9526](https://github.com/ruby/rubygems/pull/9526) by Jeremy Evans
|
|
84
|
+
* Add Gemfile `override` DSL for version constraints (Phase 1). Pull request [#9517](https://github.com/ruby/rubygems/pull/9517) by Hiroshi SHIBATA
|
|
85
|
+
* Add `--no-build-extension` and `--no-install-plugin` options to gem install. Pull request [#9473](https://github.com/ruby/rubygems/pull/9473) by Hiroshi SHIBATA
|
|
86
|
+
* Include detailed dependencies when gemfile and lockfile are conflicts. Pull request [#9332](https://github.com/ruby/rubygems/pull/9332) by Hiroshi SHIBATA
|
|
87
|
+
* Implement relative path handling for plugin paths. Pull request [#9299](https://github.com/ruby/rubygems/pull/9299) by Hiroshi SHIBATA
|
|
88
|
+
* Bundler/inline: perform installation from a forked child. Pull request [#7941](https://github.com/ruby/rubygems/pull/7941) by Jean Boussier and Hiroshi SHIBATA
|
|
89
|
+
* Add global gem cache shared by RubyGems and Bundler. Pull request [#9230](https://github.com/ruby/rubygems/pull/9230) by Anthony Panozzo
|
|
90
|
+
* Update custom errors with Exception#full_message. Pull request [#8488](https://github.com/ruby/rubygems/pull/8488) by neimadTL
|
|
91
|
+
|
|
92
|
+
#### Performance:
|
|
93
|
+
|
|
94
|
+
* Skip loading default gemspecs the bundle already has. Pull request [#10000](https://github.com/ruby/rubygems/pull/10000) by Lawrence Lin
|
|
95
|
+
* Add a lockfile source's spec names once, after parsing. Pull request [#10004](https://github.com/ruby/rubygems/pull/10004) by Lawrence Lin
|
|
96
|
+
* Look up a dependency's specs by name in SpecSet#validate_deps. Pull request [#9999](https://github.com/ruby/rubygems/pull/9999) by Lawrence Lin
|
|
97
|
+
* Delegate contains_requirable_file? to the stub in Bundler::StubSpecification. Pull request [#9997](https://github.com/ruby/rubygems/pull/9997) by Lawrence Lin
|
|
98
|
+
* Autoload the vendored FileUtils. Pull request [#10001](https://github.com/ruby/rubygems/pull/10001) by Lawrence Lin
|
|
99
|
+
* Use separate Bundler download and installation workers. Pull request [#9777](https://github.com/ruby/rubygems/pull/9777) by Joshua Young
|
|
100
|
+
* Cache a shared git source only once per command. Pull request [#9689](https://github.com/ruby/rubygems/pull/9689) by Hiroshi SHIBATA
|
|
101
|
+
|
|
102
|
+
#### Enhancements:
|
|
103
|
+
|
|
104
|
+
* Warn about downgrading default gems in bundle install. Pull request [#10026](https://github.com/ruby/rubygems/pull/10026) by Kazuki Yamaguchi
|
|
27
105
|
|
|
28
106
|
#### Bug fixes:
|
|
29
107
|
|
|
30
|
-
*
|
|
31
|
-
* Add checksums after platform changes in `bundle lock`. Pull request [#9960](https://github.com/ruby/rubygems/pull/9960) by Farid Zakaria
|
|
32
|
-
* Apply BUNDLE_RETRY to lazy gemspec downloads. Pull request [#9868](https://github.com/ruby/rubygems/pull/9868) by Islam Elsayed
|
|
33
|
-
* Fix file locks letting multiple processes in when lock files are removed. Pull request [#9930](https://github.com/ruby/rubygems/pull/9930) by Richard Janita and Hiroshi SHIBATA
|
|
108
|
+
* Fix Bundler mirror probing with `fallback_timeout`. Pull request [#10046](https://github.com/ruby/rubygems/pull/10046) by Hiroshi SHIBATA
|
|
34
109
|
* Preload git sources that share a cache one after another. Pull request [#9951](https://github.com/ruby/rubygems/pull/9951) by Shai
|
|
35
110
|
|
|
36
|
-
|
|
111
|
+
#### Breaking changes:
|
|
112
|
+
|
|
113
|
+
* Report permission errors from bundle clean. Pull request [#9772](https://github.com/ruby/rubygems/pull/9772) by Florian Meyer and Hiroshi SHIBATA
|
|
114
|
+
* Remove external tool version checks from `bundle env`. Pull request [#9593](https://github.com/ruby/rubygems/pull/9593) by Hiroshi SHIBATA
|
|
115
|
+
* Bundler: ignore patchlevel kwarg in ruby DSL. Pull request [#6023](https://github.com/ruby/rubygems/pull/6023) by Takuya N and Hiroshi SHIBATA
|
|
116
|
+
* Unify RubyGems and Bundler documentation. Pull request [#9237](https://github.com/ruby/rubygems/pull/9237) by Hiroshi SHIBATA
|
|
117
|
+
|
|
118
|
+
#### Deprecations:
|
|
119
|
+
|
|
120
|
+
* Rename the no_prune setting to keep_outdated_cache. Pull request [#9816](https://github.com/ruby/rubygems/pull/9816) by Hiroshi SHIBATA
|
|
121
|
+
|
|
122
|
+
## 4.0.24 / 2026-11-05
|
|
37
123
|
|
|
38
124
|
### RubyGems
|
|
39
125
|
|
|
40
126
|
#### Enhancements:
|
|
41
127
|
|
|
42
|
-
*
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
128
|
+
* Installs bundler 4.0.24 as a default gem.
|
|
129
|
+
|
|
130
|
+
#### Bug fixes:
|
|
131
|
+
|
|
132
|
+
* Skip executable removal gracefully when the bin directory is missing. Pull request [#9963](https://github.com/ruby/rubygems/pull/9963) by Evan Li and Hiroshi SHIBATA
|
|
133
|
+
* Fix file locks letting multiple processes in when lock files are removed. Pull request [#9930](https://github.com/ruby/rubygems/pull/9930) by Richard Janita and Hiroshi SHIBATA
|
|
134
|
+
* Turn off echo before printing the password prompt. Pull request [#9969](https://github.com/ruby/rubygems/pull/9969) by Mike Dalessio
|
|
135
|
+
|
|
136
|
+
#### Documentation:
|
|
137
|
+
|
|
138
|
+
* [DOC] Fix link. Pull request [#10014](https://github.com/ruby/rubygems/pull/10014) by Burdette Lamar
|
|
46
139
|
|
|
47
140
|
### Bundler
|
|
48
141
|
|
|
49
142
|
#### Enhancements:
|
|
50
143
|
|
|
51
|
-
*
|
|
144
|
+
* Read the Ruby version from mise's inline table form. Pull request [#9991](https://github.com/ruby/rubygems/pull/9991) by Hiroshi SHIBATA
|
|
145
|
+
* Report which locked gems can't be materialized for the current platform. Pull request [#9738](https://github.com/ruby/rubygems/pull/9738) by Muhammad Moussa
|
|
52
146
|
|
|
53
147
|
#### Bug fixes:
|
|
54
148
|
|
|
55
|
-
*
|
|
56
|
-
* Respect
|
|
149
|
+
* Fix `bundle exec` with no arguments for paths containing spaces. Pull request [#9996](https://github.com/ruby/rubygems/pull/9996) by Brandon Weiss
|
|
150
|
+
* Respect enclosing platforms and install_if for gemspec development dependencies. Pull request [#9992](https://github.com/ruby/rubygems/pull/9992) by Hiroshi SHIBATA
|
|
151
|
+
* Respect enclosing group and platforms for gemspec dependencies. Pull request [#9990](https://github.com/ruby/rubygems/pull/9990) by Denis Talakevich
|
|
152
|
+
* Don't report locked gems in the cooldown summary. Pull request [#9981](https://github.com/ruby/rubygems/pull/9981) by Patrik Ragnarsson
|
|
153
|
+
* Make `Bundler::Source::Rubygems#hash` agree with `eql?`. Pull request [#9983](https://github.com/ruby/rubygems/pull/9983) by Hiroshi SHIBATA
|
|
154
|
+
* Add checksums after platform changes in `bundle lock`. Pull request [#9960](https://github.com/ruby/rubygems/pull/9960) by Farid Zakaria
|
|
155
|
+
* Apply BUNDLE_RETRY to lazy gemspec downloads. Pull request [#9868](https://github.com/ruby/rubygems/pull/9868) by Islam Elsayed
|
|
156
|
+
* Fix file locks letting multiple processes in when lock files are removed. Pull request [#9930](https://github.com/ruby/rubygems/pull/9930) by Richard Janita and Hiroshi SHIBATA
|
|
57
157
|
|
|
58
|
-
## 4.
|
|
158
|
+
## 4.0.23 / 2026-10-14
|
|
59
159
|
|
|
60
160
|
### RubyGems
|
|
61
161
|
|
|
62
|
-
Changes already released in 4.0.x are not repeated here.
|
|
63
|
-
|
|
64
|
-
#### Features:
|
|
65
|
-
|
|
66
|
-
* Support content addressable gems in `Gem::PackageTask`. Pull request [#9897](https://github.com/ruby/rubygems/pull/9897) by Harriet Oughton, Gira Chawda and Jenny Shen
|
|
67
|
-
* Add `--content-addressable` to `gem build` and make `--ruby-abi` only set the Ruby ABI. Pull request [#9906](https://github.com/ruby/rubygems/pull/9906) by Harriet Oughton
|
|
68
|
-
|
|
69
162
|
#### Enhancements:
|
|
70
163
|
|
|
164
|
+
* Update vendored gems to latest versions. Pull request [#9948](https://github.com/ruby/rubygems/pull/9948) by Hiroshi SHIBATA
|
|
71
165
|
* Drop setuid, setgid and sticky bits when extracting gems. Pull request [#9929](https://github.com/ruby/rubygems/pull/9929) by Hiroshi SHIBATA
|
|
72
166
|
* Improve handling of paths with invalid Windows characters. Pull request [#9276](https://github.com/ruby/rubygems/pull/9276) by Said Kaldybaev and Hiroshi SHIBATA
|
|
73
|
-
* Installs bundler 4.
|
|
74
|
-
|
|
75
|
-
#### Breaking changes:
|
|
76
|
-
|
|
77
|
-
* Build a platform gem with `gem build --platform` for the local platform. Pull request [#9873](https://github.com/ruby/rubygems/pull/9873) by Hiroshi SHIBATA
|
|
78
|
-
* Fix `gem update --user-install` updating gems outside the user directory. Pull request [#9872](https://github.com/ruby/rubygems/pull/9872) by Hiroshi SHIBATA
|
|
167
|
+
* Installs bundler 4.0.23 as a default gem.
|
|
79
168
|
|
|
80
169
|
### Bundler
|
|
81
170
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
#### Features:
|
|
171
|
+
#### Enhancements:
|
|
85
172
|
|
|
86
|
-
*
|
|
87
|
-
* Add `sparse_checkout` option to git source. Pull request [#9295](https://github.com/ruby/rubygems/pull/9295) by Ian Ker-Seymer and Hiroshi SHIBATA
|
|
88
|
-
* Implement `--exact-match` Flag for `bundle info` / `show` / `open`. Pull request [#9489](https://github.com/ruby/rubygems/pull/9489) by Harriet Oughton
|
|
173
|
+
* Update vendored gems to latest versions. Pull request [#9948](https://github.com/ruby/rubygems/pull/9948) by Hiroshi SHIBATA
|
|
89
174
|
|
|
90
175
|
#### Bug fixes:
|
|
91
176
|
|
|
177
|
+
* Stop retrying a 416 response to a request without Range. Pull request [#9938](https://github.com/ruby/rubygems/pull/9938) by Hiroshi SHIBATA
|
|
92
178
|
* Respect Gemfile lockfile in `bundle lock`. Pull request [#9661](https://github.com/ruby/rubygems/pull/9661) by David Stosik and Hiroshi SHIBATA
|
|
93
179
|
|
|
94
180
|
## 4.0.22 / 2026-09-30
|
|
@@ -146,103 +232,6 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
146
232
|
* Stop resolving locally for empty CHECKSUMS entries. Pull request [#9862](https://github.com/ruby/rubygems/pull/9862) by Hiroshi SHIBATA
|
|
147
233
|
* Expand the git source gemspec path before the chdir. Pull request [#9845](https://github.com/ruby/rubygems/pull/9845) by Hiroshi SHIBATA
|
|
148
234
|
|
|
149
|
-
## 4.1.0.beta1 / 2026-09-09
|
|
150
|
-
|
|
151
|
-
### RubyGems
|
|
152
|
-
|
|
153
|
-
Changes already released in 4.0.x are not repeated here.
|
|
154
|
-
|
|
155
|
-
#### Features:
|
|
156
|
-
|
|
157
|
-
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
158
|
-
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
159
|
-
* Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request [#9697](https://github.com/ruby/rubygems/pull/9697) by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA
|
|
160
|
-
* Preserve non-UTF-8 legacy gem metadata. Pull request [#9835](https://github.com/ruby/rubygems/pull/9835) by Stanislav (Stas) Katkov
|
|
161
|
-
* Add an opt-in OS credential store for gem and bundler credentials. Pull request [#9671](https://github.com/ruby/rubygems/pull/9671) by Hiroshi SHIBATA
|
|
162
|
-
* Add --cooldown to gem install, update and outdated. Pull request [#9734](https://github.com/ruby/rubygems/pull/9734) by Hiroshi SHIBATA
|
|
163
|
-
* Adopt the compact index for gem commands. Pull request [#9606](https://github.com/ruby/rubygems/pull/9606) by Hiroshi SHIBATA
|
|
164
|
-
* Replace Molinillo with PubGrub for dependency resolution. Pull request [#9402](https://github.com/ruby/rubygems/pull/9402) by Matt Larraz and Colby Swandale
|
|
165
|
-
* Replace the rubygems-specific lockfile parser with Bundler's parser. Pull request [#9564](https://github.com/ruby/rubygems/pull/9564) by Hiroshi SHIBATA
|
|
166
|
-
* Remove pessimistic versioning in gem command output. Pull request [#9550](https://github.com/ruby/rubygems/pull/9550) by Jeremy Evans
|
|
167
|
-
* Change Gem::Version#approximate_recommendation to be optimistic. Pull request [#9537](https://github.com/ruby/rubygems/pull/9537) by Jeremy Evans
|
|
168
|
-
* Add `--no-build-extension` and `--no-install-plugin` options to gem install. Pull request [#9473](https://github.com/ruby/rubygems/pull/9473) by Hiroshi SHIBATA
|
|
169
|
-
* Push with auto-attestation. Pull request [#9325](https://github.com/ruby/rubygems/pull/9325) by Hiroshi SHIBATA
|
|
170
|
-
* Implement yaml parser written by pure ruby instead of Psych. Pull request [#9352](https://github.com/ruby/rubygems/pull/9352) by Hiroshi SHIBATA
|
|
171
|
-
* Honor concurrent_downloads from .gemrc in Gem::ConfigFile. Pull request [#9339](https://github.com/ruby/rubygems/pull/9339) by Andrii Furmanets
|
|
172
|
-
* Add support for custom error response from external registries. Pull request [#9270](https://github.com/ruby/rubygems/pull/9270) by Luis J. Gonzalez
|
|
173
|
-
* Add global gem cache shared by RubyGems and Bundler. Pull request [#9230](https://github.com/ruby/rubygems/pull/9230) by Anthony Panozzo
|
|
174
|
-
* Write gem files atomically. Pull request [#9154](https://github.com/ruby/rubygems/pull/9154) by Eileen
|
|
175
|
-
|
|
176
|
-
#### Performance:
|
|
177
|
-
|
|
178
|
-
* Remove `verify_gz`. Pull request [#9093](https://github.com/ruby/rubygems/pull/9093) by Eileen
|
|
179
|
-
|
|
180
|
-
#### Enhancements:
|
|
181
|
-
|
|
182
|
-
* Normalize absolute symlink targets during gem extraction. Pull request [#9860](https://github.com/ruby/rubygems/pull/9860) by Hiroshi SHIBATA
|
|
183
|
-
* Installs bundler 4.1.0.beta1 as a default gem.
|
|
184
|
-
|
|
185
|
-
#### Breaking changes:
|
|
186
|
-
|
|
187
|
-
* Stop installing native extension build logs. Pull request [#9700](https://github.com/ruby/rubygems/pull/9700) by Hiroshi SHIBATA
|
|
188
|
-
* Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request [#9842](https://github.com/ruby/rubygems/pull/9842) by Hiroshi SHIBATA
|
|
189
|
-
* Raise an error when building a gem that has a self reference. Pull request [#9392](https://github.com/ruby/rubygems/pull/9392) by Edouard CHIN
|
|
190
|
-
* Revert `DEFAULT_INSTALL_EXTENSION_IN_LIB` and warn `require_relative` with C ext. Pull request [#9390](https://github.com/ruby/rubygems/pull/9390) by Hiroshi SHIBATA
|
|
191
|
-
* Remove deprecated and unused `Gem::List`. Pull request [#9161](https://github.com/ruby/rubygems/pull/9161) by Hiroshi SHIBATA
|
|
192
|
-
|
|
193
|
-
### Bundler
|
|
194
|
-
|
|
195
|
-
Changes already released in 4.0.x are not repeated here.
|
|
196
|
-
|
|
197
|
-
#### Features:
|
|
198
|
-
|
|
199
|
-
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
200
|
-
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
201
|
-
* Add a `prune` setting to drop rebuildable install artifacts. Pull request [#9815](https://github.com/ruby/rubygems/pull/9815) by Hiroshi SHIBATA
|
|
202
|
-
* Add an opt-in OS credential store for gem and bundler credentials. Pull request [#9671](https://github.com/ruby/rubygems/pull/9671) by Hiroshi SHIBATA
|
|
203
|
-
* Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request [#9786](https://github.com/ruby/rubygems/pull/9786) by Hiroshi SHIBATA
|
|
204
|
-
* Reuse RubyGems' compact index client in Bundler. Pull request [#9753](https://github.com/ruby/rubygems/pull/9753) by Hiroshi SHIBATA
|
|
205
|
-
* Reuse RubyGems' vendored PubGrub in Bundler. Pull request [#9752](https://github.com/ruby/rubygems/pull/9752) by Hiroshi SHIBATA
|
|
206
|
-
* Use RubyGems' YAML serializer in Bundler. Pull request [#9751](https://github.com/ruby/rubygems/pull/9751) by Hiroshi SHIBATA
|
|
207
|
-
* Reuse RubyGems' vendored SecureRandom in Bundler. Pull request [#9651](https://github.com/ruby/rubygems/pull/9651) by Hiroshi SHIBATA
|
|
208
|
-
* Reuse RubyGems' vendored URI in Bundler. Pull request [#9650](https://github.com/ruby/rubygems/pull/9650) by Hiroshi SHIBATA
|
|
209
|
-
* Fix two issues by including the ruby platform variants in the lock file. Pull request [#9556](https://github.com/ruby/rubygems/pull/9556) by Randy Stauner
|
|
210
|
-
* Fix plugin installation from gemfile. Pull request [#6957](https://github.com/ruby/rubygems/pull/6957) by Cody Cutrer, Diogo Fernandes and Hiroshi SHIBATA
|
|
211
|
-
* Add plugin hooks for Gemfile evaluation and source fetching. Pull request [#9488](https://github.com/ruby/rubygems/pull/9488) by Hiroshi SHIBATA, Cody Cutrer and Marv
|
|
212
|
-
* Use optimistic version constraints in bundle gem output. Pull request [#9533](https://github.com/ruby/rubygems/pull/9533) by Jeremy Evans
|
|
213
|
-
* Extend Gemfile `override` DSL with `:all` target and metadata fields (Phase 2). Pull request [#9530](https://github.com/ruby/rubygems/pull/9530) by Hiroshi SHIBATA
|
|
214
|
-
* Switch bundle add to use optimistic versioning by default. Pull request [#9526](https://github.com/ruby/rubygems/pull/9526) by Jeremy Evans
|
|
215
|
-
* Add Gemfile `override` DSL for version constraints (Phase 1). Pull request [#9517](https://github.com/ruby/rubygems/pull/9517) by Hiroshi SHIBATA
|
|
216
|
-
* Add `--no-build-extension` and `--no-install-plugin` options to gem install. Pull request [#9473](https://github.com/ruby/rubygems/pull/9473) by Hiroshi SHIBATA
|
|
217
|
-
* Include detailed dependencies when gemfile and lockfile are conflicts. Pull request [#9332](https://github.com/ruby/rubygems/pull/9332) by Hiroshi SHIBATA
|
|
218
|
-
* Implement relative path handling for plugin paths. Pull request [#9299](https://github.com/ruby/rubygems/pull/9299) by Hiroshi SHIBATA
|
|
219
|
-
* Bundler/inline: perform installation from a forked child. Pull request [#7941](https://github.com/ruby/rubygems/pull/7941) by Jean Boussier and Hiroshi SHIBATA
|
|
220
|
-
* Add global gem cache shared by RubyGems and Bundler. Pull request [#9230](https://github.com/ruby/rubygems/pull/9230) by Anthony Panozzo
|
|
221
|
-
* Update custom errors with Exception#full_message. Pull request [#8488](https://github.com/ruby/rubygems/pull/8488) by neimadTL
|
|
222
|
-
|
|
223
|
-
#### Performance:
|
|
224
|
-
|
|
225
|
-
* Use separate Bundler download and installation workers. Pull request [#9777](https://github.com/ruby/rubygems/pull/9777) by Joshua Young
|
|
226
|
-
* Cache a shared git source only once per command. Pull request [#9689](https://github.com/ruby/rubygems/pull/9689) by Hiroshi SHIBATA
|
|
227
|
-
|
|
228
|
-
#### Enhancements:
|
|
229
|
-
|
|
230
|
-
* Reject Bundler redirects that downgrade https to http. Pull request [#9859](https://github.com/ruby/rubygems/pull/9859) by Hiroshi SHIBATA
|
|
231
|
-
|
|
232
|
-
#### Bug fixes:
|
|
233
|
-
|
|
234
|
-
* Expand the git source gemspec path before the chdir. Pull request [#9845](https://github.com/ruby/rubygems/pull/9845) by Hiroshi SHIBATA
|
|
235
|
-
|
|
236
|
-
#### Breaking changes:
|
|
237
|
-
|
|
238
|
-
* Remove external tool version checks from `bundle env`. Pull request [#9593](https://github.com/ruby/rubygems/pull/9593) by Hiroshi SHIBATA
|
|
239
|
-
* Bundler: ignore patchlevel kwarg in ruby DSL. Pull request [#6023](https://github.com/ruby/rubygems/pull/6023) by Takuya N and Hiroshi SHIBATA
|
|
240
|
-
* Unify RubyGems and Bundler documentation. Pull request [#9237](https://github.com/ruby/rubygems/pull/9237) by Hiroshi SHIBATA
|
|
241
|
-
|
|
242
|
-
#### Deprecations:
|
|
243
|
-
|
|
244
|
-
* Rename the no_prune setting to keep_outdated_cache. Pull request [#9816](https://github.com/ruby/rubygems/pull/9816) by Hiroshi SHIBATA
|
|
245
|
-
|
|
246
235
|
## 4.0.20 / 2026-09-02
|
|
247
236
|
|
|
248
237
|
### RubyGems
|
|
@@ -4,8 +4,8 @@ module Bundler
|
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
|
5
5
|
module BuildMetadata
|
|
6
6
|
# begin ivars
|
|
7
|
-
@built_at = "2026-
|
|
8
|
-
@git_commit_sha = "
|
|
7
|
+
@built_at = "2026-11-16".freeze
|
|
8
|
+
@git_commit_sha = "9af9267".freeze
|
|
9
9
|
# end ivars
|
|
10
10
|
|
|
11
11
|
# A hash representation of the build metadata.
|
data/lib/bundler/checksum.rb
CHANGED
|
@@ -206,13 +206,19 @@ module Bundler
|
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
def missing?(spec)
|
|
209
|
-
@store[spec.full_name].nil?
|
|
209
|
+
return false unless @store[spec.full_name].nil?
|
|
210
|
+
|
|
211
|
+
if spec.is_a?(LazySpecification)
|
|
212
|
+
spec.content_addressed_full_names.all? {|full_name| @store[full_name].nil? }
|
|
213
|
+
else
|
|
214
|
+
true
|
|
215
|
+
end
|
|
210
216
|
end
|
|
211
217
|
|
|
212
218
|
def empty?(spec)
|
|
213
219
|
return false unless spec.source.is_a?(Bundler::Source::Rubygems)
|
|
214
220
|
|
|
215
|
-
@store[spec.full_name]
|
|
221
|
+
@store[spec.full_name]&.empty? || false
|
|
216
222
|
end
|
|
217
223
|
|
|
218
224
|
def register(spec, checksum)
|
data/lib/bundler/cli/clean.rb
CHANGED
|
@@ -13,13 +13,29 @@ module Bundler
|
|
|
13
13
|
Bundler.load.clean(options[:"dry-run"])
|
|
14
14
|
return if options[:"dry-run"]
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
prune
|
|
17
|
+
rescue CleanError
|
|
18
|
+
# Everything that could be removed is gone, so the cache can be pruned
|
|
19
|
+
prune
|
|
20
|
+
raise
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Cleaning is incidental to install and update, so leftovers must not fail
|
|
24
|
+
# a command that installed everything it was asked to.
|
|
25
|
+
def run_after_install
|
|
26
|
+
run
|
|
27
|
+
rescue CleanError => e
|
|
28
|
+
Bundler.ui.warn e.message
|
|
19
29
|
end
|
|
20
30
|
|
|
21
31
|
protected
|
|
22
32
|
|
|
33
|
+
# Pruning last, because cleaning decides which cached .gem files are
|
|
34
|
+
# stale by reading them.
|
|
35
|
+
def prune
|
|
36
|
+
Bundler::CLI::Common.prune(options)
|
|
37
|
+
end
|
|
38
|
+
|
|
23
39
|
def require_path_or_force
|
|
24
40
|
return unless Bundler.use_system_gems? && !options[:force]
|
|
25
41
|
raise InvalidOption, "Cleaning all the gems on your system is dangerous! " \
|
data/lib/bundler/cli/exec.rb
CHANGED
data/lib/bundler/cli/install.rb
CHANGED
data/lib/bundler/cli/lock.rb
CHANGED
|
@@ -63,11 +63,23 @@ module Bundler
|
|
|
63
63
|
raise InvalidOption, "Removing all platforms from the bundle is not allowed"
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
options["remove-ruby-abi"].flatten.each do |ruby_abi|
|
|
67
|
+
definition.remove_ruby_abi(ruby_abi)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
options["add-ruby-abi"].flatten.each do |ruby_abi|
|
|
71
|
+
raise InvalidOption, "Expected `--add-ruby-abi` to be a Ruby ABI like `X.Y`, got #{ruby_abi.inspect}" unless Gem::ContentAddress.valid_ruby_abi?(ruby_abi)
|
|
72
|
+
|
|
73
|
+
definition.add_ruby_abi(ruby_abi)
|
|
74
|
+
end
|
|
75
|
+
|
|
66
76
|
# Adding checksums resolves the bundle to fetch them, so it has to
|
|
67
77
|
# run after every platform change above has been recorded, or the
|
|
68
78
|
# new platforms are listed in the lockfile without their specs.
|
|
69
79
|
definition.add_checksums if options["add-checksums"]
|
|
70
80
|
|
|
81
|
+
# Adding a Ruby ABI offline takes its content-addressed gems from the installed ones.
|
|
82
|
+
definition.with_cache! if options[:local] && options["add-ruby-abi"].any?
|
|
71
83
|
definition.remotely! unless options[:local]
|
|
72
84
|
|
|
73
85
|
if options["normalize-platforms"]
|
data/lib/bundler/cli/update.rb
CHANGED
data/lib/bundler/cli.rb
CHANGED
|
@@ -653,6 +653,8 @@ module Bundler
|
|
|
653
653
|
method_option "add-platform", type: :array, default: [], repeatable: true, banner: "Add a new platform to the lockfile"
|
|
654
654
|
method_option "remove-platform", type: :array, default: [], repeatable: true, banner: "Remove a platform from the lockfile"
|
|
655
655
|
method_option "normalize-platforms", type: :boolean, default: false, banner: "Normalize lockfile platforms"
|
|
656
|
+
method_option "add-ruby-abi", type: :array, default: [], repeatable: true, banner: "Lock the content-addressed gems for a Ruby ABI (X.Y)"
|
|
657
|
+
method_option "remove-ruby-abi", type: :array, default: [], repeatable: true, banner: "Drop the content-addressed gems for a Ruby ABI (X.Y) from the lockfile"
|
|
656
658
|
method_option "patch", type: :boolean, banner: "If updating, prefer updating only to next patch version"
|
|
657
659
|
method_option "minor", type: :boolean, banner: "If updating, prefer updating only to next minor version"
|
|
658
660
|
method_option "major", type: :boolean, banner: "If updating, prefer updating to latest major version (default)"
|