Skip to content

Commit 9043fbf

Browse files
authored
chore(release): bump mem0ai to 2.0.2 (py) and 3.0.3 (ts) (#5078)
1 parent c90cbc7 commit 9043fbf

4 files changed

Lines changed: 41 additions & 2 deletions

File tree

docs/changelog/highlights.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ description: "Major product launches, headline features, and milestones for Mem0
44
mode: "wide"
55
---
66

7+
<Update label="2026-05-08" description="Memory Decay">
8+
9+
**Memory Decay — Recently-Used Memories Surface Higher, Automatically**
10+
11+
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`).
12+
13+
- **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.
14+
- **Reinforcement loop.** Every memory returned in a search has its access history updated, so frequently-used facts naturally float to the top over time.
15+
- **Public score still clamped to `[0, 1]`.** Existing API contract preserved; no client-side changes needed.
16+
- **v3 search only**, fully reversible. See [Memory Decay docs](/platform/features/memory-decay).
17+
18+
</Update>
19+
720
<Update label="2026-04-14" description="Mem0 SDK v2.0.0 / v3.0.0">
821

922
**New Memory Algorithm — State-of-the-Art Accuracy at ~3-4x Lower Cost**

docs/changelog/sdk.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ mode: "wide"
77
<Tabs>
88
<Tab title="Python">
99

10+
<Update label="2026-05-08" description="v2.0.2">
11+
12+
**Bug Fixes:**
13+
- **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))
14+
- **Security:** Harden against SQL injection and prompt injection ([#4997](https://github.com/mem0ai/mem0/pull/4997))
15+
16+
**New Features:**
17+
- **SDK:** Expose `decay` on `project.update` ([#5062](https://github.com/mem0ai/mem0/pull/5062))
18+
19+
**Improvements:**
20+
- **Plugin:** Hand `mem0` search decisions to the agent ([#4992](https://github.com/mem0ai/mem0/pull/4992))
21+
22+
</Update>
23+
1024
<Update label="2026-04-25" description="v2.0.1">
1125

1226
**Bug Fixes:**
@@ -910,6 +924,18 @@ See the [OSS v1 to v2 migration guide](https://docs.mem0.ai/migration/oss-v1-to-
910924
</Tab>
911925

912926
<Tab title="TypeScript">
927+
<Update label="2026-05-08" description="v3.0.3">
928+
929+
**Bug Fixes:**
930+
- **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))
931+
- **Vector Stores:** Fix inverted vector distance in PGVector implementation ([#4944](https://github.com/mem0ai/mem0/pull/4944))
932+
- **Security:** Harden against SQL injection and prompt injection ([#4997](https://github.com/mem0ai/mem0/pull/4997))
933+
934+
**New Features:**
935+
- **SDK:** Expose `decay` on `project.update` ([#5062](https://github.com/mem0ai/mem0/pull/5062))
936+
937+
</Update>
938+
913939
<Update label="2026-04-25" description="v3.0.2">
914940

915941
**Bug Fixes:**

mem0-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mem0ai",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "The Memory Layer For Your AI Apps",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mem0ai"
7-
version = "2.0.1"
7+
version = "2.0.2"
88
description = "Long-term memory for AI Agents"
99
authors = [
1010
{ name = "Mem0", email = "support@mem0.ai" }

0 commit comments

Comments
 (0)