File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ Upgrading to v8
2+ ===============
3+
4+ Version 8 is not backwards compatible. Some behaviours and integrations changed.
5+ This document covers all breaking changes and should give guidance how to migrate from previous versions.
6+
7+ This document is not a full :doc: `change log <changelog >`, but a migration path.
8+
9+ ____
10+
11+ Downstream users SHOULD add the following to their BOM build processes, to keep track of used libraries for potential troubleshooting:
12+
13+ ```py
14+
15+
16+ ` ``
Original file line number Diff line number Diff line change 2020
2121from packageurl import PackageURL
2222
23+ from cyclonedx .builder .this import this_component as cdx_lib_component
2324from cyclonedx .exception import MissingOptionalDependencyException
2425from cyclonedx .factory .license import LicenseFactory
2526from cyclonedx .model import XsUri
4344# region build the BOM
4445
4546bom = Bom ()
47+ bom .metadata .tools .components .add (cdx_lib_component ())
48+
4649bom .metadata .component = root_component = Component (
4750 name = 'myApp' ,
4851 type = ComponentType .APPLICATION ,
You can’t perform that action at this time.
0 commit comments