Writing a feature and API deprecation policy customers can plan around

In brief

What Google, GitHub, Stripe, Microsoft and SemVer actually promise on deprecation, plus a one-page policy template with notice periods and exceptions.

Steve Elliott

Steve Elliott · · 7 min read


On this page
  1. What do published deprecation policies actually promise?
  2. Where do the versioning models differ?
  3. What counts as a breaking change?
  4. How long should the notice period be?
  5. How should you tell customers?
  6. How do you decide what to deprecate?
  7. An illustrative one-page policy
  8. Sources

In our view, a deprecation policy customers can plan around makes four promises in writing: what counts as a breaking change, how much notice each stability level gets, how you will tell them, and who can grant an exception. The published policies from Google, GitHub, Stripe and Microsoft each make some of these promises explicitly, and the gaps between them show where your own policy has to choose.

We think the notice period gets the most attention and matters least on its own. A 24-month promise does little if customers cannot tell which changes it covers, or learn of a removal from an error message. This post compares the published rules, then turns them into an illustrative one-page policy. Retiring a whole product is a different decision, covered in the art of sunsetting a product.

What do published deprecation policies actually promise?

As of December 2026, five published references make different commitments:

SourceVersioning modelNotice or support promiseCarve-outs and notes
GitHub REST APIDate-named versions, chosen per request with a headerPrevious version supported for at least 24 months after a new one shipsAdditive changes go to all supported versions
Stripe APIMonthly versions with no breaking changes; a named major release twice a yearNo fixed removal date on the versioning page; each request runs on a version set by header, SDK pin or account defaultMonthly releases are not meant to need code changes
Google AIP-181 and AIP-185Major version in the package; alpha, beta and stable levelsStable: no breaking changes, with a turndown process defined when marked stable; beta: 180 days recommendedAlpha: breaking changes expected
Microsoft Modern Lifecycle PolicyContinuous servicingAt least 12 months' notice before ending support when no successor is offered; 30 days' notice when customers must actFree services and previews
Semantic Versioning 2.0.0MAJOR.MINOR.PATCHDeprecate in a minor release before removal in a major oneMajor version zero

Two patterns stand out. First, Google, Microsoft and SemVer all carve out early-stage functionality: Google Cloud's deprecation page excludes anything pre-general availability, Microsoft excludes previews, and SemVer excludes major version zero. Second, none of them promises a fixed calendar for every change. They promise a process and a minimum.

Where do the versioning models differ?

GitHub and Stripe both name versions by date, but use them differently. GitHub ships breaking changes only in a new version, puts additive changes into every supported version, and returns 410 Gone if a request names a version that is no longer supported. Its current table lists 2026-03-10 as the latest version and March 10, 2028 as the end of support for 2022-11-28. Requests without a version header still default to 2022-11-28.

Stripe, since the 2024-09-30.acacia release, ships a new version monthly with no breaking changes and a named major release twice a year that can contain them. The current version on its page is 2026-11-18.endive. Each request runs on the version set in a header, pinned by the SDK, or the account default, and Stripe recommends specifying the version in code rather than relying on the dashboard default.

Google takes a third route. AIP-185 puts a major version in every API and forbids exposing minor or patch numbers. Stability comes from channels: AIP-181 says breaking changes are allowed and expected in alpha, need a reasonable deprecation period in beta, and are ruled out for stable components except in rare, approved cases, with emergency exceptions for security or regulatory reasons at any level.

SemVer is the shortest. Its item 7 says the minor version must be incremented when public functionality is marked deprecated, and its FAQ says to ship at least one minor release with the deprecation before removing it in a major release.

What counts as a breaking change?

We recommend writing the list down; without one, customers and engineers argue about it after something breaks. GitHub's list, on its API Versions page, is a good starting point: deleting an endpoint, removing or renaming a parameter or response field, adding a required parameter or making an optional one required, changing a data type, removing enum values, adding stricter validation, and changing authentication or authorization requirements. Its 2026-03-10 breaking-changes list shows how granular this gets, including status code changes such as 204 to 202 when deleting an installation.

Stripe's list runs the other way. It names what it treats as compatible: new resources, new optional parameters, new response properties, reordered properties, changed length or format of opaque strings such as object IDs, and new event types. It tells developers to build integrations that ignore unfamiliar fields.

Google's AIP-180 adds a category that is easy to miss: semantic compatibility. Changing a field's default value, or returning IPv6 addresses from a field that used to hold only IPv4, breaks code without removing anything. In our view, a feature deprecation policy for the product itself, not only the API, should borrow this test: if a reasonable customer's workflow, report or automation would stop working, it is breaking. Measure that with feature usage analytics, rather than estimates.

How long should the notice period be?

Tie it to the stability level the customer signed up for, and publish the level whenever it changes. That is the common thread in AIP-181, which requires the deprecation period for beta and the turndown process for stable to be defined when the component is marked at that level, and in Microsoft's exclusion of previews.

We think a defensible illustrative default looks like this:

