Skip to content

Releases: nestjs/throttler

v6.3.0

10 Dec 17:42
Compare
Choose a tag to compare

Minor Changes

  • fc93f3a: pass context to getTraker as a second arg

v6.2.1

22 Aug 17:25
Compare
Choose a tag to compare

Patch Changes

  • fbf27c6: Add the guard interfaces for export for public use

v6.2.0

22 Aug 15:43
Compare
Choose a tag to compare

Minor Changes

  • 3d1a9a5: Swap MD5 hash for SHA256 to better support OpenSSL 3.0 and future iterations

v6.1.1

13 Aug 18:40
Compare
Choose a tag to compare

Patch Changes

  • ef69348: Update the readme for websockets

v6.1.0

08 Aug 02:52
Compare
Choose a tag to compare

Minor Changes

  • e058d50: Use ceil instead of floor while calculating expire and block expire at to properly account for rounding up instead of down and accidentally allowing for early continued requests. Related to #2074

v6.0.0

11 Jul 21:29
Compare
Choose a tag to compare

Major Changes

  • 93b62d2: A time will be provided to block the request separately from the ttl. There is a breaking change at the library level. Storage library owners will be affected by this breaking change
  • 9b3f9cd: - e17a5dc: The storage has been updated to utilize Map instead of a simple object for key-value storage. This enhancement offers improved performance, especially for scenarios involving frequent additions and deletions of keys. There is a breaking change at the library level. Storage library owners will be affected by this breaking change

v5.2.0

14 Jun 14:45
Compare
Choose a tag to compare

Minor Changes

  • 16467c1: Add dynamic error messages based on context and ThrottlerLimitDetail

v5.1.2

09 Feb 18:03
Compare
Choose a tag to compare

Patch Changes

  • 7a431e5: Improve performance by replacing md5 npm package with Node.js crypto module.

v5.1.1

18 Dec 16:20
Compare
Choose a tag to compare

Patch Changes

  • b06a208: Resolves a bug that cause 'this' to be undefined in the 'getTracker' and 'generateKey' methods of the custom ThrottlerGuard

v5.1.0

08 Dec 17:14
Compare
Choose a tag to compare

Minor Changes

  • 903d187: Allow for throttler definitions to define their own trackers and key generators to allow for more customization of the rate limit process