Skip to content

Releases: EmbarkStudios/spdx

Release 0.7.0

23 Nov 06:30
Compare
Choose a tag to compare

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

23 Nov 06:29
Compare
Choose a tag to compare

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

04 Oct 08:24
Compare
Choose a tag to compare

Added

  • PR#41 added a NOASSERTION license. Hopefully this will become part of spec in the future.

Release 0.6.0

16 Aug 10:06
Compare
Choose a tag to compare

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

16 Aug 10:05
Compare
Choose a tag to compare

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

14 Jun 07:19
Compare
Choose a tag to compare

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

26 Mar 08:39
Compare
Choose a tag to compare

Changed

  • Renamed LicenseItem::SPDX => LicenseItem::Spdx and Token::SPDX => Token::Spdx.

Release 0.3.6

26 Mar 08:39
Compare
Choose a tag to compare

Changed

  • Updated to version 3.11 of the SPDX license list

Release 0.3.5

26 Mar 08:39
Compare
Choose a tag to compare

Fixed

Release 0.3.4

26 Mar 08:38
Compare
Choose a tag to compare

Added

  • Added Expression::iter() which iterates over both the license requirements and the operators.