Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Aug 23:24
800a894

Added

  • Container image now runs serve by default and loads bundled config from $KO_DATA_PATH
  • PKGPROXY_TRUST_PROXY env var (and --trust-proxy flag) to opt in to X-Forwarded-For trust
  • PKGPROXY_HOST env var to set the listen address without passing --host on the command line
  • PKGPROXY_CACHEDIR env var to set the cache directory without passing --cachedir on the command line

Changed

  • Breaking: remote_ip in access logs now reflects the direct connecting peer by default; set PKGPROXY_TRUST_PROXY to restore XFF-based IP extraction when running behind a reverse proxy
  • Upgraded Echo web framework to v5.3.1
  • Config-file errors now list all default paths attempted, not just the last one

Fixed

  • HEAD requests to the landing page now return 200 instead of 405, so health checks work