# Mem0 v2.0.18 — Mem0 Python SDK (v2.0.18) - Product: Mem0 (https://whatsnew.fyi/product/mem0) - Vendor: Mem0 - Date: 2026-08-11 - Version: v2.0.18 - Original notes: https://github.com/mem0ai/mem0/releases/tag/v2.0.18 - Permalink: https://whatsnew.fyi/product/mem0/releases/v2.0.18 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Percent-escape `%`, `&`, and `=` in `user_id`, `agent_id`, and `run_id` when building the session scope key for the recent-conversation buffer to keep the key unambiguous for ids containing those characters - **fixed** — Raise `ValueError` when a PGVector `in`/`nin` filter value is not a list instead of iterating a string character by character or raising a bare `TypeError` - **fixed** — Reject `index_accuracy=0` in the Oracle AI Vector Search config by applying the range check regardless of truthiness - **fixed** — Close the Oracle connection or pool that Mem0 opened when initialization fails due to client version check, database version check, or `create_col()` error **Bug Fixes:** - **Core:** Percent-escape `%`, `&`, and `=` in `user_id`, `agent_id`, and `run_id` when 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 next `add()`. Stored memories are unaffected. Reported by [@OfficialAbhinavSingh](https://github.com/OfficialAbhinavSingh) ([#6892](https://github.com/mem0ai/mem0/pull/6892)) - **Vector Stores:** Raise `ValueError` when a PGVector `in`/`nin` filter value is not a list. A string value was previously iterated character by character into the generated `= ANY(...)` array (so `{"user_id": {"in": "alice"}}` matched `a`, `l`, `i`, `c`, `e`), and a non-iterable value raised a bare `TypeError` from deep inside filter building ([#6879](https://github.com/mem0ai/mem0/pull/6879)) - **Vector Stores:** Reject `index_accuracy=0` in the Oracle AI Vector Search config. The range check sat behind a truthiness test, so `0` skipped validation entirely and was passed through to `WITH TARGET ACCURACY 0` instead of raising ([#6848](https://github.com/mem0ai/mem0/pull/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-supplied `client` is left untouched ([#6839](https://github.com/mem0ai/mem0/pull/6839))