Skip to content

Releases: aboutcode-org/scancode-toolkit

v32.2.1

01 Jul 19:55
e26187a
Compare
Choose a tag to compare

This is a minor release with updated package and copyright detection support.

  • Add support for parsing resolved packages and dependency relationships
    from nuget lockfile packages.lock.json.
    See #3825

  • Add support for parsing resolved packages and dependency relationships
    from cocoapods lockfile Podfile.lock.
    See #3827

  • Add support for parsing packages and dependency relationships
    from swift swift-show-dependencies.deplock generated by DepLock.
    See #3829

  • Add support for pip-inspect.deplock files to parse and store
    resolved packages and dependency relationships, to statically
    resolve a python dependency graph.
    See aboutcode-org/scancode.io#1262

  • Add support for poetry packages, with poetry specific pyproject.toml
    support, poetry.lock and package assembly support. Also add support
    for parsing and storing resolved packages and dependency relationships
    required to statically resolve poetry dependecy graphs.
    See #2109

  • Add support for pyproject.toml files in python projects.
    See #3753

  • More improved copyright detection, see
    #3752

  • scancode-toolkit is now installable from the fedora repo.
    See #3824

What's Changed

New Contributors

Full Changelog: v32.2.0...v32.2.1

v32.2.0

20 Jun 14:02
c326a0b
Compare
Choose a tag to compare

Major API changes/output data structure changes:

  • Output Format Version updated to 3.2.0 (minor version bump)
  • SPDX License List support for 3.24.0
  • New attribute in top level packages and resource level package_data:
    • is_direct
  • New attribute in top level dependencies and resource package_data level dependencies:
    • is_virtual
    • is_private

