# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2026-03-20

### Features

- **TrustMem SDK** — Embedded Python SDK with 30 methods (add, search, get_all, delete, verify, stats, etc.)
- **Zero Trust Memory (ZTM) v2** — Confidence-based trust model (high/medium/low), assigned at write time by LLM
- **Always Verify** — Read-time content hash verification. Tampered memories are demoted to `low` confidence (response only, no DB mutation)
- **CONTRADICT Detection** — Automatic contradiction detection with winner/loser resolution and bilateral audit trail
- **LLM Extraction Pipeline** — 3-stage automatic fact extraction, deduplication, and conflict resolution from conversation messages
- **Content-Addressable Store** — SHA-256 content hashing for integrity verification
- **Knowledge Graph** — Entity/relation management with multi-hop BFS traversal
- **Audit Trail** — Automatic event logging with hash chain integrity verification
- **Read Audit** — Access log recording with hash chain verification
- **Multi-Tenant** — Organization + user_id scoping with `visibility="organization"` for org shared knowledge
- **FastAPI Server** — Core CRUD + admin endpoints with Bearer authentication
- **trustmem-client** — Lightweight HTTP client package (httpx only, no trustmem dependency)
- **Data Import UI** — Playground with text chunking, embedding generation, and batch add_raw
- **Raw Operations** — add_raw (bypass LLM), update_raw (version management with derived_from provenance)
- **GDPR Erasure** — forget() with scope validation and dry-run support
- **SQLite Backend** — Default storage with optional Qdrant (vector) and Neo4j (graph) support
- **Configuration** — Environment variable / .env file based configuration with validation
