Repository navigation
Tags
Tags
Toggle 3.2.1's commit message
Bump version 3.2.0 -> 3.2.1 (#538)
Additional changes:
* Move `semver.version` more prominently in the API docs and move the
deprecated functions at the end.
* Document Version.NAMES and Version.MAX_LENGTH
* Update docstring with Sphinx ..version(added|changed) directives
* Update filelock to 4.3.3
Toggle 3.2.0's commit message
Version 3.2.0
* The `Version.MAX_LENGTH` limit was set too low, raising to to 255
(#521)
* Updated `filelock` package to 4.1.0 due to security issues.
Toggle 3.1.3's commit message
Version 3.1.3
* Fix empty-input validation in the prefixed version example (#514)
* Fix hash contract: equal Versions must hash equal (#515) (#516)
* Security fix GHSA-3qgw-g8j9-rcg4
Toggle 3.1.2's commit message
Version 3.1.2
* Deprecate cross-type Version equality in semver 3 (#507)
* Skip prerelease comparison in Version.compare when the result is known (#511)
Toggle 3.1.1's commit message
Version 3.1.1
* Bug fixes: #483, #486, #489, #495, #501, #508, #484, #487, #497, #499
* Trivial changes: #502
* pyproject.toml
* Use correct license and license-files to avoid warnings. Remove
licence classifiers as they are unsupported by setuptools
* Raise minimum version of setuptools to >= 77.0.3
Toggle 3.1.0's commit message
Version 3.1.0
* #478: `Version.parse()` and `Version.is_valid()` now reject non-ASCII digits and
trailing newlines, in accordance with the SemVer grammar. Optional minor and
patch parsing applies the same character restrictions.
* #479: Comparing a `Version` with a `dict`, `tuple`, or `list` that cannot
construct a valid version (for example, an empty collection, wrong number
of parts, non-numeric parts, or unknown keys) no longer raises internal errors
from `Version.__init__`. The comparison operators now return `NotImplemented`
for such operands, following the general rule for invalid comparison operand
types: equality evaluates to `False` and ordering raises Python's standard
`TypeError` (for example, `>` not supported between instances of 'Version' and 'dict').
* #480: `Version.bump_build` will now add `.0` to an existing build when the
last segment of the current build metadata, split by dots is not numeric.
This is to ensure the bumped version contains a raised build instead of silently
returning an unchanged version. For example, `1.2.3+alpha` is bumped to `1.2.3+alpha.0`.
This mirrors the corresponding fix for the prerelease part #460. Related to #466.
* #476: Added optional `[native]` extra to accelerate parsing on CPython via the
`fast-semver-rs-backend` package. The pure-Python parser remains the default;
the native backend is opt-in and only available on CPython.
* Update GitHub Actions for astral-sh/setup-uv (version 0.10.1), github/codeql-action (version 4)
Toggle 3.0.4's commit message
Fix 3.0.3:
* #457: Re-enable Trove license identifier
* #456: Fix source dist file
Toggle 3.0.3's commit message
Version 3.0.3
* #453: The check in `_comparator` does not match the check in `Version.compare`.
This breaks comparision with subclasses.
* #435: Several small improvements for documentation:
* Add meta description to improve SEO
* Use canonicals on ReadTheDocs (commit 87f639f)
* Pin versions for reproducable doc builds (commit 03fb990)
* Add missing `.readthedocs.yaml` file (commit ec9348a)
* Correct some smaller issues when building (commit f65feab)
* #436: Move search box more at the top. This makes it easier for
users as if the TOC is long, the search box isn't visible
anymore.
* #439: Improve type hints to fix TODOs
* #440: Update workflow file
* #446: Add Python 3.13 to GitHub Actions
* #447: Modernize project configs with `pyproject.toml` and
use Astral's uv command.
* In `pyproject.toml`:
* Move all project related data from `setup.cfg` to `pyproject.toml`
* Use new dependency group from PEP-735
* Consolidate flake8, isort, pycodestyle with ruff
* Split towncrier config type "trivial" into "trivial" and "internal"
* Create config file for ruff (`.ruff.toml`)
* Create config file for pytest (`.pytest.ini`)
* Simplify `tox.ini` and remove old stuff
* Document installation with new `uv` command
* Simplify Sphinx config with `find_version()`
* Update the authors
* Use `uv` in GitHub Action `python-testing.yml` workflow
* Update `release-procedure.md`.
* #451: Turn our Markdown issue templates into YAML
* #438`: Replace organization placeholder in license
* #445`: Improve private `_nat_cmp` method:
* Remove obsolete else.
* Find a better way to identify digits without the `re` module.
* Fix docstring in `Version.compare`
Toggle 3.0.2's commit message
Version 3.0.2
Bug Fixes
* PR#418: Replace :class:`~collection.OrderedDict` with :class:`dict`.
The dict datatype is ordered since Python 3.7. As we do not support
Python 3.6 anymore, it can be considered safe to avoid
:class:`~collection.OrderedDict`. Related to :gh:`419`.
* PR#426: Fix :meth:`~semver.version.Version.replace` method to use the
derived class of an instance instead of :class:`~semver.version.Version`
class.
Improved Documentation
* PR#431: Clarify version policy for the different semver versions
(v2, v3, >v3) and the supported Python versions.
* #432: Improve external doc links to Python and Pydantic.
Features
* PR#417: Amend GitHub Actions to check against MacOS.
Trivial/Internal Changes
* PR#420: Introduce :py:class:`~typing.ClassVar` for some
:class:`~semver.version.Version` class variables, mainly
:data:`~semver.version.Version.NAMES` and some private.
* PR#421: Insert mypy configuration into :file:`pyproject.toml` and
remove config options from :file:`tox.ini`.
Toggle 3.0.1's commit message
Version 3.0.1
Bug fixes
* Issue #410: Export functions properly using ``__all__`` in ``__init__.py``.
Minor changes
* Ignore exit code from docformatter in checks tox.ini
* Correct typo in release-procedure.md
* Update CHANGELOG.rst
Previous
Next