Releases: EmbarkStudios/spdx
Releases Β· EmbarkStudios/spdx
Release 0.8.0
Changed
- PR#50 changed
ParseMode
to be a struct with several fields to give finer grained control over which parts of expression parsing/evaluation can be relaxed. Thanks @Turbo87!
Release 0.7.0
Changed
- PR#48 resolved #45 by making the original error string owned in the case of a parse error, simplifying the handling of errors. Thanks @hoijui!
- PR#49 bumped the MSRV to 1.56.1, as well as moving to the 2021 edition and setting the
rust-version
there.
Release 0.6.2
Fixed
- PR#44 fixed the
Display
for various GNU licenses, since they are "special" and diverge from the SPDX spec for reasons. Thanks @mmurto!
Added
- PR#43 added the
text
feature flag, which includes the full license and exception texts. They can be retrieved via LicenseId::text
and ExceptionId::text
respectively.
- PR#43 added the
Expression::minimized_requirements
method which allows a set of potential licensees be reduced down to the minimum possible requirements for an expression.
Release 0.6.1
Added
- PR#41 added a
NOASSERTION
license. Hopefully this will become part of spec in the future.
Release 0.6.0
Changed
- PR#40 updated the SPDX license list from
3.11
=> 3.14
.
Fixed
- PR#40 resolved #39 by taking the
GFDL
exceptional differences from all other licenses (include the other GNU ones) into account.
Release 0.5.0
Changed
- PR#38 fixed various clippy lints which also bumps the MSRV to 1.53.0. Previously, PR#37 had bumped the MSRV to 1.52 so now this crate will check the MSRV so changes are intentional.
- PR#38 replaced the unmaintained
difference
crate with similar-asserts
.
Release 0.4.1
Changed
- PR#37 removed the dependencies on regex and lazy_static used for parsing some license expression parts, which gives a nice compile speed up with no behavior changes. Thanks @Swagadon!
Release 0.4.0
Changed
- Renamed
LicenseItem::SPDX
=> LicenseItem::Spdx
and Token::SPDX
=> Token::Spdx
.
Release 0.3.6
Changed
- Updated to version 3.11 of the SPDX license list