Deprecation headers and policy

API

You now get a warning, in the answer itself, before anything you use is removed.

What changed

  • Headers. An answer that includes a deprecated field carries Deprecation and a Link header with rel="deprecation" pointing to the changelog entry that explains it. The first is handoffUrl on POST /v1/users.
  • The policy. A deprecated field keeps working in every version Layout answers today. It is removed only in a new dated version, with at least 180 days' notice.

What to do

Log any Deprecation header you see. See Deprecation.

Breaking changes

None.

All changes