4.9.3 — 2026-05-13¶
← 4.10.0 | 4.9.2 → | ↑ 4.x series
Changed¶
Helpers - Rate Limit¶
- Lazy Redis client initialization - The
FastAPIRestRateLimitHandlernow lazily initializes its Redis client to avoid import cycles and enableTYPE_CHECKINGimports.- Added
_create_redis_client()static method that importsAsyncRedisAdapterat call time with# noqa: PLC0415. - Changed from eager
self.redis_client = AsyncRedisAdapter()in__init__to lazyself._redis_clientassignment. - Renamed
redis_clientto_redis_clientto indicate private API.
- Added
Dependencies¶
- Core dependencies - Updated version pins for several production dependencies.
pydantic:>=2.13.3→>=2.13.4pydantic-settings:>=2.14.0→>=2.14.1requests:>=2.33.1→>=2.34.0elasticsearch:>=9.3.0→>=9.4.0boto3(minio group):>=1.43.2→>=1.43.6scylla-driver:>=3.29.9→>=3.29.10sentry-sdk:>=2.58.0→>=2.60.0
- Dev dependencies - Updated development and typing stubs.
boto3-stubs:>=1.43.2→>=1.43.6ty:>=0.0.34→>=0.0.35types-grpcio:>=1.0.0.20260408→>=1.0.0.20260508types-protobuf:>=7.34.1.20260503→>=7.34.1.20260508types-pymysql:>=1.1.0.20260408→>=1.1.0.20260508types-regex:>=2026.4.4.20260408→>=2026.5.9.20260510types-requests:>=2.33.0.20260503→>=2.33.0.20260513pymdown-extensions(docs group):>=10.21.2→>=10.21.3
Tests¶
Test Configuration¶
- Elasticsearch test container version - Updated
ELASTIC__IMAGEfromelastic/elasticsearch:9.4.0toelastic/elasticsearch:9.4.1in.env.test.