Releases: fastify/fastify-rate-limit
Releases · fastify/fastify-rate-limit
v9.1.0
What's Changed
- perf: generate
after
once by @gurgunday in #351 - build(deps-dev): Bump tsd from 0.29.0 to 0.30.0 by @dependabot in #352
- perf: use map for the in-memory store by @gurgunday in #353
Full Changelog: v9.0.1...v9.1.0
v9.0.1
v9.0.0
What's Changed
- types: fix rateLimit:false in route options by @Uzlopak in #310
- swap out ms for @lukeed/ms by @gurgunday in #312
- doc: typo in Readme by @bodinsamuel in #314
- chore: remove defaultOnBanReach helper fn by @gurgunday in #313
- build(deps-dev): Bump tsd from 0.28.1 to 0.29.0 by @dependabot in #315
- build(deps): Bump actions/checkout from 3 to 4 by @dependabot in #317
- build(deps-dev): Bump knex from 2.5.1 to 3.0.1 by @dependabot in #318
- Retry-After: return the TTL instead of timeWindow by @gurgunday in #324
- Use
Math.ceil
for timeLeft calculation by @gurgunday in #325 - Align stores by @gurgunday in #323
- Refactor
index.js
to fix multiple bugs by @gurgunday in #326 - RedisStore: don't return an object after error by @gurgunday in #328
- perf: remove isNaN check from the handler by @gurgunday in #329
- chore(package): explicitly declare js module type by @Fdawgs in #332
- Move Redis logic to Redis-Side by @gurgunday in #330
- remove elseif from the lua script by @gurgunday in #334
- feat: ban users directly when rate limited by @gurgunday in #331
- build(deps): Bump actions/setup-node from 3 to 4 by @dependabot in #337
- ci: migrate to workflows by @gurgunday in #339
- Update README.md to reflect retry-after change by @tlund101 in #342
- Redis should work with ban by @gurgunday in #336
New Contributors
- @bodinsamuel made their first contribution in #314
- @tlund101 made their first contribution in #342
Full Changelog: v8.0.3...v9.0.0
v8.1.1
v8.0.3
What's Changed
- types: add missing context config by @FabianFrank in #306
- fix: retry-after should be in seconds when specified timeWindow by @Uzlopak in #307
New Contributors
- @FabianFrank made their first contribution in #306
Full Changelog: v8.0.2...v8.0.3
v8.0.2
v8.0.1
What's Changed
- chore(.gitignore): add bun lockfile by @Fdawgs in #286
- build(deps-dev): Bump tsd from 0.25.0 to 0.26.0 by @dependabot in #287
- build(deps-dev): Bump tsd from 0.26.1 to 0.27.0 by @dependabot in #288
- build(deps-dev): Bump tsd from 0.27.0 to 0.28.0 by @dependabot in #289
- build(deps): Bump tiny-lru from 10.4.1 to 11.0.0 by @dependabot in #291
- ci: add node 20 to test matrix by @Fdawgs in #294
- ci: only trigger on pushes to main branches by @Fdawgs in #295
- build(deps-dev): Bump @types/node from 18.16.6 to 20.1.1 by @dependabot in #296
- Fix ci by @Uzlopak in #299
- build(deps-dev): Bump @sinonjs/fake-timers from 10.2.0 to 11.0.0 by @dependabot in #300
- Update errorResponseBuilderContext type with ban property by @leonitousconforti in #298
Full Changelog: v8.0.0...v8.0.1
v8.0.0
What's Changed
- build(deps): Bump actions/dependency-review-action from 2 to 3 by @dependabot in #277
- build(deps-dev): Bump tsd from 0.24.1 to 0.25.0 by @dependabot in #278
- chore(.gitignore): add clinic by @Fdawgs in #281
- Don't set the reply code automatically by @gurgunday in #285
New Contributors
- @gurgunday made their first contribution in #285
Full Changelog: v7.6.0...v8.0.0
v7.6.0
v7.5.0
📚 PR:
- disable package-lock generation (#262)
- build(deps-dev): remove @types/ioredis (#263)
- chore: add lint stage to ci and use pre-commit (#265)
- test: fix flaky redis unit tests (#261)
- 96% test coverage (#266)
- build(deps-dev): bump tsd from 0.23.0 to 0.24.1 (#268)
- build(deps): bump tiny-lru from 8.0.2 to 9.0.2 (#269)
- tests: head routes get applied rate limiting hook only once (#267)
- feat: allow function allowList and keyGenerator to be async/await (#256)