Skip to content

v1.1.22: Rate limiter: peek and reset use the hashed key too

Choose a tag to compare

@ivanvoitovych ivanvoitovych released this 11 Sep 09:56
· 19 commits to main since this release
6610937 hashed the key in limit() but left peek() and reset() on the raw
"RL:$key", so X-RateLimit-Remaining always reported the full budget and
resets cleared nothing. All three now go through redisKey().

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>