Skip to content

Build API Versioning Strategy and Deprecation Workflow for Public Endpoints #606

@temma02

Description

@temma02

Description

Implement an API versioning strategy and deprecation workflow that allows the public API to evolve without breaking existing clients, including version negotiation and deprecation signaling.

Requirements and Context

  • Compatibility: Existing clients must not break when new versions are added
  • Testing: Test version negotiation and deprecation headers
  • Documentation: Document the versioning policy

Suggested Execution

Branch: feat/issue-070-api-versioning-strategy

Implement Changes

  • Add API version negotiation via URL path or header
  • Implement a deprecation header mechanism (Deprecation, Sunset)
  • Route requests to the correct version handler
  • Document the versioning and deprecation policy in the OpenAPI spec

Test and Commit

  • Test version negotiation routes to the correct handler
  • Test deprecation headers on deprecated endpoints
  • Document the versioning policy

Example Commit Message

feat(api): implement API versioning strategy and deprecation workflow

- Add version negotiation via path or header
- Add Deprecation and Sunset header support
- Document versioning and deprecation policy

Guidelines

  • Choose one versioning approach and apply it consistently
  • Give clients adequate deprecation notice via Sunset headers
  • Keep old versions functional during the deprecation window

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions