API_PORT is renamed to PULSE_PORT, SQLITE_PATH to PULSE_DB and DATABASE_URL to PULSE_DATABASE_URL. The old names are still read when the new name is unset, with a startup warning, and stop working in 4.0.
agent: pulse-agent no longer accepts --token. Set PULSE_AGENT_TOKEN or pass --token-file. When both are set, --token-file now takes precedence over PULSE_AGENT_TOKEN (the environment variable used to win).
Features
agent: the token comes from PULSE_AGENT_TOKEN or --token-file only (#40) (aa2ef9b)
Prometheus metrics at /metrics, off by default (#43) (1b9a952)
PULSE_* names for every server setting (#42) (86a3c8d)
Bug Fixes
clear the code scanning alerts, and govulncheck in CI (#38) (22a1854)
incremental rollup, and prune infra metrics and expired sessions (#58) (61c9aba), closes #52
PULSE_DB is the database file everywhere, and the healthcheck follows PULSE_PORT (#57) (53d0ef5), closes #53
security: 2FA can only be turned off with a code, and setup never drops it (#56) (12b0ec0), closes #49
security: a 2FA code works once, and password or 2FA changes sign out other sessions (#60) (e17de72), closes #49