diff --git a/.changeset/clever-elephants-cough.md b/.changeset/clever-elephants-cough.md deleted file mode 100644 index 7c1a67ff..00000000 --- a/.changeset/clever-elephants-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@nestjs/throttler': minor ---- - -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d2b5565..8be70418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 5.0.0 +## 6.1.0 + +### 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 + ## 6.0.0 ### Major Changes diff --git a/package.json b/package.json index 277c91f4..1296a9b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nestjs/throttler", - "version": "6.0.0", + "version": "6.1.0", "description": "A Rate-Limiting module for NestJS to work on Express, Fastify, Websockets, Socket.IO, and GraphQL, all rolled up into a simple package.", "author": "Jay McDoniel ", "contributors": [],