Skip to content

4.9.3 — 2026-05-13

← 4.10.0 | 4.9.2 → | ↑ 4.x series

Changed

Helpers - Rate Limit

  • Lazy Redis client initialization - The FastAPIRestRateLimitHandler now lazily initializes its Redis client to avoid import cycles and enable TYPE_CHECKING imports.
    • Added _create_redis_client() static method that imports AsyncRedisAdapter at call time with # noqa: PLC0415.
    • Changed from eager self.redis_client = AsyncRedisAdapter() in __init__ to lazy self._redis_client assignment.
    • Renamed redis_client to _redis_client to indicate private API.

Dependencies

  • Core dependencies - Updated version pins for several production dependencies.
    • pydantic: >=2.13.3>=2.13.4
    • pydantic-settings: >=2.14.0>=2.14.1
    • requests: >=2.33.1>=2.34.0
    • elasticsearch: >=9.3.0>=9.4.0
    • boto3 (minio group): >=1.43.2>=1.43.6
    • scylla-driver: >=3.29.9>=3.29.10
    • sentry-sdk: >=2.58.0>=2.60.0
  • Dev dependencies - Updated development and typing stubs.
    • boto3-stubs: >=1.43.2>=1.43.6
    • ty: >=0.0.34>=0.0.35
    • types-grpcio: >=1.0.0.20260408>=1.0.0.20260508
    • types-protobuf: >=7.34.1.20260503>=7.34.1.20260508
    • types-pymysql: >=1.1.0.20260408>=1.1.0.20260508
    • types-regex: >=2026.4.4.20260408>=2026.5.9.20260510
    • types-requests: >=2.33.0.20260503>=2.33.0.20260513
    • pymdown-extensions (docs group): >=10.21.2>=10.21.3

Tests

Test Configuration

  • Elasticsearch test container version - Updated ELASTIC__IMAGE from elastic/elasticsearch:9.4.0 to elastic/elasticsearch:9.4.1 in .env.test.