1.13.0
Fixed
- "Bom.serialNumber" data model can have values following the alternative format allowed in CycloneDX XML specification (#588 via #597)
Serialize.{JSON,XML}.Normalize.BomNormalizer.normalize
now omits invalid/unsupported values for serialNumber (#588 via #597)
Changed
- Property
Models.Bom.serialNumber
is of typestring
, was type-aliasedTypes.UrnUuid = string
(#588 via #597)
Also, the setter no longer throws exceptions, since no string format is illegal.
This is considered a non-breaking behavior change, because the corresponding normalizers assure valid data results.
Added
- Published generator for BOM's SerialNumber:
Utils.BomUtility.randomSerialNumber()
(#588 via #597)
The code was donated from cyclonedx-node-npm.
Deprecation
- Type alias
Types.UrnUuid = string
became deprecated (via #597)
Use typestring
instead. - Function
Types.isUrnUuid
became deprecated (via #597)
Full Changelog: v1.12.1...v1.13.0