Skip to content

What versioning scheme does the CycloneDX specification use? #365

Discussion options

You must be logged in to vote

The 1.5 string in the JSON and XML schemas specify the specification version not the schema version. The schema version of the XML does use semver. JSON schema does not have an equivalent.

XML:

xmlns:bom="http://cyclonedx.org/schema/bom/1.5"

JSON:

"$id": "http://cyclonedx.org/schema/bom-1.5.schema.json",

All 1.x releases are forward compatible. A CycloneDX v1.0 document will validate with the latest v1.5 specification. Features introduced in recent versions of the spec(e.g 1.5) however, will not be backward compatible since those features were not previously available. We have had no breaking changes in the 1.x series and do not intend to introduce any.

There are some ideas for breaking c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jkowalleck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #334 on January 22, 2024 10:32.