* Adds the option to include a custom path, allowing for router-wide or API-wide rate limiters. * Adds the option to include a custom user callable which extracts the username from request headers and makes rate limits per-user rather than per-IP.
0.3.0
Uses FastAPI dependencies instead of decorators to simplify the use of the rate limiter.
0.2.0
* Adds new decorator, multi_rate_limit, which allows for multiple rate limiters on the same endpoint. * Fixes a couple of bugs related to requests not being registered and stored on Redis.
0.1.0
First version of rate limiter, without user-specific rate limits.