1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

make RateLimiter non-exhaustive

This commit is contained in:
Rob Ede
2022-07-31 03:03:43 +01:00
parent cd9dc163e5
commit 6e79465362
4 changed files with 28 additions and 41 deletions

View File

@ -1,7 +1,8 @@
# Changes
## Unreleased - 2022-xx-xx
- Implement `Default` for `RateLimiter`.
- `RateLimiter` can no longer be constructed without `::default()`.
## 0.3.0 - 2022-07-11
- `Limiter::builder` now takes an `impl Into<String>`.
@ -10,14 +11,11 @@
## 0.2.0 - 2022-03-22
- Update Actix Web dependency to v4 ecosystem. [#229]
- Update Tokio dependencies to v1 ecosystem. [#229]
- Rename `Limiter::{build => builder}()`. [#232]
- Rename `Builder::{finish => build}()`. [#232]
- Exceeding the rate limit now returns a 429 Too Many Requests response. [#232]
[#229]: https://github.com/actix/actix-extras/pull/229
[#232]: https://github.com/actix/actix-extras/pull/232
- Update Actix Web dependency to v4 ecosystem.
- Update Tokio dependencies to v1 ecosystem.
- Rename `Limiter::{build => builder}()`.
- Rename `Builder::{finish => build}()`.
- Exceeding the rate limit now returns a 429 Too Many Requests response.
## 0.1.4 - 2022-03-18