Skip to content

Release v2.8.0

Latest

Choose a tag to compare

@elrayle elrayle released this 22 Oct 19:28
· 23 commits to main since this release
bc34fa1

Release v2.8.0

Overview

This release makes two changes:

  • adds a function that returns the version of the SPDX License List used to generate the license data
  • automatically generates license ranges as part of the license extraction process

Required Actions for Upgrading

None.

Details

SPDX License List version

A new function, spdxlicenses.LicenseListVersion, returns the version of the SPDX License List used to generate the license IDs, deprecated license IDs, exceptions, and license ranges included in this release.

import "github.com/github/go-spdx/v2/spdxexp/spdxlicenses"

version := spdxlicenses.LicenseListVersion()

For this release, LicenseListVersion returns "3.29.0".

Automatic license range generation

License ranges are now generated from the SPDX License List as part of the license extraction process run by the scheduled workflow. Previously, licenses, exceptions, and deprecations were updated automatically while license ranges were maintained manually.

A license range family is generated when at least two license IDs share a family name and end with a version number. Manually maintained inclusion and exclusion lists handle families that do not follow that pattern or IDs whose trailing number is not a version.

The generated data adds previously unrecognized version families, including bzip2, CDLA-Permissive, CERN-OHL, MulanPSL, NLOD, and OGL-UK. As a result, Satisfies can evaluate later-version relationships for more SPDX license families. Existing special cases remain explicitly included where needed for compatibility.

The generated pull request body now summarizes license and license range changes to support human review of newly identified range families.

What's Changed

  • auto-generate license ranges as part of the extract process run by cron (#170) @elrayle

Full Changelog: v2.7.1...v2.8.0

Contributors

@elrayle