npm / rate-limiter-flexible
rate-limiter-flexible
What changed in rate-limiter-flexible 3 to 11, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.
6 breaking5 new APIs and options1 performance2 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initrate-limiter-flexible 113 changes
New APIs and options 1
Adds the rejectIfValkeyNotReady option to IRateLimiterValkeyOptions.
Performance 1
Only calls multi when it will be used, avoiding unnecessary multi calls.
Behavior and default changes 1
The default queue is stored under the limiter key.
rate-limiter-flexible 72 changes
Breaking changes 1
Node.js 18 support is removed.
New APIs and options 1
Adds RateLimiterValkeyGlide to support Valkey Glide.
rate-limiter-flexible 62 changes
Breaking changes 1
Node.js version 16 is no longer supported.
New APIs and options 1
Adds RateLimiterValkey, allowing rate-limiter-flexible to be used with Valkey via the iovalkey package.
rate-limiter-flexible 52 changes
Breaking changes 1
Support for Node.js 14 and all previous versions was dropped.
New APIs and options 1
Adds RateLimiterPrisma, which supports Prisma databases.
rate-limiter-flexible 35 changes
Breaking changes 3
Remove legacyMode: true when creating a redis client.
Deprecated options with the lowercased inmemory prefix are removed; use inMemoryBlockOnConsumed and inMemoryBlockDuration instead.
The deprecated redis option for RateLimiterRedis is removed; use storeClient instead.
New APIs and options 1
Set this flag to use the redis package version 4 or later.
Behavior and default changes 1
rate-limiter-flexible works with ioredis versions 2, 3, 4, and 5 by default.