Skip to content

v1.1.0

Choose a tag to compare

@marekbeckmann marekbeckmann released this 04 Nov 09:55

Ready for the Mobile App

This release prepares torq for the upcoming iOS app. The web app is unchanged except for the new Devices page.

New

  • Devices: Settings → Devices lists every browser and app your account is signed in with, including when it was last active and from which IP address. You can sign out a single device, for example a lost phone, or all others at once.
  • Token sign-in for apps: apps and scripts can sign in with "token": true and send Authorization: Bearer <token> instead of a cookie. Tokens expire after 30 days without use, like browser sessions.
  • Server check: GET /api/v1/instance tells a client which server it is talking to before signing in, including the API level for feature detection.

API

  • The API now has a machine-readable contract, openapi.yaml (OpenAPI 3.1), attached to this and every future release. Tests check it against the server on every change.
  • Within /api/v1, changes are additive only from now on. The rules and the sign-in details are in docs/api.md.

Upgrading

Nothing to do: a database migration runs automatically on start. If you run torq behind a reverse proxy, please don't add CORS headers (see docs/api.md).