Skip to content

Releases: composer/spdx-licenses

1.3.0

31 Jan 13:18
Compare
Choose a tag to compare
  • Added: SpdxLicenses::getLicenses to get the whole list of methods.
  • Changed: license identifiers are now case insensitive.

1.2.0

03 Jan 16:39
Compare
Choose a tag to compare
  • Added: deprecation status for all licenses and a SpdxLicenses::isDeprecatedByIdentifier method.
  • Changed: updated licenses list to SPDX 3.0.

1.1.6

03 Apr 19:09
2603a0d
Compare
Choose a tag to compare
  • Changed: updated licenses list.

1.1.5

28 Sep 07:19
96c6a07
Compare
Choose a tag to compare
  • Changed: new licenses added.

1.1.4

05 May 13:25
Compare
Choose a tag to compare
  • Changed: new licenses added.

1.1.3

25 Mar 10:58
Compare
Choose a tag to compare
  • updated license data files.
  • dropped test namespace.

1.1.2

05 Oct 11:32
Compare
Choose a tag to compare

Changed

  • added new licenses.

1.1.1

07 Sep 16:26
Compare
Choose a tag to compare

Fixed

  • improved performance when looking up just one license.
  • updated licenses/exceptions.

1.1.0

23 Jul 06:25
Compare
Choose a tag to compare

Changed

  • updater now sorts licenses and exceptions by key.
  • filenames now class constants of SpdxLicenses (LICENSES_FILE and EXCEPTIONS_FILE).
  • resources directory now available via static method SpdxLicenses::getResourcesDir().

Fixed

  • updated licenses/exceptions.
  • removed json-schema from composer requirements.

1.0.0

23 Jul 06:25
Compare
Choose a tag to compare

Changed

  • BC: the following classes and namespaces were renamed:
    • Namespace: Composer\Util -> Composer\Spdx
    • Classname: SpdxLicense -> SpdxLicenses
    • Classname: SpdxLicenseTest -> SpdxLicensesTest
    • Classname: Updater -> SpdxLicensesUpdater
  • validation via regex implementation instead of lexer.
  • code style using php-cs-fixer.