You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### BREAKING Changes
* Removed `cyclonedx.mode.ThisTool`, utilize `cyclonedx.builder.this.this_tool()` instead.
* Moved `cyclonedx.model.Tool` to `cyclonedx.model.tool.Tool`.
* Property `cyclonedx.mode.bom.BomMetaData.tools` is of type `cyclonedx.model.tool.ToolRepository` now, was `SortedSet[cyclonedx.model.Tool]`.
The getter will act accordingly; the setter might act in a backwards-compatible way.
* Property `cyclonedx.mode.vulnerability.Vulnerability.tools` is of type `cyclonedx.model.tool.ToolRepository` now, was `SortedSet[cyclonedx.model.Tool]`.
The getter will act accordingly; the setter might act in a backwards-compatible way.
* Constructor `cyclonedx.model.license.LicenseExpression()` accepts optional argument `acknowledgement` only as key-word argument, no longer as positional argument.
### Changes
* Constructor of `cyclonedx.model.bom.BomMetaData` also accepts an instance of `cyclonedx.model.tool.ToolRepository` for argument `tools`.
* Constructor of `cyclonedx.model.bom.BomMetaData` no longer adds this very library as a tool.
Downstream users SHOULD add it manually, like `my-bom.metadata.tools.components.add(cyclonedx.builder.this.this_component())`.
### Fixes
* Deserialization of CycloneDX that do not include tools in the metadata are no longer unexpectedly modified/altered.
### Added
Enabled Metadata Tools representation and serialization in accordance with CycloneDX 1.5
* New class `cyclonedx.model.tool.ToolRepository`.
* New function `cyclonedx.builder.this.this_component()` -- representation of this very python library as a `Component`.
* New function `cyclonedx.builder.this.this_tool()` -- representation of this very python library as a `Tool`.
* New function `cyclonedx.model.tool.Tool.from_component()`.
### Dependencies
* Raised runtime dependency `py-serializable>=1.1.1,<2`, was `>=1.1.0,<2`.
---------
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Joshua Kugler <tek30584@adobe.com>
Signed-off-by: semantic-release <semantic-release@bot.local>
Co-authored-by: Joshua Kugler <joshua@azariah.com>
Co-authored-by: semantic-release <semantic-release@bot.local>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`a210809`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/a210809efb34c2dc895fc0c6d96a3412a9097625))
11
+
12
+
* docs: rephrase migration paths
13
+
14
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`b0260a7`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/b0260a7d45bc3e099b979001049a8c5a67b97634))
15
+
16
+
### Unknown
17
+
18
+
* Merge remote-tracking branch 'origin/main' into 8.0.0-dev ([`b9a33e6`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/b9a33e614a84ba4a6546a1907b70a0cbfee8cd6f))
19
+
20
+
* rework tools xml deserializer (#700)
21
+
22
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`1a24ee6`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/1a24ee6a0853e535465f85c6380971948281ad6e))
23
+
24
+
* Merge remote-tracking branch 'origin/main' into 8.0.0-dev ([`4c57fa1`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/4c57fa156516de07cdd4acd3f3057c0b20d108d7))
25
+
26
+
4
27
5
28
## v7.6.2 (2024-10-07)
6
29
@@ -20,9 +43,126 @@ fixes #690
20
43
21
44
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`d8b20bd`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/d8b20bdc5224ea30cf767f6f3f1a6f8ff2754973))
22
45
46
+
### Unknown
47
+
48
+
* docs
49
+
50
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`68c681d`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/68c681d46c85230a97c4058de97400f3d93119f5))
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`35ccdd1`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/35ccdd1bfec9757457763308d16e1dbf5d9e28e9))
60
+
61
+
### Unknown
62
+
63
+
* docs
64
+
65
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`2e16408`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/2e16408098a3c649b80fb407d4f43aaa34aee39f))
Item class of repository is to be called in singular(`Tool`).
70
+
71
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`e00af17`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/e00af1739fa6d3933315e96266d96d9b290012ee))
72
+
73
+
74
+
## v8.0.0-rc.1 (2024-09-25)
75
+
76
+
### Documentation
77
+
78
+
* docs: migrate to v8.0.0 (#684)
79
+
80
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`0ac84d7`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/0ac84d76f2e526f329937ab004480405492e7417))
81
+
82
+
### Fix
83
+
84
+
* fix: assert copyright headers
85
+
86
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`bef268b`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/bef268b7abe2c3f343274d7789906c99c80e9df9))
87
+
88
+
### Unknown
89
+
90
+
* Merge branch 'main' into 8.0.0-dev
91
+
92
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`39514b3`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/39514b331eef98fbf5208ead341060831f8acddf))
93
+
94
+
* Merge branch 'main' into 8.0.0-dev ([`c123aff`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/c123aff4bd479ec0f5f1982725ffe8901afb87c9))
95
+
23
96
24
97
## v7.6.1 (2024-09-18)
25
98
99
+
### Breaking
100
+
101
+
* feat!: this-builder (#649)
102
+
103
+
reworked `ThisTool` for #635
104
+
105
+
---------
106
+
107
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`cf5d2c7`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/cf5d2c7e43883967c5d5837f465ecac5a8cc034e))
108
+
109
+
* refactor!: `LicenseExpression()` optional args are named args (#595)
110
+
111
+
fixes #594
112
+
113
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`0172564`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/0172564d5f9529e7ce543da434969b552833de31))
114
+
115
+
* feat!: Add component and services for tools (#635)
116
+
117
+
CycloneDX spec 1.5 deprecated an array of tools in bom.metadata and
118
+
instead prefers object with an array of components and an array of
119
+
services.
120
+
121
+
This PR implements that.
122
+
123
+
This works de-serializing a Syft SBOM with a tool section like so:
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
152
+
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`1f5fd7a`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/1f5fd7a6be94d93d2260622d39ea01cd74614402))
153
+
154
+
* feat!: 8.0.0
155
+
156
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`9ba4b8e`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/9ba4b8e5d255c8dba51df214786328bfa700291c))
157
+
158
+
### Feature
159
+
160
+
* feat: don't add self to `metafata.tools` (#674)
161
+
162
+
fixes #673
163
+
164
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`e0a153f`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/e0a153fbd553dcf29343d72e361c1cc9122c63b4))
165
+
26
166
### Fix
27
167
28
168
* fix: file copyright headers (#676)
@@ -33,6 +173,16 @@ correct headers
33
173
34
174
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`35e00b4`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/35e00b4ee5a9306b9e97b011025409bcbfcef309))
35
175
176
+
### Unknown
177
+
178
+
* Merge branch 'main' into 8.0.0-dev ([`3d1548a`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/3d1548abf5db45764a22fcca96493574f96ff693))
179
+
180
+
* Merge branch 'main' into 8.0.0-dev
181
+
182
+
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> ([`735c800`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/735c8003ce88b0c6efa802ccd806f17d22b4df89))
183
+
184
+
* Merge branch 'main' into 8.0.0-dev ([`0ec785d`](https://github.com/CycloneDX/cyclonedx-python-lib/commit/0ec785d29abcc215a5a0f6feec9bf16b0994cc92))
0 commit comments