Skip to content

Releases: express-rate-limit/express-rate-limit

v6.7.0

15 Nov 19:01
Compare
Choose a tag to compare

No functional changes.

Changed

  • Updated links to point to the new express-rate-limit organization on GitHub.
  • Added advertisement to readme.md for project sponsor Zuplo.
  • Updated to typescript version 5 and bumped other dependencies.
  • Dropped node 12, and added node 19 to the list of versions the CI jobs run on.

You can view the changelog here.

v6.6.0

04 Sep 19:37
Compare
Choose a tag to compare

Added

  • Added shutdown method to the Store interface and the MemoryStore. (#322)

You can view the full changelog here.

v6.5.2

24 Aug 19:37
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with missing types in ESM monorepos. (#321)

You can view the changelog here.

v6.5.1

23 Jul 16:51
Compare
Choose a tag to compare

Changed

  • The message option can now be a (sync/asynx) function that returns a value (#311)
  • Updated all dependencies

v6.4.0

24 Apr 15:55
e7820d2
Compare
Choose a tag to compare

Added

  • Adds Express 5 (5.0.0-beta.1) as a supported peer dependency (#304)

Changed

  • Tests are now run on Node 12, 14, 16 and 18 on CI (#305)
  • Updated all development dependencies (#306)

v6.3.0

19 Feb 12:25
v6.3.0
435e1e4
Compare
Choose a tag to compare

Changed

  • Changes the build target to es2019 so that ESBuild outputs code that can run with Node 12.
  • Changes the minimum required Node version to 12.9.0.

v6.2.1

10 Feb 15:17
v6.2.1
49294c8
Compare
Choose a tag to compare

Fixed

  • Use the default value for an option when undefined is passed to the rate
    limiter.

v6.2.0

22 Jan 13:49
v6.2.0
a8dc1f7
Compare
Choose a tag to compare

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.

v6.1.0

12 Jan 04:22
v6.1.0
7adc756
Compare
Choose a tag to compare

Added

  • Added a named export rateLimit in case the default import does not work.

Fixed

  • Added a named export default, so Typescript CommonJS developers can default-import the library (import rateLimit from 'express-rate-limit').

v6.0.5

06 Jan 13:26
v6.0.5
2fdc2ff
Compare
Choose a tag to compare

Fixed

  • Use named imports for ExpressJS types so users do not need to enable the esModuleInterop flag in their Typescript compiler configuration.