Skip to content

Releases: nestjs/throttler

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)