File tree 2 files changed +11
-6
lines changed
Filter options
2 files changed +11
-6
lines changed
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ All notable changes to this code base will be documented in this file,
7
7
in every released version.
8
8
9
9
10
- Version 2.11.0 (WIP)
11
- ====================
10
+ Version 2.11.0
11
+ ==============
12
12
13
- :Released: n/a
14
- :Maintainer: n/a
13
+ :Released: 2020-10-17
14
+ :Maintainer: Tom Schraitle
15
15
16
16
Features
17
17
--------
@@ -23,6 +23,7 @@ Bug Fixes
23
23
---------
24
24
25
25
* :gh: `276 ` (:pr: `277 `): VersionInfo.parse should be a class method
26
+ Also add authors and update changelog in :gh: `286 `
26
27
* :gh: `274 ` (:pr: `275 `): Py2 vs. Py3 incompatibility TypeError
27
28
28
29
@@ -123,7 +124,7 @@ Additions
123
124
124
125
125
126
Deprecations
126
- --------
127
+ ------------
127
128
* :gh: `225 ` (:pr: `229 `): Output a DeprecationWarning for the following functions:
128
129
129
130
- ``semver.parse ``
Original file line number Diff line number Diff line change 14
14
PY3 = sys .version_info [0 ] == 3
15
15
16
16
17
- __version__ = "2.10.2 "
17
+ __version__ = "2.11.0 "
18
18
__author__ = "Kostiantyn Rybnikov"
19
19
__author_email__ = "k-bx@k-bx.com"
20
20
__maintainer__ = ["Sebastien Celles" , "Tom Schraitle" ]
@@ -698,6 +698,10 @@ def parse(cls, version):
698
698
:raises: :class:`ValueError`
699
699
:rtype: :class:`VersionInfo`
700
700
701
+ .. versionchanged:: 2.11.0
702
+ Changed method from static to classmethod to
703
+ allow subclasses.
704
+
701
705
>>> semver.VersionInfo.parse('3.4.5-pre.2+build.4')
702
706
VersionInfo(major=3, minor=4, patch=5, \
703
707
prerelease='pre.2', build='build.4')
You can’t perform that action at this time.
0 commit comments