diff --git a/docs/changelog/highlights.mdx b/docs/changelog/highlights.mdx index 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 Mem0 mode: "wide" --- + + +**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). + + + **New Memory Algorithm — State-of-the-Art Accuracy at ~3-4x Lower Cost** diff --git a/docs/changelog/sdk.mdx b/docs/changelog/sdk.mdx index d20702f98..9025b5e42 100644 --- a/docs/changelog/sdk.mdx +++ b/docs/changelog/sdk.mdx @@ -7,6 +7,20 @@ mode: "wide" + + +**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)) + + + **Bug Fixes:** @@ -910,6 +924,18 @@ See the [OSS v1 to v2 migration guide](https://docs.mem0.ai/migration/oss-v1-to- + + +**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)) + + + **Bug Fixes:** diff --git a/mem0-ts/package.json b/mem0-ts/package.json index 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.toml index 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 = "support@mem0.ai" }