Releases: mem0ai/mem0
Releases · mem0ai/mem0
Mem0 Python SDK (v2.0.2)
Mem0 Python SDK (v2.0.2)
Bug Fixes:
- Telemetry: Stitch OSS and platform PostHog identities on
MemoryClientinit so$identifyevents fire and a single user is no longer tracked as two or three disconnected personas (#5040) - Security: Harden against SQL injection and prompt injection (#4997)
New Features:
- SDK: Expose
decayonproject.update(#5062)
Improvements:
- Plugin: Hand
mem0search decisions to the agent (#4992)
Mem0 Node SDK (v3.0.2)
Mem0 Node SDK (v3.0.3)
Bug Fixes:
- Telemetry: Stitch OSS and platform PostHog identities on
MemoryClientinit so$identifyevents fire and a single user is no longer tracked as two or three disconnected personas (#5040) - Vector Stores: Fix inverted vector distance in PGVector implementation (#4944)
- Security: Harden against SQL injection and prompt injection (#4997)
New Features:
- SDK: Expose
decayonproject.update(#5062)
Mem0 OpenClaw Plugin (v1.0.11)
Mem0 OpenClaw Plugin (v1.0.11)
New Features:
- Skills-mode auto-setup:
enableSkillsConfig()now runs automatically after onboarding — enables triage, recall (with reranking + keyword search), and dream consolidation withtools.profile = "full"and disables the built-in session-memory hook to avoid conflicts - Memory runtime capability: Plugin now exposes
runtime.getMemorySearchManager()andresolveMemoryBackendConfig()on the registered memory capability, enabling OpenClaw gateway to query memory status and backend config directly - Dimension-aware collections: OSS wizard detects embedder dimension changes and creates a new collection (
mem0_<dims>d) automatically, with a warning about old memories being inaccessible under the new embedder - Tool documentation in skills: Both
memory-triageandmemory-dreamSKILL.md files now include full tool reference sections listing all available tools with parameters
Improvements:
- Auto-capture and auto-recall default to enabled:
autoCaptureandautoRecallnow default totrue(wasfalse). Manifest descriptions updated accordingly. Ignored in skills mode memory_updateover delete+add: Skills now prefermemory_updatefor in-place edits — atomic and preserves edit history. Consolidation pattern updated: update best memory, delete redundant ones- Search threshold lowered: Default
searchThresholdreduced from0.5to0.1for broader recall. Removed hardcoded0.6recall-specific override — all searches now use the configured threshold - Embedder dimension propagation: Vector store config auto-resolves dimensions from embedder config when not explicitly set. Syncs
dimensionandembeddingModelDimsfields for Qdrant/PGVector compatibility - Config file write safety:
writeFullConfig()now re-reads and deep-merges thepluginssection before writing, preservinginstallsandslotswritten by the OpenClaw gateway - Additional embedder models: Added
mxbai-embed-large(1024),all-minilm(384), andsnowflake-arctic-embed(1024) to known embedder dimensions
Security:
- Bumped
protobufjsto>=7.5.5via pnpm overrides (GHSA-xq3m-2v4x-88gg) (#5012)
Fixes:
- Moved
bootstrapTelemetryFlag()and removedensureInstallRecord()from module-level side effects — both now run insideregister()to avoid crashes when loaded outside OpenClaw gateway - Fixed OSS history DB path resolution: absolute paths no longer passed through
resolvePath(), preventing double-prefix bugs - Manifest
providerAuthEnvVarsreplaced with spec-compliantsetup.providersformat usingid+envVars
Dependencies:
- Bumped
mem0aifrom3.0.1to3.0.2 - Bumped
pluginApiandminGatewayVersioncompat to>=2026.4.24
Mem0 Python SDK (v2.0.1)
Mem0 Python SDK (v2.0.1)
Bug Fixes:
- Client: Map
user_id,agent_id,run_identity params to filters inGET /memories(#4960) - Memory: Honor
promptparam in vector store extraction pipeline (#4914) - Memory: Add missing
text_lemmatizedfield inAsyncMemory._create_memory(#4886) - Memory: Merge same-key operator dicts in AND metadata filters (#4853)
- LLMs: Narrow
_is_reasoning_modelcheck to not matchgpt-5.xvariants (#4746) - Vector Stores: Add
ca_certsconfig option for Elasticsearch vector store (#3993) - Vector Stores: Add
agent_idandrun_idto Elasticsearch/OpenSearch default mappings (#4906) - Embeddings: Set FastEmbed
embedding_dimsfrom model metadata at init (#4711)
Security:
- Bump vulnerable dependencies to patched versions (#4835)
Mem0 Node SDK (v3.0.2)
Mem0 Node SDK (v3.0.2)
Bug Fixes:
- LLMs: Forward
timeoutconfig to OpenAI client in JS OSS LLM providers (#4770)
Improvements:
Mem0 OpenClaw Plugin (v1.0.10)
Mem0 OpenClaw Plugin (v1.0.10)
Security:
- Telemetry
distinct_idnow uses SHA-256 instead of MD5 — prevents rainbow-table reversal of API key hashes - User email is now SHA-256 hashed before sending as
distinct_id— no PII in telemetry payloads - Declared PostHog telemetry endpoint (
us.i.posthog.com) inproviderEndpoints
Fixes:
- Fixed version-pinned install records preventing plugin updates.
ensureInstallRecord()now detects semver-pinned specs (e.g.@mem0/openclaw-mem0@1.0.7) and rewrites them to@latestorclawhub:prefix soopenclaw plugins updateresolves to the newest release - Fixed
searchThresholddefault inconsistency: standardized to0.3across docs, README, and manifest PLUGIN_VERSIONnow injected at build time via tsupdefinefrompackage.json— no more hardcoded version strings
Manifest Compliance:
- Removed non-spec fields:
requiredEnvVars,dataLocations,privacy,setup(withexternalEndpoints,providers,requiresRuntime,postInstallHint) - Replaced
setup.externalEndpointswith spec-compliantproviderEndpointsusingendpointClass+hostsformat - Env var declarations now rely solely on
providerAuthEnvVars(already spec-compliant)
Docs:
- Fixed
openclaw plugins updatecommand: uses plugin ID (openclaw-mem0), not npm package name (@mem0/openclaw-mem0) - Added update section to README
- Removed redundant "Key Features" and "Conclusion" sections from integration docs
Mem0 OpenClaw Plugin (v1.0.9)
Mem0 OpenClaw Plugin (v1.0.9)
Security & Compliance:
- Added top-level
requiredEnvVarsto plugin manifest, declaring env vars per mode (platform, OSS OpenAI, OSS Anthropic, OSS Ollama). Fixes ClaHub scanner "required env vars: none" mismatch - Added
sensitive: trueand descriptions toapiKeyanduserEmailinconfigSchema— previously only declared inuiHints - Added
default: falsewith descriptions toautoCaptureandautoRecallinconfigSchemaso scanner can confirm opt-in defaults - Added
dataLocationsfield to manifest declaring all persistence paths (config, vectorStore, historyDb, dreamState) - Added
privacyfield to manifest documenting data flow for platform vs open-source mode and credential storage guidance - Added
externalEndpointstosetupsection declaring api.mem0.ai and app.mem0.ai with purpose and requirement context
Tests:
- Replaced direct
process.envaccess intests/cli-commands.test.tsandtests/fs-safe.test.tswithvi.stubEnv/vi.unstubAllEnvs. Fixes ClaHub static analysis flag for "environment variable access combined with network send" - 421 tests across 15 test files
Mem0 OpenClaw Plugin (v1.0.8)
Mem0 OpenClaw Plugin (v1.0.8)
New Features:
- OSS Onboarding Wizard: New guided 4-step interactive setup for open-source mode — walks through LLM provider, embedding provider, vector store, and user ID selection with prefilled defaults
- Agent-Friendly CLI: Added
--jsonflag to all 16 CLI commands for machine-readable output. Agents can callopenclaw mem0 help --jsonto discover every command and flag - Non-Interactive OSS Setup: Added
--mode open-sourcewith--oss-llm,--oss-embedder,--oss-vectorflags for fully automated OSS configuration without prompts - JSON Helpers Module: New
cli/json-helpers.tswithjsonOut,jsonErr, andredactSecretsutilities for consistent structured output
Improvements:
- Init Flow Redesigned: Replaced 3-option flat menu with 2-level structure: Platform (email login or API key) and Open Source (guided wizard)
- Provider Selection: LLM providers: OpenAI, Ollama, Anthropic. Embedding providers: OpenAI, Ollama. Vector stores: Qdrant, PGVector
- Input Prefill: All prompts with defaults (base URL, user ID) now prefill the input field instead of showing defaults in brackets
- Smart Reuse: When LLM and embedder use the same provider, API key and base URL are automatically reused from the LLM step
- Default Model: Updated default LLM model to
gpt-5-mini - Manifest Compliance: Removed undocumented fields, aligned env var declarations between SKILL.md and manifest, fixed
configSchema.requiredfor clean installs
Mem0 Python CLI (v0.2.4)
Mem0 Python CLI (v0.2.4)
New Features:
- V3 API Routes: Migrated
add,search, andlistcommands from v1/v2 to v3 API endpoints —POST /v3/memories/add/,POST /v3/memories/search/,POST /v3/memories/. Aligns both CLIs with the Python and TypeScript SDKs which already use v3 (#4916)
Breaking Changes:
--graph/--no-graphremoved: Theenable_graphconfig option,--graphand--no-graphCLI flags, andMEM0_ENABLE_GRAPHenvironment variable have been removed from both CLIs. Graph memory is now a project-level setting on the Platform (#4916)
Mem0 Node CLI (v0.2.4)
Mem0 Node CLI (v0.2.4)
New Features:
- V3 API Routes: Migrated
add,search, andlistcommands from v1/v2 to v3 API endpoints —POST /v3/memories/add/,POST /v3/memories/search/,POST /v3/memories/. Aligns both CLIs with the Python and TypeScript SDKs which already use v3 (#4916)
Breaking Changes:
--graph/--no-graphremoved: Theenable_graphconfig option,--graphand--no-graphCLI flags, andMEM0_ENABLE_GRAPHenvironment variable have been removed from both CLIs. Graph memory is now a project-level setting on the Platform (#4916)