v6.2.0
Added
- Export the
MemoryStore
, so it can now be imported as a named import
(import { MemoryStore } from 'express-rate-limit'
).
Fixed
- Deprecate the
onLimitReached
option (this was supposed to be deprecated in
v6.0.0 itself); developers should use a custom handler function that checks if
the rate limit has been exceeded instead.