github doobidoo/mcp-memory-service v10.12.1
v10.12.1 - Custom Memory Type Test Fixes

latest releases: v10.31.1, v10.31.0, v10.30.0...
one month ago

Custom Memory Type Test Fixes

This patch release fixes test failures in the configurable memory type ontology feature released in v10.12.0.

Fixed

  • Custom Memory Type Configuration (#464): Fixed test failures in configurable memory type ontology feature
    • Fixed get_all_types() to properly include custom base types from MCP_CUSTOM_MEMORY_TYPES environment variable
    • Improved test isolation by clearing environment variables in setup/teardown to prevent test pollution
    • Made custom type test more resilient to environment state from previous test runs
    • Result: All 47 ontology tests now pass reliably with proper custom type support

Technical Details

The fix addresses two issues:

  1. Custom Base Type Inclusion: get_all_types() now correctly retrieves base types from the merged taxonomy (which includes custom types) instead of hardcoded BaseMemoryType enum
  2. Test Isolation: Tests now properly clean up MCP_CUSTOM_MEMORY_TYPES environment variable in both setup and teardown, preventing pollution across test runs

Impact

Users of the configurable memory type ontology feature (v10.12.0) will see:

  • Reliable custom type validation and retrieval
  • Consistent behavior across multiple type queries
  • Proper test coverage ensuring custom types work as documented

Installation

pip install --upgrade mcp-memory-service

Full Changelog: v10.12.0...v10.12.1

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

NewReleases is sending notifications on new releases.