v32.1.0
New CLI options:
- A new CLI option
--package-only
has been added which performs
a faster package scan by skipping the package assembly step and
also skipping license/copyright detection on package metadata.
Major API/other changes:
- Output Format Version updated to 3.1.0 (minor version bump)
- Drops python 3.7 and adopts python 3.12
- New license match attributes:
from_file
matched_text_diagnostics
is added for--license-text-diagnostics
- In codebase-level
license_detections
we have a new attribute
reference_matches
- SPDX license expressions everywhere side-by-side with ScanCode
license expressions. - All rule attribute level data provided in codebase level
todo
items.
Changes in Output Data Structure:
-
The data structure of the JSON output has changed for
licenses at file level, and license detections at top-level.
But note that all the changes are additions to the JSON output,
so we have a minor version bump3.0.0
to3.1.0
:-
There is a new attribute
from_file
inmatches
which is in
license_detections
in:- File level
license_detections
- Codebase level
license_detections
license_detections
andother_license_detections
in
file-levelpackage_data
license_detections
andother_license_detections
in
codebase levelpackages
- File level
-
On using the CLI option
--license-text-diagnostics
there is
now a new license match attributematched_text_diagnostics
with the matched text and highlighted diagnostics, instead of
having this replace the plainmatched_text
. -
A new
reference_matches
attribute is added to codebase-level
license_detections
which is same as thematches
attribute
in other license detections. -
We now have SPDX license expressions everywhere we have
ScanCode license expressions for ease of use and adopting
SPDX everywhere. A new attributelicense_expression_spdx
is added to:license_detections
in file and codebase level- in package
license_detections
andother_license_detections
matches
forlicense_detections
everywhere
-
Adds all rule atrribute level info in codebase level
todo
data, to assist in review. This includes length, text, notes,
referenced_filenames, and the boolean attributes (like
is_license_notice, is_license_intro etc, as applicable).
-
-
New and updated licenses, including support for newly released
SPDX license list versions:-
SPDX License List 3.22:
This release of the SPDX license list had 48 new licenses,
and several of them we already had as licenses/rules, and
these has been modified to be consistent with the SPDX list.
And the rest have been added as new licenses.
For more details see #3554 -
SPDX License List 3.23:
This release of the SPDX license list had 43 new licenses,
and out of them 22 were present as licenses and 10 were
present as rules already. There were 4 new license/exception
texts added, and the rest were either texts with small variations,
additions to texts or several rule texts together.
For more details see #3653 -
We also have lots of other misc new licenses and rules added to
LicenseDB, see PRs below for more details:
#3663
#3642
#3586
#3584
#3575
#3570
#3568
#3562
-
-
Improve debian namespace detection based on clues and fix
namespace and qualifier bugs for debian purls.
For more details see aboutcode-org/scancode.io#899
and #3443
Also improve debian manifests parsing and purl parsing from
filenames. Support for aboutcode-org/purldb#245
Bumps debian-inspector to v31.1.0 -
Bump commoncode to v31.0.3
-
Upgraded spdx-tools dependency to v0.8.
See #3455
Support for Conan package parser:
- We now support the parsing of Conan manifest files, such as
conanfile.py
, as described here https://docs.conan.io/2.0/reference/conanfile.html.
We also support source extraction fromconandata.yml
, as described here
https://docs.conan.io/2/tutorial/creating_packages/handle_sources_in_packages.html#using-the-conandata-yml-file.
What's Changed
- fix: allow fedora based packages by @philcali in #3479
- Upgrade
spdx-tools
to v0.8.1 #3455 by @armintaenzertng in #3456 - Added docs server script, dark mode & copybutton for docs by @OmkarPh in #3549
- npm: support aliases in yarn lock v1 by @schischi in #3555
- Add license rules by @AyanSinhaMahapatra in #3562
- Fix failing tests by @AyanSinhaMahapatra in #3563
- Add more license rules by @pombredanne in #3567
- Add license detection rules by @AyanSinhaMahapatra in #3568
- More licenses by @AyanSinhaMahapatra in #3570
- Update to spdx 3.22 by @AyanSinhaMahapatra in #3554
- Add new license detection rules by @pombredanne in #3575
- TestRule.test_dump_rule_file: sort the rule file lists. by @licquia in #3582
- Fix reference to install section by @rettichschnidi in #3583
- Add new and updated licenses by @AyanSinhaMahapatra in #3586
- Fix-up an accidental use of SPDX's
WITH
operator in a rule by @fviernau in #3628 - Update home.rst by @machuii in #3627
- Fix SCTK doc build by @AyanSinhaMahapatra in #3636
- Yet more license rules by @AyanSinhaMahapatra in #3584
- Update license detections by @AyanSinhaMahapatra in #3620
- Support conan in packagedcode by @keshav-space in #3650
- Update LicenseDB by @AyanSinhaMahapatra in #3641
- Update debian package manifest parsing by @AyanSinhaMahapatra in #3647
- Fix debian source purl parsing in status by @AyanSinhaMahapatra in #3661
- Support SPDX License List 3.23 by @AyanSinhaMahapatra in #3653
- Add new licenses and license updates by @AyanSinhaMahapatra in #3663
- Update llgpl as a license exception by @AyanSinhaMahapatra in #3680
- Update license rules by @AyanSinhaMahapatra in #3642
- Add Misc updates by @pombredanne in #3662
- Update package handlers by @AyanSinhaMahapatra in #3682
- Support cargo workspaces by @AyanSinhaMahapatra in #3602
- Validate CLI inputs and paths #3596 by @pombredanne in #3609
- Support Python 3.12 by @AyanSinhaMahapatra in #3658
- Add a faster package scan with
--package-only
by @AyanSinhaMahapatra in #3689 - Refine referenced filenames #3547 by @AyanSinhaMahapatra in #3681
- Release prep v32.1.0 by @AyanSinhaMahapatra in #3701
New Contributors
- @philcali made their first contribution in #3479
- @schischi made their first contribution in #3555
- @licquia made their first contribution in #3582
- @rettichschnidi made their first contribution in #3583
- @machuii made their first contribution in #3627
Full Changelog: v32.0.8...v32.1.0