Skip to content

Releases: EmbarkStudios/spdx

Release 0.4.1

14 Jun 07:19

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

Choose a tag to compare

Changed

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

Release 0.3.6

26 Mar 08:39

Choose a tag to compare

Changed

  • Updated to version 3.11 of the SPDX license list

Release 0.3.5

26 Mar 08:39

Choose a tag to compare

Fixed

Release 0.3.4

26 Mar 08:38

Choose a tag to compare

Added

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

Release 0.3.3

26 Mar 08:38

Choose a tag to compare

Changed

  • Updated to version 3.8 of the SPDX license list

Release 0.3.2

26 Mar 08:37

Choose a tag to compare

Changed

  • PR#19 added the #[non_exhaustive] attribute to the new ParseMode enum, which bumped the minimum required Rust version to use this crate to 1.40. PR#21 removed this attribute as that enum is primarily an input for this crate, and had little benefit.

Release 0.3.1

26 Mar 08:37

Choose a tag to compare

Added

  • PR#19 Added ParseMode enum, which has a Lax variant that allows certain invvalid license identifiers found in some crates on crates.io, as well as the invalid / expression separator. Thanks @kornel!

Release 0.3.0

26 Mar 08:37
b0f88df

Choose a tag to compare

Added

  • Added LicenseId::is_gnu to indicate the GNU licenses (GPL, AGPL, LGPL, GFDL), which use a different suffix format than all other licenses
  • std::error::Error is now (properly) implemented for error::ParseError
  • LicenseReq not implements From<LicenseId>

Changed

  • Lexer and Token can now be reached via the lexer module
  • parser and expression are no longer part of the public API
  • IS_COPYLEFT, IS_DEPRECATED, IS_FSF_LIBRE, and IS_OSI_APPROVED are no longer part of the public API
  • The GFDL* licenses are now marked as copyleft

Fixed

  • When creating a LicenseReq from a GNU license, the license identifier is converted into its base form,
    eg. GPL-2.0-or-later becomes GPL-2.0+ so that the GNU style license identifiers can be used just the same
    as all of the other ones. See this issue

Release 0.2.4

26 Mar 08:36

Choose a tag to compare

Added

  • Impl Display for Licensee