Skip to content

Commit 46a3594

Browse files
committed
Update CHANGELOG
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent d9ba058 commit 46a3594

1 file changed

Lines changed: 36 additions & 6 deletions

File tree

CHANGELOG.rst

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Important API changes:
3232
urls under the "infos" object. Now HTML template will output holders,
3333
authors, emails, and urls into separate tables like "licenses" and "copyrights".
3434

35+
- The data structure for CSV output has been changed to rename the Resource
36+
column to "path".
37+
38+
3539
Copyright detection:
3640
~~~~~~~~~~~~~~~~~~~~
3741

@@ -51,15 +55,37 @@ License detection:
5155
- XX existing license metadata have been updated,
5256
- XXXX new license detection rules have been added, and
5357
- XXXX existing license rules have been updated.
54-
55-
- Key phrases can now be defined in RULEs by surrounding one or more words with
56-
`{{` and `}}`. When defined a RULE will only match when the key phrases match
57-
exactly.
58+
- XXXX existing false positive license rules have been removed (see below).
59+
- The SPDX license list has been updated to the latest v3.15
5860

5961
- The rule attribute "only_known_words" has been renamed to "is_continuous" and its
6062
meaning has been updated and expanded. A rule tagged as "is_continuous" can only
6163
be matched if there are no gaps between matched words, be they stopwords, extra
6264
unknown or known words. This improves several false positive license detections.
65+
The processing for "is_continous" has been merged in "key phrases" processing
66+
below.
67+
68+
- Key phrases can now be defined in RULEs by surrounding one or more words with
69+
`{{` and `}}`. When defined a RULE will only match when the key phrases match
70+
exactly. When all the text of rule is a "key phrase", this is the same as being
71+
"is_continuous".
72+
73+
- The "--unknown-licenses" option now also detects unknown licenses using a
74+
simple and effective ngrams-based matching in area that are not matched or
75+
weakly matched. This helps detects things that look like a license but are not
76+
yet known as licenses.
77+
78+
- False positive detection of "license lists" like list seen in license and
79+
package management tools has been entirely reworked. Rather than using
80+
thousands of small false positive rules, there is now a new filter to detect
81+
long run of license references and tags that are typical of license lists.
82+
As a results, thousands of rules have been replaced by a simpler filter, and
83+
the license detection is both more accurate, faster and has fewer false
84+
positives.
85+
86+
- The new license flag "is_generic" tags licenses that are "generic" licenses
87+
such as "other-permissive" or "other-copyleft". This is not yet
88+
returned in the JSON API.
6389

6490
- When scanning binary files, the detection of single word rules is filtered when
6591
surrounded by gibberish or is using mixed case. For instance $#%$GpL$ is a false
@@ -85,11 +111,15 @@ Package detection:
85111
- Yocto/BitBake .bb recipes.
86112

87113
- Major changes in packages detection and reporting, codebase-level attribute `packages`
88-
with one or more package_manifests and files for the packages will be reported.
114+
with one or more "package_manifests" and files for the packages are reported.
89115
The specific changes made are:
90116

91117
- The resource level attribute `packages` has been renamed to `package_manifests`,
92118
as these are really package manifests that are being detected.
119+
120+
- A new top-level attribute `packages` has been added which contains package
121+
instances created from package_manifests detected in the codebase.
122+
93123
- A new codebase level attribute `packages` has been added which contains package
94124
instances created from package_manifests detected in the codebase.
95125

@@ -109,7 +139,7 @@ Scancode Data Output Version is now 2.0.0.
109139
Changes:
110140

111141
- rename resource level attribute `packages` to `package_manifests`.
112-
- add codebase level attribute `packages`.
142+
- add top-level attribute `packages`.
113143

114144

115145
30.1.0 - 2021-09-25

0 commit comments

Comments
 (0)