Skip to content

v1.2.0

Choose a tag to compare

@mortenoh mortenoh released this 18 Feb 14:26
· 423 commits to master since this release
41e63ab

Highlights

  • Configurable runs directory: New CHAP_RUNS_DIR environment variable allows overriding the default runs directory path, following the same pattern as CHAP_LOGS_DIR. Docker Compose now stores runs under /data/runs for consistency with other data directories.

Features

  • Add CHAP_RUNS_DIR env var for configurable runs directory

Bug Fixes

  • Pin uv to 0.10 in all Dockerfiles for build stability
  • Use POSTGRES_DB env var in compose healthcheck instead of hardcoded value
  • Replace deprecated HTTP_422_UNPROCESSABLE_ENTITY with HTTP_422_UNPROCESSABLE_CONTENT
  • Add .gitkeep to runs/ directory for Linux compatibility
  • Improve validation error message for non-consecutive periods
  • Use to_string() instead of str() for TimePeriod in evaluation plot
  • Add overload signatures to PeriodRange.__getitem__ for correct return type narrowing
  • Change runs bind mount to volume mount in compose.yml
  • Remove leftover development debug logging

Other

  • Enable additional ruff lint rules (UP, F, B, C4, PIE, RUF, FURB, PERF, ISC, RSE, W, A, TCH, SIM)
  • Consolidate apt-get commands in Dockerfiles