Releases
sdk==0.1.45
Compare
Sorry, something went wrong.
No results found
langgraph-sdk 0.1.45
Summary of Changes
Added a new authentication and authorization system via the Auth class, which provides a unified way to handle auth in LangGraph applications
Introduced comprehensive type definitions for authentication and authorization handlers
Added support for fine-grained access control per resource (threads, assistants, crons) and action type (create, read, update, delete, search)
Added decorator-based API for applying auth handlers to specific resource operations
Detailed Changes
Auth
Added new Auth class that provides a unified system for authentication and authorization in LangGraph
Implemented decorator-based authentication handlers that can verify credentials and return user scopes
Added support for resource-specific authorization rules for threads, assistants, and crons
Implemented a hierarchical handler system that allows global fallback handlers and specific per-action handlers
Provided fine-grained access control for different operations (create, read, update, delete, search)
Added comprehensive docstrings and examples for all auth functionality
Types
Added new types module with comprehensive type definitions for auth system
Implemented typed dictionaries for all resource operations (ThreadsCreate, AssistantsRead, etc.)
Added protocol definitions for user objects and auth handlers
Created strongly-typed context objects for passing auth information through the system
Defined clear return types for authorization handlers to accept, reject or filter requests
You can’t perform that action at this time.