bundler 2.3.12 → 2.4.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +521 -1
  3. data/README.md +3 -6
  4. data/bundler.gemspec +8 -10
  5. data/exe/bundle +5 -16
  6. data/lib/bundler/build_metadata.rb +2 -2
  7. data/lib/bundler/cli/add.rb +1 -1
  8. data/lib/bundler/cli/binstubs.rb +5 -1
  9. data/lib/bundler/cli/check.rb +1 -1
  10. data/lib/bundler/cli/common.rb +3 -1
  11. data/lib/bundler/cli/console.rb +2 -2
  12. data/lib/bundler/cli/doctor.rb +4 -6
  13. data/lib/bundler/cli/gem.rb +62 -40
  14. data/lib/bundler/cli/init.rb +6 -2
  15. data/lib/bundler/cli/install.rb +7 -5
  16. data/lib/bundler/cli/lock.rb +8 -5
  17. data/lib/bundler/cli/open.rb +6 -4
  18. data/lib/bundler/cli/outdated.rb +13 -6
  19. data/lib/bundler/cli/platform.rb +1 -1
  20. data/lib/bundler/cli/viz.rb +1 -1
  21. data/lib/bundler/cli.rb +53 -7
  22. data/lib/bundler/compact_index_client/cache.rb +1 -1
  23. data/lib/bundler/compact_index_client/updater.rb +53 -39
  24. data/lib/bundler/constants.rb +1 -1
  25. data/lib/bundler/current_ruby.rb +17 -6
  26. data/lib/bundler/definition.rb +277 -139
  27. data/lib/bundler/dependency.rb +21 -84
  28. data/lib/bundler/digest.rb +1 -1
  29. data/lib/bundler/dsl.rb +13 -18
  30. data/lib/bundler/endpoint_specification.rb +2 -10
  31. data/lib/bundler/env.rb +1 -1
  32. data/lib/bundler/environment_preserver.rb +3 -2
  33. data/lib/bundler/errors.rb +15 -15
  34. data/lib/bundler/feature_flag.rb +0 -2
  35. data/lib/bundler/fetcher/base.rb +6 -8
  36. data/lib/bundler/fetcher/compact_index.rb +9 -11
  37. data/lib/bundler/fetcher/dependency.rb +2 -6
  38. data/lib/bundler/fetcher/downloader.rb +2 -5
  39. data/lib/bundler/fetcher.rb +14 -14
  40. data/lib/bundler/force_platform.rb +18 -0
  41. data/lib/bundler/friendly_errors.rb +21 -7
  42. data/lib/bundler/gem_helpers.rb +9 -2
  43. data/lib/bundler/gem_version_promoter.rb +53 -98
  44. data/lib/bundler/graph.rb +3 -3
  45. data/lib/bundler/index.rb +13 -51
  46. data/lib/bundler/injector.rb +9 -4
  47. data/lib/bundler/inline.rb +9 -21
  48. data/lib/bundler/installer/gem_installer.rb +14 -1
  49. data/lib/bundler/installer/parallel_installer.rb +3 -33
  50. data/lib/bundler/installer/standalone.rb +42 -11
  51. data/lib/bundler/installer.rb +19 -40
  52. data/lib/bundler/lazy_specification.rb +55 -54
  53. data/lib/bundler/lockfile_generator.rb +3 -3
  54. data/lib/bundler/lockfile_parser.rb +21 -16
  55. data/lib/bundler/man/bundle-add.1 +13 -5
  56. data/lib/bundler/man/bundle-add.1.ronn +10 -4
  57. data/lib/bundler/man/bundle-binstubs.1 +1 -1
  58. data/lib/bundler/man/bundle-cache.1 +9 -3
  59. data/lib/bundler/man/bundle-cache.1.ronn +9 -2
  60. data/lib/bundler/man/bundle-check.1 +1 -1
  61. data/lib/bundler/man/bundle-clean.1 +2 -2
  62. data/lib/bundler/man/bundle-clean.1.ronn +1 -1
  63. data/lib/bundler/man/bundle-config.1 +26 -10
  64. data/lib/bundler/man/bundle-config.1.ronn +17 -10
  65. data/lib/bundler/man/bundle-console.1 +53 -0
  66. data/lib/bundler/man/bundle-console.1.ronn +44 -0
  67. data/lib/bundler/man/bundle-doctor.1 +1 -1
  68. data/lib/bundler/man/bundle-exec.1 +6 -6
  69. data/lib/bundler/man/bundle-exec.1.ronn +6 -6
  70. data/lib/bundler/man/bundle-gem.1 +27 -37
  71. data/lib/bundler/man/bundle-gem.1.ronn +5 -5
  72. data/lib/bundler/man/bundle-help.1 +13 -0
  73. data/lib/bundler/man/bundle-help.1.ronn +12 -0
  74. data/lib/bundler/man/bundle-info.1 +1 -1
  75. data/lib/bundler/man/bundle-init.1 +5 -1
  76. data/lib/bundler/man/bundle-init.1.ronn +2 -0
  77. data/lib/bundler/man/bundle-inject.1 +5 -2
  78. data/lib/bundler/man/bundle-inject.1.ronn +3 -1
  79. data/lib/bundler/man/bundle-install.1 +5 -30
  80. data/lib/bundler/man/bundle-install.1.ronn +6 -29
  81. data/lib/bundler/man/bundle-list.1 +1 -1
  82. data/lib/bundler/man/bundle-lock.1 +1 -1
  83. data/lib/bundler/man/bundle-open.1 +22 -2
  84. data/lib/bundler/man/bundle-open.1.ronn +9 -1
  85. data/lib/bundler/man/bundle-outdated.1 +1 -1
  86. data/lib/bundler/man/bundle-platform.1 +16 -6
  87. data/lib/bundler/man/bundle-platform.1.ronn +14 -7
  88. data/lib/bundler/man/bundle-plugin.1 +81 -0
  89. data/lib/bundler/man/bundle-plugin.1.ronn +59 -0
  90. data/lib/bundler/man/bundle-pristine.1 +1 -1
  91. data/lib/bundler/man/bundle-remove.1 +1 -1
  92. data/lib/bundler/man/bundle-show.1 +1 -1
  93. data/lib/bundler/man/bundle-update.1 +1 -1
  94. data/lib/bundler/man/bundle-version.1 +35 -0
  95. data/lib/bundler/man/bundle-version.1.ronn +24 -0
  96. data/lib/bundler/man/bundle-viz.1 +4 -1
  97. data/lib/bundler/man/bundle-viz.1.ronn +2 -0
  98. data/lib/bundler/man/bundle.1 +15 -10
  99. data/lib/bundler/man/bundle.1.ronn +12 -7
  100. data/lib/bundler/man/gemfile.5 +93 -82
  101. data/lib/bundler/man/gemfile.5.ronn +99 -86
  102. data/lib/bundler/man/index.txt +4 -0
  103. data/lib/bundler/match_metadata.rb +13 -0
  104. data/lib/bundler/match_platform.rb +0 -1
  105. data/lib/bundler/match_remote_metadata.rb +29 -0
  106. data/lib/bundler/mirror.rb +5 -7
  107. data/lib/bundler/plugin/api/source.rb +3 -3
  108. data/lib/bundler/plugin/index.rb +4 -4
  109. data/lib/bundler/plugin/installer/git.rb +0 -4
  110. data/lib/bundler/plugin/installer/rubygems.rb +0 -8
  111. data/lib/bundler/plugin/installer.rb +5 -2
  112. data/lib/bundler/plugin.rb +3 -1
  113. data/lib/bundler/process_lock.rb +1 -1
  114. data/lib/bundler/remote_specification.rb +7 -12
  115. data/lib/bundler/resolver/base.rb +107 -0
  116. data/lib/bundler/resolver/candidate.rb +94 -0
  117. data/lib/bundler/resolver/incompatibility.rb +15 -0
  118. data/lib/bundler/resolver/package.rb +72 -0
  119. data/lib/bundler/resolver/root.rb +25 -0
  120. data/lib/bundler/resolver/spec_group.rb +42 -70
  121. data/lib/bundler/resolver.rb +333 -326
  122. data/lib/bundler/ruby_dsl.rb +1 -1
  123. data/lib/bundler/ruby_version.rb +6 -6
  124. data/lib/bundler/rubygems_ext.rb +107 -15
  125. data/lib/bundler/rubygems_gem_installer.rb +32 -20
  126. data/lib/bundler/rubygems_integration.rb +13 -35
  127. data/lib/bundler/runtime.rb +2 -7
  128. data/lib/bundler/safe_marshal.rb +31 -0
  129. data/lib/bundler/settings.rb +6 -12
  130. data/lib/bundler/setup.rb +4 -1
  131. data/lib/bundler/shared_helpers.rb +8 -8
  132. data/lib/bundler/source/git/git_proxy.rb +237 -74
  133. data/lib/bundler/source/git.rb +54 -38
  134. data/lib/bundler/source/metadata.rb +1 -2
  135. data/lib/bundler/source/path/installer.rb +1 -22
  136. data/lib/bundler/source/path.rb +7 -7
  137. data/lib/bundler/source/rubygems.rb +85 -128
  138. data/lib/bundler/source.rb +4 -5
  139. data/lib/bundler/source_list.rb +12 -2
  140. data/lib/bundler/spec_set.rb +62 -34
  141. data/lib/bundler/stub_specification.rb +5 -3
  142. data/lib/bundler/templates/Executable +1 -1
  143. data/lib/bundler/templates/Executable.bundler +5 -10
  144. data/lib/bundler/templates/Executable.standalone +2 -0
  145. data/lib/bundler/templates/newgem/Cargo.toml.tt +7 -0
  146. data/lib/bundler/templates/newgem/Gemfile.tt +3 -0
  147. data/lib/bundler/templates/newgem/README.md.tt +6 -4
  148. data/lib/bundler/templates/newgem/Rakefile.tt +12 -1
  149. data/lib/bundler/templates/newgem/bin/console.tt +0 -4
  150. data/lib/bundler/templates/newgem/circleci/config.yml.tt +12 -0
  151. data/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  152. data/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  153. data/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  154. data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +1 -1
  155. data/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  156. data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +10 -0
  157. data/lib/bundler/templates/newgem/gitignore.tt +3 -0
  158. data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +13 -4
  159. data/lib/bundler/templates/newgem/newgem.gemspec.tt +9 -2
  160. data/lib/bundler/ui/shell.rb +35 -12
  161. data/lib/bundler/ui/silent.rb +21 -5
  162. data/lib/bundler/uri_normalizer.rb +23 -0
  163. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +3 -3
  164. data/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +0 -1
  165. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +3 -1
  166. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +1350 -408
  167. data/lib/bundler/vendor/net-http-persistent/README.rdoc +1 -1
  168. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1 -1
  169. data/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
  170. data/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  171. data/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +189 -0
  172. data/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  173. data/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  174. data/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  175. data/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  176. data/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  177. data/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  178. data/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +60 -0
  179. data/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  180. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  181. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  182. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +411 -0
  183. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +248 -0
  184. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  185. data/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  186. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +1 -1
  187. data/lib/bundler/vendor/uri/lib/uri/common.rb +64 -16
  188. data/lib/bundler/vendor/uri/lib/uri/file.rb +7 -1
  189. data/lib/bundler/vendor/uri/lib/uri/ftp.rb +2 -1
  190. data/lib/bundler/vendor/uri/lib/uri/generic.rb +27 -7
  191. data/lib/bundler/vendor/uri/lib/uri/http.rb +40 -2
  192. data/lib/bundler/vendor/uri/lib/uri/https.rb +2 -1
  193. data/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
  194. data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +2 -1
  195. data/lib/bundler/vendor/uri/lib/uri/mailto.rb +2 -2
  196. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +13 -7
  197. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +10 -5
  198. data/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  199. data/lib/bundler/vendor/uri/lib/uri/ws.rb +1 -2
  200. data/lib/bundler/vendor/uri/lib/uri/wss.rb +2 -1
  201. data/lib/bundler/vendor/uri/lib/uri.rb +3 -2
  202. data/lib/bundler/vendored_persistent.rb +1 -33
  203. data/lib/bundler/{vendored_tmpdir.rb → vendored_pub_grub.rb} +1 -1
  204. data/lib/bundler/version.rb +5 -1
  205. data/lib/bundler/worker.rb +5 -7
  206. data/lib/bundler.rb +36 -77
  207. metadata +47 -35
  208. data/lib/bundler/dep_proxy.rb +0 -55
  209. data/lib/bundler/templates/gems.rb +0 -5
  210. data/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +0 -5
  211. data/lib/bundler/templates/newgem/travis.yml.tt +0 -6
  212. data/lib/bundler/vendor/molinillo/LICENSE +0 -9
  213. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
  214. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -88
  215. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -36
  216. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -66
  217. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -62
  218. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -63
  219. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -61
  220. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -126
  221. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -46
  222. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -36
  223. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -164
  224. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -255
  225. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +0 -149
  226. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -6
  227. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -112
  228. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -67
  229. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +0 -839
  230. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +0 -46
  231. data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +0 -58
  232. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +0 -11
  233. data/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +0 -154
  234. data/lib/bundler/vendored_molinillo.rb +0 -4
  235. data/lib/bundler/version_ranges.rb +0 -122
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 489c8d7661dcb4d99b7990a44d02dc883d10e31adb0297fa09f52ff502424e63
4
- data.tar.gz: d050d525313844234ca93b7c879f7582ff2d0e0a334f33b706bc67039e8511b5
3
+ metadata.gz: 8c93ff76be7428157de06fe91e895647e240bb9d19d2e4396751391011db4f1d
4
+ data.tar.gz: 48566c7332546fadc07817de241887c7ab8bbee1d591445df28b6d6cef14fa88
5
5
  SHA512:
