Skip to content

spec1.4: omit empty component.version#137

Merged
jkowalleck merged 1 commit intomainfrom
spec1.4-optional-component-versions
Jul 28, 2022
Merged

spec1.4: omit empty component.version#137
jkowalleck merged 1 commit intomainfrom
spec1.4-optional-component-versions

Conversation

@jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Jul 28, 2022

CycloneDX spec version 1.4 made element bom.component.version optional.

Therefore, serialization/normalization with this spec version will no longer render this element, when its value is empty.

@jkowalleck jkowalleck force-pushed the spec1.4-optional-component-versions branch from 3b0c5f2 to dd67db6 Compare July 28, 2022 17:50
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck force-pushed the spec1.4-optional-component-versions branch from dd67db6 to 8b01dde Compare July 28, 2022 17:54
@jkowalleck jkowalleck added the schema 1.4 related to CycloneDX spec v1.4 label Jul 28, 2022
@jkowalleck jkowalleck changed the title spec1.4-optional-component-versions spec1.4: omit empty component.version Jul 28, 2022
@jkowalleck jkowalleck marked this pull request as ready for review July 28, 2022 17:56
@jkowalleck jkowalleck requested a review from a team as a code owner July 28, 2022 17:56
@jkowalleck jkowalleck merged commit 5fd2b18 into main Jul 28, 2022
@jkowalleck jkowalleck deleted the spec1.4-optional-component-versions branch July 28, 2022 17:58
jkowalleck added a commit that referenced this pull request Jul 29, 2022
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
jkowalleck added a commit that referenced this pull request Jul 29, 2022
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
jkowalleck added a commit that referenced this pull request Jul 29, 2022
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
jkowalleck added a commit that referenced this pull request Jul 29, 2022
fix omitting version - caused by #137

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

schema 1.4 related to CycloneDX spec v1.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant