Releases: EmbarkStudios/spdx
Releases · EmbarkStudios/spdx
Release 0.3.4
Added
- Added
Expression::iter()
which iterates over both the license requirements and the operators.
Release 0.3.3
Changed
- Updated to version 3.8 of the SPDX license list
Release 0.3.2
Release 0.3.1
Release 0.3.0
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 forerror::ParseError
LicenseReq
not implementsFrom<LicenseId>
Changed
Lexer
andToken
can now be reached via thelexer
moduleparser
andexpression
are no longer part of the public APIIS_COPYLEFT
,IS_DEPRECATED
,IS_FSF_LIBRE
, andIS_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
becomesGPL-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
Added
- Impl Display for Licensee
Release 0.2.3
Changed
- Updated the list of licenses to version 3.7 of the SPDX license list
Release 0.2.2
Added
- Added
LicenseId::full_name
which is the full name for the license, eg "MIT License" for the "MIT" short identifier
Release 0.2.1
Added
- PR#9 Added a flag for determining if a license is considered copyleft. Thanks @kain88-de!
Release 0.2.0
Added
- Added a
Expression
which can parse and validate an SPDX license expression is
both syntactically and semantically correct, as well as evaluate the expression via
a user provided callback - Added an update exe for pulling new SDPX information, copied from https://github.com/rust-lang-nursery/license-exprs
- Added support for some of the metadata available from the SPDX format, namely "IsDeprecated", "IsFSFLibre", and "IsOSIApproved"
Changed
- Uhm...everything. I hope no one was using 0.1.0.
- Use a better lexer, mostly copied from ehuss/license-exprs#29