Skip to content

Conversation

@bsbodden
Copy link
Contributor

langgraph-checkpoint-redis v0.3.0

What's New

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

Installation

pip install langgraph-checkpoint-redis==0.3.0

Release 0.3.0 includes:

Features:
- Custom prefixes for checkpoint savers (#125, #127)
Add comprehensive test suite for Pydantic model state handling:
- test_pydantic_basemodel_in_checkpoint: Basic Pydantic model storage/retrieval
- test_pydantic_model_with_langchain_messages: Mixed Pydantic + LangChain messages
@bsbodden bsbodden merged commit 963efbf into main Dec 12, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants