Skip to content

sdk==0.1.50

Choose a tag to compare

@github-actions github-actions released this 09 Jan 16:43
41f0fd5

langgraph-sdk 0.1.50

Summary of Changes

  • Added store authorization support with new handlers and types for store operations (#2971)
  • Enhanced the Command type to support sequences of tuples for the update field (#2901)
  • Improved documentation for authentication types and authorization handlers (#2797)
  • Fixed typo in cancel method docstring (#2925)

Detailed Changes

Auth System

  • Added support for authorizing store operations with new auth.on.store decorators (#2971)
  • Added new store-related action types: "put", "get", "search", "list_namespaces", "delete" (#2971)
  • Enhanced documentation for authorization handlers and filter types (#2797)

Store Types

  • Added new TypedDict classes for store operations (#2971):
    • StoreGet - For retrieving items by namespace and key
    • StoreSearch - For searching items within a namespace hierarchy
    • StoreListNamespaces - For listing and filtering namespaces
    • StorePut - For storing, updating, or deleting items
    • StoreDelete - For deleting items from the store

Command Type

  • Enhanced the Command.update field to accept both dictionaries and sequences of tuples (#2901)
  • This allows more flexible ways to specify updates in graph commands

Client Methods

  • Fixed typo in docstring for the cancel method (both sync and async versions) (#2925)