Repository navigation
CycloneDX 2.0 #631
Description
Activity
- Adopt JSON Schema Draft 2020-12 and drop official XML support
same for protobuf support?
- pinned this issue
on May 5, 2025 same for protobuf support?
There are so many systems that use protobuf for machine-to-machine communication, that I'd like to offer official support for it, but do so in a way where we can generate the .proto from the JSON Schema at release time. I already have a partially working Python script that does this and keeps track of enum order so that we can preserve enum ordering from release to release.
this is confusing to me.
the ticket says it will drop support for anything that is not JSON, esecially XML.
but then it says it will also provide an (autogenerated) XML schema.
and it does not say anything about ProtoBuf.please improve the ticket, and make clear what is to be expected.
will there be any XSD? will there be any ProtoBuf Schema?please improve the ticket,
This ticket is essentially the "epic". Details will be provided in individual subtickets (the stories). There is too much detail to put into one ticket.
- added sub-issues
on May 6, 2025 - linked a pull request that will close this issue[WIP] CycloneDX v2.0 Specification #652
on Jun 15, 2025 For those following this ticket, here's an update:
- The entirety of CycloneDX v1.7 has been modularized into individual models. There will likely be a few more changes to the models and perhaps a few new ones to promote reuse.
- All CycloneDX v1.7 unit tests (JSON only) have been ported to v2.0 and all pass validation.
- The automatic bundling works as designed and is triggered on CI.
- All deprecated properties have been removed.
- A new linter has been created that has a lot of checks. More work to do on that front.
CycloneDX 2.0 is a major version in active development, focused on cleaning up legacy constructs, enforcing semantic correctness, and enabling modern schema reuse and API integration. This issue tracks the scope, rationale, and technical direction of the 2.0 release.
Goals