Skip to content

v6.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jan 13:49
v6.2.0
a8dc1f7

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.