v2.0.2
mem0ai/mem0v2.0.2May 7, 2026by whysosaket
AI Summary
Bug fixes including telemetry identity stitching, security hardening against SQL injection and prompt injection, and new decay configuration option.
Key Highlights
- Telemetry: Stitch OSS and platform PostHog identities on MemoryClient init so $identify events fire
- Security: Harden against SQL injection and prompt injection
- SDK: Expose `decay` on `project.update`
- Plugin: Hand `mem0` search decisions to the agent
New Features
- Expose decay on project.update
Full Release Notes
## Mem0 Python SDK (v2.0.2) **Bug Fixes:** - **Telemetry:** Stitch OSS and platform PostHog identities on `MemoryClient` init so `$identify` events fire and a single user is no longer tracked as two or three disconnected personas ([#5040](https://github.com/mem0ai/mem0/pull/5040)) - **Security:** Harden against SQL injection and prompt injection ([#4997](https://github.com/mem0ai/mem0/pull/4997)) **New Features:** - **SDK:** Expose `decay` on `project.update` ([#5062](https://github.com/mem0ai/mem0/pull/5062)) **Improvements:** - **Plugin:** Hand `mem0` search decisions to the agent ([#4992](https://github.com/mem0ai/mem0/pull/4992))