New changes:

  • New and improved package/dependency data:

    • Added new attribute in DependentPackage is_direct to aid
      package resolution and dependency graph creation.
    • Added new attributes in PackageData: is_private and
      is_virtual. #3102 #3811
      #3779
  • Improved javascript package detection:

    • Add support for pnpm manifests and lockfiles #3766
    • Add support for npm, pnpm and yarn workspaces #3746
    • Improve resolved package and dependencies support in lockfiles for
      yarn.lock, package-lock.json, and pnpm. #3780
    • Add support for private packages. #3120
    • Add support for new dependency scopes across javascript
    • Lots of misc bugfixes in yarn and npm parsers.
      #3779
  • Improve cargo package detection support with various improvements
    and bugfixes:

    • Fix for parser crashing on cargo workspaces
    • Fix a bug in dependency parsing (we were not returning any dependencies)
    • Also support getting dependency versions from workspace
    • Support more attributes from cargo
    • Better handle workspace data thorugh extra_data attribute
      See #3783
  • We now support parsing the Swift manifest JSON dump and the
    Package.resolved file #2657.
    Run the command below on your local Swift project before running the scan:
    `swift package dump-package > Package.swift.json && swift package resolve``

  • New and updated licenses, including support for newly released
    SPDX license list versions:

    • SPDX License List 3.24:
      This release of the SPDX license list had 25 new licenses
      and exceptions, and out of them 12 were present as licenses
      and 5 were present as rules already. There were 3 new
      license/exception texts added, and the rest 5 were either
      texts with small variations, additions to texts or several
      rule texts together. And the rest have been added as new licenses.
      For more details see #3795

    • More new licenses and rules:

      • 23 new licenses in #3778

What's Changed

New Contributors

Full Changelog: v32.1.0...v32.2.0

v32.1.0

22 Mar 18:47
cafcbcf
Compare
Choose a tag to compare

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 bump 3.0.0 to 3.1.0:

    • There is a new attribute from_file in matches which is in
      license_detections in:

      • File level license_detections
      • Codebase level license_detections
      • license_detections and other_license_detections in
        file-level package_data
      • license_detections and other_license_detections in
        codebase level packages
    • On using the CLI option --license-text-diagnostics there is
      now a new license match attribute matched_text_diagnostics
      with the matched text and highlighted diagnostics, instead of
      having this replace the plain matched_text.

    • A new reference_matches attribute is added to codebase-level
      license_detections which is same as the matches 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 attribute license_expression_spdx
      is added to:

      • license_detections in file and codebase level
      • in package license_detections and other_license_detections
      • matches for license_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:

What's Changed

New Contributors

Full Changelog: v32.0.8...v32.1.0

v32.0.8

16 Oct 19:38
26ace52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v32.0.7...v32.0.8

v32.0.7

28 Sep 12:41
c157593
Compare
Choose a tag to compare

v32.0.6 - 2023-07-13

This is a minor release with a lot of license detection improvements, with new and updated license detection rules and new licenses.

  • 33 new licenses, 30 licenses updated
  • 70 new and updated license rules

The main updates over the previous stable release are:

  • To the license Rule class adds is_license_clue attribute and is_deprecated attribute to support license clues detection, and always maintain consistency on unique rule names. Adds fixes for other license detection bug related to license clues, bug in setup.cfg license detection and makes license detection identifiers python-safe. See #3462
  • Update/Add new licenses and license rules. See #3470 #3513
  • Bump commoncode to v31.0.3 fixing a VirtualCodebase creation issue when there is a directory under the root with the same name as the root directory itself. aboutcode-org/commoncode#57 #3495

What's Changed

New Contributors

Full Changelog: v32.0.6...v32.0.7

v32.0.6

19 Jul 14:54
2c46c57
Compare
Choose a tag to compare

This is a minor release with a lot of license and package detection improvements, specially for maven packages. We also support the SPDX license list 3.21 now. The main updates over the previous stable release are:

  • New and updated licenses, including support for newly released SPDX license list version 3.21. For more details see #3437
  • Fixes in summary plugin for licenses, and top-level license detections. #3430
  • Updated maven license and package detections, with fixes for various maven package manifest parsing, improved top-level package assembly, ecosystem specific package license detection, fixes in --todo plugin, updated license detection rules/heuristics and other misc changes. For more details see: #3447
  • Improved Gemfile.lock parsing. For more details see #3444
  • Auto-review plugin to get todo items for scan review, with the new --todo CLI option. For more details see: #3353
  • Misc. license and copyright detection improvements at #3346
  • Other misc. minor bugfixes detailed in all the previous release-candidates.

What's Changed

New Contributors

Full Changelog: v32.0.4...v32.0.6

v32.0.5rc3

24 Jun 14:22
2da060a
Compare
Choose a tag to compare
v32.0.5rc3 Pre-release
Pre-release
Merge pull request #3436 from nexB/release-prep-v32.0.5rc3

Release prep v32.0.5rc3

v32.0.4

07 Jun 20:29
94d4fe6
Compare
Choose a tag to compare

This is a minor bugfix release with the following updates:

  • Fixes a performance issue issue arising out of license detection
    on files happening in a single-threaded process_codebase step when the
    license CLI option is disabled for a package scan.
    Reference: #3423

What's Changed

Full Changelog: v32.0.3...v32.0.4

v32.0.3

06 Jun 19:46
3282bc0
Compare
Choose a tag to compare

This is a minor bugfix release with the following updates:

  • We were missing scancode-toolkit-mini releases from v32.0.0rc2 and
    also the scancode-toolkit release wheels including and after v32.0.0rc2 were
    actually scancode-toolkit-mini releases.
    Reference: #3421

  • Updated github actions, for more details see aboutcode-org/skeleton#75

What's Changed

Full Changelog: v32.0.2...v32.0.3

v32.0.2

29 May 13:58
4ec7a92
Compare
Choose a tag to compare

This is a minor license update release with:

  • new and updated licenses in LicenseDB
  • license-expression V30.1.1 with support for the new licenses

What's Changed

Full Changelog: v32.0.1...v32.0.2