Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rate-limiter-flexible to v3 #1419

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

balena-renovate[bot]
Copy link
Contributor

@balena-renovate balena-renovate bot commented Sep 1, 2023

This PR contains the following updates:

Package Type Update Change
rate-limiter-flexible dependencies major ^2.4.1 -> ^3.0.0

Release Notes

animir/node-rate-limiter-flexible (rate-limiter-flexible)

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2: PostgreSQL quote table name and support for schema name option

Compare Source

  • use quotation for table name in RateLimiterPostgres queries. Thanks to @​komachi
  • add optional schemaName to RateLimiterPostgres limiter. Thanks to @​paulsc54
  • special thanks to @​roggervalf who configured Github Actions for tests

🍯

v3.0.1

Compare Source

v3.0.0: Support of ioredis v4+ and redis v4+

Compare Source

I have 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 redis package version 4 or later, you should set useRedisPackage flag.
  • If you created redis client with legacyMode: true, you should remove it.
  • If you use redis of version 3 or lower, you should stick to rate-limiter-flexible version 2. Or try the experimental useRedis3AndLowerPackage option.
  1. deprecated options started with lowercased inmemory prefix are removed. You can use inMemoryBlockOnConsumed and
    inMemoryBlockDuration instead.
  2. 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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 4 times, most recently from 42fdeb4 to 6c41ff3 Compare September 13, 2023 01:28
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 2 times, most recently from 8fa9e71 to 0d137c6 Compare September 20, 2023 15:10
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 11 times, most recently from 8d57707 to 757e2cd Compare October 4, 2023 07:00
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 4 times, most recently from b76471e to 38e2a08 Compare October 11, 2023 18:09
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 2 times, most recently from 89a1602 to 34c6b7d Compare October 16, 2023 16:04
@balena-renovate
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 5 times, most recently from b58753e to a1be19d Compare October 19, 2023 00:02
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 6 times, most recently from 7b592ac to b877420 Compare October 24, 2023 07:00
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 6 times, most recently from 23b8775 to f5d51fa Compare November 3, 2023 16:03
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch 3 times, most recently from a88c6c3 to 2e9386c Compare November 13, 2023 02:15
Update rate-limiter-flexible from 2.4.2 to 3.0.4

Change-type: patch
@balena-renovate balena-renovate bot force-pushed the renovate/rate-limiter-flexible-3.x branch from 2e9386c to 90efa8a Compare November 23, 2023 22:59
Copy link
Contributor

@fisehara fisehara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BREAKING CHANGES assessment for open-balena-api

  1. Uses already ioredis
  2. No occurrences of inmemory found
  3. Uses already storeClient: redis, as parameter

@fisehara fisehara merged commit e73d041 into master Nov 24, 2023
50 checks passed
@fisehara fisehara deleted the renovate/rate-limiter-flexible-3.x branch November 24, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant