mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
b737452294
* Update redis requirement from 0.22 to 0.23 Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version. - [Release notes](https://github.com/redis-rs/redis-rs/releases) - [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.22.0...redis-0.23.3) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * docs: update changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
1.0 KiB
1.0 KiB
Changes
Unreleased
- Update
redis
dependency to0.23
.
0.4.0
- Add
Builder::key_by
for setting a custom rate limit key function. - Implement
Default
forRateLimiter
. RateLimiter
is marked#[non_exhaustive]
; useRateLimiter::default()
instead.- In the middleware errors from the count function are matched and respond with
INTERNAL_SERVER_ERROR
if it's an unexpected error, instead of the defaultTOO_MANY_REQUESTS
. - Minimum supported Rust version (MSRV) is now 1.59 due to transitive
time
dependency.
0.3.0
Limiter::builder
now takes animpl Into<String>
.- Removed lifetime from
Builder
. - Updated
actix-session
dependency to0.7
.
0.2.0
- 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
- Adopted into @actix org from https://github.com/0xmad/actix-limitation.