You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,67 @@
1
1
# @perseidesjs/medusa-plugin-rate-limit
2
2
3
+
## 3.0.0
4
+
5
+
### Major Changes
6
+
7
+
- 5e0ee7a: V3 - Revamped the whole way we rate limit apps. Introducing the `RateLimit` class for more granular control.
8
+
9
+
**Breaking Changes:**
10
+
- The `defaultRateLimit` middleware has been removed
11
+
- Global configuration has been removed
12
+
13
+
**New Features:**
14
+
- Introduction of the `RateLimit` class for programmatic rate limiting
15
+
- Built-in `ipRateLimit` middleware for common IP-based rate limiting
16
+
- Support for custom identifiers beyond IP addresses
17
+
- More granular control over rate limiting logic
18
+
19
+
## The RateLimit Class
20
+
21
+
The core of V3 is the new `RateLimit` class that gives you programmatic control over rate limiting. This class integrates directly with Medusa's cache service and allows you to implement custom rate limiting logic.
0 commit comments