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 and isBlack getters/setters and options support removed from RLWrapperBlackAndWhite. isWhiteListed and isBlackListed options should be used instead.
    • ๐Ÿšš IRateLimiterResOptions interface type removed from lib/index.d.ts. IRateLimiterRes should be used.