taro
taro copied to clipboard
build(deps): bump rate-limiter-flexible from 2.3.7 to 3.0.0
Bumps rate-limiter-flexible from 2.3.7 to 3.0.0.
Release notes
Sourced from rate-limiter-flexible's releases.
Support of ioredis v4+ and redis v4+
I have a really great news!
rate-limiter-flexiblesupportsioredisv4+ andredisv4+ now. We have been waiting for this moment for years.Thanks to
@roggervalf. And one big thank you from me personallySince this is major release, there are
BREAKING CHANGES:
rate-limiter-flexibleworks withioredispackage of any version (tested versions 2, 3, 4 and 5) by default now. If you want it to work with the latestredispackage, you should set useRedisPackage flag. If you useredisof version 3 or lower, you should stick torate-limiter-flexibleversion 2.- deprecated options started with lowercased
inmemoryprefix are removed. You can use inMemoryBlockOnConsumed and inMemoryBlockDuration instead.- deprecated
redisoption forRateLimiterRediswas removed. (Most likely you never heard about it, since it was deprecated years ago). You should usestoreClientoption instead.TS type for the new option rejectIfRedisNotReady
Thank you
@dmozgovoifor the quick improvement.Redis limiter new option
rejectIfRedisNotReadyIn some cases especially with insuranceLimiter set it is important to reject requests quickly based on Redis client status being not
ready. Thanks@dmozgovoiRateLimiterUnion works with one limiter
Thank you
@svsoolFixes and improvements made since v2.3.4 release
- RateLimiterQueue
getTokensRemainingwith RateLimiterPostgres fixed. animir/node-rate-limiter-flexible#125- clear timeout on key delete from memory storage. animir/node-rate-limiter-flexible#146 Thank you
@jiddmeyeclearExpiredByTimeoutis added to TS types for MySQL and Postgres limiters. animir/node-rate-limiter-flexible#156- fix negative remaining points in memory limiter. animir/node-rate-limiter-flexible#172 Thank you
@MiniKraken-Team- added
browserpackage.json settings to allow bundling. https://github.com/animir/node-rate-limiter-flexible/commit/6ce34b394a2b82e36ab959eb884e475b5dad5fcc Thank you@achingbrain- use
nodejs.util.inspect.customfor Symbol flexibility. https://github.com/animir/node-rate-limiter-flexible/commit/2c8bedb973c3931a068ba23b5207763ecc26f988 Thank you@shlavikinmemoryBlockOnConsumedandinmemoryBlockDurationoptions are renamed toinMemoryBlockOnConsumedandinMemoryBlockDuration. Old options are still supported, but deprecated and will be removed in v3 major release. animir/node-rate-limiter-flexible#106
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)