Quick Summary: Majors are URL-versioned. Inside a major, changes are additive-only. A retiring major gets a written notice period, machine-readable deprecation headers on every response, and a hard sunset date — after which it answers 410.
The policy
What you should build
Log a warning whenever a response carries aDeprecation header. That single line of client code converts every future migration from a surprise into a scheduled task.