Skip to content

Commit dd110f1

Browse files
authored
Prepare 2.11.0 release (#288) (#289)
* #274 / #275 String Types Py2 vs. Py3 compatibility * #277 Turn VersionInfo.parse into classmethod to allow subclasses * #286 Add author and update changelog for #276/#277
1 parent 20e5c4f commit dd110f1

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ All notable changes to this code base will be documented in this file,
77
in every released version.
88

99

10-
Version 2.11.0 (WIP)
11-
====================
10+
Version 2.11.0
11+
==============
1212

13-
:Released: n/a
14-
:Maintainer: n/a
13+
:Released: 2020-10-17
14+
:Maintainer: Tom Schraitle
1515

1616
Features
1717
--------
@@ -23,6 +23,7 @@ Bug Fixes
2323
---------
2424

2525
* :gh:`276` (:pr:`277`): VersionInfo.parse should be a class method
26+
Also add authors and update changelog in :gh:`286`
2627
* :gh:`274` (:pr:`275`): Py2 vs. Py3 incompatibility TypeError
2728

2829

@@ -123,7 +124,7 @@ Additions
123124

124125

125126
Deprecations
126-
--------
127+
------------
127128
* :gh:`225` (:pr:`229`): Output a DeprecationWarning for the following functions:
128129

129130
- ``semver.parse``

semver.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
PY3 = sys.version_info[0] == 3
1515

1616

17-
__version__ = "2.10.2"
17+
__version__ = "2.11.0"
1818
__author__ = "Kostiantyn Rybnikov"
1919
__author_email__ = "k-bx@k-bx.com"
2020
__maintainer__ = ["Sebastien Celles", "Tom Schraitle"]
@@ -698,6 +698,10 @@ def parse(cls, version):
698698
:raises: :class:`ValueError`
699699
:rtype: :class:`VersionInfo`
700700
701+
.. versionchanged:: 2.11.0
702+
Changed method from static to classmethod to
703+
allow subclasses.
704+
701705
>>> semver.VersionInfo.parse('3.4.5-pre.2+build.4')
702706
VersionInfo(major=3, minor=4, patch=5, \
703707
prerelease='pre.2', build='build.4')

0 commit comments

Comments
 (0)
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