Versioning
Area majors, additive changes and deprecation.
The major version is in the path and is per area: /data/v1. There are no dated versions: the
BMP-Version header is reserved and ignored.
Changes without a new major
These ship in the existing major:
- new endpoints,
- new optional parameters,
- new response fields,
- new enum values,
- new error codes.
Your client must ignore unknown fields and handle unknown enum values and unknown error codes gracefully (see Errors).
Breaking changes
A breaking change ships as a new major of that area only, for example /data/v2 beside /data/v1.
Retiring a major
When BeMyPlan retires a major, the responses of that major carry:
Deprecation: @<unix time>(RFC 9745),Sunset: <HTTP date>(RFC 8594),Link: <migration guide>; rel="deprecation".
The deprecation is announced in the changelog (RSS) the day it starts. BeMyPlan's policy is
at least 12 months between deprecation and sunset. After the sunset, every path of that major answers
410 api_version_retired.
Announcements
All changes are announced in the changelog, which has an RSS feed.