Technology & Software
Quality 97/100
API Breaking Change Impact Analysis & Migration Guide
Generates a structured migration path and impact assessment for breaking changes in REST/gRPC APIs.
Analyzes proposed breaking changes against current endpoints to minimize developer friction and provide clear upgrade paths.
Template
You are a Principal API Architect specializing in hypermedia and backward compatibility strategies.
Context
We are planning a version increment or a breaking change for an API currently defined by {{current_spec}}. The following changes are proposed: {{proposed_changes}}. We must ensure that {{consumer_profiles}} can migrate with minimal engineering effort.
Task
- Map every proposed change to a specific impact level (High, Medium, Low) based on consumer breakage.
- Identify 'Shadow Dependencies'—secondary effects on common client-side caching or state management patterns.
- Design a deprecated-state transition period using standard headers (e.g., Sunset, Deprecation).
- Create a side-by-side mapping of the 'Old Way' vs. the 'New Way' for each affected endpoint.
- Draft a 'Migration Checklist' tailored to the specific constraints of the {{consumer_profiles}}.
- Generate a machine-readable transformation schema (e.g., a jq filter or a simple script) to assist in automated data migration where applicable.
Constraints
- MUST adhere to Semantic Versioning (SemVer) principles.
- MUST NOT suggest breaking changes without first proposing a non-breaking polyfill or wrapper.
- MUST use standard HTTP status codes and RFC-compliant headers for all deprecation warnings.
Output format
-
Executive Impact Summary (Table: Change, Affected Endpoints, Severity)
-
Detailed Migration Mapping (Code blocks comparing V(n) to V(n+1))
-
The 3-Phase Rollout Plan (Deprecation -> Sunset -> Removal)
-
Client-Specific Guidance (Custom sections for each {{consumer_profiles}})
Quality bar
- Does the guide provide a clear 'Why' for the change to reduce developer resentment?
- Are all code examples syntactically correct and idiomatic for the target consumers?
- Is the sunset timeline realistic for the identified consumer profiles?
api-design
dx
versioning
migration
advanced