Skip to content

Commit a41cc13

Browse files
committed
build: up version
1 parent fdbeece commit a41cc13

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "memstate"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
description = "Transactional Memory for AI Agents - Keep SQL and Vector DBs in sync with ACID-like guarantees"
55
readme = "README.md"
66
requires-python = ">=3.10"

0 commit comments

Comments
 (0)