Mem0 Python SDK (v2.0.18)
Bug Fixes:
- Core: Percent-escape
%,&, and=inuser_id,agent_id, andrun_idwhen building the session scope key for the recent-conversation buffer, so the key stays unambiguous for ids containing those characters. Ordinary ids keep their existing key; an id already containing%,&, or=maps to a new key, so its buffer starts empty once and refills on the nextadd(). Stored memories are unaffected. Reported by @OfficialAbhinavSingh (#6892) - Vector Stores: Raise
ValueErrorwhen a PGVectorin/ninfilter value is not a list. A string value was previously iterated character by character into the generated= ANY(...)array (so{"user_id": {"in": "alice"}}matcheda,l,i,c,e), and a non-iterable value raised a bareTypeErrorfrom deep inside filter building (#6879) - Vector Stores: Reject
index_accuracy=0in the Oracle AI Vector Search config. The range check sat behind a truthiness test, so0skipped validation entirely and was passed through toWITH TARGET ACCURACY 0instead of raising (#6848) - Vector Stores: Close the Oracle connection or pool that Mem0 opened when initialization fails. A client version check, a database version check, or a
create_col()error previously propagated with the connection still open, leaking it for the life of the process. A caller-suppliedclientis left untouched (#6839)