github doobidoo/mcp-memory-service v8.12.1
v8.12.1: Critical Production Bugfixes

latest releases: v10.26.9, v10.26.8, v10.26.7...
4 months ago

v8.12.1: Critical Production Bugfixes

This patch release resolves 4 critical bugs discovered within 4 hours of v8.12.0 release.


🔴 Critical Production Bugs Fixed

1. Import-time Default Parameter Evaluation (ef2c64d)

Error: HTTPException: 503: Storage not initialized during module import
Impact: HTTP server couldn't start at all
Fix: Use FastAPI Depends() for proper dependency injection

2. Syntax Error + Missing FastAPI Depends (77de4d2)

Error: SyntaxError: expected an indented block after 'if' statement on line 152
Impact: Module import failed, server couldn't start
Fix: Proper indentation + added missing import

3. Missing Tags Parameter (f935c56)

Error: TypeError: count_all_memories() got an unexpected keyword argument 'tags'
User Report: "failed to load dashboard data"
Impact: Dashboard completely broken, 500 errors on /api/memories
Fix: Added tags parameter to base class + 3 storage backends
Files Modified: base.py, hybrid.py, sqlite_vec.py, cloudflare.py

4. Analytics Metrics Discrepancy (8beeb07)

Problem: Analytics tab showed different "This Week" count than Dashboard tab
Cause: Analytics sampled 1,000 memories, Dashboard queried all
Impact: Inaccurate metrics when database > 1,000 memories
Fix: Use storage.get_stats() for accurate SQL COUNT


📊 Timeline

  • 15:03 UTC: v8.12.0 released (55 passing tests)
  • 21:41 UTC: HTTP server restart attempted
  • 22:03 UTC: All 4 critical bugs fixed
  • Total: 4 hours from discovery to resolution

🔍 Root Cause Analysis

Test Coverage Gap: v8.12.0 had zero HTTP server integration tests

  • All 55 tests used mocked storage (AsyncMock accepts any parameters)
  • Never actually started the server or tested real FastAPI dependency injection
  • Never tested interface compatibility between base class and implementations

Action Taken: Created Issue #190 - Add HTTP Server Integration Tests


📦 Upgrade Instructions

# Update to latest version
pip install --upgrade mcp-memory-service

# Or with uv
uv pip install --upgrade mcp-memory-service

# Verify version
python -c "import mcp_memory_service; print(mcp_memory_service.__version__)"

📝 Full Changelog

See CHANGELOG.md for detailed information.


🤖 Generated with Claude Code

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

NewReleases is sending notifications on new releases.