All notable changes to this code base will be documented in this file, in every released version.
- Released
2020-10-20
- Maintainer
Tom Schraitle
287
: Document how to create subclass fromVersionInfo
283
: Ensure equal versions have equal hashes. Version equality means for semver, thatmajor
,minor
,patch
, andprerelease
parts are equal in both versions you compare. Thebuild
part is ignored.
- Released
2020-10-19
- Maintainer
Tom Schraitle
n/a
291
(292
): Disallow negative numbers of major, minor, and patch forsemver.VersionInfo
n/a
n/a
- Released
2020-10-17
- Maintainer
Tom Schraitle
n/a
276
(277
): VersionInfo.parse should be a class methodAlso add authors and update changelog in
286
274
(275
): Py2 vs. Py3 incompatibility TypeError
n/a
n/a
- Released
2020-06-15
- Maintainer
Tom Schraitle
268
: Increase coverage
260
(261
): Fixed__getitem__
returning None on wrong parts263
: Doc: Add missing "install" subcommand for openSUSE
n/a
160
(264
):semver.max_ver
semver.min_ver
- Released
2020-05-13
- Maintainer
Tom Schraitle
249
: Added release policy and version restriction in documentation to help our users which would like to stay on the major 2 release.250
: Simplified installation semver on openSUSE withobs://
.256
: Made docstrings consistent
251
(254
): Fixed return type ofsemver.VersionInfo.next_version
to always return aVersionInfo
instance.
- Released
2020-05-05
- Maintainer
Tom Schraitle
138
: Added__getitem__
magic method tosemver.VersionInfo
class. Allows to access a version likeversion[1]
.235
: Improved documentation and shift focus onsemver.VersionInfo
instead of advertising the old and deprecated module-level functions.
224
(226
): Insetup.py
, replaced in classclean
,super(CleanCommand, self).run()
withCleanCommand.run(self)
244
(245
): Allow comparison withVersionInfo
, tuple/list, dict, and string.
228
: Added better doctest integration
225
(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.
- Released
2020-02-16
- Maintainer
Tom Schraitle
177
(178
): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)179
: Added note about moving this project to the new python-semver organization on GitHub187
(188
): Added logo for python-semver organization and documentation191
(194
): Created manpage for pysemver196
(197
): Added distribution specific installation instructions201
(202
): Reformatted source code with black208
(209
): Introduce new functionsemver.VersionInfo.isvalid
and extendpysemver
withcheck
subcommand210
(215
): Document how to deal with invalid versions212
: Improve docstrings according to PEP257
192
(193
): Fixed "pysemver" and "pysemver bump" when called without arguments
- Released
2019-10-30
- Maintainer
Sébastien Celles <s.celles@gmail.com>
59
(164
): Implemented a command line interface85
(147
,154
): Improved contribution section104
(125
): Added iterator tosemver.VersionInfo
112
,113
: Added Python 3.7 support120
: Improved test_immutable function with properties125
: Createdsetup.cfg
for pytest and tox126
(127
): Added target for documentation intox.ini
142
(143
): Improved usage section144
(156
): Addedsemver.replace
andsemver.VersionInfo.replace
functions145
(146
): Added posargs intox.ini
157
: Introduceconftest.py
to improve doctests165
: Improved code coverage166
: Reworked.gitignore
file167
(168
): Introduced global constantSEMVER_SPEC_VERSION
102
: Fixed comparison between VersionInfo and tuple103
: Disallow comparison between VersionInfo and string (and int)121
(122
): Use python3 instead of python3.4 intox.ini
123
: Improved__repr__
and derive class name fromtype
128
(129
): Fixed wrong datatypes in docstring forsemver.format_version
135
(140
): Converted prerelease and build to string136
(151
): Added testsuite to tarball154
(155
): Improved README description
111
(110
): Dropped Python 3.3148
(149
): Removed and replacedpython setup.py test
- Released
2019-05-19
- Maintainer
Sébastien Celles <s.celles@gmail.com>
Skipped, not released.
- Released
2018-07-09
- Maintainer
Sébastien Celles <s.celles@gmail.com>
40
(88
): Added a static parse method to VersionInfo77
(47
): Converted multiple tests into pytest.mark.parametrize87
,94
(93
): Removed named tuple inheritance.89
(90
): Added doctests.
98
(99
): Set prerelease and build to None by default96
(97
): Made VersionInfo immutable
- Released
2018-05-16
- Maintainer
Sébastien Celles <s.celles@gmail.com>
82
(83
): Renamedtest.py
totest_semver.py
so py.test can autodiscover test file
79
(81
,84
): Defined and improve a release procedure file72
,73
(75
): Implemented__str__
and__hash__
76
(80
): Removed Python 2.6 compatibility
- Released
2017-09-23
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
65
(66
): Addedsemver.finalize_version
function.
- Released
2017-08-25
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
62
: Support custom default names for pre and build
- Released
2017-05-25
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
54
(55
): Added comparision between VersionInfo objects56
: Added support for Python 3.6
- Released
2016-11-08
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Added
semver.parse_version_info
to parse a version string to a version info tuple.
37
: Removed trailing zeros from prelease doesn't allow to parse 0 pre-release versionRefine 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.
- Released
2016-06-08
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
Remove comparison of build component.
SemVer 2.0.0 specification recommends that build component is ignored in comparisons.
- Released
2016-05-25
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Support matching 'not equal' with “!=”.
- Made separate builds for tests on Travis CI.
- Released
2016-05-16
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Migrated README document to reStructuredText format.
- Used Setuptools for distribution management.
- Migrated test cases to Py.test.
- Added configuration for Tox test runner.
- Released
2016-03-04
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
23
: Compared build component of a version.
- Released
2016-02-12
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
21
: Compared alphanumeric components correctly.
- Released
2016-01-30
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Declared granted license name in distribution metadata.
- Released
2016-01-29
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Added functions to increment prerelease and build components in a version.
- Released
2015-08-04
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Corrected comparison when any component includes zero.
- Released
2015-06-21
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Add functions to determined minimum and maximum version.
- Add code examples for recently-added functions.
- Released
2015-05-23
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Restored current README document to distribution manifest.
- Released
2015-05-23
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- Removed absent document from distribution manifest.
- Released
2015-05-22
- Maintainer
Kostiantyn Rybnikov <k-bx@k-bx.com>
- 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.
- Migrated README document to Markdown format.
- Corrected code examples in README document.
- Released
2015-04-14
- Maintainer
Konstantine Rybnikov <k-bx@k-bx.com>
- Added configuration for Travis continuous integration.
- Explicitly declared supported Python versions.
- Released
2014-09-24
- Maintainer
Konstantine Rybnikov <k-bx@k-bx.com>
9
: Fixed comparison of equal version strings.
- Released
2014-05-24
- Maintainer
Konstantine Rybnikov <k-bx@k-bx.com>
- Grant license in this code base under BSD 3-clause license terms.
- Update parser to SemVer standard 2.0.0.
- Ignore build component for comparison.
- Released
2012-05-10
- Maintainer
Konstantine Rybnikov <k-bx@k-bx.com>
- Use standard library Distutils for distribution management.
- Released
2012-04-28
- Maintainer
Konstantine Rybnikov <kost-bebix@yandex.ru>
- Initial release.