You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v6.0.0 no longer ships Git::Repository#lib. In v5.x it warns and returns self so that v4.x g.lib.some_method calls forward to the facade. After this change g.lib raises NoMethodError; callers use the facade method directly, as the "Git::Lib removed" entry in UPGRADING.md already maps for every affected call.
Per ADR-0007, the removal merges only after its deprecation and UPGRADING.md entry are in a normal release. Both shipped in v5.0.0; this ticket is additionally blocked on #1767 so every v5.x documentation fix ships before main becomes the v6.0.0 line.
Git::Repository#lib is removed along with its unit spec examples
The stale lib/git/lib.rb entry under Metrics/ClassLength in .rubocop_todo.yml is removed (the file has not existed since v5.0.0)
The "Upgrading to v6.0.0" section of UPGRADING.md states that #lib is gone, and the v5.x "Git::Lib removed" tables stay as the migration reference for callers upgrading from 4.x
Commit marked breaking (! and a BREAKING CHANGE: footer)
The Git::Repository#lib shim that warns Git::Repository#lib is deprecated and will be removed in v6.0.0 and the "Git::Lib removed" UPGRADING.md entry first shipped in v5.0.0 (released 2026-07-28, commit b28c306). Verified against the v5.0.0 tag: lib/git/repository.rb carries the warning and UPGRADING.md carries the entry with its migration tables.
Activity
jcouball commentedon Sep 6, 2026
ADR-0007 gate check (2026-09-06):
Git::Repository#libshim that warnsGit::Repository#lib is deprecated and will be removed in v6.0.0and the "Git::Libremoved" UPGRADING.md entry first shipped in v5.0.0 (released 2026-07-28, commit b28c306). Verified against thev5.0.0tag:lib/git/repository.rbcarries the warning andUPGRADING.mdcarries the entry with its migration tables.The gate is satisfied. Implementation follows on the
feat/remove-repository-libbranch.feat!: remove Git::Repository#lib