-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Deprecating Preview APIs
Mike Harder edited this page Dec 8, 2025
·
4 revisions
Spec owners are encouraged to remove old preview API versions from the specs repo, once they are retired from the service.
- General
-
https://eng.ms/docs/products/azure-developer-experience/retirement/api-retirement
- Once a service API version is fully retired, the corresponding API spec should be removed from the specs repo
- https://aka.ms/cpexretirementsprocess
-
https://eng.ms/docs/products/azure-developer-experience/retirement/api-retirement
- ARM (resource-manager)
-
https://armwiki.azurewebsites.net/api_contracts/APIDeprecationPolicy.html
- Preview APIs have a life-span of not more than 12 months, after which they must be retired.
-
https://armwiki.azurewebsites.net/api_contracts/APIDeprecationPolicy.html
- Open a PR deleting one (or more) previews. All of:
- TypeSpec sources (
*.tsp) - Example sources (examples closest to
*.tspfiles) - Generated swaggers and examples (
preview/YYYY-MM-DD-preview/**) - readme.md (remove tags)
- TypeSpec sources (
- PR should fail check
Swagger BreakingChange, but pass all other checks. - Request approval following the normal process for breaking changes