4.20.0 — 2026-08-03¶
← 4.19.0 | 5.0.0 → | ↑ 4.x series
Changed¶
Helpers - FastAPI Rate Limit¶
- FastAPI Rate Limit Interceptor Deprecated -
FastAPIRestRateLimitHandler, thefastapi.rate_limit.identifiershelpers (extract_bearer_token,resolve_jwt_access_token_sub), andFastAPIRateLimitConfigare deprecated. InstantiatingFastAPIRestRateLimitHandleror calling the identifier helpers raisesDeprecationError.FastAPIRateLimitConfigemits aDeprecationWarningon instantiation (it cannot raise becauseBaseConfiginstantiates it as a field default at import time; the internal default suppresses the warning). - Removed in 5.0.0 - The deprecated FastAPI rate-limit handler, identifiers,
FastAPIRateLimitConfig, andarchipy.helpers.interceptors.fastapiwere deleted in 5.0.0. Use fastapi-redis-sdk (rate_limit()FastAPI dependency). See FastAPI Rate Limiting. - Unaffected - The gRPC rate-limit interceptor,
RateLimitUtils, andRateLimitWindowDTOremain supported and are not deprecated.
Tests¶
Tests - FastAPI Rate Limit¶
- Feature Suite Removed - Removed
features/fastapi_rate_limit.featureandfeatures/steps/fastapi_rate_limit_steps.pytogether with the deprecated handler.