Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Prepare 2.11.0 release #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions 11 CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand All @@ -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


Expand Down Expand Up @@ -123,7 +124,7 @@ Additions


Deprecations
--------
------------
* :gh:`225` (:pr:`229`): Output a DeprecationWarning for the following functions:

- ``semver.parse``
Expand Down
6 changes: 5 additions & 1 deletion 6 semver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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')
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.