Release Candidate for v1.0.0
Pre-release
Pre-release
Release Notes of v1.0.0-rc0
Added
- String comprehensions with csemver objects
- incBuild, incPrerelease functions to increment the last portion of the prerelease and build identifiers
keys()
andvalues()
to retrieve view objects (in Python 2.7 as well as in Python 3) of the semver version parts.
Changed
- Replaced semver dependencies with own implementation
- Index operator now allows digit-strings or integers for the major, minor and patch key values.
csemver.number
property now returns a str instead of a dict.
If you wish to get a tuple or a dict, just dotuple(a)
ordict(a)
wherea
is a csemver instance
Removed
- prerelease and build properties. They are now accessible through the index operator:
a['build'], a['prerelease']