Skip to content

sdk==0.1.46

Choose a tag to compare

@github-actions github-actions released this 16 Dec 19:10
d9b7aaa

langgraph-sdk 0.1.46

Summary of Changes

  • Added new HTTPException class to allow raising customized HTTP errors from auth handlers
  • Added exceptions module to the Auth class for improved error handling
  • Refactored typing imports for better code organization

Detailed Changes

Auth.exceptions

  • Added new HTTPException class that can be raised to return specific HTTP error responses
  • Default status code is 401 (Unauthorized)
  • Supports custom status codes, detailed error messages, and additional HTTP headers

Auth

  • Added exceptions property to provide access to auth exception definitions
  • Updated type imports to use consolidated typing module for better maintainability
  • Added exceptions to __all__ to expose it for import