ts-v3.1.7
Mem0 Node SDK (v3.1.7)
Added 1
- Add providerOverride to the Bedrock LLMConfig for explicit provider name when model is an application inference profile ARN
Fixed 3
- Redis and Valkey vector store search(), get(), and list() methods now preserve agent_id, run_id, and user_id as snake_case in the returned payload instead of camelCasing them
- Embedding-cache lookups now use Object.prototype.hasOwnProperty.call() to prevent memory text matching inherited Object.prototype property names from short-circuiting lookup and corrupting stored vectors
- Client getAll() now sends page and pageSize as independent query parameters instead of requiring both to be set before either is sent
Security 1
- Resolved 17 high and critical severity dependency vulnerabilities across 5 pnpm workspaces via pnpm.overrides and tar patch
From Mem0
Bug Fixes:
- Vector Stores: Redis and Valkey
search()/get()/list()now preserveagent_id,run_id, anduser_idas snake_case in the returned payload. The shared payload formatter camelCased every key including those three identity fields, so entity ids came back asagentId/runId/userId, inconsistent with every other vector store (#6902) - Memory (OSS): Embedding-cache lookups now use
Object.prototype.hasOwnProperty.call()instead of theinoperator or a falsy||check. Memory text matching an inheritedObject.prototypeproperty name (constructor,toString, and similar) previously short-circuited the lookup and resolved to that inherited value instead of computing a real embedding, silently corrupting the stored vector (#6903) - Client:
getAll()now sendspageandpageSizeas independent query params instead of requiring both to be set before either was sent. Passing onlypageSizewithoutpagepreviously had it silently dropped, so results came back at the server's default page size (#6900) - LLMs: Add
providerOverrideto the BedrockLLMConfig, an explicit provider name for whenmodelis an application inference profile ARN whose opaque ID has no provider substring forextractProvider()to detect. Without it, those ARNs threw before the provider-specific settings could be initialized (#6899)
Security:
- Dependencies: Resolved 17 additional high and critical severity dependency vulnerabilities across 5 pnpm workspaces (
mem0-ts,vercel-ai-sdk,n8n-nodes-mem0,zapier-mem0,server/dashboard) viapnpm.overridesand atarpatch (#7032)