The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
chore(release): bump mem0ai to 2.0.2 (py) and 3.0.3 (ts) (#5078)
Mragank Shekhar9043fbf61e60
diff --git a/docs/changelog/highlights.mdx b/docs/changelog/highlights.mdxindex a20a2e17e..71530a1b2 100644--- a/docs/changelog/highlights.mdx+++ b/docs/changelog/highlights.mdx@@ -4,6 +4,19 @@ description: "Major product launches, headline features, and milestones for Mem0mode: "wide"---+<Update label="2026-05-08" description="Memory Decay">++**Memory Decay — Recently-Used Memories Surface Higher, Automatically**++Per-project search-time ranking bias that boosts recently-touched memories and gently dampens stale ones. Off by default; opt in per project via the `decay` field on the project endpoint, or via `client.project.update(decay=True)` in the SDKs (Python `v2.0.2` / TypeScript `v3.0.3`).++- **Soft bias, never a filter.** The scaling factor stays in `0.3×–1.5×`. Decay can reorder candidates but never zeros them out — anything that surfaced before decay can still surface after.+- **Reinforcement loop.** Every memory returned in a search has its access history updated, so frequently-used facts naturally float to the top over time.+- **Public score still clamped to `[0, 1]`.** Existing API contract preserved; no client-side changes needed.+- **v3 search only**, fully reversible. See [Memory Decay docs](/platform/features/memory-decay).++</Update>+<Update label="2026-04-14" description="Mem0 SDK v2.0.0 / v3.0.0">**New Memory Algorithm — State-of-the-Art Accuracy at ~3-4x Lower Cost**diff --git a/docs/changelog/sdk.mdx b/docs/changelog/sdk.mdxindex d20702f98..9025b5e42 100644--- a/docs/changelog/sdk.mdx+++ b/docs/changelog/sdk.mdx@@ -7,6 +7,20 @@ mode: "wide"<Tabs><Tab title="Python">+<Update label="2026-05-08" description="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))++</Update>+<Update label="2026-04-25" description="v2.0.1">**Bug Fixes:**@@ -910,6 +924,18 @@ See the [OSS v1 to v2 migration guide](https://docs.mem0.ai/migration/oss-v1-to-</Tab><Tab title="TypeScript">+<Update label="2026-05-08" description="v3.0.3">++**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))+- **Vector Stores:** Fix inverted vector distance in PGVector implementation ([#4944](https://github.com/mem0ai/mem0/pull/4944))+- **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))++</Update>+<Update label="2026-04-25" description="v3.0.2">**Bug Fixes:**diff --git a/mem0-ts/package.json b/mem0-ts/package.jsonindex ec7235bac..b83f33c4f 100644--- a/mem0-ts/package.json+++ b/mem0-ts/package.json@@ -1,6 +1,6 @@{"name": "mem0ai",- "version": "3.0.2",+ "version": "3.0.3","description": "The Memory Layer For Your AI Apps","main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/pyproject.toml b/pyproject.tomlindex c5bf151c4..e905f57d2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "mem0ai"-version = "2.0.1"+version = "2.0.2"description = "Long-term memory for AI Agents"authors = [{ name = "Mem0", email = "[email protected]" }