v2.0.15
mem0ai/mem0v2.0.15Aug 1, 2026by kartik-mem0
AI Summary
This release fixes pagination issues with delete_all() and updates the default reranker model to gpt-5-mini.
Key Highlights
- delete_all() now paginates through vector store in batches of 1000
- Cap Supabase search() and list() top_k at 1000 instead of erroring
- Set size on Elasticsearch KNN search queries
- Changed default reranker model to gpt-5-mini
Full Release Notes
**Bug Fixes:** - **Core:** `delete_all()` now paginates through the vector store in batches of 1000 instead of listing once, so accounts with more memories than a single page (most vector stores default to ~100) had the remainder silently left behind ([#6636](https://github.com/mem0ai/mem0/pull/6636)) - **Vector Stores:** Cap Supabase `search()`/`list()` `top_k` at the `vecs` query limit of 1000 instead of erroring, and fix a `col_info()` crash by reading collection attributes directly instead of calling the removed `describe()` method ([#6695](https://github.com/mem0ai/mem0/pull/6695)) - **Vector Stores:** Set `size` on Elasticsearch KNN search queries, so results respect `top_k` instead of being capped at Elasticsearch's default of 10 hits ([#5910](https://github.com/mem0ai/mem0/pull/5910)) **Changes:** - **Rerankers:** `LLMReranker`'s default model is now `gpt-5-mini` (was `gpt-4o-mini`) ([#6703](https://github.com/mem0ai/mem0/pull/6703))