Open renovate[bot] opened 3 weeks ago
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR contains the following updates:
^6.2.0
->^7.0.0
Release Notes
express-rate-limit/express-rate-limit (express-rate-limit)
### [`v7.3.1`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.3.1) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.3.0...v7.3.1) You can view the changelog [here](https://express-rate-limit.mintlify.app/reference/changelog). ### [`v7.3.0`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.3.0) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.2.0...v7.3.0) You can view the changelog [here](https://express-rate-limit.mintlify.app/reference/changelog). ### [`v7.2.0`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.2.0) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.5...v7.2.0) You can view the changelog [here](https://express-rate-limit.mintlify.app/reference/changelog). ### [`v7.1.5`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.1.5) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.4...v7.1.5) You can view the changelog [here](https://express-rate-limit.mintlify.app/reference/changelog). ### [`v7.1.4`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.1.4) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.3...v7.1.4) You can view the changelog [here](https://togithub.com/express-rate-limit/express-rate-limit/blob/main/changelog.md). ### [`v7.1.3`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.1.3) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.2...v7.1.3) You can view the changelog [here](https://togithub.com/express-rate-limit/express-rate-limit/blob/main/changelog.md). ### [`v7.1.2`](https://togithub.com/express-rate-limit/express-rate-limit/blob/HEAD/changelog.md#712) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.1...v7.1.2) ##### Changed - Re-organized documentation from readme into docs/ folder and added documentation website. ### [`v7.1.1`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.1.1) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.0...v7.1.1) ##### Misc - Enabled provenance statement generation, see https://github.com/express-rate-limit/express-rate-limit#406. *** You can view the full changelog [here](https://togithub.com/express-rate-limit/express-rate-limit/blob/main/changelog.md). ### [`v7.1.0`](https://togithub.com/express-rate-limit/express-rate-limit/blob/HEAD/changelog.md#710) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.0.2...v7.1.0) ##### Changed - The `getKey` method is now always defined. If the store does not have the required `get` method, `getKey` will throw an error explaining this. ### [`v7.0.2`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.0.2) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.0.1...v7.0.2) You can view the changelog [here](https://togithub.com/express-rate-limit/express-rate-limit/blob/main/changelog.md). ### [`v7.0.1`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.0.1) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.0.0...v7.0.1) You can view the changelog [here](https://togithub.com/express-rate-limit/express-rate-limit/blob/main/changelog.md). ### [`v7.0.0`](https://togithub.com/express-rate-limit/express-rate-limit/blob/HEAD/changelog.md#700) [Compare Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v6.11.2...v7.0.0) ##### Breaking - Changed behavior when `max` is set to 0: - Previously, `max: 0` was treated as a 'disable' flag and would allow all requests through. - Starting with v7, all requests will be blocked when max is set to 0. - To replicate the old behavior, use the [skip](https://togithub.com/express-rate-limit/express-rate-limit#skip) function instead. - Renamed `req.rateLimit.current` to `req.rateLimit.used`. - `current` is now a hidden getter that will return the `used` value, but it will not appear when iterating over the keys or calling `JSON.stringify()`. - Changed the minimum required Node version from v14 to v16. - `express-rate-limit` now targets `es2022` in TypeScript/ESBuild. - Bumped TypeScript from v4 to v5 and `dts-bundle-generator` from v7 to v8. ##### Deprecated - Removed the `draft_polli_ratelimit_headers` option (it was deprecated in v6). - Use `standardHeaders: 'draft-6'` instead. - Removed the `onLimitReached` option (it was deprecated in v6). - [This](\(https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#wrn_erl_deprecated_on_limit_reached\)) is an example of how to replicate it's behavior with a custom `handler` option. ##### Changed - The `MemoryStore` now uses precise, per-user reset times rather than a global window that resets all users at once. - The `limit` configuration option is now prefered to `max`. - It still shows the same behavior, and `max` is still supported. The change was made to better align with terminology used in the IETF standard drafts. ##### Added - The `validate` config option can now be an object with keys to enable or disable specific validation checks. For more information, see [this](https://togithub.com/express-rate-limit/express-rate-limit#validate).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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.