rbarrois/python-semanticversion (semantic_version)
### [`v2.10.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#2100-2022-05-26)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.9.0...2.10.0)
*New:*
* `132 `_:
Ensure sorting a collection of versions is always stable, even with
build metadata.
### [`v2.9.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#290-2022-02-06)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.5...2.9.0)
*New:*
* Add support for Django 3.1, 3.2, 4.0
* Add support for Python 3.7 / 3.8 / 3.9 / 3.10
### [`v2.8.5`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#285-2020-04-29)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.4...2.8.5)
*Bugfix:*
* `98 `_:
Properly handle wildcards in ``SimpleSpec`` (e.g. ``==1.2.*``).
### [`v2.8.4`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#284-2019-12-21)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.3...2.8.4)
*Bugfix:*
* `#89 `_:
Properly coerce versions with leading zeroes in components (e.g.
``1.01.007``)
### [`v2.8.3`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#283-2019-11-21)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.2...2.8.3)
*New:*
\- Add `Clause.prettyprint()` for debugging
*Bugfix:*
* `#86 `_:
Fix handling of prerelease ranges within `NpmSpec`
### [`v2.8.2`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#282-2019-09-06)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.1...2.8.2)
*Bugfix:*
* `#82 `_:
Restore computation of ``Spec.specs`` for single-term expressions
(``>=0.1.2``)
### [`v2.8.1`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#281-2019-08-29)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.8.0...2.8.1)
*Bugfix:*
* Restored attribute ``Spec.specs``, removed by mistake during the refactor.
### [`v2.8.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#280-2019-08-29)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.7.1...2.8.0)
*New:*
* Restore support for Python 2.
### [`v2.7.1`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#271-2019-08-28)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.7.0...2.7.1)
*Bugfix:*
* Fix parsing of npm-based caret expressions.
### [`v2.7.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#270-2019-08-28)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/v2.6.0...2.7.0)
This release brings a couple of significant changes:
- Allow to define several range description syntaxes (`SimpleSpec`, `NpmSpec`, ...)
- Fix bugs and unexpected behaviours in the `SimpleSpec` implementation.
Backwards compatibility has been kept, but users should adjust their code for the new features:
- Use `SimpleSpec` instead of `Spec`
- Replace calls to `Version('1.2', partial=True)` with `SimpleSpec('~1.2')`
- `iter(some_spec)` is deprecated.
*New:*
* Allow creation of a ``Version`` directly from parsed components, as keyword arguments
(``Version(major=1, minor=2, patch=3)``)
* Add ``Version.truncate()`` to build a truncated copy of a ``Version``
* Add ``NpmSpec(...)``, following strict NPM matching rules (https://github.com/npm/node-semver#ranges)
* Add ``Spec.parse('xxx', syntax='')`` for simpler multi-syntax support
* Add ``Version().precedence_key``, for use in ``sort(versions, key=lambda v: v.precedence_key)`` calls.
The contents of this attribute is an implementation detail.
*Bugfix:*
* Fix inconsistent behaviour regarding versions with a prerelease specification.
*Deprecated:*
* Deprecate the ``Spec`` class (Removed in 3.1); use the ``SimpleSpec`` class instead
* Deprecate the internal ``SpecItem`` class (Removed in 3.0).
* Deprecate the ``partial=True`` form of ``Version``; use ``SimpleSpec`` instead.
*Removed:*
* Remove support for Python2 (End of life 4 months after this release)
*Refactor:*
* Switch spec computation to a two-step process: convert the spec to a combination
of simple comparisons with clear semantics, then use those.
### [`v2.6.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#260-2016-09-25)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/v2.5.0...v2.6.0)
*New:*
* `#43 `_:
Add support for Django up to 1.10.
*Removed:*
* Remove support for Django<1.7
*Bugfix:*
* `#35 `_:
Properly handle `^0.X.Y` in a NPM-compatible way
### [`v2.5.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#250-2016-02-12)
[Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/v2.4.2...v2.5.0)
*Bugfix:*
`#18 `_: According to SemVer 2.0.0, build numbers aren't ordered.
* Remove specs of the ``Spec('<1.1.3+')`` form
* Comparing ``Version('0.1.0')`` to ``Version('0.1.0+bcd')`` has new
rules::
>>> Version('0.1.0+1') == Version('0.1.0+bcd')
False
>>> Version('0.1.0+1') != Version('0.1.0+bcd')
True
>>> Version('0.1.0+1') < Version('0.1.0+bcd')
False
>>> Version('0.1.0+1') > Version('0.1.0+bcd')
False
>>> Version('0.1.0+1') <= Version('0.1.0+bcd')
False
>>> Version('0.1.0+1') >= Version('0.1.0+bcd')
False
>>> compare(Version('0.1.0+1'), Version('0.1.0+bcd'))
NotImplemented
* :func:`semantic_version.compare` returns ``NotImplemented`` when its
parameters differ only by build metadata
* ``Spec('<=1.3.0')`` now matches ``Version('1.3.0+abde24fe883')``
* `#24 `_: Fix handling of bumping pre-release versions, thanks to @minchinweb.
* `#30 `_: Add support for NPM-style ``^1.2.3`` and ``~2.3.4`` specs, thanks to @skwashd
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.4.2
->==2.10.0
Release Notes
rbarrois/python-semanticversion (semantic_version)
### [`v2.10.0`](https://togithub.com/rbarrois/python-semanticversion/blob/HEAD/ChangeLog#2100-2022-05-26) [Compare Source](https://togithub.com/rbarrois/python-semanticversion/compare/2.9.0...2.10.0) *New:* * `132Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.