diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e5736f33..46a94ee3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,11 +7,11 @@ All notable changes to this code base will be documented in this file, in every released version. -Version 2.11.0 (WIP) -==================== +Version 2.11.0 +============== -:Released: n/a -:Maintainer: n/a +:Released: 2020-10-17 +:Maintainer: Tom Schraitle Features -------- @@ -23,6 +23,7 @@ Bug Fixes --------- * :gh:`276` (:pr:`277`): VersionInfo.parse should be a class method + Also add authors and update changelog in :gh:`286` * :gh:`274` (:pr:`275`): Py2 vs. Py3 incompatibility TypeError @@ -123,7 +124,7 @@ Additions Deprecations --------- +------------ * :gh:`225` (:pr:`229`): Output a DeprecationWarning for the following functions: - ``semver.parse`` diff --git a/semver.py b/semver.py index 4797d61d..1e15a08d 100644 --- a/semver.py +++ b/semver.py @@ -14,7 +14,7 @@ PY3 = sys.version_info[0] == 3 -__version__ = "2.10.2" +__version__ = "2.11.0" __author__ = "Kostiantyn Rybnikov" __author_email__ = "k-bx@k-bx.com" __maintainer__ = ["Sebastien Celles", "Tom Schraitle"] @@ -698,6 +698,10 @@ def parse(cls, version): :raises: :class:`ValueError` :rtype: :class:`VersionInfo` + .. versionchanged:: 2.11.0 + Changed method from static to classmethod to + allow subclasses. + >>> semver.VersionInfo.parse('3.4.5-pre.2+build.4') VersionInfo(major=3, minor=4, patch=5, \ prerelease='pre.2', build='build.4') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy