Skip to content

Releases: nestjs/throttler

v1.2.0

23 Jun 19:24
Compare
Choose a tag to compare

1.2.0 (2021-06-23)

Features

  • Add throwThrottlingException method (f502b74), closes #531

v1.1.4

17 May 15:02
Compare
Choose a tag to compare

1.1.4 (2021-05-17)

Bug Fixes

  • package name of throttler (9321e0f)

v1.1.3

30 Mar 14:58
Compare
Choose a tag to compare

1.1.3 (2021-03-30)

Bug Fixes

  • expose injection tokens and allow for tracker override (3444608)

v1.1.2

24 Mar 04:29
Compare
Choose a tag to compare

1.1.2 (2021-03-24)

Bug Fixes

  • guard: fix access to options and service in guard (6d2cc31)

v1.1.1

26 Feb 08:16
d5a89d5
Compare
Choose a tag to compare

1.1.1 (2021-02-26)

Bug Fixes

  • change in readme to trigger release (d5a89d5)

0.3.0

10 Nov 19:19
Compare
Choose a tag to compare

0.3.0 (2020-11-10)

Bug Fixes

  • module: async register is now forRootAsync (a1c6ace)

0.2.3 (2020-08-06)

Features

  • ws: allows for optional use of @nestjs/websocket (f437614)

0.2.2

12 Jun 15:58
Compare
Choose a tag to compare

0.2.2 (2020-06-12)

Bug Fixes

  • moves userAgent check to http handler (87183af)

Features

  • decorator: add setThrottlerMetadata() function back (ea31a9c)
  • graphql: implements graphql limiter (40eaff1)
  • Add support for ws (websockets) (a745295)
  • Add support for ws (websockets) (8103a5a)
  • Make storage methods async (92cd4eb)
  • exception: Use const instead of duplicated string (f95da2c)
  • guard: Add default case for context.getType() switch (ff46d57)
  • Implement basic support for websocket (3a0cf2e)

0.2.1

09 Jun 14:54
Compare
Choose a tag to compare

0.2.1 (2020-06-09)

Features

  • add support for ignoreUserAgents option (1ab5e17)

0.2.0

09 Jun 04:00
Compare
Choose a tag to compare

0.2.0 (2020-06-09)

Bug Fixes

  • make core module global and export core module inside ThrottlerModule (1f4df42)

Features

  • makes options required in forRoot and forRootAsync (14e272a)
  • remove global guard and require user to implement it manually (840eae4)

0.1.1 (2020-06-07)

Bug Fixes

  • interface: fixes the storage interface to be async (f7565d9)

0.1.0 (2020-06-07)

Bug Fixes

  • adds back AppModule to allow for running server for tests (5af229b)
  • updates some types (b26fc06)
  • updates storage interface to use number (339f29c)
  • updates tests and resolves comments from pr (ee87e05)
  • .gitignore: Ignore all dist and node_modules rather than root-level only (d9609af)
  • guard: Change RateLimit header prefix to X-RateLimit (328c0a3)
  • guard: Change RateLimit header prefix to X-RateLimit (3903885)
  • guard: guard now binds globally without the use of @UseGuards() (4022447)
  • guard: guard now binds globally without the use of @UseGuards() (3ca146d)
  • guard: Prevent RateLimit-Remaining from going below 0 (25e33c8)
  • guard: Prevent RateLimit-Remaining from going below 0 (74b1668)
  • guard: Use the correct approach to check for excluded routes (38eac3c)
  • guard: Use the correct approach to check for excluded routes (912813f)
  • req.method value in httpPromise (b9ee26e)

Features

  • Swap excludeRoutes for @SkipThrottle() decorator (16d6fac)
  • fastify: updates guard to work for fastify (bc678a3)
  • Implement ignoreRoutes functionality (7b8ab42)
  • package.json: Add --watch to start:dev script (3c4c28a)
  • Implement ignoreRoutes functionality (75f870c)
  • module: implements start of limiter module (35dbff5)
  • package.json: Add --watch to start:dev script (a6b441c)
  • Add global ThrottlerGuard (9a84aff)
  • adds httpromise for async/await http calls in tests (70210c7)
  • Rename certain variables to use the THROTTLER prefix (6a21b21)
  • Setup example app (df6b5f6)
  • Setup example app (30c7576)