1.2.1

CaviraOSS/LongMemory1.2.1Nov 23, 2025by nullure

AI Summary

Major SDK overhaul enabling Python and JavaScript SDKs to operate as standalone versions with full feature parity, local-first architecture, and comprehensive test coverage.

Key Highlights

  • Python SDK standalone version with full feature parity and SQLite backend
  • JavaScript SDK standalone version with full feature parity and SQLite backend
  • Complete rewrite of JS and Python examples covering CRUD, advanced features, and brain sectors
  • Comprehensive test suites for both SDKs
  • Architecture documentation with Mermaid diagrams

New Features

  • Local-first architecture with SQLite backend
  • Multi-sector memory support (episodic, semantic, procedural, emotional, reflective)
  • All embedding providers: synthetic, OpenAI, Gemini, Ollama, AWS
  • Advanced features: decay, compression, reflection

Full Release Notes

## 1.2.1 - Standalone Sdk

### Added

- **Python SDK (`sdk-py/`)**: SDK Overhaul, it can now perform as a standalone version of OpenMemory
  - Full feature parity with Backend
  - Local-first architecture with SQLite backend
  - Multi-sector memory (episodic, semantic, procedural, emotional, reflective)
  - All embedding providers: synthetic, OpenAI, Gemini, Ollama, AWS
  - Advanced features: decay, compression, reflection
  - Comprehensive test suite (`sdk-py/tests/test_sdk_py.py`)

- **JavaScript SDK Enhancements (`sdk-js/`)**: SDK Overhaul, it can now perform as a standalone version of OpenMemory
  - Full feature parity with Backend
  - Local-first architecture with SQLite backend
  - Multi-sector memory (episodic, semantic, procedural, emotional, reflective)
  - All embedding providers: synthetic, OpenAI, Gemini, Ollama, AWS
  - Advanced features: decay, compression, reflection

- **Examples**: Complete rewrite of both JS and Python examples
  - `examples/js-sdk/basic-usage.js` - CRUD operations
  - `examples/js-sdk/advanced-features.js` - Decay, compression, reflection
  - `examples/js-sdk/brain-sectors.js` - Multi-sector demonstration
  - `examples/py-sdk/basic_usage.py` - Python CRUD operations
  - `examples/py-sdk/advanced_features.py` - Advanced configuration
  - `examples/py-sdk/brain_sectors.py` - Sector demonstration
  - `examples/py-sdk/performance_benchmark.py` - Performance testing

- **Tests**: Comprehensive test suites for both SDKs
  - `tests/js-sdk/js-sdk.test.js` - Full SDK validation
  - `tests/py-sdk/test-sdk.py` - Python SDK validation
  - Tests cover: initialisation, CRUD, sectors, advanced features

- **Architecture Documentation**
  - Mermaid diagram in main README showing complete data flow
  - Covers all 5 cognitive sectors
  - Shows embedding engine, storage layer, and recall engine
  - Includes temporal knowledge graph integration
  - Node.js script to regenerate diagrams