v8.0.0-rc.1
Pre-release
Pre-release
·
168 commits
to main
since this release
BREAKING Changes
- Removed
cyclonedx.mode.ThisTool, utilizecyclonedx.builder.this.this_tool()instead. - Moved
cyclonedx.model.Tooltocyclonedx.model.tool.Tool. - Property
cyclonedx.mode.bom.BomMetaData.toolsis of typecyclonedx.model.tool.ToolsRepositorynow, wasSortedSet[cyclonedx.model.Tool].
The getter will act accordingly; the setter might act in a backwards-compatible way. - Property
cyclonedx.mode.vulnerability.Vulnerability.toolsis of typecyclonedx.model.tool.ToolsRepositorynow, wasSortedSet[cyclonedx.model.Tool].
The getter will act accordingly; the setter might act in a backwards-compatible way. cyclonedx.model.license.LicenseExpression()accepts optional argumentacknowledgementonly as key-word argument, no longer as positional argument.
Changes
- Constructor of
cyclonedx.model.bom.BomMetaDataalso accepts an instance ofcyclonedx.model.tool.ToolsRepository - Constructor of
cyclonedx.model.bom.BomMetaDatano longer adds this very library as a tool. Downstream users may do so by utilizingcyclonedx.builder.this.this_tool().
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.ToolsRepository. - New function
cyclonedx.builder.this.this_component()-- representation of this very python library as aComponent. - New function
cyclonedx.builder.this.this_tool()-- representation of this very python library as aTool. - New function
cyclonedx.model.tool.Tool.from_component().
Dependencies
- Raised runtime dependency
py-serializable>=1.1.1,<2, was>=1.1.0,<2.
Docs & Migration Paths
rendered docs preview: https://cyclonedx-python-library.readthedocs.io/en/8.0.0-dev/
What's Changed
- feat!: Add component and services for tools by @jkugler in #635
- feat: don't add self to
metafata.toolsby @jkowalleck in #674 - refactor!:
LicenseExpression()optional args are named args by @jkowalleck in #595 - feat!: this-builder by @jkowalleck in #649
- tests: test builder this by @jkowalleck in #675
- chore(deps-dev): update tox requirement from 4.18.1 to 4.20.0 by @dependabot in #680
- chore: trusted publishing by @jkowalleck in #682
- docs: migrate to v8.0.0 by @jkowalleck in #684
- chore(dev-deps): use
tomliby @jkowalleck in #685
New Contributors
Full Changelog: v7.6.1...v8.0.0-rc.1