Releases

Every change you would notice gets a version number and a short note in plain words.

Where to look

- What's new lists every version, newest first. The first screen is the current version. - Roadmap shows what we are building next and what we decided not to build. - GET /api/v1/version returns { version, released_at, headline, commit, built_at }: the version and the git commit the running server was built from, so a script can tell when something changed. commit and built_at come from the deploy; a development server (or a copy you run yourself without PHILFORMS_COMMIT) answers null for both.

How version numbers move

- Most changes add one to the last number: 0.4.42 → 0.4.43. - A big step for PhilForms moves the middle number and resets the last to zero: 0.4.43 → 0.5.0. - 1.0.0 means the product is finished. We are not there yet.

API changes and notice

This is the promise for the documented public API: every route in /api/v1/openapi.json.

Not breaking, so it can ship any day: a new route, a new optional parameter, a new field in a response, a new form, a new error message for a request that was already refused, and fixes that make a fill match the paper form. Write your code to ignore response fields it does not know.

Breaking: removing or renaming a route, a parameter or a response field; making an optional parameter required; changing a field's type or meaning; refusing a value that was accepted before; changing the status code of a success.

For a breaking change to a documented public route:

- We give at least 90 days' notice before the old behaviour stops working. - The notice is an entry in What's new marked as a breaking change, naming the route, what changes, the date it changes and what to do instead. The change also goes on the Roadmap. - We email the owners of accounts whose API keys called that route in the last 30 days (the request log keeps 30 days). - Until that date the old behaviour keeps working, next to the new one where we can.

Two exceptions, both said in the What's new entry: a fix for a security problem, or a change the law or an agency requires (for example, a form the agency withdraws or replaces), may need less notice. Routes that are not in the OpenAPI document, and the website's own internal calls, can change without notice.

Questions about a change

If a change broke something you rely on, write to us from the contact page with the version you saw it on.

This guide as markdown