Update Rust crate spdx to v0.12.0 #11722
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=0.10.9->=0.12.0Release Notes
EmbarkStudios/spdx (spdx)
v0.12.0Compare Source
Added
WITH [%s"DocumentRef-"(idstring)":"]%s"AdditionRef-"(idstring)syntax. Thanks @weihanglo!v0.11.1Compare Source
Changed
Licensee::satisfiesworks for GNU licenses again, it now requires that the license ids match exactly. This is incredibly pedantic but means it's up to consumers if the want to have a smarter comparison, I just don't want to have to care about GNU licenses, ever.Fixed
GPL-2.0=>GPL-2.0-only. This is no longer done, resolving #79.v0.11.0Compare Source
Changed
ParseMode::allow_lower_case_operators, newer revisions of the SPDX spec allow all lower-case operators, making the option pointless.ParseMode::allow_deprecated, which will cause an error if a deprecated license identifier is used,falseinLAXandtrueinSTRICT.-onlyversions.Expression::canonicalizenow always changes GNU licenses to be-onlyor-or-lateras the bare identifiers are deprecated.Added
LicenseId::versionto retrieve the numeric version of the license if it has one.LicenseId::baseto retrieve the base name of the license.gnu_license_idwhich attempts to retrieve the license id for a GNU license from its base identifier. This retrieves the-onlyor-or-laterlicense that matches.Licensee::parse_mode,Licensee::parsenow forwards to that function withParseMode::STRICT.Reason::GnuPlusWithSuffixandReason::DeprecatedLicenseIdas errors.Fixed
Licensee::satisfieswould not properly allow some licenses if the version was not at the end when using a+, notably the BSD licenses have the version in the middle of the license id.Licensee::satisfies, at least to my best understanding.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.