Change Log semver2¶
This changelog contains older entries for semver2.
Version 2.13.0¶
- Released
2020-10-20
- Maintainer
Tom Schraitle
Bug Fixes¶
PR #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.
Additions¶
n/a
Deprecations¶
n/a
Version 2.12.0¶
- Released
2020-10-19
- Maintainer
Tom Schraitle
Version 2.11.0¶
- Released
2020-10-17
- Maintainer
Tom Schraitle
Version 2.10.0¶
- Released
2020-05-05
- Maintainer
Tom Schraitle
Features¶
PR #138: Added
__getitem__
magic method tosemver.VersionInfo
class. Allows to access a version likeversion[1]
.PR #235: Improved documentation and shift focus on
semver.VersionInfo
instead of advertising the old and deprecated module-level functions.PR #230: Add version information in some functions:
Use
.. versionadded::
RST directive in docstrings to make it more visible when something was addedMinor wording fix in docstrings (versions -> version strings)
Bug Fixes¶
Deprecations¶
#225 (PR #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¶
#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
#187 (PR #188): Added logo for python-semver organization and documentation
#196 (PR #197): Added distribution specific installation instructions
#208 (PR #209): Introduce new function
semver.VersionInfo.isvalid()
and extend pysemver with check subcommandPR #212: Improve docstrings according to PEP257
Version 2.9.0¶
- Released
2019-10-30
- Maintainer
Sébastien Celles <s.celles@gmail.com>
Features¶
PR #120: Improved test_immutable function with properties
PR #125: Created
setup.cfg
for pytest and tox#144 (PR #156): Added
semver.replace()
andsemver.VersionInfo.replace()
functionsPR #157: Introduce
conftest.py
to improve doctestsPR #165: Improved code coverage
PR #166: Reworked
.gitignore
file#167 (PR #168): Introduced global constant
SEMVER_SPEC_VERSION
Version 2.8.2¶
- Released
2019-05-19
- Maintainer
Sébastien Celles <s.celles@gmail.com>
Skipped, not released.
Version 2.7.9¶
- Released
2017-09-23
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
Version 2.7.8¶
- Released
2017-08-25
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
#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>
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.
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>
Version 2.4.0¶
- Released
2016-02-12
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
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>
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.