gitonomy/gitlib breaking changes
gitonomy/gitlib v2.0.0 (November 10, 2026) is its newest release with breaking changes, 371 of them. The first: gitonomy/gitlib v2.0.0 requires PHP 8.4 or later. Every breaking API change we have recorded in gitonomy/gitlib on Packagist: 371 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v2.0.0, released November 10, 2026. MIT license. Source repository
Its v2.0.0 release requires PHP 8.4 or later. PHP end of life dates.
gitonomy/gitlib v2.0.0 breaking changes
- Removed
The package now requires PHP 8.4 or later and uses native types throughout. github.com - Removed
gitlib 2.0 requires PHP 8.4 or later; stay on 1.7 for older PHP versions. github.com - Removed
Admin
Admin is removed; use the static methods of Repository instead. github.com - Removed
CommitReference
Use Submodule instead. github.com - Removed
Gitonomy\Git\Admin
Gitonomy\Git\Admin was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::$file
Gitonomy\Git\Blame::$file was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::$lineRange
Gitonomy\Git\Blame::$lineRange was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::$lines
Gitonomy\Git\Blame::$lines was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::$repository
Gitonomy\Git\Blame::$repository was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::$revision
Gitonomy\Git\Blame::$revision was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame::getGroupedLines
Use getHunks, which returns Blame\Hunk objects. packagist.org - Removed
Gitonomy\Git\Blame\Line::$blockLine
Gitonomy\Git\Blame\Line::$blockLine was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame\Line::$commit
Gitonomy\Git\Blame\Line::$commit was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame\Line::$content
Gitonomy\Git\Blame\Line::$content was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame\Line::$sourceLine
Gitonomy\Git\Blame\Line::$sourceLine was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame\Line::$targetLine
Gitonomy\Git\Blame\Line::$targetLine was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blame\Line::getLine
Use getNumber or getOriginalNumber instead. packagist.org - Removed
Gitonomy\Git\Blob::__construct
Gitonomy\Git\Blob::__construct was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blob::$content
Gitonomy\Git\Blob::$content was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blob::$hash
Gitonomy\Git\Blob::$hash was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blob::$mimetype
Gitonomy\Git\Blob::$mimetype was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blob::$repository
Gitonomy\Git\Blob::$repository was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Blob::$text
Gitonomy\Git\Blob::$text was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Commit::__construct
Gitonomy\Git\Commit::__construct was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Commit::getFixedShortHash
Commit::getFixedShortHash() is removed. packagist.org - Removed
Gitonomy\Git\Commit::getShortMessage
Commit::getShortMessage() is removed. packagist.org - Removed
Gitonomy\Git\Commit::setData
Gitonomy\Git\Commit::setData was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\CommitReference
Use Submodule instead. packagist.org - Removed
Gitonomy\Git\Diff\Diff::$files
Gitonomy\Git\Diff\Diff::$files was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\Diff::$rawDiff
Gitonomy\Git\Diff\Diff::$rawDiff was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\Diff::setRepository
Pass the repository to Diff::parse or fromArray instead. packagist.org - Removed
Gitonomy\Git\Diff\File::$changes
Gitonomy\Git\Diff\File::$changes was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$isBinary
Gitonomy\Git\Diff\File::$isBinary was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$newIndex
Gitonomy\Git\Diff\File::$newIndex was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$newMode
Gitonomy\Git\Diff\File::$newMode was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$newName
Gitonomy\Git\Diff\File::$newName was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$oldIndex
Gitonomy\Git\Diff\File::$oldIndex was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$oldMode
Gitonomy\Git\Diff\File::$oldMode was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$oldName
Gitonomy\Git\Diff\File::$oldName was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::$repository
Gitonomy\Git\Diff\File::$repository was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::addChange
Gitonomy\Git\Diff\File::addChange was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::getAnchor
Gitonomy\Git\Diff\File::getAnchor was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\File::isChangeMode
Use isModeChange, isDeletion, and a substring of getNewIndex instead. packagist.org - Removed
Gitonomy\Git\Diff\File::isDelete
Use isDeletion instead. packagist.org - Removed
Gitonomy\Git\Diff\File::setRepository
Gitonomy\Git\Diff\File::setRepository was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\FileChange::$lines
Gitonomy\Git\Diff\FileChange::$lines was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\FileChange::$rangeNewCount
Gitonomy\Git\Diff\FileChange::$rangeNewCount was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\FileChange::$rangeNewStart
Gitonomy\Git\Diff\FileChange::$rangeNewStart was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\FileChange::$rangeOldCount
Gitonomy\Git\Diff\FileChange::$rangeOldCount was removed in gitonomy/gitlib v2.0.0 packagist.org - Removed
Gitonomy\Git\Diff\FileChange::$rangeOldStart
Gitonomy\Git\Diff\FileChange::$rangeOldStart was removed in gitonomy/gitlib v2.0.0 packagist.org
And 321 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.