3.0.0-dev.1
Pre-release
Pre-release
Related pr: #295
-
Released
2020-10-26 -
Maintainer
Tom Schraitle
Documentation https://python-semver.rtfd.io/en/3.0.0-dev.1/
Deprecations
- PR #290: For semver 3.0.0-alpha0:
- Remove anything related to Python2
- In
tox.ini
and.travis.yml
Remove targets py27, py34, py35, and pypy. Add py38, py39, and nightly (allow to fail) - In
setup.py
simplified file and remove Tox and Clean classes
- Remove old Python versions (2.7, 3.4, 3.5, and pypy) from Travis
- #234: In
setup.py
simplified file and removeTox
andClean
classes
Features
- PR #290: Create semver 3.0.0-alpha0:
- Update
README.rst
, mention maintenance branchmaint/v2
. - Remove old code mainly used for Python2 compatibility, adjusted code to support Python3 features.
- Split test suite into separate files under tests/ directory
- Adjust and update
setup.py
. Requires Python >=3.6.* Extract metadata directly from source (affects all the__version__
,__author__
etc. variables)
- Update
- #276: Document how to create a sublass from VersionInfo class
- #270: Configure Towncrier (PR #273):
- Add
changelog.d/.gitignore
to keep this directory - Create
changelog.d/README.rst
with some descriptions - Add
changelog.d/_template.rst
as Towncrier template - Add
[tool.towncrier]
section inpyproject.toml
- Add “changelog” target into
tox.ini
. Use it liketox -e changelog -- CMD
whereasCMD
is a Towncrier command. The defaulttox -e changelog
calls Towncrier to create a draft of the changelog file and output it to stdout. - Update documentation and add include a new section “Changelog” included from
changelog.d/README.rst
.
- Add
- #213: Add typing information
Bug Fixes
- #291: Disallow negative numbers in
VersionInfo
arguments formajor
,minor
, andpatch
.
Improved Documentation
- PR #290: Several improvements in the documentation:
- New layout to distinguish from the semver2 development line.
- Create new logo.
- Remove any occurances of Python2.
- Describe changelog process with Towncrier.
- Update the release process.
Trivial/Internal Changes
- PR #290: Add supported Python versions to
black
.
Contributors
(in alphabetical order)
Thanks to all! ❤️