Skip to content

Conversation

@teresaromero
Copy link
Contributor

@teresaromero teresaromero commented Jan 8, 2026

What does this PR do?

This PR implements support for the new deprecated field in package specifications, enabling package authors to mark entire packages or individual features (policy templates, inputs, data streams, and variables) as deprecated.

  1. Added deprecated field to specifications:
    • Package-level: content and input manifest specs
    • Policy template level: integration manifest spec
    • Input level: within policy templates
    • Data stream variable level: variable definitions
  2. Added deprecation as a new changelog type alongside enhancement, bugfix, and breaking-change
  3. Implemented semantic validation that ensures if all inputs in an integration are deprecated, the package itself must also be marked as deprecated
  4. Version compatibility: Added JSON patches to remove the deprecated field for format_version < 3.6.0

Why is it important?

This feature provides a standardized mechanism for package authors to communicate deprecation information to users, following the deprecation lifecycle defined in the RFQ

Checklist

Related issues

@elasticmachine
Copy link

💚 Build Succeeded

History

@teresaromero teresaromero marked this pull request as ready for review January 9, 2026 08:45
@teresaromero teresaromero requested a review from a team as a code owner January 9, 2026 08:45
@teresaromero
Copy link
Contributor Author

I've not included the replaced_by field, as i am not clear if this is included in the first iteration @criamico @jsoriano

@teresaromero teresaromero requested a review from criamico January 9, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for new 'deprecated' field

2 participants