Skip to content

Commit 07ee633

Browse files
Bump major version to 2.0.0 (#19)
1 parent 22582f0 commit 07ee633

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
9+
## [v2.0.0](https://github.com/JeffersonGibin/express-rate-limiter-core/releases/tag/v2.0.0) [2024-04-27]
10+
11+
### Added
12+
- **Redis Support:** Implementation of rate limit management directly via Redis to enhance scalability and performance.
13+
- New properties `strategyCache` and `redis` added to the `ISettings` interface.
14+
- Refer to the [documentation](https://github.com/JeffersonGibin/express-rate-limiter-core?tab=readme-ov-file#features) for more details on how to use these properties.
15+
16+
### Changed
17+
- **Custom Cache Configuration:** It is now necessary to add `strategyCache: "CUSTOM"` when using a custom cache.
18+
19+
### Important Notes
20+
- **Backward Compatibility:** The changes made may affect users who are using previous versions and rely on the default in-memory cache configuration.
21+
- Users utilizing in-memory cache will not need to make changes to their existing code.
22+
- Users who implement custom caches will need to adjust their settings to continue functioning correctly.
23+
24+
825
## [v1.0.1](https://github.com/JeffersonGibin/express-rate-limiter-core/releases/tag/v1.0.1)
926

1027
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "express-rate-limiter-core",
33
"author": "Jefferson Gibin",
4-
"version": "1.0.1",
4+
"version": "2.0.0",
55
"description": "Provides an easy-to-use middleware for rate-limiting requests to an Express server",
66
"main": "lib/index.js",
77
"module": "lib/index.m.js",

0 commit comments

Comments
 (0)