Summary
This release fixes critical Docker connectivity issues introduced in v0.11.0, where users with Unix sockets or non-TLS TCP connections experienced "protocol error" failures.
๐ง Fixed
Docker Socket HTTP/2 Compatibility (#267)
- Fixed Docker client connection failures on non-TLS connections introduced in v0.11.0
- OptimizedDockerClient now only enables HTTP/2 for HTTPS (TLS) connections
- Resolves "protocol error" issues when connecting to:
/var/run/docker.sock(Unix socket)tcp://localhost:2375(TCP cleartext)http://URLs
Container Monitoring Reliability (#267)
- Added polling fallback for container state detection alongside Docker events API
- Prevents hangs when events API is unavailable or unreliable
- Properly handles go-dockerclient event listener cleanup (upstream issue #911)
๐ Changed
- Upgraded to netresearch/go-cron v0.5.0 (forked from robfig/cron with timezone fixes)
- Updated golangci-lint configuration for v2 compatibility
- Added 2-minute timeout for integration tests
๐งช Internal
- Enforced strict failure policy for integration tests (no silent skips)
- Added comprehensive panic recovery for upstream go-dockerclient issues
- Improved test reliability with mock Docker server compatibility
Upgrade
This is a drop-in replacement for v0.11.0. No configuration changes required.
# Docker
docker pull ghcr.io/netresearch/ofelia:v0.11.1
# Binary
# Download from assets below