Skip to content

checkpoint==1.0.13

Choose a tag to compare

@github-actions github-actions released this 30 Sep 17:48
9ad617b

langgraph-checkpoint 1.0.13

Summary of Changes

  • Introduced new key-value store API for persistent data storage and retrieval with namespaced organization (#1834)
  • Added support for hierarchical namespace organization with flexible search capabilities (#1834)
  • Implemented in-memory store implementation for testing and lightweight applications (#1834)
  • Enhanced serialization to support store items in checkpoint serialization (#1834)
  • Improved documentation formatting for CheckpointMetadata (#1884)

Detailed Changes

langgraph.store.base.BaseStore

  • Added abstract base class for key-value stores (#1834)
  • Provides both synchronous and asynchronous operation interfaces
  • Implements common operations:
    • get/aget: Retrieve items by namespace and key
    • put/aput: Store or update items
    • delete/adelete: Remove items
    • search/asearch: Find items with filtering capabilities
    • list_namespaces/alist_namespaces: Discover available namespaces
    • batch/abatch: Execute multiple operations together

langgraph.store.base.Item

  • Introduced main storage unit representing stored data with metadata (#1834)
  • Contains value data, key, namespace path, and timestamp information
  • Supports equality comparison and dictionary conversion

langgraph.store.memory.InMemoryStore

  • Implemented in-memory store implementation for development and testing (#1834)
  • Provides fast, non-persistent storage using Python dictionaries
  • Supports all BaseStore operations for easy prototyping

langgraph.store.batch.AsyncBatchedBaseStore

  • Added efficient batching mechanism for async operations (#1834)
  • Automatically combines operations into batches for better performance
  • Uses a background task to process operations asynchronously

langgraph.checkpoint.serde.jsonplus.JsonPlusSerializer

  • Enhanced to support serialization of Item objects from the store API (#1834)
  • Enables Items to be included in checkpoints and persisted correctly

langgraph.checkpoint.base.CheckpointMetadata

  • Improved docstring formatting for better readability (#1884)