From 6b1e46c23a84cc491f10e93903117b39f7d4e769 Mon Sep 17 00:00:00 2001 From: chaithanyak42 Date: Wed, 27 May 2026 22:05:27 +0530 Subject: [PATCH] chore(release): bump mem0ai to 2.0.4 (py) and 3.0.5 (ts) for delete_linked Patch release so the new delete_linked option is publishable to PyPI/npm. Adds Python v2.0.4 and TypeScript v3.0.5 changelog entries. Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/changelog/sdk.mdx | 14 ++++++++++++++ mem0-ts/package.json | 2 +- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/changelog/sdk.mdx b/docs/changelog/sdk.mdx index feebc74ca..566ce2415 100644 --- a/docs/changelog/sdk.mdx +++ b/docs/changelog/sdk.mdx @@ -7,6 +7,13 @@ mode: "wide" + + +**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)) + + + **Bug Fixes:** @@ -932,6 +939,13 @@ See the [OSS v1 to v2 migration guide](https://docs.mem0.ai/migration/oss-v1-to- + + +**New Features:** +- **Client:** `delete()` accepts an options object with `deleteLinked` (serialized as `delete_linked`, default `false`). When `true`, deleting a memory also removes the older memories it superseded (the v3 linked chain), transitively — the delete-side counterpart of `latestOnly`, so a superseded memory does not resurface after the current one is deleted ([#5270](https://github.com/mem0ai/mem0/pull/5270)) + + + **Bug Fixes:** diff --git a/mem0-ts/package.json b/mem0-ts/package.json index ebec11c32..cc24d72ca 100644 --- a/mem0-ts/package.json +++ b/mem0-ts/package.json @@ -1,6 +1,6 @@ { "name": "mem0ai", - "version": "3.0.4", + "version": "3.0.5", "description": "The Memory Layer For Your AI Apps", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/pyproject.toml b/pyproject.toml index 300d88a6a..13eb2fac6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mem0ai" -version = "2.0.3" +version = "2.0.4" description = "Long-term memory for AI Agents" authors = [ { name = "Mem0", email = "support@mem0.ai" }