6
- metadata.gz: 853c3263abfbf6296e2256a5ea8df6860fe71591b25d3c5087839c9c0a0e5b7787b5696e621becb4c825f1429bc6fb1c07ca9b6b87f508910415ff23d2c05015
7
- data.tar.gz: e4fe33afda4a3c4ab8ea8b3e6ba458fc335cc76443d1062a674be0093fb87b25dd37c310e53d0c00dca3417c2e20c89c5f4e72b03000e897d4136758ccc2e210
6
+ metadata.gz: 869ceea50b2d613c5bdd0ae1532400e12be99d3e88a8864778ecd0c2d225f4b092e0a4e0fe9e88fcff8638c5aeba9e0331668180112f0dab3a08c40d0f9610e0
7
+ data.tar.gz: 27c36d53376a122e905b4fc194e81a2358cd270e82d7d09344edf9870276482d9100c71beb8bafd5cc772c3b7ca3e48e92d6cb2c0083dd3d23b46c0642b93a8a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,523 @@
1
+ # 2.4.17 (July 14, 2023)
2
+
3
+ ## Enhancements:
4
+
5
+ - Avoid printing "Using ..." messages when version has not changed [#6804](https://github.com/rubygems/rubygems/pull/6804)
6
+
7
+ ## Bug fixes:
8
+
9
+ - Fix `bundler/setup` unintendedly writing to the filesystem [#6814](https://github.com/rubygems/rubygems/pull/6814)
10
+
11
+ # 2.4.16 (July 10, 2023)
12
+
13
+ ## Bug fixes:
14
+
15
+ - Exclude Bundler from missing locked dependencies check [#6792](https://github.com/rubygems/rubygems/pull/6792)
16
+ - Fix another incorrect removal of "ruby" platform from lockfile when changing path sources [#6784](https://github.com/rubygems/rubygems/pull/6784)
17
+ - Fix git source lockfile instability [#6786](https://github.com/rubygems/rubygems/pull/6786)
18
+
19
+ ## Documentation:
20
+
21
+ - `gemfile.5`: Code format the default glob to escape Markdown [#6790](https://github.com/rubygems/rubygems/pull/6790)
22
+
23
+ # 2.4.15 (June 29, 2023)
24
+
25
+ ## Enhancements:
26
+
27
+ - Improve edge case error message [#6733](https://github.com/rubygems/rubygems/pull/6733)
28
+
29
+ ## Bug fixes:
30
+
31
+ - Fix `bundle lock --update --bundler` [#6213](https://github.com/rubygems/rubygems/pull/6213)
32
+
33
+ # 2.4.14 (June 12, 2023)
34
+
35
+ ## Enhancements:
36
+
37
+ - Stop publishing Gemfile in default gem template [#6723](https://github.com/rubygems/rubygems/pull/6723)
38
+ - Avoid infinite loops when hitting resolution bugs [#6722](https://github.com/rubygems/rubygems/pull/6722)
39
+ - Make `LockfileParser` usable with just a lockfile [#6694](https://github.com/rubygems/rubygems/pull/6694)
40
+ - Always rely on `$LOAD_PATH` when jumping from `exe/` to `lib/` [#6702](https://github.com/rubygems/rubygems/pull/6702)
41
+ - Make `frozen` setting take precedence over `deployment` setting [#6685](https://github.com/rubygems/rubygems/pull/6685)
42
+ - Show an error when trying to update bundler in frozen mode [#6684](https://github.com/rubygems/rubygems/pull/6684)
43
+
44
+ ## Bug fixes:
45
+
46
+ - Fix `deployment` vs `path` precedence [#6703](https://github.com/rubygems/rubygems/pull/6703)
47
+ - Fix inline mode with multiple sources [#6699](https://github.com/rubygems/rubygems/pull/6699)
48
+
49
+ # 2.4.13 (May 9, 2023)
50
+
51
+ ## Bug fixes:
52
+
53
+ - Fix unexpected fallbacks to full index by adding FalseClass and Time to the SafeMarshal list [#6655](https://github.com/rubygems/rubygems/pull/6655)
54
+
55
+ ## Documentation:
56
+
57
+ - Fix broken hyperlinks in bundle cache documentation [#6606](https://github.com/rubygems/rubygems/pull/6606)
58
+
59
+ # 2.4.12 (April 11, 2023)
60
+
61
+ ## Enhancements:
62
+
63
+ - Remove reference to `pry` gem from generated `bin/console` file [#6515](https://github.com/rubygems/rubygems/pull/6515)
64
+
65
+ # 2.4.11 (April 10, 2023)
66
+
67
+ ## Security:
68
+
69
+ - Use URI-0.12.1 (safe against CVE-2023-28755 ReDoS vulnerability) [#6558](https://github.com/rubygems/rubygems/pull/6558)
70
+
71
+ ## Enhancements:
72
+
73
+ - Remove one fallback to full indexes on big gemfiles [#6578](https://github.com/rubygems/rubygems/pull/6578)
74
+ - Generate native gems with `-fvisibility=hidden` [#6541](https://github.com/rubygems/rubygems/pull/6541)
75
+
76
+ ## Bug fixes:
77
+
78
+ - Fix resolver hangs when dealing with an incomplete lockfile [#6552](https://github.com/rubygems/rubygems/pull/6552)
79
+ - Fix prereleases not being considered by gem version promoter when there's no lockfile [#6537](https://github.com/rubygems/rubygems/pull/6537)
80
+
81
+ # 2.4.10 (March 27, 2023)
82
+
83
+ ## Bug fixes:
84
+
85
+ - Fix some unnecessary top level dependency downgrades [#6535](https://github.com/rubygems/rubygems/pull/6535)
86
+ - Fix incorrect ruby platform removal from lockfile when adding Gemfile dependencies [#6540](https://github.com/rubygems/rubygems/pull/6540)
87
+ - Fix installing plugins in frozen mode [#6543](https://github.com/rubygems/rubygems/pull/6543)
88
+ - Restore "enumerability" of `SpecSet` [#6532](https://github.com/rubygems/rubygems/pull/6532)
89
+
90
+ # 2.4.9 (March 20, 2023)
91
+
92
+ ## Security:
93
+
94
+ - Don't recommend `--full-index` on errors [#6493](https://github.com/rubygems/rubygems/pull/6493)
95
+
96
+ ## Enhancements:
97
+
98
+ - Fix duplicated specs in some error messages [#6475](https://github.com/rubygems/rubygems/pull/6475)
99
+ - When running `bundle lock --update <name>`, checkout locked revision of unrelated git sources directly [#6459](https://github.com/rubygems/rubygems/pull/6459)
100
+ - Avoid expiring git sources when unnecessary [#6458](https://github.com/rubygems/rubygems/pull/6458)
101
+ - Use `RbSys::ExtensionTask` when creating new rust gems [#6352](https://github.com/rubygems/rubygems/pull/6352)
102
+ - Don't ignore pre-releases when there's only one candidate [#6441](https://github.com/rubygems/rubygems/pull/6441)
103
+
104
+ ## Bug fixes:
105
+
106
+ - Fix incorrect removal of ruby platform when auto-healing corrupted lockfiles [#6495](https://github.com/rubygems/rubygems/pull/6495)
107
+ - Don't consider platform specific candidates when `force_ruby_platform` set [#6442](https://github.com/rubygems/rubygems/pull/6442)
108
+ - Better deal with circular dependencies [#6330](https://github.com/rubygems/rubygems/pull/6330)
109
+
110
+ ## Documentation:
111
+
112
+ - Add debugging docs [#6387](https://github.com/rubygems/rubygems/pull/6387)
113
+ - Document our current release policy [#6450](https://github.com/rubygems/rubygems/pull/6450)
114
+
115
+ # 2.4.8 (March 8, 2023)
116
+
117
+ ## Security:
118
+
119
+ - Safe load all marshaled data [#6384](https://github.com/rubygems/rubygems/pull/6384)
120
+
121
+ ## Enhancements:
122
+
123
+ - Better suggestion when `bundler/setup` fails due to missing gems and Gemfile is not the default [#6428](https://github.com/rubygems/rubygems/pull/6428)
124
+ - Simplify the gem package file filter in the gemspec template [#6344](https://github.com/rubygems/rubygems/pull/6344)
125
+ - Auto-heal corrupted `Gemfile.lock` with no specs [#6423](https://github.com/rubygems/rubygems/pull/6423)
126
+ - Auto-heal on corrupted lockfile with missing deps [#6400](https://github.com/rubygems/rubygems/pull/6400)
127
+ - Give a better message when Gemfile branch does not exist [#6383](https://github.com/rubygems/rubygems/pull/6383)
128
+
129
+ ## Bug fixes:
130
+
131
+ - Respect --no-install option for git: sources [#6088](https://github.com/rubygems/rubygems/pull/6088)
132
+ - Fix `gems.rb` lockfile for bundler version lookup in template [#6413](https://github.com/rubygems/rubygems/pull/6413)
133
+
134
+ ## Documentation:
135
+
136
+ - Switch supporting explanations to all Ruby Central [#6419](https://github.com/rubygems/rubygems/pull/6419)
137
+
138
+ # 2.4.7 (February 15, 2023)
139
+
140
+ ## Enhancements:
141
+
142
+ - Add `--gemfile` flag to `bundle init` to configure gemfile name to generate [#6046](https://github.com/rubygems/rubygems/pull/6046)
143
+ - Improve solve failure explanations by using better wording [#6366](https://github.com/rubygems/rubygems/pull/6366)
144
+ - Restore better error message when locked ref does not exist [#6356](https://github.com/rubygems/rubygems/pull/6356)
145
+ - Avoid crashing when installing from a corrupted lockfile [#6355](https://github.com/rubygems/rubygems/pull/6355)
146
+ - Improve wording of unmet dependencies warning [#6357](https://github.com/rubygems/rubygems/pull/6357)
147
+ - Add Ruby 3.2 and 3.3 platforms to Gemfile DSL [#6346](https://github.com/rubygems/rubygems/pull/6346)
148
+
149
+ ## Bug fixes:
150
+
151
+ - Fix crash in pub grub involving empty ranges [#6365](https://github.com/rubygems/rubygems/pull/6365)
152
+ - Make gemspec file generated by `bundle gem` properly exclude itself from packaged gem [#6339](https://github.com/rubygems/rubygems/pull/6339)
153
+ - Preserve relative path sources in standalone setup [#6327](https://github.com/rubygems/rubygems/pull/6327)
154
+
155
+ # 2.4.6 (January 31, 2023)
156
+
157
+ ## Enhancements:
158
+
159
+ - Don't warn on `bundle binstubs --standalone --all` [#6312](https://github.com/rubygems/rubygems/pull/6312)
160
+
161
+ ## Bug fixes:
162
+
163
+ - Don't undo require decorations made by other gems [#6308](https://github.com/rubygems/rubygems/pull/6308)
164
+ - Fix `bundler/inline` not properly installing gems with extensions when used more than once [#6306](https://github.com/rubygems/rubygems/pull/6306)
165
+ - Fix `bundler/inline` not skipping installation when gems already there, when used more than once [#6305](https://github.com/rubygems/rubygems/pull/6305)
166
+
167
+ # 2.4.5 (January 21, 2023)
168
+
169
+ ## Bug fixes:
170
+
171
+ - Fix `bundler/inline` not resolving properly if gems not preinstalled [#6282](https://github.com/rubygems/rubygems/pull/6282)
172
+ - Fix packages for external platforms being introduced in lockfile when Bundler retries resolution [#6285](https://github.com/rubygems/rubygems/pull/6285)
173
+
174
+ ## Documentation:
175
+
176
+ - Update bundle-exec man page to not use deprecated `Bundler.with_clean_env` [#6284](https://github.com/rubygems/rubygems/pull/6284)
177
+
178
+ # 2.4.4 (January 16, 2023)
179
+
180
+ ## Bug fixes:
181
+
182
+ - Fix platform specific gems removed from the lockfile [#6266](https://github.com/rubygems/rubygems/pull/6266)
183
+ - Properly handle incompatibilities on platform specific gems [#6270](https://github.com/rubygems/rubygems/pull/6270)
184
+ - Optimistically exclude prereleases from initial resolution [#6246](https://github.com/rubygems/rubygems/pull/6246)
185
+ - Fix another case of not properly falling back to ruby variant when materializing [#6261](https://github.com/rubygems/rubygems/pull/6261)
186
+ - Skip setting `BUNDLER_SETUP` on Ruby 2.6 [#6252](https://github.com/rubygems/rubygems/pull/6252)
187
+ - Let resolver deal with legacy gems with equivalent version and different dependencies [#6219](https://github.com/rubygems/rubygems/pull/6219)
188
+
189
+ # 2.4.3 (January 6, 2023)
190
+
191
+ ## Enhancements:
192
+
193
+ - Enhance `bundle open` command to allow opening subdir/file of gem [#6146](https://github.com/rubygems/rubygems/pull/6146)
194
+
195
+ ## Bug fixes:
196
+
197
+ - Fix pointing GitHub sources to PRs [#6241](https://github.com/rubygems/rubygems/pull/6241)
198
+ - Fix version ranges incorrectly handling platforms [#6240](https://github.com/rubygems/rubygems/pull/6240)
199
+ - Cleanup unnecessary gems when removing lockfile platforms [#6234](https://github.com/rubygems/rubygems/pull/6234)
200
+ - When auto-removing RUBY platform don't add specific platform if not needed [#6233](https://github.com/rubygems/rubygems/pull/6233)
201
+ - Fallback to selecting installable candidates if possible when materializing specs [#6225](https://github.com/rubygems/rubygems/pull/6225)
202
+
203
+ ## Documentation:
204
+
205
+ - Fix several typos [#6224](https://github.com/rubygems/rubygems/pull/6224)
206
+
207
+ # 2.4.2 (January 1, 2023)
208
+
209
+ ## Performance:
210
+
211
+ - Speed up resolution by properly merging incompatibility ranges [#6215](https://github.com/rubygems/rubygems/pull/6215)
212
+
213
+ ## Documentation:
214
+
215
+ - Remove stray word in `bundle config` man page [#6220](https://github.com/rubygems/rubygems/pull/6220)
216
+
217
+ # 2.4.1 (December 24, 2022)
218
+
219
+ ## Enhancements:
220
+
221
+ - Allow Bundler to run on old RubyGems + Ruby 2.7 without warnings [#6187](https://github.com/rubygems/rubygems/pull/6187)
222
+
223
+ ## Bug fixes:
224
+
225
+ - Fix dependencies scoped to other platforms making resolver fail [#6189](https://github.com/rubygems/rubygems/pull/6189)
226
+ - Restore annotated git tag support [#6186](https://github.com/rubygems/rubygems/pull/6186)
227
+
228
+ # 2.4.0 (December 24, 2022)
229
+
230
+ ## Security:
231
+
232
+ - In README generated by `bundle gem`, do not fill rubygems.org install commands with the gem name automatically [#6093](https://github.com/rubygems/rubygems/pull/6093)
233
+ - Use safe Marshal deserialization for dependency API response [#6141](https://github.com/rubygems/rubygems/pull/6141)
234
+
235
+ ## Breaking changes:
236
+
237
+ - Remove Travis CI from gem skeleton [#6150](https://github.com/rubygems/rubygems/pull/6150)
238
+ - Drop support for Ruby 2.3, 2.4, 2.5 and RubyGems 2.5, 2.6, 2.7 [#6107](https://github.com/rubygems/rubygems/pull/6107)
239
+ - Completely remove "auto-sudo" feature [#5888](https://github.com/rubygems/rubygems/pull/5888)
240
+
241
+ ## Deprecations:
242
+
243
+ - Turn `--ext` option of `bundle gem` into string. Deprecate usage without explicit value [#6144](https://github.com/rubygems/rubygems/pull/6144)
244
+
245
+ ## Features:
246
+
247
+ - Add `--ext=rust` support to `bundle gem` for creating simple gems with Rust extensions [#6149](https://github.com/rubygems/rubygems/pull/6149)
248
+ - Migrate our resolver engine to PubGrub [#5960](https://github.com/rubygems/rubygems/pull/5960)
249
+
250
+ ## Performance:
251
+
252
+ - Make cloning git repos faster [#4475](https://github.com/rubygems/rubygems/pull/4475)
253
+
254
+ ## Enhancements:
255
+
256
+ - Add `bundle lock --update --bundler` [#6134](https://github.com/rubygems/rubygems/pull/6134)
257
+ - Support for pre flag in `bundle update`/`bundle lock` [#5258](https://github.com/rubygems/rubygems/pull/5258)
258
+ - Improve error message when changing Gemfile to a mistyped git ref [#6130](https://github.com/rubygems/rubygems/pull/6130)
259
+ - Remove special handling of some `LoadError` and `NoMethodError` [#6115](https://github.com/rubygems/rubygems/pull/6115)
260
+
261
+ ## Bug fixes:
262
+
263
+ - Don't unlock dependencies of a gemspec when its version changes [#6184](https://github.com/rubygems/rubygems/pull/6184)
264
+ - Fix platform specific version for libv8-node and other allowlisted gems not being chosen in Truffleruby [#6169](https://github.com/rubygems/rubygems/pull/6169)
265
+ - Fix `bundle outdated` with both `--groups` and `--parseable` flags [#6148](https://github.com/rubygems/rubygems/pull/6148)
266
+ - Auto-heal lockfile when it's missing specs [#6132](https://github.com/rubygems/rubygems/pull/6132)
267
+ - Fix unintentional downgrades when gemspec DSL is used [#6131](https://github.com/rubygems/rubygems/pull/6131)
268
+ - Fix display of previous gem version when previously downloaded already [#6110](https://github.com/rubygems/rubygems/pull/6110)
269
+ - Fix hang when a lockfile gem does not resolve on the current platform [#6070](https://github.com/rubygems/rubygems/pull/6070)
270
+
271
+ ## Documentation:
272
+
273
+ - Improve Bundler setup docs for development [#6154](https://github.com/rubygems/rubygems/pull/6154)
274
+ - Fx link in bundle-platform man page [#6071](https://github.com/rubygems/rubygems/pull/6071)
275
+
276
+ # 2.3.26 (November 16, 2022)
277
+
278
+ ## Enhancements:
279
+
280
+ - Map 'universal' to the real arch in Bundler for prebuilt gem selection [#5978](https://github.com/rubygems/rubygems/pull/5978)
281
+
282
+ ## Documentation:
283
+
284
+ - Fix '--force' option documentation of 'bundle clean' [#6050](https://github.com/rubygems/rubygems/pull/6050)
285
+
286
+ # 2.3.25 (November 2, 2022)
287
+
288
+ ## Bug fixes:
289
+
290
+ - Properly sort specs when materializing [#6015](https://github.com/rubygems/rubygems/pull/6015)
291
+ - Fix bad unfreeze recommendation [#6013](https://github.com/rubygems/rubygems/pull/6013)
292
+
293
+ ## Documentation:
294
+
295
+ - Bring docs for gemfile(5) manpage up to date [#6007](https://github.com/rubygems/rubygems/pull/6007)
296
+ - Fix `github` DSL docs to mention they use https protocol over git under the hood [#5993](https://github.com/rubygems/rubygems/pull/5993)
297
+
298
+ # 2.3.24 (October 17, 2022)
299
+
300
+ ## Enhancements:
301
+
302
+ - Only add extra resolver spec group for Ruby platform when needed [#5698](https://github.com/rubygems/rubygems/pull/5698)
303
+ - Fix little UI issue when bundler shows duplicated gems in a list [#5965](https://github.com/rubygems/rubygems/pull/5965)
304
+
305
+ ## Bug fixes:
306
+
307
+ - Fix incorrect materialization on Windows [#5975](https://github.com/rubygems/rubygems/pull/5975)
308
+
309
+ # 2.3.23 (October 5, 2022)
310
+
311
+ ## Enhancements:
312
+
313
+ - Update GitLab CI template with new one [#5944](https://github.com/rubygems/rubygems/pull/5944)
314
+
315
+ ## Bug fixes:
316
+
317
+ - Fix `bundle init` not respecting umask in generated gem's Gemfile [#5947](https://github.com/rubygems/rubygems/pull/5947)
318
+
319
+ ## Performance:
320
+
321
+ - Further speed up Bundler by not sorting specs unnecessarily [#5868](https://github.com/rubygems/rubygems/pull/5868)
322
+
323
+ ## Documentation:
324
+
325
+ - Update Bundler new feature instructions [#5912](https://github.com/rubygems/rubygems/pull/5912)
326
+
327
+ # 2.3.22 (September 7, 2022)
328
+
329
+ ## Enhancements:
330
+
331
+ - Use a more accurate source code uri in gemspec [#5896](https://github.com/rubygems/rubygems/pull/5896)
332
+ - Support `--path` option in `bundle add` [#5897](https://github.com/rubygems/rubygems/pull/5897)
333
+ - Improve lockfile dependency unlocking [#5881](https://github.com/rubygems/rubygems/pull/5881)
334
+ - Add platform alias `:windows` to Gemfile DSL [#5650](https://github.com/rubygems/rubygems/pull/5650)
335
+ - Make `#to_lock` consistent between `Gem::Dependency` and `Bundler::Dependency` [#5872](https://github.com/rubygems/rubygems/pull/5872)
336
+ - Support marshaled index specifications with `nil` required ruby version [#5824](https://github.com/rubygems/rubygems/pull/5824)
337
+
338
+ ## Bug fixes:
339
+
340
+ - Fix resolution hanging on musl platforms [#5875](https://github.com/rubygems/rubygems/pull/5875)
341
+ - Fix another regression affecting the sorbet family of gems [#5874](https://github.com/rubygems/rubygems/pull/5874)
342
+
343
+ ## Documentation:
344
+
345
+ - Introduce bundle-console(1) man [#5901](https://github.com/rubygems/rubygems/pull/5901)
346
+ - Introduce bundle-version(1) man [#5895](https://github.com/rubygems/rubygems/pull/5895)
347
+ - Introduce bundle-help(1) man [#5886](https://github.com/rubygems/rubygems/pull/5886)
348
+
349
+ # 2.3.21 (August 24, 2022)
350
+
351
+ ## Enhancements:
352
+
353
+ - Backport non gnu libc linux support from RubyGems [#4488](https://github.com/rubygems/rubygems/pull/4488)
354
+ - Improve `Bundler.rm_rf` error message [#5861](https://github.com/rubygems/rubygems/pull/5861)
355
+ - Disallow both `--branch` and `--ref` at the same time in bundle-plugin [#5855](https://github.com/rubygems/rubygems/pull/5855)
356
+ - Restore previous performance of private RubyGems servers [#5826](https://github.com/rubygems/rubygems/pull/5826)
357
+
358
+ ## Bug fixes:
359
+
360
+ - Fix conservative update downgrading top level gems [#5847](https://github.com/rubygems/rubygems/pull/5847)
361
+ - Fix edge case where `bundler/inline` unintentionally skips install [#5848](https://github.com/rubygems/rubygems/pull/5848)
362
+ - Fix `bundle platform` crash when there's a lockfile with no Ruby locked [#5850](https://github.com/rubygems/rubygems/pull/5850)
363
+ - Fix crash when incomplete locked specifications are found in transitive dependencies [#5840](https://github.com/rubygems/rubygems/pull/5840)
364
+ - Fix Ruby platform incorrectly removed on `bundle update` [#5832](https://github.com/rubygems/rubygems/pull/5832)
365
+
366
+ ## Documentation:
367
+
368
+ - Explain cancelled CLI deprecations clearly [#5864](https://github.com/rubygems/rubygems/pull/5864)
369
+ - Improve `bundle config` command synopsis [#5854](https://github.com/rubygems/rubygems/pull/5854)
370
+ - Introduce bundle-plugin(1) man [#5853](https://github.com/rubygems/rubygems/pull/5853)
371
+
372
+ # 2.3.20 (August 10, 2022)
373
+
374
+ ## Enhancements:
375
+
376
+ - Consistently ignore patchlevel when reporting `bundle platform --ruby` [#5793](https://github.com/rubygems/rubygems/pull/5793)
377
+ - Make `--standalone` play nice with `--local` [#5762](https://github.com/rubygems/rubygems/pull/5762)
378
+ - Implement `bundle install --prefer-local` [#5761](https://github.com/rubygems/rubygems/pull/5761)
379
+
380
+ ## Bug fixes:
381
+
382
+ - Fix regression where yanked gems are now unintentionally updated when other gems are unlocked [#5812](https://github.com/rubygems/rubygems/pull/5812)
383
+ - Automatically remove "ruby" from lockfile if incomplete [#5807](https://github.com/rubygems/rubygems/pull/5807)
384
+ - Fix `bundle outdated --strict` showing too many outdated gems [#5798](https://github.com/rubygems/rubygems/pull/5798)
385
+ - Don't discard candidates matching Ruby metadata [#5784](https://github.com/rubygems/rubygems/pull/5784)
386
+ - Fix `bundle outdated` crash in debug mode [#5796](https://github.com/rubygems/rubygems/pull/5796)
387
+ - Fix `ruby` DSL requirement matching for head and prerelease rubies [#5766](https://github.com/rubygems/rubygems/pull/5766)
388
+
389
+ ## Documentation:
390
+
391
+ - Update Bundler support policies to match what we do these days [#5813](https://github.com/rubygems/rubygems/pull/5813)
392
+ - Fix arguments for bundle-config(1) docs [#5804](https://github.com/rubygems/rubygems/pull/5804)
393
+ - Improve `bundle platform` man page [#5788](https://github.com/rubygems/rubygems/pull/5788)
394
+ - Remove `bundle cache` from deprecated commands list, and consistently link to `bundle cache` in man pages [#5783](https://github.com/rubygems/rubygems/pull/5783)
395
+ - Add package/pack aliases to man pages for cache [#5785](https://github.com/rubygems/rubygems/pull/5785)
396
+ - Add deprecation notice of bundle console [#5775](https://github.com/rubygems/rubygems/pull/5775)
397
+
398
+ # 2.3.19 (July 27, 2022)
399
+
400
+ ## Enhancements:
401
+
402
+ - Add `Bundler.settings[:only]` to install gems of the specified groups [#5759](https://github.com/rubygems/rubygems/pull/5759)
403
+ - Add `ignore_funding_requests` config flag [#5767](https://github.com/rubygems/rubygems/pull/5767)
404
+ - Prevent random crash when autoloading `Pathname` [#5769](https://github.com/rubygems/rubygems/pull/5769)
405
+ - Don't corrupt lockfile when user moves a gem that's already in the lockfile to an incorrect source by mistake [#5070](https://github.com/rubygems/rubygems/pull/5070)
406
+ - Reconcile error/warning message for multiple global sources with documentation [#5741](https://github.com/rubygems/rubygems/pull/5741)
407
+ - Improve error message when gems cannot be found to include the source for each gem [#5729](https://github.com/rubygems/rubygems/pull/5729)
408
+
409
+ ## Bug fixes:
410
+
411
+ - Fix yet another TruffleRuby platform selection regression [#5746](https://github.com/rubygems/rubygems/pull/5746)
412
+ - Show a proper error if extension dir is not writable [#5726](https://github.com/rubygems/rubygems/pull/5726)
413
+
414
+ ## Performance:
415
+
416
+ - Lazily check incomplete lockfile to improve performance [#5546](https://github.com/rubygems/rubygems/pull/5546)
417
+
418
+ ## Documentation:
419
+
420
+ - Add deprecation notice of bundle inject [#5776](https://github.com/rubygems/rubygems/pull/5776)
421
+ - Add deprecation notice of `bundle viz` to man pages [#5765](https://github.com/rubygems/rubygems/pull/5765)
422
+ - Update command example in `bundle exec` man page [#5754](https://github.com/rubygems/rubygems/pull/5754)
423
+ - Remove bundle show from obsolete commands [#5753](https://github.com/rubygems/rubygems/pull/5753)
424
+ - Improve global source(s) documentation [#5732](https://github.com/rubygems/rubygems/pull/5732)
425
+ - Use https protocol for URLs for config mirror in bundler man [#5722](https://github.com/rubygems/rubygems/pull/5722)
426
+
427
+ # 2.3.18 (July 14, 2022)
428
+
429
+ ## Enhancements:
430
+
431
+ - Extend `gem` DSL with a `force_ruby_platform` option [#4049](https://github.com/rubygems/rubygems/pull/4049)
432
+
433
+ ## Bug fixes:
434
+
435
+ - Fix misleading error if compact index cannot be copied [#5709](https://github.com/rubygems/rubygems/pull/5709)
436
+ - Fix TruffleRuby no longer able to install lockfiles generated with other implementations [#5711](https://github.com/rubygems/rubygems/pull/5711)
437
+ - Fix TruffleRuby no longer installing lockfiles using "ruby" platform correctly [#5694](https://github.com/rubygems/rubygems/pull/5694)
438
+ - Fix crash when updating vendor cache of default gems [#5679](https://github.com/rubygems/rubygems/pull/5679)
439
+
440
+ ## Performance:
441
+
442
+ - Speed up `bundler/setup` by using the raw `Gemfile.lock` information without extra processing whenever possible [#5695](https://github.com/rubygems/rubygems/pull/5695)
443
+
444
+ ## Documentation:
445
+
446
+ - Use modern style hashes in Gemfile DSL docs [#5674](https://github.com/rubygems/rubygems/pull/5674)
447
+
448
+ # 2.3.17 (June 29, 2022)
449
+
450
+ ## Enhancements:
451
+
452
+ - Add support for platform `:x64_mingw` to correctly lookup "x64-mingw-ucrt" [#5649](https://github.com/rubygems/rubygems/pull/5649)
453
+ - Fix some errors being printed twice in `--verbose` mode [#5654](https://github.com/rubygems/rubygems/pull/5654)
454
+ - Fix extension paths in generated standalone script [#5632](https://github.com/rubygems/rubygems/pull/5632)
455
+
456
+ ## Bug fixes:
457
+
458
+ - Raise if ruby platform is forced and there are no ruby variants [#5495](https://github.com/rubygems/rubygems/pull/5495)
459
+ - Fix `bundle package --no-install` no longer skipping install [#5639](https://github.com/rubygems/rubygems/pull/5639)
460
+
461
+ ## Performance:
462
+
463
+ - Improve performance of `Bundler::SpecSet#for` by using hash lookup of handled deps [#5537](https://github.com/rubygems/rubygems/pull/5537)
464
+
465
+ ## Documentation:
466
+
467
+ - Fix formatting issue in `bundle add` man page [#5642](https://github.com/rubygems/rubygems/pull/5642)
468
+
469
+ # 2.3.16 (June 15, 2022)
470
+
471
+ ## Performance:
472
+
473
+ - Improve performance of installing gems from gem server sources [#5614](https://github.com/rubygems/rubygems/pull/5614)
474
+
475
+ # 2.3.15 (June 1, 2022)
476
+
477
+ ## Enhancements:
478
+
479
+ - Show better error when previous installation fails to be removed [#5564](https://github.com/rubygems/rubygems/pull/5564)
480
+ - Show exception cause in bug report template [#5563](https://github.com/rubygems/rubygems/pull/5563)
481
+
482
+ ## Bug fixes:
483
+
484
+ - Fix `bundle remove` by invalidating cached `Bundle.definition` [#5443](https://github.com/rubygems/rubygems/pull/5443)
485
+ - Fix generated standalone script when it includes default gems [#5586](https://github.com/rubygems/rubygems/pull/5586)
486
+ - Skip duplicated dependency warning for gemspec dev deps [#5587](https://github.com/rubygems/rubygems/pull/5587)
487
+ - Give better conflict resolution advice [#5581](https://github.com/rubygems/rubygems/pull/5581)
488
+ - Fix crash when commenting out a mirror in configuration [#5576](https://github.com/rubygems/rubygems/pull/5576)
489
+ - Fix crash when installing gems with symlinks [#5570](https://github.com/rubygems/rubygems/pull/5570)
490
+ - Ignore `Errno::EROFS` errors when creating `bundler.lock` [#5580](https://github.com/rubygems/rubygems/pull/5580)
491
+ - Ignore `Errno::EPERM` errors when creating `bundler.lock` [#5579](https://github.com/rubygems/rubygems/pull/5579)
492
+ - Fix crash when printing resolution conflicts on metadata requirements [#5562](https://github.com/rubygems/rubygems/pull/5562)
493
+
494
+ # 2.3.14 (May 18, 2022)
495
+
496
+ ## Bug fixes:
497
+
498
+ - Fix confusing inline mode install output [#5530](https://github.com/rubygems/rubygems/pull/5530)
499
+ - Fix error message when locked version of a gem does not support running Ruby [#5525](https://github.com/rubygems/rubygems/pull/5525)
500
+
501
+ ## Performance:
502
+
503
+ - Improve `bundler/setup` performance again by not deduplicating intermediate results [#5533](https://github.com/rubygems/rubygems/pull/5533)
504
+
505
+ ## Documentation:
506
+
507
+ - Fix typo in documentation [#5514](https://github.com/rubygems/rubygems/pull/5514)
508
+ - Update man page for `require` option in `bundle add` command [#5513](https://github.com/rubygems/rubygems/pull/5513)
509
+
510
+ # 2.3.13 (May 4, 2022)
511
+
512
+ ## Bug fixes:
513
+
514
+ - Fix missing required rubygems version when using old APIs [#5496](https://github.com/rubygems/rubygems/pull/5496)
515
+ - Fix crash when gem used twice in Gemfile under different platforms [#5187](https://github.com/rubygems/rubygems/pull/5187)
516
+
517
+ ## Performance:
518
+
519
+ - Speed up `bundler/setup` time [#5503](https://github.com/rubygems/rubygems/pull/5503)
520
+
1
521
  # 2.3.12 (April 20, 2022)
2
522
 
3
523
  ## Enhancements:
@@ -1204,7 +1724,7 @@ Changes
1204
1724
 
1205
1725
  - avoid new RubyGems warning about unsafe YAML loading (to keep output consistent) (@segiddins)
1206
1726
  - load digest subclasses in a thread-safe manner (@segiddins, @colby-swandale)
1207
- - avoid unusued variable warnings under ruby 2.5 (@amatsuda)
1727
+ - avoid unused variable warnings under ruby 2.5 (@amatsuda)
1208
1728
  - fix printing the same message twice in verbose mode ([#6028](https://github.com/rubygems/bundler/issues/6028), @akhramov)
1209
1729
  - allow `SignalException`s to bubble up to the interpreter during `bundle exec` ([#6090](https://github.com/rubygems/bundler/issues/6090), @dekellum)
1210
1730
  - avoid activating stdlib digest under Ruby 2.5 (@segiddins)
data/README.md CHANGED
@@ -38,20 +38,17 @@ Still stuck? Try [filing an issue](https://github.com/rubygems/rubygems/issues/n
38
38
 
39
39
  To see what has changed in recent versions of Bundler, see the [CHANGELOG](CHANGELOG.md).
40
40
 
41
- To get in touch with the Bundler core team and other Bundler users, please see [getting help](doc/contributing/GETTING_HELP.md).
41
+ To get in touch with the Bundler core team and other Bundler users, please join [the Bundler slack](https://slack.bundler.io).
42
42
 
43
43
  ### Contributing
44
44
 
45
45
  If you'd like to contribute to Bundler, that's awesome, and we <3 you. We've put together [the Bundler contributor guide](https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/README.md) with all of the information you need to get started.
46
46
 
47
- If you'd like to request a substantial change to Bundler or its documentation, refer to the [Bundler RFC process](https://github.com/bundler/rfcs) for more information.
48
-
49
- While some Bundler contributors are compensated by Ruby Together, the project maintainers make decisions independent of Ruby Together. As a project, we welcome contributions regardless of the author's affiliation with Ruby Together.
47
+ If you'd like to request a substantial change to Bundler or its documentation, refer to the [Bundler RFC process](https://github.com/rubygems/rfcs) for more information.
50
48
 
51
49
  ### Supporting
52
50
 
53
- <a href="https://rubytogether.org/"><img src="https://rubytogether.org/images/rubies.svg" width="150"></a><br>
54
- <a href="https://rubytogether.org/">Ruby Together</a> pays some Bundler maintainers for their ongoing work. As a grassroots initiative committed to supporting the critical Ruby infrastructure you rely on, Ruby Together is funded entirely by the Ruby community. Contribute today <a href="https://rubytogether.org/developers">as an individual</a> or (better yet) <a href="https://rubytogether.org/companies">as a company</a> to ensure that Bundler, RubyGems, and other shared tooling is around for years to come.
51
+ RubyGems is managed by [Ruby Central](https://rubycentral.org), a non-profit organization that supports the Ruby community through projects like this one, as well as [RubyConf](https://rubyconf.org), [RailsConf](https://railsconf.org), and [RubyGems.org](https://rubygems.org). You can support Ruby Central by attending or [sponsoring](sponsors@rubycentral.org) a conference, or by [joining as a supporting member](https://rubycentral.org/#/portal/signup).
55
52
 
56
53
  ### Code of Conduct
57
54
 
data/bundler.gemspec CHANGED
@@ -22,17 +22,15 @@ Gem::Specification.new do |s|
22
22
  s.summary = "The best way to manage your application's dependencies"
23
23
  s.description = "Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably"
24
24
 
25
- if s.respond_to?(:metadata=)
26
- s.metadata = {
27
- "bug_tracker_uri" => "https://github.com/rubygems/rubygems/issues?q=is%3Aopen+is%3Aissue+label%3ABundler",
28
- "changelog_uri" => "https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md",
29
- "homepage_uri" => "https://bundler.io/",
30
- "source_code_uri" => "https://github.com/rubygems/rubygems/",
31
- }
32
- end
25
+ s.metadata = {
26
+ "bug_tracker_uri" => "https://github.com/rubygems/rubygems/issues?q=is%3Aopen+is%3Aissue+label%3ABundler",
27
+ "changelog_uri" => "https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md",
28
+ "homepage_uri" => "https://bundler.io/",
29
+ "source_code_uri" => "https://github.com/rubygems/rubygems/tree/master/bundler",
30
+ }
33
31
 
34
- s.required_ruby_version = ">= 2.3.0"
35
- s.required_rubygems_version = ">= 2.5.2"
32
+ s.required_ruby_version = ">= 2.6.0"
33
+ s.required_rubygems_version = ">= 3.0.1"
36
34
 
37
35
  s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
38
36
 
data/exe/bundle CHANGED
@@ -10,15 +10,12 @@ end
10
10
  base_path = File.expand_path("../lib", __dir__)
11
11
 
12
12
  if File.exist?(base_path)
13
- require_relative "../lib/bundler"
14
- else
15
- require "bundler"
13
+ $LOAD_PATH.unshift(base_path)
16
14
  end
17
15
 
18
- # Workaround for non-activated bundler spec due to missing https://github.com/rubygems/rubygems/commit/4e306d7bcdee924b8d80ca9db6125aa59ee4e5a3
19
- gem "bundler", Bundler::VERSION if Gem.rubygems_version < Gem::Version.new("2.6.2")
16
+ require "bundler"
20
17
 
21
- if Gem.rubygems_version < Gem::Version.new("3.2.3") && Gem.ruby_version < Gem::Version.new("2.6.a") && !ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"]
18
+ if Gem.rubygems_version < Gem::Version.new("3.2.3") && Gem.ruby_version < Gem::Version.new("2.7.a") && !ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"]
22
19
  Bundler.ui.warn \
23
20
  "Your RubyGems version (#{Gem::VERSION}) has a bug that prevents " \
24
21
  "`required_ruby_version` from working for Bundler. Any scripts that use " \
@@ -27,18 +24,10 @@ if Gem.rubygems_version < Gem::Version.new("3.2.3") && Gem.ruby_version < Gem::V
27
24
  "and silence this warning by running `gem update --system 3.2.3`"
28
25
  end
29
26
 
30
- if File.exist?(base_path)
31
- require_relative "../lib/bundler/friendly_errors"
32
- else
33
- require "bundler/friendly_errors"
34
- end
27
+ require "bundler/friendly_errors"
35
28
 
36
29
  Bundler.with_friendly_errors do
37
- if File.exist?(base_path)
38
- require_relative "../lib/bundler/cli"
39
- else
40
- require "bundler/cli"
41
- end
30
+ require "bundler/cli"
42
31
 
43
32
  # Allow any command to use --help flag to show help for that command
44
33
  help_flags = %w[--help -h]
@@ -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 = "2022-04-20".freeze
8
- @git_commit_sha = "75031e03f4".freeze
7
+ @built_at = "2023-07-14".freeze
8
+ @git_commit_sha = "36ea2bc283".freeze
9
9
  @release = true
10
10
  # end ivars
11
11