Skip to content

v3.23.0

Compare
Choose a tag to compare
@sirosen sirosen released this 06 Jul 18:20
· 765 commits to main since this release
3.23.0

Added

  • Add AuthClient methods to support the Projects APIs for listing, creating, updating, and deleting projects.

    • AuthClient.get_projects (#766)
    • AuthClient.create_project (#772)
    • AuthClient.update_project (#774)
    • AuthClient.delete_project (#776)
  • globus_sdk._testing now exposes a method, construct_error which makes it simpler to explicitly construct and return a Globus SDK error object for testing. This is used in the SDK's own testsuite and is available for _testing users. (#770)

  • AuthClient.oauth2_get_authorize_url now supports the following parameters for session management: session_required_identities, session_required_single_domain, and session_required_policies. Each of these accept list inputs, as returned by ErrorInfo.authorization_parameters. (#773)

Changed

  • AuthClient, NativeAppAuthClient, and ConfidentialAppAuthClient have had their init signatures updated to explicitly list available parameters. (#764)

    • Type annotations for these classes are now more accurate

    • The NativeAppAuthClient and ConfidentialAppAuthClient classes do not accept authorizer in their init signatures. Previously this was accepted but raised a GlobusSDKUsageError. Attempting to pass an authorizer will now result in a TypeError.

  • session_required_policies parsing in AuthorizationParameterInfo now supports the policies being returned as a list[str] in addition to supporting str (#769)

Fixed

  • AuthorizationParameterInfo is now more type-safe, and will not return parsed data from a response without checking that the data has correct types (#769)

  • Adjust the FlowsClient.get_run() include_flow_description parameter so it is submitted only when it has a value. (#778)

Documentation

  • The _testing documentation has been expanded with a dropdown view of the response contents for each method. In support of this, client method testing docs have been reorganized into a page per service. (#767)