← 输入框|github.com|刷新
Skip to content

Releases

3.2.0

Choose a tag to compare

@tomschr tomschr released this 26 Nov 14:58

What's Changed

Full Changelog: 3.1.3...3.2.0
PyPI: https://pypi.org/project/semver/3.2.0/

3.1.3

Choose a tag to compare

@tomschr tomschr released this 26 Nov 10:09
14091f7

What's Changed

New Contributors

Full Changelog: 3.1.2...3.1.3
PyPI: https://test.pypi.org/project/semver/3.1.3/

3.1.2

Choose a tag to compare

@tomschr tomschr released this 15 Nov 17:00
d52fffb

What's Changed

  • Deprecate cross-type Version equality in semver 3 by @tomschr in #507
  • Skip prerelease comparison in Version.compare when the result is known by @g4lb in #511
  • Bump version 3.1.1 -> 3.1.2 by @tomschr in #512

New Contributors

  • @g4lb made their first contribution in #511

Full Changelog: 3.1.1...3.1.2
PyPI: https://pypi.org/project/semver/3.1.2/

3.1.1

Choose a tag to compare

@tomschr tomschr released this 09 Nov 11:42
b6e83e3

What's Changed

  • Reject invalid token arguments in Version.bump_prerelease and Version.bump_build by @Str0k in #483
  • Fix #484: Increment old-style prerelease with dot by @tomschr in #485
  • Drop build metadata when bumping an old-style prerelease by @youdie006 in #486
  • Compare long numeric prerelease identifiers without integer conversion by @SAY-5 in #488
  • fix: validate and match prerelease token prefixes by @MbappeWU in #489
  • Bump urllib3 from 2.7.0 to 2.8.0 by @dependabot[bot] in #491
  • Bump virtualenv from 21.5.1 to 21.7.13 by @dependabot[bot] in #492
  • Annotate supported bytes inputs to Version.is_valid by @xiehuanyi in #495
  • Preserve version order when switching prerelease tokens by @Apeksha9389 in #498
  • Preserve version order when legacy prerelease counters roll over by @pabszero in #500
  • Bump virtualenv from 21.7.13 to 21.14.13 by @dependabot[bot] in #503
  • Bump certifi from 2026.6.17 to 2026.10.19 by @dependabot[bot] in #504
  • Preserve constructor TypeError in Version.replace by @Zhuyuyangyy in #501
  • test: cover six behaviours found untested by mutation testing by @coresystemdev23 in #502
  • Use the integer index protocol for Version subscripts by @shrohan2003 in #508
  • Bump version 3.1.0 -> 3.1.1 by @tomschr in #509

New Contributors

Full Changelog: 3.1.0...3.1.1
Documentation: https://python-semver.readthedocs.io/en/3.1.1/
Discussion: #510

3.1.0

Choose a tag to compare

@tomschr tomschr released this 12 Sep 18:36
642d1bc

What's Changed

  • Fix #463: Remove duplicate code Version.bump_build by @tomschr in #464
  • Fix #460 Improve bump_prerelease to alway get a newer version by @Learloj in #462
  • 441 update pydantic section of docs by @jbkroner in #442
  • Fix #448: Remove Python 3.7-3.9 (EOL) by @tomschr in #470
  • fix: replace semver.parse() with semver.Version.parse() in docstrings by @koteshyelamati in #471
  • fix: next_version should bump version for build-only versions by @binggao1230 in #469
  • fix(next_version): reset prerelease when token changes (#339) by @Mukller in #472
  • Bump cryptography from 49.0.0 to 50.0.0 by @dependabot[bot] in #473
  • Declare support for Python 3.15 by @edgarrmondragon in #475
  • Add optional native parser backend (minimal adapter) by @lowmiaq-gmail in #476
  • Reject non-ASCII digits and trailing newlines in version parsing by @Str0k in #478
  • Fix bump_build() silently returning an unchanged version for digitless build metadata by @Str0k in #480
  • Handle malformed collection operands in Version comparisons by @Str0k in #479
  • Change version to 3.1.0 by @tomschr in #481

New Contributors

Full Changelog: 3.0.4...3.1.0
Documentation: https://python-semver.readthedocs.io/en/3.1.0/

3.0.4

Choose a tag to compare

@tomschr tomschr released this 24 Jan 13:23
6adf876

Documentation: https://python-semver.rtfd.io/en/3.0.4/
PyPI: https://pypi.org/project/semver/3.0.4/
Full Changelog: 3.0.3...3.0.4

What's Changed

New Contributors

Thanks to @RobPasMue and @mgorny ❤️

3.0.3

Choose a tag to compare

@tomschr tomschr released this 18 Jan 14:10
486e489

Documentation: https://python-semver.rtfd.io/en/3.0.3/
PyPI: https://pypi.org/project/semver/3.0.3/ (yanked release)
Full Changelog: 3.0.2...3.0.3

What's Changed

New Contributors

3.0.2

Choose a tag to compare

@tomschr tomschr released this 09 Oct 12:00

Documentation: https://python-semver.rtfd.io/en/3.0.2/
PyPI: https://pypi.org/project/semver/3.0.2/
Full Changelog: 3.0.1...3.0.2
Full Changelog between last 2 release and 3: 3.0.1...3.0.2

What's Changed

New Contributors

Full Changelog: 3.0.1...3.0.2

3.0.1

Choose a tag to compare

@tomschr tomschr released this 14 Jun 11:50
c268060

Related pr: #413

Documentation: https://python-semver.rtfd.io/en/3.0.1/
PyPI: https://pypi.org/project/semver/3.0.1/
Full Changelog: 3.0.0...3.0.1
Full Changelog between last 2 release and 3: 2.13.0...3.0.1

What's Changed

New Contributors

Full Changelog: 3.0.0...3.0.1

3.0.0

Choose a tag to compare

@tomschr tomschr released this 02 Apr 13:20
3a7680d

Related pr: #403

Documentation: https://python-semver.rtfd.io/en/3.0.0/
PyPI: https://pypi.org/project/semver/3.0.0/
Full Changelog: 3.0.0-rc.1...3.0.0
Full Changelog between last 2 release and 3: 2.13.0...3.0.0

What's Changed