Skip to content

Releases: Sebi2020/csemver

Release Candidate for v1.0.0

10 Mar 15:34
v1.0.0-rc0
Compare
Choose a tag to compare
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() and values() 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 do tuple(a) or dict(a) where a is a csemver instance

Removed

  • prerelease and build properties. They are now accessible through the index operator: a['build'], a['prerelease']

Release Candidate for v0.2.1

11 Feb 21:57
v0.2.1-rc0
d1bf33f
Compare
Choose a tag to compare
Pre-release

Release Notes of v0.2.1-rc0

Added

  • csemver now supports adding versions csemver.parse("a.b.c") + csemver.parse("d.e.f")
  • parse method added as a shortcut for csemver.csemver(version)
  • prerelease and build fields to set prerelease and build-tag
  • Introduced python2 support (maybe it will be dropped in the future)
  • Added unit tests
  • Added index operator to object, it is now possible to select specific parts with
    with a['major'], a['minor'], a['patch'], a['prerelease'], a['build']. The fields are also writeable.

Fixed

  • csmver.parse does not had a default value
  • some getters did not return a value

Changed

  • incMajor, incMinor, incPatch are now chainable and support additional integer parameter to specify amount
  • Added deprecation warning to setNumber
  • a.number will return an string instead of an dict.

Release of v0.1.0

10 Feb 12:00
v0.1.0
20f2f6f
Compare
Choose a tag to compare
Release of v0.1.0