Skip to content

Releases: Michaelvilleneuve/statisfy

v0.0.4

10 Dec 17:29
Compare
Choose a tag to compare

This release contains an improved handling of decrements.
Decrementing a counter when a uniq_by was provided was not working as one would expect.

It is now handled by having a second redis array containing all ids added for this specific uniq_by key.
That way instead of decrementing when the instance is destroyed, it is decremented when the instance is destroyed AND the uniq_by array is empty

Full Changelog: https://github.com/Michaelvilleneuve/statisfy/commits/v0.0.4