github doobidoo/mcp-memory-service v10.31.1
v10.31.1 - Fix tombstone blocks re-insertion after delete (#644)

2 hours ago

Bug Fix: store() after delete() of same content

This patch release fixes a regression where soft-deleted memories left a tombstone row that prevented the same content from being re-stored.

Fixed

  • [#644] store() fails with UNIQUE constraint after delete() of same content: Soft-deleted memories leave a tombstone row (deleted_at set) that caused INSERT OR IGNORE to silently drop re-insertions and INSERT to raise UNIQUE constraint failed. Fixed by adding _purge_tombstone(content_hash) helper to SqliteVecMemoryStorage that removes the tombstone before any INSERT. Applied to store(), store_batch(), and update_memory_versioned(). Closes #644.

Tests

  • Added test_store_after_delete_same_content covering the full delete → re-store roundtrip.
  • Total: 1,521 tests (1 new).

Upgrade

pip install mcp-memory-service==10.31.1
# or
uv add mcp-memory-service==10.31.1

Full changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.