Releases
sdk==0.1.47
Compare
Sorry, something went wrong.
No results found
langgraph-sdk 0.1.47
Summary of Changes
Improved authentication API: simplified authentication handler return type from tuple to direct user representation (PR #2802 )
Renamed "scopes" to "permissions" throughout the Auth module for better clarity (PR #2802 )
Enhanced documentation for Auth module with more comprehensive examples and clearer explanations (PR #2802 )
Updated configuration examples showing how to use auth in langgraph.json (PR #2802 )
Detailed Changes
Auth
Simplified authentication handler API: now returns a user representation directly instead of a tuple of (scopes, user)
User representation can now be a string (user_id), a dict with identity and permissions, or an object with those properties
Added clear documentation for how to configure authentication in langgraph.json
Improved request processing flow documentation, explaining exactly how handlers are selected
Added comprehensive examples demonstrating different authorization patterns
Auth.types
Added permissions field to MinimalUserDict and permissions property to BaseUser interface
Updated Authenticator type to reflect new return format (single user object instead of tuple)
Renamed scopes to permissions throughout for better semantic clarity
Added more comprehensive examples of authentication functions with different parameter patterns
Improved type hints using typing_extensions.Required for required fields
You can’t perform that action at this time.