Skip to content

Navigation Menu

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

Commit e7558a9

Browse filesBrowse files
authored
Merge pull request #307 from tomschr/release/3.0.0-dev.2
Create 3.0.0-dev.2
2 parents ff07c90 + 6a5ba32 commit e7558a9
Copy full SHA for e7558a9

9 files changed

+80
-42
lines changed

‎CHANGELOG.rst

Copy file name to clipboardExpand all lines: CHANGELOG.rst
+74
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,79 @@ in our repository.
1616

1717
.. towncrier release notes start
1818
19+
Version 3.0.0-dev.2
20+
===================
21+
22+
:Released: 2020-11-01
23+
:Maintainer: Tom Schraitle
24+
25+
26+
Deprecations
27+
------------
28+
29+
* :gh:`169`: Deprecate CLI functions not imported from ``semver.cli``.
30+
31+
32+
33+
Features
34+
--------
35+
36+
* :gh:`169`: Create semver package and split code among different modules in the packages.
37+
38+
* Remove :file:`semver.py`
39+
* Create :file:`src/semver/__init__.py`
40+
* Create :file:`src/semver/cli.py` for all CLI methods
41+
* Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions
42+
* Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver`
43+
* Create :file:`src/semver/_types.py` to hold type aliases
44+
* Create :file:`src/semver/version.py` to hold the :class:`Version` class (old name :class:`VersionInfo`) and its utility functions
45+
* Create :file:`src/semver/__about__.py` for all the metadata variables
46+
47+
* :gh:`305`: Rename :class:`VersionInfo` to :class:`Version` but keep an alias for compatibility
48+
49+
50+
51+
Improved Documentation
52+
----------------------
53+
54+
* :gh:`304`: Several improvements in documentation:
55+
56+
* Reorganize API documentation.
57+
* Add migration chapter from semver2 to semver3.
58+
* Distinguish between changlog for version 2 and 3
59+
60+
* :gh:`305`: Add note about :class:`Version` rename.
61+
62+
63+
64+
Trivial/Internal Changes
65+
------------------------
66+
67+
* :gh:`169`: Adapted infrastructure code to the new project layout.
68+
69+
* Replace :file:`setup.py` with :file:`setup.cfg` because the :file:`setup.cfg` is easier to use
70+
* Adapt documentation code snippets where needed
71+
* Adapt tests
72+
* Changed the ``deprecated`` to hardcode the ``semver`` package name in the warning.
73+
74+
Increase coverage to 100% for all non-deprecated APIs
75+
76+
* :gh:`304`: Support PEP-561 :file:`py.typed`.
77+
78+
According to the mentioned PEP:
79+
80+
"Package maintainers who wish to support type checking
81+
of their code MUST add a marker file named :file:`py.typed`
82+
to their package supporting typing."
83+
84+
Add package_data to :file:`setup.cfg` to include this marker in dist
85+
and whl file.
86+
87+
88+
89+
----
90+
91+
1992
Version 3.0.0-dev.1
2093
===================
2194

@@ -73,6 +146,7 @@ Features
73146

74147
* :gh:`276`: Document how to create a sublass from :class:`VersionInfo` class
75148

149+
* :gh:`213`: Add typing information
76150

77151

78152
Bug Fixes

‎changelog.d/169.deprecation.rst

Copy file name to clipboardExpand all lines: changelog.d/169.deprecation.rst
-1
This file was deleted.

‎changelog.d/169.feature.rst

Copy file name to clipboardExpand all lines: changelog.d/169.feature.rst
-10
This file was deleted.

‎changelog.d/169.trivial.rst

Copy file name to clipboardExpand all lines: changelog.d/169.trivial.rst
-8
This file was deleted.

‎changelog.d/304.doc.rst

Copy file name to clipboardExpand all lines: changelog.d/304.doc.rst
-5
This file was deleted.

‎changelog.d/304.trivial.rst

Copy file name to clipboardExpand all lines: changelog.d/304.trivial.rst
-10
This file was deleted.

‎changelog.d/305.doc.rst

Copy file name to clipboardExpand all lines: changelog.d/305.doc.rst
-1
This file was deleted.

‎changelog.d/305.feature.rst

Copy file name to clipboardExpand all lines: changelog.d/305.feature.rst
-1
This file was deleted.

‎setup.cfg

Copy file name to clipboardExpand all lines: setup.cfg
+6-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#
22
# Metadata for setup.py
33
#
4-
# See https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
4+
# See https://setuptools.rtfd.io/en/latest/userguide/declarative_config.html
55

66
[metadata]
77
name = semver
88
version = attr: semver.__about__.__version__
9-
description = attr: semver.__about__.__description__
9+
description = Python helper for Semantic Versioning (http://semver.org)
1010
long_description = file: README.rst
1111
long_description_content_type = text/x-rst
12-
author = attr: semver.__about__.__author__
13-
author_email = attr: semver.__about__.__author_email__
14-
maintainer = attr: semver.__about__.__maintainer__
15-
maintainer_email = attr: semver.__about__.__maintainer_email__
12+
author = Kostiantyn Rybnikov
13+
author_email = k-bx@k-bx.com
14+
maintainer = Sebastien Celles, Tom Schraitle
15+
maintainer_email = s.celles@gmail.com
1616
url = https://github.com/python-semver/python-semver
1717
download_url = https://github.com/python-semver/python-semver/downloads
1818
project_urls =

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.