1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
actix-extras/actix-limitation/CHANGES.md
dependabot[bot] 2de4b1886c
build(deps): update redis requirement from 0.25 to 0.26 (#451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-07-30 12:05:02 +01:00

1.2 KiB

Changes

Unreleased

  • Update redis dependency to 0.26.

0.5.1

  • No significant changes since 0.5.0.

0.5.0

  • Update redis dependency to 0.23.
  • Update actix-session dependency to 0.8.

0.4.0

  • Add Builder::key_by for setting a custom rate limit key function.
  • Implement Default for RateLimiter.
  • RateLimiter is marked #[non_exhaustive]; use RateLimiter::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 default TOO_MANY_REQUESTS.
  • Minimum supported Rust version (MSRV) is now 1.59 due to transitive time dependency.

0.3.0

  • Limiter::builder now takes an impl Into<String>.
  • Removed lifetime from Builder.
  • Updated actix-session dependency to 0.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