Skip to content

v0.8.1

Choose a tag to compare

@dholbach dholbach released this 14 Oct 20:54
· 110 commits to main since this release
9c19042

This release replaces v0.8.0, which could not start in production. If you are coming from v0.7.x, update straight to v0.8.1. Everything v0.8.0 introduced is included, see the v0.8.0 release notes.

Fixes

  • v0.8.0 container exited at startup (#523): the vendored Chart.js ended in a source-map reference to a file that was never vendored, and production collectstatic aborted on it, so the container restarted forever after running its migrations. The reference is gone. A new guardrail runs collectstatic through the production storage, so this class of failure is caught in CI.
  • Healthchecks and the release smoke test now check /accounts/login/. Since v0.8.0, /admin/login/ redirects there.

Already on v0.8.0?

The migrations ran before the container failed. Run ./prod.py update; nothing else is needed.

Coming from v0.7.x? Read before ./prod.py update

  • Back up first (./prod.py backup). Migrations encrypt existing client/inquiry notes, calendar credentials and every uploaded client document in place.
  • FERNET_KEY now also decrypts uploaded documents. Losing it loses those files too. Keep a copy of .env somewhere safe.
  • Download the new prod.py and docker-compose.prod.yml (./prod.py update prints the curl lines). New settings only reach the container through the new compose file.
  • Port 8000 is now published on 127.0.0.1 by default. Run the new ./prod.py update (or start) once: it adds MY_PRACTICE_BIND_ADDRESS=0.0.0.0 to an existing .env, so a LAN installation stays reachable.

Full changelog: docs/CHANGELOG.md