diff --git a/docs/changelog.mdx b/docs/changelog.mdx index 997aaf299..1675ef63c 100644 --- a/docs/changelog.mdx +++ b/docs/changelog.mdx @@ -8,20 +8,56 @@ mode: "wide" + + +**New Features & Updates:** +- **Vector Stores:** Integrated Turbopuffer as a vector database provider ([#4428](https://github.com/mem0ai/mem0/pull/4428)) +- **LLMs:** Added MiniMax LLM provider ([#4431](https://github.com/mem0ai/mem0/pull/4431)) + +**Bug Fixes:** +- **Core:** Fixed merging of multiple filter operators for the same key ([#4559](https://github.com/mem0ai/mem0/pull/4559)) +- **Core:** Prevented in-place mutation of metadata in `_create_memory` ([#4529](https://github.com/mem0ai/mem0/pull/4529)) +- **Core:** Preserved custom metadata when updating memory ([#4495](https://github.com/mem0ai/mem0/pull/4495)) +- **Core:** Handled chatty LLM responses in JSON parsing ([#4525](https://github.com/mem0ai/mem0/pull/4525)) +- **Core:** Prevented double embedding in `mem0.add` ([#3996](https://github.com/mem0ai/mem0/pull/3996)) +- **Core:** Raised `ValueError` when deleting nonexistent memory ([#4455](https://github.com/mem0ai/mem0/pull/4455)) +- **Core:** Cleaned up graph store data on `Memory.delete()` ([#4505](https://github.com/mem0ai/mem0/pull/4505)) +- **Vector Stores:** Prevented SQL injection in Databricks vector store ([#4558](https://github.com/mem0ai/mem0/pull/4558)) +- **Vector Stores:** Upgraded MongoDB vector store from deprecated `knnVector` to GA `vectorSearch` ([#3995](https://github.com/mem0ai/mem0/pull/3995)) +- **Vector Stores:** Prevented embedding corruption in Valkey and Redis when vector is `None` ([#4362](https://github.com/mem0ai/mem0/pull/4362)) +- **Vector Stores:** Accepted default `/tmp/chroma` path in `ChromaDbConfig` validator ([#4179](https://github.com/mem0ai/mem0/pull/4179)) +- **Vector Stores:** Wrapped vector and payload in lists for `Langchain.update` ([#4446](https://github.com/mem0ai/mem0/pull/4446)) +- **Graph:** Soft-delete graph relationships instead of hard `DELETE` ([#4188](https://github.com/mem0ai/mem0/pull/4188)) +- **Graph:** Sanitized hyphens in Neo4j Cypher relationship names ([#4154](https://github.com/mem0ai/mem0/pull/4154)) +- **Graph:** Used root LLM config as fallback for graph store instead of hardcoded OpenAI default ([#4466](https://github.com/mem0ai/mem0/pull/4466)) +- **Qdrant:** Fixed `do not remove local path on init` ([#4475](https://github.com/mem0ai/mem0/pull/4475)) +- **Qdrant:** Implemented enhanced metadata filtering operators ([#4127](https://github.com/mem0ai/mem0/pull/4127)) +- **Embeddings:** Fixed OpenAI embedding dimensions ([#4481](https://github.com/mem0ai/mem0/pull/4481)) +- **LLMs:** Omitted `topP` for Anthropic Converse in Bedrock; used `AWSBedrockConfig` in `LlmFactory` ([#4469](https://github.com/mem0ai/mem0/pull/4469)) +- **LLMs:** Avoided sending both `temperature` and `top_p` to Anthropic API ([#4471](https://github.com/mem0ai/mem0/pull/4471)) +- **LLMs:** Handled `None` content and empty candidates in `GeminiLLM` parsing ([#4462](https://github.com/mem0ai/mem0/pull/4462)) +- **LLMs:** Added missing `_parse_response` to `AzureOpenAIStructuredLLM` ([#4434](https://github.com/mem0ai/mem0/pull/4434)) +- **History:** Added timestamps for `DELETE` operations in history ([#4492](https://github.com/mem0ai/mem0/pull/4492)) + +**Improvements:** +- **Vector Stores:** Added vector validation to OpenSearchDB to ensure non-null, non-empty, and correct-dimension vectors ([#4472](https://github.com/mem0ai/mem0/pull/4472)) + + + **Bug Fixes:** -- **Core:** Fixed control characters in LLM JSON responses causing parse failures (#4420) -- **Core:** Replaced hardcoded US/Pacific timezone references with `timezone.utc` (#4404) -- **Core:** Preserved `http_auth` in `_safe_deepcopy_config` for OpenSearch (#4418) -- **Core:** Normalized malformed LLM fact output before embedding (#4224) -- **Embeddings:** Pass `encoding_format='float'` in OpenAI embeddings for proxy compatibility (#4058) -- **LLMs:** Fixed Ollama to pass tools to `client.chat` and parse `tool_calls` from response (#4176) -- **Reranker:** Support nested LLM config in `LLMReranker` for non-OpenAI providers (#4405) -- **Vector Stores:** Cast `vector_distance` to float in Redis search (#4377) +- **Core:** Fixed control characters in LLM JSON responses causing parse failures ([#4420](https://github.com/mem0ai/mem0/pull/4420)) +- **Core:** Replaced hardcoded US/Pacific timezone references with `timezone.utc` ([#4404](https://github.com/mem0ai/mem0/pull/4404)) +- **Core:** Preserved `http_auth` in `_safe_deepcopy_config` for OpenSearch ([#4418](https://github.com/mem0ai/mem0/pull/4418)) +- **Core:** Normalized malformed LLM fact output before embedding ([#4224](https://github.com/mem0ai/mem0/pull/4224)) +- **Embeddings:** Pass `encoding_format='float'` in OpenAI embeddings for proxy compatibility ([#4058](https://github.com/mem0ai/mem0/pull/4058)) +- **LLMs:** Fixed Ollama to pass tools to `client.chat` and parse `tool_calls` from response ([#4176](https://github.com/mem0ai/mem0/pull/4176)) +- **Reranker:** Support nested LLM config in `LLMReranker` for non-OpenAI providers ([#4405](https://github.com/mem0ai/mem0/pull/4405)) +- **Vector Stores:** Cast `vector_distance` to float in Redis search ([#4377](https://github.com/mem0ai/mem0/pull/4377)) **Improvements:** -- **Embeddings:** Improved Ollama embedder with model name normalization and error handling (#4403) +- **Embeddings:** Improved Ollama embedder with model name normalization and error handling ([#4403](https://github.com/mem0ai/mem0/pull/4403)) @@ -763,6 +799,20 @@ mode: "wide" + + +**New Features & Updates:** +- **OSS:** Added pgvector support to NodeJS OSS `VectorStoreFactory` ([#3997](https://github.com/mem0ai/mem0/pull/3997)) + +**Bug Fixes:** +- **OSS:** Made pgvector `pg` import compatible with ESM ([#4544](https://github.com/mem0ai/mem0/pull/4544)) +- **OSS:** Registered pgvector in `VectorStoreFactory` ([#4502](https://github.com/mem0ai/mem0/pull/4502)) +- **OSS:** Used root LLM config as fallback for graph store instead of hardcoded OpenAI default ([#4466](https://github.com/mem0ai/mem0/pull/4466)) +- **OSS:** Fixed `toCamelCase` in Redis `get` method for the payload ([#3172](https://github.com/mem0ai/mem0/pull/3172)) +- **Client:** Fixed Zod Schema incompatibility with OpenAI Structured Outputs API ([#3462](https://github.com/mem0ai/mem0/pull/3462)) + + + **Bug Fixes:** diff --git a/docs/images/openclaw-architecture.png b/docs/images/openclaw-architecture.png index 0362e9c9b..e2640e30a 100644 Binary files a/docs/images/openclaw-architecture.png and b/docs/images/openclaw-architecture.png differ diff --git a/mem0-ts/jest.integration.config.js b/mem0-ts/jest.integration.config.js index 4ddf4b291..fcbe6052d 100644 --- a/mem0-ts/jest.integration.config.js +++ b/mem0-ts/jest.integration.config.js @@ -2,6 +2,7 @@ module.exports = { ...require("./jest.config"), testMatch: ["**/integration/**/*.test.ts"], + globalSetup: "/src/client/tests/integration/global-setup.ts", globalTeardown: "/src/client/tests/integration/global-teardown.ts", // Run integration tests serially to avoid rate limiting and race conditions maxWorkers: 1, diff --git a/mem0-ts/package.json b/mem0-ts/package.json index 8f94c30c7..cfa35d461 100644 --- a/mem0-ts/package.json +++ b/mem0-ts/package.json @@ -1,6 +1,6 @@ { "name": "mem0ai", - "version": "2.4.2", + "version": "2.4.3", "description": "The Memory Layer For Your AI Apps", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/openclaw/CHANGELOG.md b/openclaw/CHANGELOG.md index d464f7d31..a30d05f70 100644 --- a/openclaw/CHANGELOG.md +++ b/openclaw/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to the `@mem0/openclaw-mem0` plugin will be documented in this file. +## [0.4.1] - 2026-03-26 + +### Added +- **Improved extraction quality**: Enhanced noise filtering, deduplication, and better extraction instructions for higher-quality memory capture (#4302) + +### Fixed +- **Credential detection in extraction**: Improved detection of credentials, API keys, and secrets in extraction instructions to prevent them from being stored as memories (#4552) +- **Standalone timestamp extraction**: Prevented extraction of standalone timestamps as memories when no meaningful content accompanies them (#4550) + ## [0.4.0] - 2026-03-16 ### Added diff --git a/openclaw/package.json b/openclaw/package.json index 0b28792fc..92bc14b5e 100644 --- a/openclaw/package.json +++ b/openclaw/package.json @@ -1,6 +1,6 @@ { "name": "@mem0/openclaw-mem0", - "version": "0.4.0", + "version": "0.4.1", "type": "module", "description": "Mem0 memory backend for OpenClaw — platform or self-hosted open-source", "license": "Apache-2.0", diff --git a/pyproject.toml b/pyproject.toml index 756f652a8..06edfec9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mem0ai" -version = "1.0.7" +version = "1.0.8" description = "Long-term memory for AI Agents" authors = [ { name = "Mem0", email = "support@mem0.ai" }