API Versioning Guide
Implement effective API versioning strategies that maintain backward compatibility and smooth migration paths.
Usage
Describe your API and versioning needs, and this skill will recommend a versioning strategy with implementation details.
Examples
- "Choose a versioning strategy for my public REST API"
- "Plan the migration from API v1 to v2 with deprecation notices"
- "Implement header-based versioning in my Express application"
Guidelines
- Choose one versioning strategy and use it consistently
- Communicate deprecation timelines well in advance
- Use Sunset headers to indicate upcoming version retirement
- Maintain at least two major versions simultaneously
- Provide migration guides for each version transition