Skip to content

Prepare RubyGems 4.0.6 and Bundler 4.0.6#9308

Merged
hsbt merged 14 commits into4.0from
release/4.0.6
Feb 5, 2026
Merged

Prepare RubyGems 4.0.6 and Bundler 4.0.6#9308
hsbt merged 14 commits into4.0from
release/4.0.6

Conversation

@hsbt
Copy link
Member

@hsbt hsbt commented Feb 5, 2026

It's release day!

hsbt added 14 commits February 5, 2026 08:49
Remove outdated TODO in RemoteFetcher

(cherry picked from commit e88e69d)
Ensure revision is always re-resolved in `git_proxy.rb`

(cherry picked from commit d3512d0)
Update vendored resolv to 0.7.0

(cherry picked from commit 9c6ecda)
Lock diff-lcs < 2.0

(cherry picked from commit 89f7a86)
Fallback git/path sources to default source

(cherry picked from commit 5b7c8af)
Clarify local gem override docs to require git-sourced gems

(cherry picked from commit d0f6a30)
Fix gzip cache corruption when recovering from HTTP 416 responses

(cherry picked from commit 999afe3)
Copilot AI review requested due to automatic review settings February 5, 2026 00:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This is a release preparation pull request for RubyGems 4.0.6 and Bundler 4.0.6, updating version numbers, dependencies, and including several bug fixes with corresponding test coverage.

Changes:

  • Updated RubyGems from 4.0.5 to 4.0.6 and Bundler from 4.0.5 to 4.0.6
  • Updated vendored resolv library from 0.6.2 to 0.7.0
  • Fixed HTTP 416 response handling to prevent gzip cache corruption
  • Fixed git/path source fallback behavior to properly check for spec existence
  • Enhanced documentation for local gem overrides to clarify git source requirement

Reviewed changes

Copilot reviewed 46 out of 56 changed files in this pull request and generated no comments.

Show a summary per file
File Description
lib/rubygems.rb Version bump to 4.0.6
bundler/lib/bundler/version.rb Version bump to 4.0.6
bundler/lib/bundler/fetcher/downloader.rb Removed Accept-Encoding header addition on HTTP 416 retry to fix gzip corruption
bundler/lib/bundler/source/git/git_proxy.rb Changed @revision to revision method call for proper re-resolution
bundler/lib/bundler/definition.rb Added specs[s]&.any? check to prevent using non-existent specs from path sources
lib/rubygems/remote_fetcher.rb Removed TODO comment
lib/rubygems/vendor/resolv/lib/resolv.rb Updated vendored resolv to 0.7.0 with documentation improvements
tool/bundler/vendor_gems.rb Updated resolv dependency to 0.7.0
tool/automatiek/vendor.rb Updated resolv patch name reference
tool/automatiek/resolv-v0.7.0.patch Added patch file for resolv 0.7.0 vendoring
bundler/spec/spec_helper.rb Added diff-lcs version constraint to prevent compatibility issues
bundler/spec/install/gemfile/sources_spec.rb Added test coverage for path and git source fallback behavior
bundler/spec/bundler/fetcher/downloader_spec.rb Added test coverage for HTTP 416 handling without Accept-Encoding header
bundler/lib/bundler/man/*.1 Updated manual page dates from September 2025 to February 2026
bundler/lib/bundler/man/bundle-config.1.ronn Enhanced documentation clarifying local gem override requirements
bundler/lib/bundler/man/bundle-config.1 Generated manual page from .ronn source with documentation improvements
CHANGELOG.md Added RubyGems 4.0.6 changelog entry
bundler/CHANGELOG.md Added Bundler 4.0.6 changelog entry with bug fixes and documentation
Multiple .lock files Updated BUNDLED WITH version to 4.0.6 and updated dependency versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hsbt hsbt merged commit d181e51 into 4.0 Feb 5, 2026
94 checks passed
@hsbt hsbt deleted the release/4.0.6 branch February 5, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant