Skip to content

Commit 41914f0

Browse files
committed
build: up version
1 parent fa47bed commit 41914f0

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ 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.4.0] - 2025-12-18
9+
10+
### Major: Async Support & Beta Release
11+
This release marks the transition to **Beta**. The API is stable, and MemState is now ready for high-concurrency production workloads (FastAPI).
12+
13+
* **Full Async Support:** Added `AsyncMemoryStore` and async versions of all backends and hooks.
14+
* **New Storage Backends:**
15+
* **PostgreSQL:** Native support using `SQLAlchemy` + `psycopg` with efficient JSONB querying.
16+
* **Redis:** Added `AsyncRedisStorage`.
17+
* **SQLite:** Added `AsyncSQLiteStorage` (via `aiosqlite`).
18+
* **New Vector Integration:** Added **Qdrant** support (Sync & Async) with built-in FastEmbed generation.
19+
20+
### Changed (Architectural Improvements)
21+
* **Surgical Rollback:** Completely rewrote `rollback` logic to be safe in multi-user environments.
22+
* Added `session_id` isolation to transaction logs.
23+
* Rollback now removes specific transactions by UUID instead of truncating the log tail, preventing "Groundhog Day" bugs.
24+
* **Safe Updates:** The `update()` method now enforces **Schema Re-validation**. Applying a patch that breaks the Pydantic schema will now raise `ValidationFailed` instead of corrupting the DB.
25+
* **Session Optimization:** Added `get_session_facts` to backends to utilize DB indexes for session operations (O(1) vs O(N) previously).
26+
27+
### Added
28+
* **LangGraph Async:** Added `AsyncMemStateCheckpointer` for non-blocking graph persistence.
29+
* **DX Improvements:** Added `session_id` argument to `query()` for easier context filtering.
30+
* **Documentation:** Launched comprehensive documentation site.
31+
32+
### Dependencies
33+
* Added optional dependencies: `postgres`, `qdrant`, `sqlite-async`.
34+
835
## [0.3.3] - 2025-12-12
936

1037
### Added

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "memstate"
3-
version = "0.3.3"
3+
version = "0.4.0"
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"
@@ -26,7 +26,7 @@ packages = [
2626
{ include = "memstate" }
2727
]
2828
classifiers = [
29-
"Development Status :: 3 - Alpha",
29+
"Development Status :: 4 - Beta",
3030
"Intended Audience :: Developers",
3131
"License :: OSI Approved :: Apache Software License",
3232
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)