All Versions
18
Latest Version
Avg Release Cycle
44 days
Latest Release
1034 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.1.10 Changes
August 02, 2020- ๐ RateLimiterQueue support of tokens removed by key. (single bucket for every key)
- โ Add RateLimiterQueue missing methods types. Thank you @bmenant
- โก๏ธ RateLimiterPostgres fixed for [email protected] update. Thank you @matomesc
- tableCreated option for MySQL and PostgreSQL to skip checks for limiter tables.
- BurstyRateLimiter compatible with RateLimiterQueue now. Thanks a lot to @matomesc for a big help on this.
- โ RateLimiterMemory limiter works in browser now. Thanks a bunch to @cha0s. Also, thank you for test scripts improvements.
-
v2.1.3 Changes
March 15, 2020Every time
consume
method executed, it returnsmsBeforeNext
milliseconds. This can be used to block key in memory for exactmsBeforeNext
milliseconds until points are reset on store. -
v2.1.1
March 15, 2020 -
v2.1.0 Changes
March 15, 2020๐ Allow traffic bursts with BurstyRateLimiter
-
v2.0.0 Changes
February 09, 2020Changes
- ๐ 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.
-
v1.3.0 Changes
January 14, 2020- ๐ New
set
method implemented for all limiters. - ๐
RateLimiterRes
constructor types is fixed. Thanks @raelcun - ๐
IRateLimiterResOptions
is deprecated in favour ofIRateLimiterRes
interface. - ๐
RLWrapperBlackAndWhite
optionsisWhite
andisBlack
are deprecated. UseisBlackListed
andisWhiteListed
instead.
- ๐ New
-
v1.2.0 Changes
December 14, 2019- All limiters support Never Expiring keys now. If limiter option
duration
is 0 orblock
method called with 0 duration, key is never expiring. Note: if you want to start using never expiring keys with already created MySQL or Postgres limiters, make sure database table is re-created or alter db table to allowexpire
column to be NULL. - โ Added
IRateLimiterResOptions
interface. Thank you Eladio Mora. - ๐ Tests configured to be checked by eslint now. Thanks @mkxml (issue #28)
- ๐ Fixed typing for
rateLimiterInstance.get()
. Thanks @ephemer. - ๐ Fixed
ExpressBruteFlexible
reset works with ignoreIP option. - โ Added
ExpressBruteFlexible
prefix
option for keys.
- All limiters support Never Expiring keys now. If limiter option
-
v1.1.2 Changes
September 21, 2019- ๐ Fix #36 to allow dashes in MySQL database name.
- RateLimiterQueue TypeScript bindings.
- ๐ Fix Cluster limiter: it should respect all possible options to make difference between several limiters.
-
v1.1.0 Changes
July 14, 2019๐ Features:
- ๐ RateLimiterQueue limiter with FIFO queue support on single server or distributed environment.
๐ Bug-fixes:
-
v1.0.0 Changes
April 20, 2019๐ Features:
- โ add ExpressBrute analog middleware
- ๐ use blockDuration with inmemoryBlock