Skip to content

Release 0.3.0

Compare
Choose a tag to compare
@Jake-Shadle Jake-Shadle released this 26 Mar 08:37
· 83 commits to main since this release
b0f88df

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