semver breaking changes
semver 3.2.0 (November 26, 2026) is its newest release with breaking changes. The first: Default changed MAX_LENGTH. Every breaking API change we have recorded in semver on PyPI: 57 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.2.0, released November 26, 2026. Source repository
Its 3.1.0 release drops Python 3.7 and 3.9. Python end of life dates.
semver 3.2.0 breaking changes
- Default changed
MAX_LENGTH
The maximum length limit MAX_LENGTH was raised to 255, so strings longer than the previous limit are now accepted. Code that relied on the old limit to reject them must be updated. github.com
semver 3.1.1 breaking changes
- Behavior changed
Version.bump_build
Version.bump_build now raises an error for invalid token arguments that it previously accepted. Check that the tokens you pass are valid. github.com - Behavior changed
Version.bump_prerelease
Version.bump_prerelease now raises an error for invalid token arguments that it previously accepted. Check that the tokens you pass are valid. github.com - Signature changed
semver.Version.__getitem__
Was def __getitem__(self, index: Union[int, slice]) -> Union[int, Optional[str], Tuple[Union[int, str], ...]]; now def __getitem__(self, index: Union[SupportsIndex, slice]) -> Union[int, Optional[str], Tuple[Union[int, str], ...]]. pypi.org - Signature changed
semver.Version.is_valid
Was @classmethod def is_valid(cls, version: str) -> bool; now @classmethod def is_valid(cls, version: String) -> bool. pypi.org - Signature changed
semver.version.Version.__getitem__
Was def __getitem__(self, index: Union[int, slice]) -> Union[int, Optional[str], Tuple[Union[int, str], ...]]; now def __getitem__(self, index: Union[SupportsIndex, slice]) -> Union[int, Optional[str], Tuple[Union[int, str], ...]]. pypi.org - Signature changed
semver.version.Version.is_valid
Was @classmethod def is_valid(cls, version: str) -> bool; now @classmethod def is_valid(cls, version: String) -> bool. pypi.org
semver 3.1.0 breaking changes
- Removed
Python 3.7 to 3.9 are no longer supported, as they reached end of life. Users on these Python versions must stay on semver 3.0.4 or upgrade their Python. github.com - Behavior changed
Version strings containing non-ASCII digits or trailing newlines are now rejected during parsing. Code that relied on accepting such input must be updated. github.com - Behavior changed
next_version
next_version clears the prerelease part when the bumped token changes. Code that depended on the old prerelease handling may get different results. github.com - Signature changed
semver.Version.bump_prerelease
Was def bump_prerelease(self, token: Optional[str] = 'rc') -> Version; now def bump_prerelease(self, token: Optional[str] = 'rc', bump_when_empty: Optional[bool] = False) -> Version. pypi.org - Signature changed
semver.version.Version.bump_prerelease
Was def bump_prerelease(self, token: Optional[str] = 'rc') -> Version; now def bump_prerelease(self, token: Optional[str] = 'rc', bump_when_empty: Optional[bool] = False) -> Version. pypi.org
semver 3.0.0 breaking changes
- Removed
semver.deprecated
semver.deprecated was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__eq__
VersionInfo.__eq__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__ge__
VersionInfo.__ge__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__getitem__
VersionInfo.__getitem__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__gt__
VersionInfo.__gt__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__hash__
VersionInfo.__hash__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__init__
VersionInfo() was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__iter__
VersionInfo.__iter__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__le__
VersionInfo.__le__ was removed in semver 3.0.0 pypi.org - Removed
semver.VersionInfo.__lt__
VersionInfo.__lt__ was removed in semver 3.0.0 pypi.org
And 29 more in this version. Sign up to see every change
semver 3.0.0.dev3 breaking changes
- Renamed
semver.version.cmp
The function semver.version.cmp was renamed to a private name and should no longer be used directly. github.com - Renamed
semver.version.comparator
The function semver.version.comparator was renamed to a private name and should no longer be used directly. github.com - Behavior changed
Version
Comparing a Version with an unsupported type now returns NotImplemented rather than raising TypeError, so code catching TypeError will behave differently. github.com
semver 3.0.0.dev2 breaking changes
- Signature changed
semver.VersionInfo
The VersionInfo class is now named Version; the old name remains as an alias for compatibility. pypi.org
Older versions
1 older version.
Show 1 older version
semver 3.0.0.dev1 breaking changes
- Removed
Code and test configuration related to Python 2 and older Python 3 versions were removed, so Python 2.7, 3.4 and 3.5 are no longer supported. github.com - Behavior changed
VersionInfo
VersionInfo arguments major, minor and patch can no longer be negative, so code passing negative numbers will now fail. github.com
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.