Change Log
All notable changes to this code base will be documented in this file, in every released version.
Version 2.13.0
- Released:
2020-10-20
- Maintainer:
Tom Schraitle
Features
https://github.com/python-semver/python-semver/pull/287: Document how to create subclass from
VersionInfo
Bug Fixes
https://github.com/python-semver/python-semver/pull/283: Ensure equal versions have equal hashes. Version equality means for semver, that
major
,minor
,patch
, andprerelease
parts are equal in both versions you compare. Thebuild
part is ignored.
Version 2.12.0
- Released:
2020-10-19
- Maintainer:
Tom Schraitle
Features
n/a
Bug Fixes
https://github.com/python-semver/python-semver/issues/291 (https://github.com/python-semver/python-semver/pull/292): Disallow negative numbers of major, minor, and patch for
semver.VersionInfo
Additions
n/a
Deprecations
n/a
Version 2.11.0
- Released:
2020-10-17
- Maintainer:
Tom Schraitle
Features
n/a
Bug Fixes
- https://github.com/python-semver/python-semver/issues/276 (https://github.com/python-semver/python-semver/pull/277): VersionInfo.parse should be a class method
Also add authors and update changelog in https://github.com/python-semver/python-semver/issues/286
https://github.com/python-semver/python-semver/issues/274 (https://github.com/python-semver/python-semver/pull/275): Py2 vs. Py3 incompatibility TypeError
Additions
n/a
Deprecations
n/a
Version 2.10.2
- Released:
2020-06-15
- Maintainer:
Tom Schraitle
Features
https://github.com/python-semver/python-semver/issues/268: Increase coverage
Bug Fixes
https://github.com/python-semver/python-semver/issues/260 (https://github.com/python-semver/python-semver/pull/261): Fixed
__getitem__
returning None on wrong partshttps://github.com/python-semver/python-semver/pull/263: Doc: Add missing “install” subcommand for openSUSE
Additions
n/a
Deprecations
Version 2.10.1
- Released:
2020-05-13
- Maintainer:
Tom Schraitle
Features
https://github.com/python-semver/python-semver/pull/249: Added release policy and version restriction in documentation to help our users which would like to stay on the major 2 release.
https://github.com/python-semver/python-semver/pull/250: Simplified installation semver on openSUSE with
obs://
.https://github.com/python-semver/python-semver/pull/256: Made docstrings consistent
Bug Fixes
https://github.com/python-semver/python-semver/issues/251 (https://github.com/python-semver/python-semver/pull/254): Fixed return type of
semver.VersionInfo.next_version
to always return aVersionInfo
instance.
Version 2.10.0
- Released:
2020-05-05
- Maintainer:
Tom Schraitle
Features
https://github.com/python-semver/python-semver/pull/138: Added
__getitem__
magic method tosemver.VersionInfo
class. Allows to access a version likeversion[1]
.https://github.com/python-semver/python-semver/pull/235: Improved documentation and shift focus on
semver.VersionInfo
instead of advertising the old and deprecated module-level functions.
Bug Fixes
https://github.com/python-semver/python-semver/issues/224 (https://github.com/python-semver/python-semver/pull/226): In
setup.py
, replaced in classclean
,super(CleanCommand, self).run()
withCleanCommand.run(self)
https://github.com/python-semver/python-semver/issues/244 (https://github.com/python-semver/python-semver/pull/245): Allow comparison with
VersionInfo
, tuple/list, dict, and string.
Additions
https://github.com/python-semver/python-semver/pull/228: Added better doctest integration
Deprecations
https://github.com/python-semver/python-semver/issues/225 (https://github.com/python-semver/python-semver/pull/229): Output a DeprecationWarning for the following functions:
semver.parse
semver.parse_version_info
semver.format_version
semver.bump_{major,minor,patch,prerelease,build}
semver.finalize_version
semver.replace
semver.VersionInfo._asdict
(use the new, public available functionsemver.VersionInfo.to_dict()
)semver.VersionInfo._astuple
(use the new, public available functionsemver.VersionInfo.to_tuple()
)
These deprecated functions will be removed in semver 3.
Version 2.9.1
- Released:
2020-02-16
- Maintainer:
Tom Schraitle
Features
https://github.com/python-semver/python-semver/issues/177 (https://github.com/python-semver/python-semver/pull/178): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)
https://github.com/python-semver/python-semver/pull/179: Added note about moving this project to the new python-semver organization on GitHub
https://github.com/python-semver/python-semver/issues/187 (https://github.com/python-semver/python-semver/pull/188): Added logo for python-semver organization and documentation
https://github.com/python-semver/python-semver/issues/191 (https://github.com/python-semver/python-semver/pull/194): Created manpage for pysemver
https://github.com/python-semver/python-semver/issues/196 (https://github.com/python-semver/python-semver/pull/197): Added distribution specific installation instructions
https://github.com/python-semver/python-semver/issues/201 (https://github.com/python-semver/python-semver/pull/202): Reformatted source code with black
https://github.com/python-semver/python-semver/issues/208 (https://github.com/python-semver/python-semver/pull/209): Introduce new function
semver.VersionInfo.isvalid()
and extend pysemver with check subcommandhttps://github.com/python-semver/python-semver/issues/210 (https://github.com/python-semver/python-semver/pull/215): Document how to deal with invalid versions
https://github.com/python-semver/python-semver/pull/212: Improve docstrings according to PEP257
Bug Fixes
https://github.com/python-semver/python-semver/issues/192 (https://github.com/python-semver/python-semver/pull/193): Fixed “pysemver” and “pysemver bump” when called without arguments
Version 2.9.0
- Released:
2019-10-30
- Maintainer:
Sébastien Celles <s.celles@gmail.com>
Features
https://github.com/python-semver/python-semver/issues/59 (https://github.com/python-semver/python-semver/pull/164): Implemented a command line interface
https://github.com/python-semver/python-semver/issues/85 (https://github.com/python-semver/python-semver/pull/147, https://github.com/python-semver/python-semver/pull/154): Improved contribution section
https://github.com/python-semver/python-semver/issues/104 (https://github.com/python-semver/python-semver/pull/125): Added iterator to
semver.VersionInfo()
https://github.com/python-semver/python-semver/issues/112, https://github.com/python-semver/python-semver/issues/113: Added Python 3.7 support
https://github.com/python-semver/python-semver/pull/120: Improved test_immutable function with properties
https://github.com/python-semver/python-semver/pull/125: Created
setup.cfg
for pytest and toxhttps://github.com/python-semver/python-semver/issues/126 (https://github.com/python-semver/python-semver/pull/127): Added target for documentation in
tox.ini
https://github.com/python-semver/python-semver/issues/142 (https://github.com/python-semver/python-semver/pull/143): Improved usage section
https://github.com/python-semver/python-semver/issues/144 (https://github.com/python-semver/python-semver/pull/156): Added
semver.replace()
andsemver.VersionInfo.replace()
functionshttps://github.com/python-semver/python-semver/issues/145 (https://github.com/python-semver/python-semver/pull/146): Added posargs in
tox.ini
https://github.com/python-semver/python-semver/pull/157: Introduce
conftest.py
to improve doctestshttps://github.com/python-semver/python-semver/pull/165: Improved code coverage
https://github.com/python-semver/python-semver/pull/166: Reworked
.gitignore
filehttps://github.com/python-semver/python-semver/issues/167 (https://github.com/python-semver/python-semver/pull/168): Introduced global constant
SEMVER_SPEC_VERSION
Bug Fixes
https://github.com/python-semver/python-semver/issues/102: Fixed comparison between VersionInfo and tuple
https://github.com/python-semver/python-semver/issues/103: Disallow comparison between VersionInfo and string (and int)
https://github.com/python-semver/python-semver/issues/121 (https://github.com/python-semver/python-semver/pull/122): Use python3 instead of python3.4 in
tox.ini
https://github.com/python-semver/python-semver/pull/123: Improved
__repr__()
and derive class name fromtype()
https://github.com/python-semver/python-semver/issues/128 (https://github.com/python-semver/python-semver/pull/129): Fixed wrong datatypes in docstring for
semver.format_version()
https://github.com/python-semver/python-semver/issues/135 (https://github.com/python-semver/python-semver/pull/140): Converted prerelease and build to string
https://github.com/python-semver/python-semver/issues/136 (https://github.com/python-semver/python-semver/pull/151): Added testsuite to tarball
https://github.com/python-semver/python-semver/issues/154 (https://github.com/python-semver/python-semver/pull/155): Improved README description
Removals
https://github.com/python-semver/python-semver/issues/111 (https://github.com/python-semver/python-semver/pull/110): Dropped Python 3.3
https://github.com/python-semver/python-semver/issues/148 (https://github.com/python-semver/python-semver/pull/149): Removed and replaced
python setup.py test
Version 2.8.2
- Released:
2019-05-19
- Maintainer:
Sébastien Celles <s.celles@gmail.com>
Skipped, not released.
Version 2.8.1
- Released:
2018-07-09
- Maintainer:
Sébastien Celles <s.celles@gmail.com>
Features
https://github.com/python-semver/python-semver/issues/40 (https://github.com/python-semver/python-semver/pull/88): Added a static parse method to VersionInfo
https://github.com/python-semver/python-semver/issues/77 (https://github.com/python-semver/python-semver/pull/47): Converted multiple tests into pytest.mark.parametrize
https://github.com/python-semver/python-semver/issues/87, https://github.com/python-semver/python-semver/issues/94 (https://github.com/python-semver/python-semver/pull/93): Removed named tuple inheritance.
https://github.com/python-semver/python-semver/issues/89 (https://github.com/python-semver/python-semver/pull/90): Added doctests.
Bug Fixes
https://github.com/python-semver/python-semver/issues/98 (https://github.com/python-semver/python-semver/pull/99): Set prerelease and build to None by default
https://github.com/python-semver/python-semver/issues/96 (https://github.com/python-semver/python-semver/pull/97): Made VersionInfo immutable
Version 2.8.0
- Released:
2018-05-16
- Maintainer:
Sébastien Celles <s.celles@gmail.com>
Changes
https://github.com/python-semver/python-semver/issues/82 (https://github.com/python-semver/python-semver/pull/83): Renamed
test.py
totest_semver.py
so py.test can autodiscover test file
Additions
https://github.com/python-semver/python-semver/issues/79 (https://github.com/python-semver/python-semver/pull/81, https://github.com/python-semver/python-semver/pull/84): Defined and improve a release procedure file
https://github.com/python-semver/python-semver/issues/72, https://github.com/python-semver/python-semver/issues/73 (https://github.com/python-semver/python-semver/pull/75): Implemented
__str__()
and__hash__()
Removals
https://github.com/python-semver/python-semver/issues/76 (https://github.com/python-semver/python-semver/pull/80): Removed Python 2.6 compatibility
Version 2.7.9
- Released:
2017-09-23
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Version 2.7.8
- Released:
2017-08-25
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
https://github.com/python-semver/python-semver/issues/62: Support custom default names for pre and build
Version 2.7.7
- Released:
2017-05-25
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
https://github.com/python-semver/python-semver/issues/54 (https://github.com/python-semver/python-semver/pull/55): Added comparision between VersionInfo objects
https://github.com/python-semver/python-semver/pull/56: Added support for Python 3.6
Version 2.7.2
- Released:
2016-11-08
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Added
semver.parse_version_info()
to parse a version string to a version info tuple.
Bug Fixes
https://github.com/python-semver/python-semver/issues/37: Removed trailing zeros from prelease doesn’t allow to parse 0 pre-release version
Refine parsing to conform more strictly to SemVer 2.0.0.
SemVer 2.0.0 specification §9 forbids leading zero on identifiers in the prerelease version.
Version 2.6.0
- Released:
2016-06-08
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Removals
Remove comparison of build component.
SemVer 2.0.0 specification recommends that build component is ignored in comparisons.
Version 2.5.0
- Released:
2016-05-25
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Support matching ‘not equal’ with “!=”.
Changes
Made separate builds for tests on Travis CI.
Version 2.4.2
- Released:
2016-05-16
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Changes
Migrated README document to reStructuredText format.
Used Setuptools for distribution management.
Migrated test cases to Py.test.
Added configuration for Tox test runner.
Version 2.4.1
- Released:
2016-03-04
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
https://github.com/python-semver/python-semver/issues/23: Compared build component of a version.
Version 2.4.0
- Released:
2016-02-12
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Bug Fixes
https://github.com/python-semver/python-semver/issues/21: Compared alphanumeric components correctly.
Version 2.3.1
- Released:
2016-01-30
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Declared granted license name in distribution metadata.
Version 2.3.0
- Released:
2016-01-29
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Added functions to increment prerelease and build components in a version.
Version 2.2.1
- Released:
2015-08-04
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Bug Fixes
Corrected comparison when any component includes zero.
Version 2.2.0
- Released:
2015-06-21
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Add functions to determined minimum and maximum version.
Add code examples for recently-added functions.
Version 2.1.2
- Released:
2015-05-23
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Bug Fixes
Restored current README document to distribution manifest.
Version 2.1.1
- Released:
2015-05-23
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Bug Fixes
Removed absent document from distribution manifest.
Version 2.1.0
- Released:
2015-05-22
- Maintainer:
Kostiantyn Rybnikov <k-bx@k-bx.com>
Additions
Documented installation instructions.
Documented project home page.
Added function to format a version string from components.
Added functions to increment specific components in a version.
Changes
Migrated README document to Markdown format.
Bug Fixes
Corrected code examples in README document.
Version 2.0.2
- Released:
2015-04-14
- Maintainer:
Konstantine Rybnikov <k-bx@k-bx.com>
Additions
Added configuration for Travis continuous integration.
Explicitly declared supported Python versions.
Version 2.0.1
- Released:
2014-09-24
- Maintainer:
Konstantine Rybnikov <k-bx@k-bx.com>
Bug Fixes
https://github.com/python-semver/python-semver/issues/9: Fixed comparison of equal version strings.
Version 2.0.0
- Released:
2014-05-24
- Maintainer:
Konstantine Rybnikov <k-bx@k-bx.com>
Additions
Grant license in this code base under BSD 3-clause license terms.
Changes
Update parser to SemVer standard 2.0.0.
Ignore build component for comparison.
Version 0.0.2
- Released:
2012-05-10
- Maintainer:
Konstantine Rybnikov <k-bx@k-bx.com>
Changes
Use standard library Distutils for distribution management.
Version 0.0.1
- Released:
2012-04-28
- Maintainer:
Konstantine Rybnikov <kost-bebix@yandex.ru>
Initial release.