Release 0.3.0 🚀
Custom Prefixes for Checkpoint Savers (#125, #127)
You can now configure custom key prefixes for checkpoint and store data, enabling multiple isolated checkpoint savers to coexist in the same Redis instance:
from langgraph.checkpoint.redis import RedisSaver
# Use custom prefixes for isolation
saver = RedisSaver.from_conn_string(
redis_url,
checkpoint_prefix="myapp:checkpoints:",
checkpoint_writes_prefix="myapp:writes:",
blob_prefix="myapp:blobs:"
)Bug Fixes
- Pydantic BaseModel Compatibility (#126): Fixed deserialization of Pydantic BaseModel state objects by prioritizing _revive_if_needed over _reviver in the serde chain
- LangChain Message Serialization in Store (#128): RedisStore now properly serializes and deserializes LangChain message objects (HumanMessage, AIMessage, etc.)
- Security Updates: Updated urllib3 and langchain-core to address high-severity vulnerabilities
Compatibility
- Redis-py 7.x Ready: Removed upper bound on redis-py version to allow 7.x when redisvl updates their constraint
- Python 3.13 Support: Added compatibility tests confirming support for Python 3.13
Contributors
We'd like to thank all the contributors who worked on this release!