Skip to content

Releases: long2ice/fastapi-limiter

v0.1.6

05 Jan 09:14
Compare
Choose a tag to compare
ci: upgrade python 3.9

v0.1.5

16 Nov 14:00
Compare
Choose a tag to compare
  • Replace aioredis to redis.

v0.1.4

18 May 02:46
Compare
Choose a tag to compare
  • Now use lua script.
  • Break change: You shoud call FastAPILimiter.init with await.
    await FastAPILimiter.init(redis)

v0.1.3

31 Mar 07:33
Compare
Choose a tag to compare
  • Support multiple rate strategy for one route. (#3)

v0.1.2

24 Feb 04:57
Compare
Choose a tag to compare
  • Use milliseconds instead of seconds as default unit of expiration.
  • Update default_callback, round milliseconds up to nearest second for Retry-After value.
  • Access response in the callback.
  • Replace transaction with pipeline.

v0.1.1

07 Jan 06:12
Compare
Choose a tag to compare
  • Configuring the global default through the FastAPILimiter.init method.
  • Update status to 429 when too many requests.
  • Update default_callback params and add Retry-After response header.

v0.1.0

09 Nov 14:04
Compare
Choose a tag to compare
  • This is first version.