Skip to content

Commit 98d7762

Browse files
committedJan 22, 2022
docs: update changelog for v6.2.0
1 parent c2c0780 commit 98d7762

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎changelog.md

+13
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [6.2.0](https://github.com/nfriedly/express-rate-limit/releases/tag/v6.2.0)
10+
11+
### Added
12+
13+
- Export the `MemoryStore`, so it can now be imported as a named import
14+
(`import { MemoryStore } from 'express-rate-limit'`).
15+
16+
### Fixed
17+
18+
- Deprecate the `onLimitReached` option (this was supposed to be deprecated in
19+
v6.0.0 itself); developers should use a custom handler function that checks if
20+
the rate limit has been exceeded instead.
21+
922
## [6.1.0](https://github.com/nfriedly/express-rate-limit/releases/tag/v6.1.0)
1023

1124
### Added

0 commit comments

Comments
 (0)
Please sign in to comment.