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: bump mem0-ts to 2.4.1, pyproject to 1.0.6, update changelog with bug fixes (#4361)
Kartik15218d4a7f19
diff --git a/docs/changelog.mdx b/docs/changelog.mdxindex 853eea209..efbe8ab4a 100644--- a/docs/changelog.mdx+++ b/docs/changelog.mdx@@ -7,6 +7,22 @@ mode: "wide"<Tabs><Tab title="Python">+<Update label="2026-03-16" description="v1.0.6">++**Bug Fixes:**+- **Telemetry:** Fixed telemetry vector store initialization still running when `MEM0_TELEMETRY` is disabled (#4351)+- **Core:** Removed destructive `vector_store.reset()` call from `delete_all()` that was wiping the entire vector store instead of deleting only the target memories (#4349)+- **OSS:** `OllamaLLM` now respects the configured URL instead of always falling back to localhost (#4320)+- **Core:** Fixed `KeyError` when LLM omits the `entities` key in tool call response (#4313)+- **Prompts:** Ensured JSON instruction is included in prompts when using `json_object` response format (#4271)+- **Core:** Fixed incorrect database parameter handling (#3913)++**Dependencies:**+- Updated LangChain dependencies to v1.0.0 (#4353)+- Bumped protobuf dependency to 5.29.6 and extended upper bound to <7.0.0 (#4326)++</Update>+<Update label="2026-03-03" description="v1.0.5">- **Telemetry Fix**- Fixed an issue where the PostHog client was initialized even after telemetry was disabled. Although events were not captured, the client was unnecessarily initialized.@@ -729,6 +745,16 @@ mode: "wide"<Tab title="TypeScript">+<Update label="2026-03-16" description="v2.4.1">++**Bug Fixes:**+- **Core:** Fixed code block content extraction — content inside code blocks is now properly extracted instead of being deleted (#4317)++**Improvements:**+- **Code Quality:** Fixed linting issues across the SDK (#4334)++</Update>+<Update label="2026-03-14" description="v2.4.0">**Bug Fixes:**diff --git a/mem0-ts/package.json b/mem0-ts/package.jsonindex 4e8250ac3..1a8184963 100644--- a/mem0-ts/package.json+++ b/mem0-ts/package.json@@ -1,6 +1,6 @@{"name": "mem0ai",- "version": "2.4.0",+ "version": "2.4.1","description": "The Memory Layer For Your AI Apps","main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/mem0-ts/pnpm-lock.yaml b/mem0-ts/pnpm-lock.yamlindex b964b207f..8b0e8144a 100644--- a/mem0-ts/pnpm-lock.yaml+++ b/mem0-ts/pnpm-lock.yaml@@ -23,8 +23,8 @@ importers:specifier: ^1.2.0version: 1.2.0(@modelcontextprotocol/[email protected])([email protected])"@langchain/core":- specifier: ^0.3.44+ specifier: ^1.0.0+ version: 1.1.32([email protected]([email protected])([email protected])([email protected]))([email protected])"@mistralai/mistralai":specifier: ^1.5.2version: 1.5.2([email protected])@@ -917,12 +917,12 @@ packages:integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==,}- "@langchain/[email protected]":+ "@langchain/[email protected]":resolution:{- integrity: sha512-3BsSFf7STvPPZyl2kMANgtVnCUvDdyP4k+koP+nY2Tczd5V+RFkuazIn/JOj/xxy/neZjr4PxFU4BFyF1aKXOA==,+ integrity: sha512-ZZNiER5tceFXqZOghfrxNHzM60gcQL5XK/8Ow5+o4OuKHrP1p/RUQBDM9Y1nddi/VmKQj+ncaXXM5KovXTEGGQ==,}- engines: { node: ">=18" }+ engines: { node: ">=20" }"@mistralai/[email protected]":resolution:@@ -1214,6 +1214,12 @@ packages:integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==,}+ "@standard-schema/[email protected]":+ resolution:+ {+ integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==,+ }+"@supabase/[email protected]":resolution:{@@ -1383,12 +1389,6 @@ packages:integrity: sha512-PIzZZlEppgrpoT2QgbnDU+MMzuR6BbCjllj0bM70lWoejMeNJAxCchxnv7J3XFkI8MpygtRpzXrIlmWUBclP5A==,}- "@types/[email protected]":- resolution:- {- integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==,- }-"@types/[email protected]":resolution:{@@ -1813,6 +1813,13 @@ packages:}engines: { node: ">=10" }+ resolution:+ {+ integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==,+ }+ engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 }+resolution:{@@ -3295,16 +3302,28 @@ packages:integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==,}resolution:{- integrity: sha512-cv3ebg0Hh0gRbl72cv/uzaZ+KOdfa2mGF1s74vmB2vlNVO/Ap/O9RYaHV+tpR8nwhGZ50R3ILnTOwSwGP+XQxw==,+ integrity: sha512-unBdaaD/CqAOLIYjd9kT33FgHUMvHSsyBIPbQa+p/rE/Sv/l4pAC5ISEE79zphxi+vV4qxHqEgqahVXj2Xvz7A==,}peerDependencies:+ "@opentelemetry/api": "*"+ "@opentelemetry/exporter-trace-otlp-proto": "*"+ "@opentelemetry/sdk-trace-base": "*"openai: "*"+ ws: ">=7"peerDependenciesMeta:+ "@opentelemetry/api":+ optional: true+ "@opentelemetry/exporter-trace-otlp-proto":+ optional: true+ "@opentelemetry/sdk-trace-base":+ optional: trueopenai:optional: true+ ws:+ optional: trueresolution:@@ -3794,13 +3813,6 @@ packages:}engines: { node: ">=8" }- resolution:- {- integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==,- }- engines: { node: ">=8" }-resolution:{@@ -4271,13 +4283,6 @@ packages:engines: { node: ">= 0.4" }hasBin: true- resolution:- {- integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==,- }- engines: { node: ">= 4" }-resolution:{@@ -4928,6 +4933,13 @@ packages:}hasBin: true+ resolution:+ {+ integrity: sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==,+ }+ hasBin: true+resolution:{@@ -5143,6 +5155,12 @@ packages:integrity: sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==,}+ resolution:+ {+ integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==,+ }+snapshots:"@ampproject/[email protected]":dependencies:@@ -5759,22 +5777,25 @@ snapshots:"@jridgewell/resolve-uri": 3.1.2"@jridgewell/sourcemap-codec": 1.5.0- "@langchain/[email protected]([email protected]([email protected])([email protected])([email protected]))":+ "@langchain/[email protected]([email protected]([email protected])([email protected])([email protected]))([email protected])":dependencies:"@cfworker/json-schema": 4.1.1+ "@standard-schema/spec": 1.1.0ansi-styles: 5.2.0camelcase: 6.3.0decamelize: 1.2.0js-tiktoken: 1.0.19+ langsmith: 0.5.10([email protected]([email protected])([email protected])([email protected]))([email protected])mustache: 4.2.0p-queue: 6.6.2- p-retry: 4.6.2- uuid: 10.0.0- zod: 3.24.2- zod-to-json-schema: 3.24.5([email protected])+ uuid: 11.1.0+ zod: 3.25.76transitivePeerDependencies:+ - "@opentelemetry/api"+ - "@opentelemetry/exporter-trace-otlp-proto"+ - "@opentelemetry/sdk-trace-base"- openai+ - ws"@mistralai/[email protected]([email protected])":dependencies:@@ -5919,6 +5940,8 @@ snapshots:dependencies:"@sinonjs/commons": 3.0.1+ "@standard-schema/[email protected]": {}+"@supabase/[email protected]":dependencies:"@supabase/node-fetch": 2.6.15@@ -6038,8 +6061,6 @@ snapshots:"@types/[email protected]": {}- "@types/[email protected]": {}-"@types/[email protected]": {}"@types/[email protected]": {}@@ -6307,6 +6328,8 @@ snapshots:ansi-styles: 4.3.0supports-color: 7.2.0+ [email protected]: {}+@@ -7389,17 +7412,17 @@ snapshots:+ [email protected]([email protected]([email protected])([email protected])([email protected]))([email protected]):dependencies:"@types/uuid": 10.0.0- chalk: 4.1.2+ chalk: 5.6.2console-table-printer: 2.12.1p-queue: 6.6.2- p-retry: 4.6.2semver: 7.7.1uuid: 10.0.0optionalDependencies:+ ws: 8.18.1@@ -7641,11 +7664,6 @@ snapshots:eventemitter3: 4.0.7p-timeout: 3.2.0- dependencies:- "@types/retry": 0.12.0- retry: 0.13.1-dependencies:p-finally: 1.0.0@@ -7900,8 +7918,6 @@ snapshots:path-parse: 1.0.7supports-preserve-symlinks-flag: 1.0.0- [email protected]: {}-@@ -8313,6 +8329,8 @@ snapshots:+ [email protected]: {}+@@ -8415,3 +8433,5 @@ snapshots:zod: 3.24.2++ [email protected]: {}diff --git a/pyproject.toml b/pyproject.tomlindex cc8b371d3..3053ecf69 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "mem0ai"-version = "1.0.5"+version = "1.0.6"description = "Long-term memory for AI Agents"authors = [{ name = "Mem0", email = "[email protected]" }