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.normalizenow omits invalid/unsupported values for serialNumber (#588 via #597)
Changed
- Property
Models.Bom.serialNumberis 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 = stringbecame deprecated (via #597)
Use typestringinstead. - Function
Types.isUrnUuidbecame deprecated (via #597)
Full Changelog: v1.12.1...v1.13.0