Skip to content

Commit 04cd8ca

Browse files
author
semantic-release
committed
chore(release): 10.0.1
Automatically generated by python-semantic-release Signed-off-by: semantic-release <semantic-release@bot.local>
1 parent 0df2982 commit 04cd8ca

File tree

4 files changed

+32
-3
lines changed

4 files changed

+32
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
# CHANGELOG
22

33

4+
## v10.0.1 (2025-05-10)
5+
6+
### Bug Fixes
7+
8+
- Add missing comparator for VulnerabilityAnalysis
9+
([#812](https://github.com/CycloneDX/cyclonedx-python-lib/pull/812),
10+
[`0df2982`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/0df2982151a99ce6e21336e6904afc0a8058f9af))
11+
12+
When trying to generate a CycloneDX BOM that has two vulnerabilities that only differ in their
13+
analysis, you get ``` TypeError: '<' not supported between instances of 'VulnerabilityAnalysis'
14+
and 'VulnerabilityAnalysis' ```
15+
16+
This PR adds the `__lt__` method for the VulnerabilityAnalysis model to fix sorting and also
17+
includes a test case to verify the fix.
18+
19+
---------
20+
21+
Signed-off-by: Riku Häkli <hakli.riku@gmail.com>
22+
23+
Co-authored-by: Riku Häkli <hakli.riku@gmail.com>
24+
25+
### Documentation
26+
27+
- **fix**: Mdformat
28+
([`acf5c45`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/acf5c45874808b831c33344f08ea21df20c727bb))
29+
30+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
31+
32+
433
## v10.0.0 (2025-04-23)
534

635
### Features

cyclonedx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
# !! version is managed by semantic_release
2424
# do not use typing here, or else `semantic_release` might have issues finding the variable
25-
__version__ = "10.0.0" # noqa:Q000
25+
__version__ = "10.0.1" # noqa:Q000

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# The full version, including alpha/beta/rc tags
2525
# !! version is managed by semantic_release
26-
release = '10.0.0'
26+
release = '10.0.1'
2727

2828
# -- General configuration ---------------------------------------------------
2929

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry]
66
name = "cyclonedx-python-lib"
77
# !! version is managed by semantic_release
8-
version = "10.0.0"
8+
version = "10.0.1"
99
description = "Python library for CycloneDX"
1010
authors = [
1111
"Paul Horton <phorton@sonatype.com>",

0 commit comments

Comments
 (0)