github pberkel/caddy-storage-redis v1.8.0

19 days ago

New features

  • compression now supports zlib. The compression parameter accepts a new "zlib" value in addition to the existing "flate" (raw DEFLATE). zlib adds a header and Adler-32 checksum, providing integrity verification on decompression. Flate- and zlib-compressed values can coexist in the same Redis instance without any migration — the algorithm is stored per value and selected automatically on load.
  • compression now supports placeholder substitution. The parameter has been changed from a boolean to a string type, enabling runtime substitution via Caddy placeholders (e.g. {env.REDIS_COMPRESSION}). Legacy boolean values (true, false, 1, 0, etc.) continue to work unchanged, with true mapping to "flate".
  • db now supports placeholder substitution. The parameter has been changed from an integer to a string type, enabling runtime substitution via Caddy placeholders (e.g. {env.REDIS_DB}). Legacy integer values in JSON configs continue to work unchanged.
  • sentinel_password now supports placeholder substitution. The parameter previously did not go through Caddy's replacer at provision time. It now does, consistent with password and other credential fields.

Improvements

  • compression and db are removed from the list of parameters that do not support runtime substitution.

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

NewReleases is sending notifications on new releases.