feat: make schema deprecation warnings handle-able#945
feat: make schema deprecation warnings handle-able#945jkowalleck wants to merge 13 commits intomainfrom
Conversation
Documentation build overview
Show files changed (7 files in total): 📝 6 modified | ➕ 1 added | ➖ 0 deleted
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
dff4254 to
70ce15d
Compare
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
70ce15d to
196424e
Compare
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
|
@stefan6419846, could I ask you for a review? |
stefan6419846
left a comment
There was a problem hiding this comment.
Thanks. Looks good for me.
If the implementation looks about right, I will draft a preview release you may try in your environment.
From my side, there is no explicit need for a preview release - I am completely fine to include a regular release once available.
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
|
I think the feature is complete. |
Description
Introduced
cyclonedx.schema.deprecation.BaseSchemaDeprecationWarningand version-specific subclasses (e.g., for schema 1.1, 1.2).Deprecated features in CycloneDX schemas now issue warnings using these custom warning classes instead of Python's built-in
DeprecationWarning.Downstream code can now filter or suppress schema-related deprecation warnings by category.
see our examples. usage like so
closes #944
AI Tool Disclosure
[e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.][e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.][Summarize the key prompts or instructions given to the AI tools]Affirmation