Skip to content

checkpoint==2.0.12

Choose a tag to compare

@github-actions github-actions released this 09 Feb 02:15
e819798

langgraph-checkpoint 2.0.12

Summary of Changes

  • Renamed MemorySaver to InMemorySaver while keeping backward compatibility through an alias (#2044)
  • Added support for embedding model initialization via provider strings (e.g., "openai:text-embedding-3-small") (#3317)
  • Fixed parent configuration formatting in the checkpoint saver implementation (#2044)

Detailed Changes

langgraph.checkpoint.memory.InMemorySaver

  • Renamed class from MemorySaver to InMemorySaver for better naming consistency (#2044)
  • Kept backward compatibility by adding MemorySaver = InMemorySaver alias
  • Updated return type annotations in __enter__ and __aenter__ methods to reflect the new class name
  • Improved formatting of the parent_config parameter in multiple methods for better readability and maintainability

langgraph.checkpoint.memory.MemorySaver

  • Now an alias to InMemorySaver for backward compatibility (#2044)

langgraph.store.base.IndexConfig

  • Extended the embed parameter to accept string values representing provider identifiers (#3317)
  • Added documentation for the new string provider format: "provider:model" (e.g., "openai:text-embedding-3-small")

langgraph.store.base.embed.ensure_embeddings

  • Added support for initializing embeddings from provider strings (#3317)
  • Added clear error messages when trying to use string providers without the required dependencies
  • Requires langchain>=0.3.9 and the appropriate provider package when using string initialization
  • Added documentation and examples for the new string initialization format