Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

build(deps): bump rate-limiter-flexible from 2.3.7 to 3.0.0 #602

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 3, 2023

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-flexible supports ioredis v4+ and redis v4+ now. We have been waiting for this moment for years.

Thanks to @​roggervalf. And one big thank you from me personally

Since this is major release, there are

BREAKING CHANGES:

  1. rate-limiter-flexible works with ioredis package of any version (tested versions 2, 3, 4 and 5) by default now. If you want it to work with the latest redis package, you should set useRedisPackage flag. If you use redis of version 3 or lower, you should stick to rate-limiter-flexible version 2.
  2. deprecated options started with lowercased inmemory prefix are removed. You can use inMemoryBlockOnConsumed and inMemoryBlockDuration instead.
  3. deprecated redis option for RateLimiterRedis was removed. (Most likely you never heard about it, since it was deprecated years ago). You should use storeClient option instead.

TS type for the new option rejectIfRedisNotReady

Thank you @​dmozgovoi for the quick improvement.

Redis limiter new option rejectIfRedisNotReady

In some cases especially with insuranceLimiter set it is important to reject requests quickly based on Redis client status being not ready. Thanks @​dmozgovoi

RateLimiterUnion works with one limiter

Thank you @​svsool

Fixes and improvements made since v2.3.4 release

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 2.3.7 to 3.0.0.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/commits/v3.0.0)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants