Release Notes – v2.1.0
This update adds MongoDB support to the memori, enabling seamless operation with both SQL and MongoDB backends.
Key Changes
• Database Abstraction: Automatic detection of backend type (SQL or MongoDB) in ConsciousAgent, MemoryAgent, and MemorySearchEngine.
• Refactored Logic: Unified ingestion, initialization, and promotion flows with backend-specific methods.
• Unified Search: MemorySearchEngine.execute_search now works across both SQL and MongoDB with fallback to keyword and category search.
• Error Handling & Logging: Improved tracebacks, error messages, and operational logs for debugging and monitoring.
• Demo & Documentation: Added examples/databases/mongodb_demo.py and updated docstrings/comments to clarify backend behavior.
This makes the memori more flexible, extensible, and ready for production with either SQL or MongoDB.