v2.0.20
mem0ai/mem0v2.0.20Sep 2, 2026by kartik-mem0
AI Summary
This release focuses on improving reliability and validation within the Python SDK. Key changes include updating OSS notice handling to use a static, cacheable repository file instead of a remote API to ensure fail-safety, and updating RedisDBConfig to use Pydantic's native validation for strict type checking.
Key Highlights
- OSS notices configuration now comes from a static, cacheable repository file with a bundled disabled fallback.
- RedisDBConfig now uses Pydantic's native `extra="forbid"` handling for stricter validation.
- Notice evaluation is now fail-safe when the remote config is unavailable.
- PostHog feature-flag requests have been removed from notice evaluation.
Full Release Notes
**Improvements:** - **OSS notices:** Notice configuration now comes from a static, cacheable repository file with a bundled disabled fallback and deterministic rollout assignment, instead of calling PostHog's feature-flag evaluation API. This keeps notices fail-safe when the remote config is unavailable and removes the PostHog feature-flag request from notice evaluation ([#7185](https://github.com/mem0ai/mem0/pull/7185)) - **Vector Stores:** `RedisDBConfig` now uses Pydantic's native `extra="forbid"` handling for unknown fields instead of a custom model validator, preserving strict validation while returning standard Pydantic errors ([#7089](https://github.com/mem0ai/mem0/pull/7089))