Deprecation Lifecycle
Purpose
Manage deprecations and breaking changes with clear timelines and migration guidance.
When to Use
- •Deprecating APIs or behavior
- •Planning a breaking change for a major version
Steps
- •Announce deprecation in code comments and documentation.
- •Maintain deprecated APIs for at least one minor version.
- •Provide migration guidance in
CHANGELOG.mdand release notes. - •Remove deprecated APIs only in a major release.
Output Contract
- •Deprecations are announced and documented.
- •Migrations are documented and timed to major releases.