Skip to content

2.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 06:18
deb45af

Changed

  • Class \CycloneDX\Core\Serialization\JsonSerializer
    • Property normalizerFactory became protected readonly, was private readonly (#305 via #306)
    • Property jsonEncodeFlags became protected readonly, was private readonly (#305 via #306)
  • Class \CycloneDX\Core\Serialization\XmlSerializer
    • Property normalizerFactory became protected readonly, was private readonly (#305 via #306)
    • Property xmlVersion became protected readonly, was private readonly (#305 via #306)
    • Property xmlEncoding became protected readonly, was private readonly (#305 via #306)

Style

  • Applied latest PHP Coding Standards (via #302)
    Some parameters allow nullables implicitly, was explicitly.
  • Wrote some class properties with constructor promotion (via #309)

Full Changelog: v2.1.2...v2.2.0