- update to revision g4d2df08:
- Changes for the upcoming release can be found in:
- the `"changelog.d" directory <https://github.com/python-semver/python-semver/tree/master/changelog.d>`_:
- in our repository.:
- update to version 3.0.0-dev.2:
- Deprecations:
- :gh:`169`: Deprecate CLI functions not imported from ``semver.cli``.
- Features:
- :gh:`169`: Create semver package and split code among different modules in the packages.
* Remove :file:`semver.py`
* Create :file:`src/semver/__init__.py`
* Create :file:`src/semver/cli.py` for all CLI methods
* Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions
* Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver`
* Create :file:`src/semver/_types.py` to hold type aliases
* Create :file:`src/semver/version.py` to hold the :class:`Version` class (old name :class:`VersionInfo`) and its utility functions
* Create :file:`src/semver/__about__.py` for all the metadata variables
- :gh:`305`: Rename :class:`VersionInfo` to :class:`Version` but keep an alias for compatibility
- Improved Documentation:
- :gh:`304`: Several improvements in documentation:
* Reorganize API documentation.
* Add migration chapter from semver2 to semver3.
* Distinguish between changlog for version 2 and 3
- :gh:`305`: Add note about :class:`Version` rename.
- Trivial/Internal Changes:
- :gh:`169`: Adapted infrastructure code to the new project layout.
* Replace :file:`setup.py` with :file:`setup.cfg` because the :file:`setup.cfg` is easier to use
* Adapt documentation code snippets where needed
* Adapt tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=31
- Features:
- :pr:`287`: Document how to create subclass from ``VersionInfo``
- Bug Fixes:
- :pr:`283`: Ensure equal versions have equal hashes.
Version equality means for semver, that ``major``,
``minor``, ``patch``, and ``prerelease`` parts are
equal in both versions you compare. The ``build`` part
is ignored.
- update to version 2.12.0:
- Bug Fixes:
- :gh:`291` (:pr:`292`): Disallow negative numbers of
major, minor, and patch for ``semver.VersionInfo``
- update to version 2.11.0:
- Bug Fixes:
- :gh:`276` (:pr:`277`): VersionInfo.parse should be a class method
Also add authors and update changelog in :gh:`286`
- :gh:`274` (:pr:`275`): Py2 vs. Py3 incompatibility TypeError
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=27
- Features:
- Increase coverage
- Bug Fixes:
- Fixed ``__getitem__`` returning None on wrong parts
- Doc: Add missing "install" subcommand for openSUSE
- Deprecations:
- functions `semver.max_ver`, `semver.min_ver`
- update to version 2.10.1:
- Features:
- Added release policy and version restriction in documentation to
help our users which would like to stay on the major 2 release.
- Simplified installation semver on openSUSE with ``obs://``.
- Made docstrings consistent
- Bug Fixes:
- Fixed return type of ``semver.VersionInfo.next_version``
to always return a ``VersionInfo`` instance.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=25
- Features:
- :gh:`177` (:pr:`178`): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)
- :pr:`179`: Added note about moving this project to the new python-semver organization on GitHub
- :gh:`187` (:pr:`188`): Added logo for python-semver organization and documentation
- :gh:`191` (:pr:`194`): Created manpage for pysemver
- :gh:`196` (:pr:`197`): Added distribution specific installation instructions
- :gh:`201` (:pr:`202`): Reformatted source code with black
- :gh:`208` (:pr:`209`): Introduce new function :func:`semver.VersionInfo.isvalid`
and extend :command:`pysemver` with :command:`check` subcommand
- :gh:`210` (:pr:`215`): Document how to deal with invalid versions
- :pr:`212`: Improve docstrings according to PEP257
- Bug Fixes:
- :gh:`192` (:pr:`193`): Fixed "pysemver" and "pysemver bump" when called without arguments
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=19