Skip to content

Commit 2a7a0b9

Browse files
Bump scancode version to v32.4.0
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent be51a43 commit 2a7a0b9

File tree

2 files changed

+71
-14
lines changed

2 files changed

+71
-14
lines changed

CHANGELOG.rst

Lines changed: 63 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ v33.0.0 (next next, roadmap)
2727
- `--unknown-licenses` is removed and this is always enabled
2828
and only used in case of improper detections automatically.
2929

30-
- All license rules have been tagged with required phrases to improve detection accuracy
31-
and reduce false positives. See https://github.com/nexB/scancode-toolkit/issues/3300
32-
33-
- Equivalent words like license and licence, as well as plurals are now treated as the same in
34-
license detection. With this, many redundant rules have been deprecated.
35-
36-
- The license detection accuracy of Maven POMS has been improved fixing corner cases.
37-
3830
- File categorization support added, a post scan plugin tagging
3931
files with priority levels for review, and also take advantage
4032
of these in other summary plugins.
@@ -46,9 +38,72 @@ v33.0.0 (next next, roadmap)
4638
- Update ABOUT files to adapt the ABOUT File Specification.
4739
See https://github.com/aboutcode-org/scancode-toolkit/issues/4181
4840

41+
v32.4.0 - 2025-06-26
42+
--------------------
43+
44+
This is a feature release with::
45+
46+
- python 3.13 support
47+
- support added for adding required phrases to rules automatically
48+
- misc license and package detection improvements
49+
- new and updated license detection rules and new licenses
50+
- misc bugfixes, dependency and documentation updates
51+
52+
There are new data attributes, and we have a output format version bump
53+
from ``4.0.0`` to ``4.1.0``. The changes in Output Data Structure are:
54+
55+
- A new resource level attribute ``sha1_git`` is added, which has
56+
the corresponding checksum value for files, and is empty for
57+
directories. This is returned optionally with the ``--info`` plugin.
58+
59+
- A new resource level attribute ``is_community`` is added, which is
60+
True from commonly used files used for community/project maintainence.
61+
This is returned optionally with the ``--classify`` plugin.
62+
63+
These are the details for the most important changes introduced::
64+
65+
- Add support for adding required phrases in rules automatically using
66+
some console scripts and CLI options using already marked required
67+
phrases for the same license-expression and license field attributes
68+
The new console scripts are:
69+
- `add-required-phrases` to add required phrases from other rules or
70+
license attributes
71+
- `gen-new-required-phrases-rules` to add required phrase rules for
72+
marked required phrase in rules
73+
This improves detection accuracy and reduces false positives.
74+
https://github.com/aboutcode-org/scancode-toolkit/pull/3924
75+
https://github.com/aboutcode-org/scancode-toolkit/pull/4237
76+
https://github.com/aboutcode-org/scancode-toolkit/pull/4241
77+
78+
- Default value of processes used for scancode scans is changed from
79+
1 to `N-1`, where N is the number of CPU processes available in the
80+
system. https://github.com/aboutcode-org/scancode-toolkit/pull/4104
81+
4982
- Also return sha1_git checksums for each files with ``--info`` plugin.
5083
https://github.com/aboutcode-org/scancode-toolkit/issues/624
5184

85+
- Equivalent words like license and licence, as well as plurals are
86+
now treated as the same in license detection. With this,
87+
many redundant rules have been deprecated.
88+
https://github.com/aboutcode-org/scancode-toolkit/pull/4215
89+
90+
- Support running scancode with python3.13
91+
Update and use latest native dependencies with py3.13 support,
92+
update and test py3.13 usage in CI and other scripts, and
93+
update other third-party dependencies, use latest skeleton
94+
https://github.com/aboutcode-org/scancode-toolkit/pull/4430
95+
96+
- Misc license detection improvements, new licenses and license
97+
detection rules.
98+
https://github.com/aboutcode-org/scancode-toolkit/pull/4261
99+
https://github.com/aboutcode-org/scancode-toolkit/pull/4412
100+
https://github.com/aboutcode-org/scancode-toolkit/pull/4405
101+
https://github.com/aboutcode-org/scancode-toolkit/pull/4278
102+
https://github.com/aboutcode-org/scancode-toolkit/pull/4093
103+
104+
- Fix an issues where `pip install scancode-toolkit` was failing
105+
because of a compatibility issue with Click
106+
https://github.com/aboutcode-org/scancode-toolkit/pull/4427
52107

53108
v32.3.3 - 2025-03-06
54109
--------------------

src/scancode_config.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,22 @@ def _create_dir(location):
131131

132132
# 4. hardcoded This is the default, fallback version in case package is not installed or we
133133
# do not have a proper version otherwise.
134+
# See https://scancode-toolkit.readthedocs.io/en/latest/misc/versioning.html for
135+
# more information on versioning
134136
if not __version__:
135-
__version__ = '32.3.3'
137+
__version__ = '32.4.0'
136138

137139
#######################
138140
# used to warn user when the version is out of date
139141
# this is (year, month, day)
140-
__release_date__ = datetime.datetime(2025, 1, 20)
142+
__release_date__ = datetime.datetime(2025, 6, 26)
141143

142-
# See https://github.com/nexB/scancode-toolkit/issues/2653 for more information
143-
# on the data format version
144-
__output_format_version__ = '4.0.0'
144+
# See https://scancode-toolkit.readthedocs.io/en/latest/misc/versioning.html
145+
# for more information on the data format version
146+
__output_format_version__ = '4.1.0'
145147

146148
# see https://github.com/spdx/tools-python/issues/820
147-
# this is actually `3.25.0`
149+
# this is actually `3.26.0`
148150
spdx_license_list_version = '3.26'
149151

150152
################################################################################

0 commit comments

Comments
 (0)