github pberkel/caddy-storage-redis v1.7.1

latest release: v1.8.0
21 days ago

Bug fixes

  • failover client type now requires master_name. Previously, configuring client_type failover without a master_name silently fell back to a simple standalone client. An error is now returned at startup.
  • Unknown Caddyfile configuration keys are now rejected. Unrecognised keys (e.g. typos such as tls_enable instead of tls_enabled) previously passed silently, leaving security-relevant options at their defaults without warning. An error is now returned at parse time.
  • Repair() no longer panics when called without a logger. Logger calls in Repair() and storeDirectoryRecord() are now nil-guarded, consistent with the rest of the codebase.
  • Lock refresh goroutine improved. The refresh no longer fires immediately on lock acquisition (the lock is already fresh). Transient Redis errors during refresh are now logged as warnings and retried on the next interval, rather than silently stopping the refresh and allowing the lock to expire.
  • Decrypt minimum-length guard tightened. The short-ciphertext check now uses gcm.NonceSize() + gcm.Overhead() (28 bytes) derived from the cipher instance, replacing the weaker aes.BlockSize (16 byte) check.

Don't miss a new caddy-storage-redis release

NewReleases is sending notifications on new releases.