Skip to content

Commit 7e4576b

Browse files
authored
Update spdx (#295)
1 parent b4973ef commit 7e4576b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
<!-- next-header -->
1010
## [Unreleased] - ReleaseDate
11+
### Changed
12+
- [PR#295](https://github.com/EmbarkStudios/cargo-about/pull/295) changes how GNU licenses are detected, previously in 0.8.3 they would be detected as their root eg. `GPL-3.0` form, which are all deprecated. As all GNU licenses use the exact same text for the different variants, one of which is deprecated, they are now always detected as the `-or-later` variant, eg. `GPL-3.0-or-later`. If this detection does not match the actual license requirement, eg. `GPL-3.0-only`, then it must be corrected by the user, as unfortunately the license detection cannot determine that due to the lack of distinction between the license texts.
13+
1114
## [0.8.3] - 2025-12-02
1215
### Changed
1316
- [PR#291](https://github.com/EmbarkStudios/cargo-about/pull/291) resolved [#272](https://github.com/EmbarkStudios/cargo-about/issues/272) by exposing the core `generate` function and associated types publicly.

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/utils/package.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl<'a> PackageBuilder<'a> {
160160
package["license"] = toml_edit::value(license.clone());
161161
}
162162
if let Some(license_filename) = &self.license_filename {
163-
package["license_file"] = toml_edit::value(license_filename.clone());
163+
package["license-file"] = toml_edit::value(license_filename.clone());
164164
}
165165

166166
if !self.dependencies.is_empty() {

0 commit comments

Comments
 (0)