Skip to content

2.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Mar 08:50
cf95f54

Fixed

  • "Bom.serialNumber" data model can have values following the alternative format allowed in CycloneDX XML specification (#277 via #278)
  • \CycloneDX\Core\Serialization\{DOM,JSON}\Normalizers\BomNormalizer::normalize() now omits invalid/unsupported values for serialNumber (#277 via #278)

Changed

  • \CycloneDX\Core\Models\Bom::setSerialNumber() no longer throws \DomainException when the value is of an unsupported format (#277 via #278)
    This is considered a non-breaking behavior change, because the corresponding normalizers assure valid data results.

Added

  • Published generator for BOM's SerialNumber: \CycloneDX\Core\Utils\BomUtility::randomSerialNumber() (#277 via #278)
    The code was donated from cyclonedx-php-composer.

Full Changelog: v2.0.0...v2.1.0