rate-limiter-flexible v2.0.0 Release Notes
Release Date: 2020-02-09 // about 4 years ago-
Changes
- ๐ Redis uses Lua script for expiring atomic increments. It allowed to removed a hack, which makes extra queries to Redis, when TTL is not set on key.
- ๐ RateLimiterCluster options type fixed.
๐ฅ BREAKING CHANGES :
- ๐
isWhite
andisBlack
getters/setters and options support removed fromRLWrapperBlackAndWhite
.isWhiteListed
andisBlackListed
options should be used instead. - ๐
IRateLimiterResOptions
interface type removed from lib/index.d.ts.IRateLimiterRes
should be used.