Stability levelNotice before removalBasis
Preview or alphaNone promised; best effortGoogle AIP-181; Microsoft excludes previews
Beta180 daysAIP-185 recommendation for beta
Generally available, with a successor12 monthsIn our view; GitHub's floor is longer, supporting the previous version for at least 24 months after a new one ships
Generally available, no successor24 monthsIn our view; double Microsoft's 12-month minimum when no successor is offered
Security or legal emergencyAs short as needed, with a written reasonAIP-181 emergency exception (no deprecation promised); the written reason is our addition

These numbers are ours, not a standard. What matters is that the clock starts on a published date, and that both the deprecation date and the removal date are known when the notice goes out.

How should you tell customers?

We suggest using every channel a developer or administrator actually reads, with a machine-readable signal on the API itself. Two IETF documents cover HTTP APIs. RFC 9745, a Standards Track document published in March 2025, defines a Deprecation response header whose value is a date. It says deprecation itself "does not change any behavior of the resource." RFC 8594, an Informational RFC from May 2019, defines a Sunset header for when a URI is likely to become unresponsive. RFC 9745 says the Sunset date must not be earlier than the Deprecation date.

For features in the product interface, the equivalents are an in-product notice, release notes, the public changelog and a direct message to the named admin of each account still using the feature. Stripe's Workbench shows which API versions an account used in the past week. In our view, that kind of per-account usage view is the minimum you need before you send notices, because it turns a broadcast into a list of named customers with named owners.

How do you decide what to deprecate?

Price it before you announce it. In our view, the decision belongs in product portfolio review, not in one team's backlog, because the cost lands on customer success, sales and finance. Three inputs decide it: the cost of keeping the feature, the accounts and revenue exposed, and whether a successor exists.

Take an illustrative case. A team wants to remove a legacy CSV export that takes about half an engineer's time to maintain: roughly $100,000 a year at an illustrative $200,000 loaded cost. Usage data shows 420 accounts used it in the last 90 days. Of those, 375 can move to the new export and 45 rely on a field the new export lacks. Those 45 accounts carry $3.1M of annual recurring revenue.

In our view, saving $100,000 a year does not justify exposing $3.1M of annual recurring revenue, so the decision is not "remove or keep". It is "close the 45-account gap first". Add the missing field to the successor, then announce a 12-month notice with a successor, then track the count of active accounts each month. Exceptions for any of the 45 that cannot move go to a named approver with an end date, not an open extension. The data needed for this, linking features to accounts and contracts, is the subject of the product ops data model.

An illustrative one-page policy

Here is a template you can adapt. It is illustrative, not legal text; contractual notice terms should be reviewed by counsel.

  1. Scope. Applies to public APIs, SDKs, webhooks and generally available product features.
  2. Stability levels. Every feature and endpoint is labeled preview, beta or generally available at launch, in the docs.
  3. Breaking change definition. Removal, renaming, new mandatory inputs, type or format changes, stricter validation, changed defaults or permissions, and any change that stops a reasonable customer workflow.
  4. Compatible changes. New endpoints, optional parameters, new fields and new event types. Integrations should ignore unfamiliar fields.
  5. Notice periods. As in the table above, counted from a published deprecation date.
  6. Communication. Changelog entry, docs banner, Deprecation and Sunset headers on API responses, in-product notice, and direct notice to each affected account's admin.
  7. Usage review. Before announcement, list affected accounts and revenue; review monthly until removal.
  8. Exceptions. Granted by a named product leader, in writing, with an end date and a reason.
  9. Emergency changes. Security or legal changes may shorten notice; the reason is published.
  10. Decision rights. Deprecations of generally available features are approved in product portfolio review, alongside the feature deprecation strategy for the product line.

A deprecation is a funding decision made in reverse, so it is easiest to get right when strategy, portfolio, funding and the work are visible in one operating model.

Sources

Frequently asked questions

What is the difference between deprecation and removal?

Deprecation is a warning; removal is the change. RFC 9745 says deprecating a resource does not change its behavior, and SemVer marks deprecation in a minor release before removal in a major one. We think a policy should publish both dates at once: when the feature became deprecated and when it will stop working, so customers can plan the work in between.

How long does GitHub support an old REST API version?

At least 24 months after the next version is released. As of December 2026, GitHub's REST API has two supported versions: 2026-03-10, with no end date scheduled, and 2022-11-28, supported until March 10, 2028. Requests without a version header default to 2022-11-28, and requests naming an unsupported version receive a 410 Gone response.

Do preview and beta features need a deprecation period?

Preview features usually do not, but beta features should. Google's AIP-181 says breaking changes are expected in alpha and need a reasonable deprecation period in beta, and AIP-185 recommends 180 days for beta. Microsoft's 12-month notice excludes previews and free services. Label the stability level publicly when a feature first ships.

Who should approve deprecating a generally available feature?

In our view, product portfolio review, not the team that owns the code. Removing a feature shifts cost to customer success, sales and the customers themselves, so the decision needs usage data, exposed revenue and a successor plan. Exceptions should go to one named leader, in writing, with an end date, so they do not become permanent support commitments.

Free starter pack

Launch a product operating model, step by step.

Get the starter pack
Steve Elliott

Steve Elliott

Published December 1, 2026

More on Product Operations

Discovery, roadmaps, launches, metrics.