v2.0.4
mem0ai/mem0v2.0.4May 27, 2026by whysosaket
AI Summary
A feature update for the Mem0 Python SDK adding a cascading delete option.
Key Highlights
- Client now accepts delete_linked option
- Deletes linked memories transitively
New Features
- Cascading delete functionality for linked memories
Full Release Notes
## Mem0 Python SDK (v2.0.4) **New Features:** - **Client:** `delete()` and async `delete()` accept `delete_linked` (default `False`). When `True`, deleting a memory also removes the older memories it superseded (the v3 `linked_memory_ids` chain), transitively — the delete-side counterpart of `latest_only`, so a superseded memory does not resurface after the current one is deleted ([#5270](https://github.com/mem0ai/mem0/pull/5270))