Skip to content

Releases: animir/node-rate-limiter-flexible

Multiple SQLite clients support

20 Mar 18:53
Compare
Choose a tag to compare
  • RateLimiterSQLite supports sqlite3, better-sqlite3 and knex clients now.
    Set storeType option to one of sqlite3, better-sqlite3 or knex, defaults to sqlite3 if not set.
    Thank you @muco-rolle
    🎁

SQLite support

13 Mar 13:14
Compare
Choose a tag to compare

Just a day after Valkey limiter release we are releasing SQLite support. One new database and one old (but still good) added to the list of the big family. Congrats!

Valkey support [zap]

12 Mar 12:25
Compare
Choose a tag to compare
  • RateLimiterValkey added. Thanks to @gurgunday rate-limiter-flexible supports Valkey now! ⚡
    It can be used with iovalkey package.

  • [breaking] Node.js support for version 16 was dropped.

Prisma unref timeout and DynamoDB ttlSet flag

15 Jan 19:51
Compare
Choose a tag to compare

Redis custom Lua script support

28 Apr 13:44
Compare
Choose a tag to compare

👍

Prisma support

15 Feb 18:44
c795d68
Compare
Choose a tag to compare

What's Changed

  1. Add RateLimiterPrisma. Read about it on Wiki. Prisma supports PostgreSQL, MySQL, SQLite, MongoDB and many other databases. Thank you @animir

  2. Test environment and github actions got a number of improvements. Thank you @mroderick

  3. BREAKING CHANGES: we dropped support for Node.js 14 and all previous versions.

Full Changelog: v4.0.1...v5.0.0

Fix RateLimiterMongo TypeError

26 Jan 08:57
Compare
Choose a tag to compare

RateLimiterMongo TypeError: Cannot read properties of null (reading 'value') error was fixed. See #251 for reference.

Thanks to @o-ali

DynamoDB support

16 Dec 16:17
Compare
Choose a tag to compare

Thanks to @Daniel-97 rate-limiter-flexible supports DynamoDB now!
Usage example can be found here.

BREAKING CHANGES: we dropped support for Node.js 12 and previous versions.

🐯

Fix RateLimiterUnion.consume return type

08 Dec 19:54
Compare
Choose a tag to compare

Fix memory storage being not accurate with expired keys

08 Dec 18:54
Compare
Choose a tag to compare
  • fix memory storage consuming points when msBeforeNext is negative (key is expired). Thank you @animir