Skip to content

Commit 1628123

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

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

CHANGELOG.rst

Lines changed: 13 additions & 8 deletions
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

@@ -50,18 +53,20 @@ License detection:
5053
Package detection:
5154
~~~~~~~~~~~~~~~~~~
5255

53-
- We now support new package manifest formats:
54-
- OpenWRT packages.
55-
- Yocto/BitBake .bb recipes.
56-
57-
- We now support track the files of Package types.
56+
- The resource level attribute `packages` has been renamed to `package_manifests`,
57+
as these are really package manifests that are being detected.
58+
- A new codebase level attribute `packages` has been added which contains package
59+
instances created from package_manifests detected in the codebase.
5860

61+
Output version
62+
--------------
5963

60-
Outputs:
61-
~~~~~~~~
64+
Scancode Data Output Version is now 2.0.0.
6265

63-
- There is a new CycloneDX 1.2 output as XML and JSON.
66+
Changes:
6467

68+
- rename resource level attribute `packages` to `package_manifests`.
69+
- add codebase level attribute `packages`.
6570

6671

6772
30.1.0 - 2021-09-25

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)