Recent Releases of py3-semver
py3-semver - 3.0.4
Documentation: https://python-semver.rtfd.io/en/3.0.4/ PyPI: https://pypi.org/project/semver/3.0.4/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.3...3.0.4
What's Changed
- Fix 3.0.3 by @tomschr in https://github.com/python-semver/python-semver/pull/459
New Contributors
Thanks to @RobPasMue and @mgorny :heart:
- Python
Published by tomschr over 1 year ago
py3-semver - 3.0.3
Documentation: https://python-semver.rtfd.io/en/3.0.3/ PyPI: https://pypi.org/project/semver/3.0.3/ (yanked release) Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.2...3.0.3 Full Changelog between last 2 release and 3: https://github.com/python-semver/python-semver/compare/3.0.2...3.0.3
What's Changed
- Use meta directive for SEO by @tomschr in https://github.com/python-semver/python-semver/pull/435
- Move search box more at the top by @tomschr in https://github.com/python-semver/python-semver/pull/436
- Update workflow file by @tomschr in https://github.com/python-semver/python-semver/pull/440
- Improve type hints to fix TODOs by @waketzheng in https://github.com/python-semver/python-semver/pull/439
- Gha add python313 by @tomschr in https://github.com/python-semver/python-semver/pull/446
- Improve private
_nat_cmp()method by @tomschr in https://github.com/python-semver/python-semver/pull/445 - Modernize project configs with pyproject.toml by @tomschr in https://github.com/python-semver/python-semver/pull/447
- Turn our Markdown issue templates into YAML by @tomschr in https://github.com/python-semver/python-semver/pull/451
- Fix comparison with subclasses by @viccie30 in https://github.com/python-semver/python-semver/pull/453
- Release/3.0.3 by @tomschr in https://github.com/python-semver/python-semver/pull/454
New Contributors
- @waketzheng made their first contribution in https://github.com/python-semver/python-semver/pull/439
- @viccie30 made their first contribution in https://github.com/python-semver/python-semver/pull/453
Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.2...3.0.3
- Python
Published by tomschr over 1 year ago
py3-semver - 3.0.2
Documentation: https://python-semver.rtfd.io/en/3.0.2/ PyPI: https://pypi.org/project/semver/3.0.2/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.1...3.0.2 Full Changelog between last 2 release and 3: https://github.com/python-semver/python-semver/compare/3.0.1...3.0.2
What's Changed
- GHA: Use matrix to test MacOS too by @tomschr in https://github.com/python-semver/python-semver/pull/417
- Return dict instead of OrderedDict by @dschwoerer in https://github.com/python-semver/python-semver/pull/419
- Introduce ClassVar type by @tomschr in https://github.com/python-semver/python-semver/pull/420
- Add mypy config to pyproject.toml by @tomschr in https://github.com/python-semver/python-semver/pull/421
- Fix #422: Update advanced topic about Pydantic v2 by @tomschr in https://github.com/python-semver/python-semver/pull/423
- Fix #426: call subclass when deriving from Version by @tomschr in https://github.com/python-semver/python-semver/pull/427
- GH Action: Don't block when only doc files are modified by @tomschr in https://github.com/python-semver/python-semver/pull/428
- Improve documentation wording & consistency by @tomschr in https://github.com/python-semver/python-semver/pull/425
- Fix #429: bug on serialization to json by @apiwat-chantawibul in https://github.com/python-semver/python-semver/pull/430
- Clarify version policy for semver by @tomschr in https://github.com/python-semver/python-semver/pull/431
- Improve external docs with intersphinx extension by @tomschr in https://github.com/python-semver/python-semver/pull/432
- Build 3.0.2 release of semver by @tomschr in https://github.com/python-semver/python-semver/pull/433
New Contributors
- @dschwoerer made their first contribution in https://github.com/python-semver/python-semver/pull/419
- @RobinGroundfog made their first contribution in #422
- @apiwat-chantawibul made their first contribution in https://github.com/python-semver/python-semver/pull/430
- @dannystaple made their first contribution in #426
Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.1...3.0.2
- Python
Published by tomschr over 2 years ago
py3-semver - 3.0.1
Related pr: #413
Documentation: https://python-semver.rtfd.io/en/3.0.1/ PyPI: https://pypi.org/project/semver/3.0.1/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0...3.0.1 Full Changelog between last 2 release and 3: https://github.com/python-semver/python-semver/compare/2.13.0...3.0.1
What's Changed
- Remove incorrect dependencies from build-system section of pyproject.toml by @mgorny in https://github.com/python-semver/python-semver/pull/405
- correct typo in function description of
next_versionby @treee111 in https://github.com/python-semver/python-semver/pull/406 - Improve GitHub Action by @tomschr in https://github.com/python-semver/python-semver/pull/408
- Add CITATION.cff for citation by @tomschr in https://github.com/python-semver/python-semver/pull/409
- Add Version class to
__all__export. Fix #410 by @Soneji in https://github.com/python-semver/python-semver/pull/411 - Configure docformatter by @tomschr in https://github.com/python-semver/python-semver/pull/412
- Prepare version 3.0.1 by @tomschr in https://github.com/python-semver/python-semver/pull/413
New Contributors
- @mgorny made their first contribution in https://github.com/python-semver/python-semver/pull/405
- @treee111 made their first contribution in https://github.com/python-semver/python-semver/pull/406
- @Soneji made their first contribution in https://github.com/python-semver/python-semver/pull/411
Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0...3.0.1
- Python
Published by tomschr almost 3 years ago
py3-semver - 3.0.0
Related pr: #403
Documentation: https://python-semver.rtfd.io/en/3.0.0/ PyPI: https://pypi.org/project/semver/3.0.0/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0-rc.1...3.0.0 Full Changelog between last 2 release and 3: https://github.com/python-semver/python-semver/compare/2.13.0...3.0.0
What's Changed
- Simplify maxver and minver by @tomschr in https://github.com/python-semver/python-semver/pull/401
- Fix #258: Keep semver._deprecated.compare by @tomschr in https://github.com/python-semver/python-semver/pull/402
- Build 3.0.0 release of semver by @tomschr in https://github.com/python-semver/python-semver/pull/403
- Python
Published by tomschr about 3 years ago
py3-semver - 3.0.0-rc.1
Related pr: #399
Documentation: https://python-semver.rtfd.io/en/3.0.0-rc.1/ PyPI: https://pypi.org/project/semver/3.0.0rc1/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0-dev.4...3.0.0-rc.1
What's Changed
- tox/pytest: Add testpaths and use importlib by @tomschr in https://github.com/python-semver/python-semver/pull/388
- Trivial: Introduce public Version.NAMES class variable by @tomschr in https://github.com/python-semver/python-semver/pull/389
- Fix pydantic/semver example by @mssalvatore in https://github.com/python-semver/python-semver/pull/392
- Fix: All
python -m semvercommands fail with 'error: invalid choice:' by @zanecodes in https://github.com/python-semver/python-semver/pull/393 - Fix return type of classmethod parse by @def- in https://github.com/python-semver/python-semver/pull/396
- Fix #344 Allow empty string for bump method by @tomschr in https://github.com/python-semver/python-semver/pull/365
- Fix #397: Remove asterisk in python_requires by @tomschr in https://github.com/python-semver/python-semver/pull/398
- Fix #284: implement "is compatible with" method by @tomschr in https://github.com/python-semver/python-semver/pull/368
Apart from the above issues/pull request, for this release there were made some additional changes:
- Combine all dev releases together in one changelog
- Remove all
changelog.dentries and integrate it into CHANGELOG - Move dev releases to file
changelog-semver3-devel.rst - Split contributing into different sections
- Some doc polishing; use
:meth:consistently forsemver.Versionmethods - Fix also some doc bugs
- Amend list of contributors and sorted alphabetically by lastname
- Correct docstrings on some deprecated functions
New Contributors
- @mssalvatore made their first contribution in https://github.com/python-semver/python-semver/pull/392
- @zanecodes made their first contribution in https://github.com/python-semver/python-semver/pull/393
- @def- made their first contribution in https://github.com/python-semver/python-semver/pull/396
Thanks to all! :heart:
- Python
Published by tomschr about 3 years ago
py3-semver - 3.0.0-dev.4
Related pr: https://github.com/python-semver/python-semver/issues/385
Released 2022-12-20
Maintainer Tom Schraitle
Documentation: https://python-semver.rtfd.io/en/3.0.0-dev.4/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0-dev.3...3.0.0-dev.4 PyPI: https://pypi.org/project/semver/3.0.0dev4/
Bug Fixes
- #374: Correct Towncrier’s config entries in the pyproject.toml file. The old entries
[[tool.towncrier.type]]are deprecated and need to be replaced by[tool.towncrier.fragment.<TYPE>].
Deprecations
- #372: Deprecate support for Python 3.6 Python 3.6 reached its end of life and isn’t supported anymore. At the time of writing (Dec 2022), the lowest version is 3.7.
Although the poll didn’t cast many votes, the majority agree to remove support for Python 3.6.
Improved Documentation
- #335: Add new section “Converting versions between PyPI and semver” the limitations and possible use cases to convert from one into the other versioning scheme.
- #340: Describe how to get version from a file
- #343: Describe combining Pydantic with semver in the “Advanced topic” section.
- #350: Restructure usage section. Create subdirectory “usage/” and splitted all section into different files.
- #351: Introduce new topics for:
- “Migration to semver3”
- “Advanced topics”
Features
- PR #359: Add optional parameter
optional_minor_and_patchinVersion.parse()to allow optional minor and patch parts. - PR #362: Make
Version.match()accept a bare version string as match expression, defaulting to equality testing. - #364: Enhance pyproject.toml to make it possible to use the pyproject-build command from the build module. For more information, see Building semver.
- #365: Improve pyproject.toml.
- Use setuptools, add metadata. Taken approach from A Practical Guide to Setuptools and Pyproject.toml.
- Doc: Describe building of semver
- Remove
.travis.ymlinMANIFEST.in(not needed anymore) - Distinguish between Python 3.6 and others in tox.ini
- Add skipmissinginterpreters option for tox.ini
- GH Action: Upgrade setuptools and setuptools-scm and test against 3.11.0-rc.2
Trivial/Internal Changes
- #378: Fix some typos in Towncrier configuration
Contributors
(in alphabetical order)
- @b0uh (new contributor)
- @calebstewart
- @jmi2k
- @Nagidal (new contributor)
- @OidaTiftla (new contributor)
Thanks to all! :heart:
- Python
Published by tomschr over 3 years ago
py3-semver - 3.0.0-dev.3
Related pr: #315
Released 2022-01-20
Maintainer Tom Schraitle
Documentation: https://python-semver.rtfd.io/en/3.0.0-dev.3/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0-dev.2...3.0.0-dev.3
Bug Fixes
- #310: Rework API documentation. Follow a more “semi-manual” attempt and add
auto directives into
docs/api.rst.
Improved Documentation
312: Rework “Usage” section.
- Rename
VersionInfotoVersionclass, but keep the old name as alias - Remove
semver.prefix in doctests to make examples shorter - Correct some references to dunder methods like
__getitem__(),__gt__()etc. - Remove inconsistencies and mention module level function as deprecated and discouraged from using
- Make empty
super()call insemverwithvprefix.pyexample
- Rename
315: Improve release procedure text
337: Improve documentation for semver max/min
Trivial/Internal Changes
309: Some (private) functions from the
semver.versionmodule has been changed.The following functions got renamed as it is only useful inside the Version class:
- function
semver.version.comparatorgot renamed tosemver.version._comparator() - function
semver.version.cmpgot renamed tosemver.version._cmp()
- function
The following functions got integrated into the Version class:
- function
semver.version._nat_cmdas a class method function
semver.version.ensure_str- #313: Correct
tox.inifor changelog entry to skip installation for semver. This should speed up the execution of towncrier. - #316: Comparisons of Version class and other types return now a
NotImplementedconstant instead of aTypeErrorexception.
- #313: Correct
The NotImplemented section of the Python documentation recommends returning this constant when comparing with __gt__, __lt__, and other comparison operators to “to indicate that the operation is not implemented with respect to the other type”.
319: Introduce stages in
.travis.yml.322: Switch from Travis CI to GitHub Actions.
347: Support Python 3.10 in GitHub Action and other config files.
Start supporting Python 3.10
Contributors
(in alphabetical order)
- @mzjp2 (new contributor)
- @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr over 4 years ago
py3-semver - 3.0.0-dev.2
Related pr: #307
Released 2020-11-01
Maintainer Tom Schraitle
Documentation: https://python-semver.rtfd.io/en/3.0.0-dev.2/ Full Changelog: https://github.com/python-semver/python-semver/compare/3.0.0-dev.1...3.0.0-dev.2
Deprecations
- #169: Deprecate CLI functions not imported from
semver.cli.
Features
- #169: Create semver package and split code among different modules in the packages:
- Remove
semver.py - Create
src/semver/__init__.py - Create
src/semver/cli.pyfor all CLI methods - Create
src/semver/_deprecated.pyfor thedeprecateddecorator and other deprecated functions - Create
src/semver/__main__.pyto allow calling the CLI usingpython -m semver - Create
src/semver/_types.pyto hold type aliases - Create
src/semver/version.pyto hold theVersionclass (old nameVersionInfo) and its utility functions - Create
src/semver/__about__.pyfor all the metadata variables
- Remove
- #305: Rename
VersionInfotoVersionbut keep an alias for compatibility
Improved Documentation
- #304: Several improvements in documentation:
- Reorganize API documentation.
- Add migration chapter from semver2 to semver3.
- Distinguish between changlog for version 2 and 3
- #305: Add note about
Versionrename.
Trivial/Internal Changes
#169: Adapted infrastructure code to the new project layout.
- Replace
setup.pywithsetup.cfgbecause thesetup.cfgis easier to use - Adapt documentation code snippets where needed
- Adapt tests
- Changed the
deprecatedto hardcode thesemverpackage name in the warning.
Increase coverage to 100% for all non-deprecated APIs
- Replace
#304: Support PEP-561
py.typed.According to the mentioned PEP:
\"Package maintainers who wish to support type checking of their code MUST add a marker file named
py.typedto their package supporting typing.\"Add package_data to
setup.cfgto include this marker in dist and whl file.
# Contributors
(in alphabetical order)
- @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr over 5 years ago
py3-semver - 3.0.0-dev.1
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.iniand.travis.ymlRemove targets py27, py34, py35, and pypy. Add py38, py39, and nightly (allow to fail) - In
setup.pysimplified file and remove Tox and Clean classes - Remove old Python versions (2.7, 3.4, 3.5, and pypy) from Travis
- #234: In
setup.pysimplified file and removeToxandCleanclasses
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/.gitignoreto keep this directory - Create
changelog.d/README.rstwith some descriptions - Add
changelog.d/_template.rstas Towncrier template - Add
[tool.towncrier]section inpyproject.toml - Add “changelog” target into
tox.ini. Use it liketox -e changelog -- CMDwhereasCMDis a Towncrier command. The defaulttox -e changelogcalls 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
VersionInfoarguments 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)
- @sbrudenell
- @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr over 5 years ago
py3-semver - 2.13.0
Related pr: #295
Released 2020-10-20
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.13.0
Features
- #287: Document how to create subclass from VersionInfo
Bugfixes
- #283: Ensure equal versions have equal hashes
Contributors
(in alphabetical order)
- @Anvil
- @sbrudenell
Thanks to all! :heart:
- Python
Published by tomschr over 5 years ago
py3-semver - 2.12.0
Related pr: #294
Released 2020-10-19
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.12.0
Features
n/a
Bugfixes
- #291 (PR #292) Disallow negative numbers in VersionInfo
Deprecations
n/a
Contributors
n/a
- Python
Published by tomschr over 5 years ago
py3-semver - 2.11.0
Related pr: #288
Released 2020-10-18
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.11.0
Features
n/a
Bugfixes
- #274 (PR #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
Deprecations
n/a
Contributors
(in alphabetical order)
@Anvil @eli-darkly @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr over 5 years ago
py3-semver - 2.10.2
Related pr: #272
Released 2020-06-15
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.10.2
Features
- #268: Increase coverage
Bugfixes
- #260 (PR #261): Fixed
__getitem__returning None on wrong parts - #263: Doc: Add missing "install" subcommand for openSUSE
Deprecations
- #160 (PR #264):
semver.max_verandsemver.min_ver
Contributors
(in alphabetical order)
@tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr almost 6 years ago
py3-semver - 2.10.1
Related pr: #257
Released 2020-05-13
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.10.1
Features
- #250: Simplified installation semver on openSUSE with
obs://. - #256: Made docstrings consistent
Bug Fixes
- #249: Added release policy and version restriction in documentation to help our users which would like to stay on the major 2 release.
Contributors
(in alphabetical order)
@gsakkis @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr about 6 years ago
py3-semver - 2.10.0
Related issue: #237
Released 2020-05-05
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.10.0/
Features
- #235: Shift focus on
semver.VersionInfo.* - #230: Add version information in some functions
- #228: Add better doctest integration into pytest
- #222: Implement of
VersionInfo.next_version()function - #138: Implement
__getitem__
Bug Fixes
- #244 (PR #245): Allow list & str for comparison
- #224 (PR #226): Replace
super()call
Deprecations/Removals
- #236 (PR #239): Add missing deprecated functions
- #225 (PR #229): Deprecate module level functions
Contributors
(in alphabetical order)
@bittner @gsakkis @menschel-d @ppkt @scls19fr @tlaferriere
Thanks to all! :heart:
- Python
Published by tomschr about 6 years ago
py3-semver - 2.9.1
Related issue: #218
Released 2020-02-16
Maintainer Tom Schraitle
Documentation https://python-semver.rtfd.io/en/2.9.1/
Features
- #177 (PR #178): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)
- PR #179: Added note about moving this project to the new python-semver organization on GitHub
- #187 (PR #188): Added logo for python-semver organization and documentation
- #191 (PR #194): Created manpage for pysemver
- #196 (PR #197): Added distribution specific installation instructions
- #201 (PR #202): Reformatted source code with black
- #208 (PR #209): Introduce new function :func:
semver.VersionInfo.isvalidand extend :command:pysemverwith :command:checksubcommand - #210 (PR #215): Document how to deal with invalid versions
- PR #212: Improve docstrings according to PEP257
Bug Fixes
- #192 (PR #193): Fixed "pysemver" and "pysemver bump" when called without arguments
Removals
not available
- Python
Published by tomschr over 6 years ago
py3-semver - 2.9.0
Related issue: #134
Released 2019-10-30
Maintainer Sébastien Celles <s.celles@gmail.com>
Documentation https://python-semver.rtfd.io/en/2.9.0/
Features
- #59 (PR #164): Implemented a command line interface
- #85 (PR #147, PR #154): Improved contribution section
- #104 (PR #125): Added iterator to
semver.VersionInfo - #112, #113: Added Python 3.7 support
- PR #120: Improved test_immutable function with properties
- PR #125: Created
setup.cfgfor pytest and tox - #126 (PR #127): Added target for documentation in
tox.ini - #142 (PR #143): Improved usage section
- #144 (PR #156): Added
semver.replaceandsemver.VersionInfo.replacefunctions - #145 (PR #146): Added posargs in
tox.ini - PR #157: Introduced
conftest.pyto improve doctests - PR #165: Improved code coverage
- PR #166: Reworked
.gitignorefile - #167 (PR #168): Introduced global constant :data:
SEMVER_SPEC_VERSION
Bug Fixes
- #102: Fixed comparison between VersionInfo and tuple
- #103: Disallowed comparison between VersionInfo and string (and int)
- #121 (PR #122): Used python3 instead of python3.4 in
tox.ini - PR #123: Improved
__repr__and derive class name fromtype - #128 (PR #129): Fixed wrong datatypes in docstring for
semver.format_version - #135 (PR #140): Converted prerelease and build to string
- #136 (PR #151): Added testsuite to tarball
- #154 (PR #155): Improved README description
Removals
- #111 (PR #110): Droped Python 3.3
- #148 (PR #149): Removed and replaced
python setup.py test
- Python
Published by scls19fr over 6 years ago
py3-semver -
- Released 2018-07-09
- Maintainer Sébastien Celles <s.celles@gmail.com>
Documentation https://python-semver.rtfd.io/en/2.8.1/
Features
- #40 (PR #88): Added a static parse method to
VersionInfo - #77 (PR #47): Converted multiple tests into
pytest.mark.parametrize - #87, #94 (PR #93): Removed named tuple inheritance.
- #89 (PR #90): Added doctests.
Bug Fixes
- #98 (PR #99): Set prerelease and build to None by default
- #96 (PR #97): Made VersionInfo immutable
Removals
n/a
- Python
Published by scls19fr almost 8 years ago
py3-semver -
- Released 2018-07-09
- Maintainer Sébastien Celles <s.celles@gmail.com>
Feature
- #79 (PR #81, PR #84): Defined and improve a release procedure file
- #72, #73 (PR #75): Implemented
__str__and__hash__ - #82 (PR #83): Renamed
test.pytotest_semver.pysopy.testcan autodiscover test file
Bug fixes
n/a
Removals
- #76 (PR #80): Removed Python 2.6 compatibility
- Python
Published by scls19fr about 8 years ago