Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: v5.0.0 #797

Merged
merged 9 commits into from
Oct 15, 2024
Merged

feat!: v5.0.0 #797

merged 9 commits into from
Oct 15, 2024

Conversation

jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Sep 23, 2024

BREAKING Changes

  • Emitted metadata tool name is cyclonedx-py, was cyclonedx-bom.
  • Emitted metadata tools are up to non-deprecated CycloneDX specification.
  • No longer emit deprecated or undocumented properties in namespace cdx:poetry (see previous release 4.6.0 for official replacements).
    • cdx:poetry:source:package:reference
    • cdx:poetry:package:source:resolved_reference
    • cdx:poetry:package:source:vcs:requested_revision
    • cdx:poetry:package:source:vcs:commit_id

The mentioned changes are considered "breaking" for processes that relied on the respective data structures.
Migration paths are self-explanatory.

Dependencies

  • Requires cyclonedx-python-lib>=8.0.0,<9 now, was >=7.3.0,<8.0.0,!=7.3.1.

fixes #792
fixes #798
includes #791
includes #796
includes #799

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck added this to the 5.0.0 milestone Sep 23, 2024
some properties in the namespace `cdx:poetry` were deprecated. they are
no longer emitted.
- `cdx:poetry:source:package:reference`
- `cdx:poetry:package:source:resolved_reference`
- `cdx:poetry:package:source:vcs:requested_revision`
- `cdx:poetry:package:source:vcs:commit_id`


fixes #792

---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck added the enhancement New feature or request label Sep 23, 2024
Copy link

codacy-production bot commented Sep 23, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.01% (target: -1.00%) 100.00% (target: 80.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (6707959) 1075 1040 96.74%
Head commit (ce8fde5) 1071 (-4) 1036 (-4) 96.73% (-0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#797) 6 6 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

fixes #798

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck marked this pull request as ready for review October 9, 2024 14:59
@jkowalleck jkowalleck requested a review from a team as a code owner October 9, 2024 14:59
@jkowalleck jkowalleck marked this pull request as draft October 9, 2024 15:07
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
### Dependencies

* Requires `cyclonedx-python-lib>=8.0.0,<9 ` now, was
`>=7.3.0,<8.0.0,!=7.3.1`

---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck marked this pull request as ready for review October 14, 2024 14:12
@jkowalleck jkowalleck merged commit 34cf6e3 into main Oct 15, 2024
34 checks passed
@jkowalleck jkowalleck deleted the 5.0.0-dev branch October 15, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use correct metadata.tools name: cyclonedx-py no longer emit deprecated or undocumented properties
1 participant