Skip to content

Commit c90dedb

Browse files
Bump output data version and update CHANGELOG
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 5d9fe88 commit c90dedb

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

CHANGELOG.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Changelog
88
Important API changes:
99
~~~~~~~~~~~~~~~~~~~~~~~~
1010

11+
- Main package API function `get_package_infos` is now deprecated, and is replaced by
12+
`get_package_manifests`.
13+
1114
- The data structure of the JSON output has changed for copyrights, authors
1215
and holders: we now use proper name for attributes and not a generic "value".
1316

@@ -54,7 +57,14 @@ Package detection:
5457
- OpenWRT packages.
5558
- Yocto/BitBake .bb recipes.
5659

57-
- We now support track the files of Package types.
60+
- Major changes in packages detection and reporting, codebase-level attribute `packages`
61+
with one or more package_manifests and files for the packages will be reported.
62+
The specific changes made are:
63+
64+
- The resource level attribute `packages` has been renamed to `package_manifests`,
65+
as these are really package manifests that are being detected.
66+
- A new codebase level attribute `packages` has been added which contains package
67+
instances created from package_manifests detected in the codebase.
5868

5969

6070
Outputs:
@@ -63,6 +73,16 @@ Outputs:
6373
- There is a new CycloneDX 1.2 output as XML and JSON.
6474

6575

76+
Output version
77+
--------------
78+
79+
Scancode Data Output Version is now 2.0.0.
80+
81+
Changes:
82+
83+
- rename resource level attribute `packages` to `package_manifests`.
84+
- add codebase level attribute `packages`.
85+
6686

6787
30.1.0 - 2021-09-25
6888
--------------------

src/scancode_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _create_dir(location):
8484

8585
# See https://github.com/nexB/scancode-toolkit/issues/2653 for more information
8686
# on the data format version
87-
__output_format_version__ = '1.0.0'
87+
__output_format_version__ = '2.0.0'
8888

8989
#
9090
spdx_license_list_version = '3.14'

0 commit comments

Comments
 (0)