Skip to content

v1.6.2

Choose a tag to compare

@Polliog Polliog released this 05 Nov 12:52
21a5acf

A small release for self-hosted Docker setups: host ports are configurable from .env, the UI finds the API on its own when opened from another machine, and the Postgres log no longer fills with a bogus database error. It also moves to Zod 4 and updates other dependencies with security fixes.

Before upgrading: no migrations. If your .env still has PUBLIC_API_URL=http://localhost:8080 (install.sh used to write it), remove that line to get auto-detection. Zod's own validation messages in API errors read differently now, and issues no longer carry received.

Security

  • Dependency updates: Zod 4.6 replaces Zod 3 in the backend and shared packages (GHSA-mrhx-c7xc-m3w5: memory exhaustion validating a large array whose elements fail), plus fast-uri 3.1.9, Vite 6.4.5, minimatch 11 and postcss-selector-parser 6.1.5. API validation errors keep their status codes and details still lists the issues, but messages Zod generates itself read differently ("Required" is now "Invalid input: expected string, received undefined") and issues no longer carry received. Ids that are not RFC 9562 UUIDs keep being accepted as before.

Added

  • Configurable host ports (discussion #317): the compose files publish the frontend, backend, Postgres, Redis and syslog on FRONTEND_PORT, BACKEND_PORT, DB_PORT, REDIS_PORT and SYSLOG_PORT (same defaults as before), so a machine where those ports are taken needs only a few lines in .env. Containers keep their own ports inside the docker network. In these files DB_PORT and REDIS_PORT set only the published port: backend and worker still reach Postgres and Redis on 5432 and 6379.

Fixed

  • "Failed to fetch" when the UI is opened from another machine (discussion #317): .env.example said the API URL is auto-detected, but the compose files set PUBLIC_API_URL to http://localhost:8080, so the browser called its own machine unless the variable was set by hand. The compose default is now auto: the browser uses the host the UI was opened on with BACKEND_PORT, or relative URLs on ports 80 and 443. An explicit PUBLIC_API_URL works as before; left empty in .env it counts as unset and gives auto. install.sh no longer writes the old value into .env; an existing .env that has it keeps it, so remove that line to get auto-detection.
  • database "<user>" does not exist every 10 seconds in the Postgres log (discussion #317): with DB_USER different from DB_NAME, the healthcheck tried a database named after the user. It was harmless, the check passed anyway. It now names the database.