Skip to content

v0.12.4

Choose a tag to compare

@github-actions github-actions released this 08 Nov 20:35
· 58 commits to main since this release
  • Health checks answer for any host. Bunny Magic Containers calls
    /readyz on the container's own address, which is not in
    ALLOWED_HOSTS, so Django answered "Invalid HTTP_HOST header" and the
    container never became ready. The new
    django_stack.contrib.health.middleware.HealthCheckMiddleware serves
    /healthz and /readyz before the host check; every other path still
    checks it. In an existing project, add it to MIDDLEWARE in
    config/settings.py, right after django_stack.logs.RequestIdMiddleware.

  • Database passwords with special characters. A database URL pasted
    with a raw @, #, /, ? or % in the password, or written by hand
    in PRODUCTION_DATABASE_URL, was used as it was, so Umami and Django
    could not read the password. init and production now URL-encode the
    user name and password, and an encoded one stays as it is. Run
    dstack production again to fix .env.production.