Skip to content

v0.2.0

Choose a tag to compare

@stevenmfarrell stevenmfarrell released this 14 Oct 04:38
· 39 commits to main since this release
e34761b

Log things you forgot to log, and a health check for your container. Nothing about how you run Concerning Habits needs to change.

New

  • Log on an earlier day by saying so: "I read yesterday", "ran 3 miles 2 days ago", "meditated on October 10th", "yesterday at 6pm". It works in the Agenda's smart entry, in the API's text, and for things you said while offline. Days follow your time zone and bedtime, and an entry with no time said goes at noon that day. If the entry needs finishing on the habit's page, the date comes along.
  • A health check: the image now has a Docker HEALTHCHECK, so docker ps shows the container as healthy or unhealthy. It checks that the app can read its database. Uptime monitors and reverse proxies can use the same thing at GET /api/health.
  • GET /api/meta: what the server is (version, API version, which optional features are set up), for apps to adapt to.

Fixed

  • The habit editor's form preview no longer slides under the rest of the page as you scroll.

For developers

  • DEPLOYMENT_MODE (selfhost or cloud) is groundwork for the hosted version. Self-hosters should leave it unset. An unknown value stops the server at startup.

Upgrading

docker compose pull
docker compose up -d

What's Changed

Full Changelog: v0.1.1...v0.2.0