File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.3.3] - 2025-12-12
9+
10+ ### Added
11+ - ** New ` commit_model ` API:** You can now pass Pydantic instances directly to memory.
12+ - No more manual dictionary dumping: ` mem.commit_model(user) ` instead of ` mem.commit(Fact(type="user", payload=user.dict())) ` .
13+ - Automatically resolves registered schema types.
14+ - Supports both INSERT (auto ID) and UPDATE (explicit ` fact_id ` ).
15+
16+ ### Documentation
17+ - ** README Overhaul:** rewritten to focus on the "Mental Model" of transactional memory and the physical physics of "Data Drift".
18+ - ** Refactored Examples:** All examples (` examples/ ` ) updated to use the cleaner ` commit_model ` syntax.
19+
20+ ### Fixed
21+ - ** Lifecycle Logic:** Ensured ` commit_model ` correctly handles updates when ` fact_id ` is provided (previously defaulted to creating duplicates).
22+
823## [ 0.3.2] - 2025-12-04
924
1025### Fixed
@@ -13,7 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1328 - Now, if a hook fails, the SQL transaction is automatically rolled back (or restored to the previous state).
1429- ** Singleton Logic:** Fixed a bug where updating a Singleton fact (e.g., "One User Profile") would return early and skip vector synchronization.
1530
16- ### Documentation 📚
31+ ### Documentation
1732- ** New Positioning:** Updated README to focus on "Transactional Memory" and "Predictability" rather than generic agent state.
1833- ** Demo:** Added a video demonstration (GIF) showing MemState preventing hallucinations vs Manual Sync.
1934
Original file line number Diff line number Diff line change 11[project ]
22name = " memstate"
3- version = " 0.3.2 "
3+ version = " 0.3.3 "
44description = " Transactional Memory for AI Agents - Keep SQL and Vector DBs in sync with ACID-like guarantees"
55readme = " README.md"
66requires-python = " >=3.10"
You can’t perform that action at this time.
0 commit comments