Skip to content

Releases: globus/globus-sdk-python

v3.40.0

15 Apr 16:40
3.40.0
3ae9104
Compare
Choose a tag to compare

Added

  • Add globus_sdk.tokenstorage.MemoryAdapter for the simplest possible in-memory token storage mechanism. (#964)

  • ConfidentialAppAuthClient.oauth2_get_dependent_tokens now supports the scope parameter as a string or iterable of strings. (#965)

  • Moved scope parsing out of experimental. The Scope construct is now importable from the top level globus_sdk module. (#966)

  • Support updating subscriptions assigned to flows in the Flows service. (#974)

Development

  • Fix concurrency problems in the test suite caused by isort's .isorted temporary files. (#973)

v3.39.0

06 Mar 17:07
3.39.0
cb89ffb
Compare
Choose a tag to compare

Added

  • Added TransferClient.operation_stat helper method for getting the status of a path on a collection (#961)

v3.38.0

01 Mar 17:04
3.38.0
8e06b1b
Compare
Choose a tag to compare

Added

  • IterableGCSResponse and UnpackingGCSResponse are now available as top-level exported names. (#956)

  • Add GroupsClient.get_group_by_subscription_id for resolving subscriptions to groups. This also expands the _testing data for get_group to include a subscription group case. (#957)

  • Added prompt to the recognized Globus Authorization Requirements Error authorization_parameters fields. (#958)

v3.37.0

14 Feb 23:27
3.37.0
10e686f
Compare
Choose a tag to compare

Added

  • All of the basic HTTP methods of BaseClient and its derived classes which accept a data parameter for a request body, e.g. TransferClient.post or GroupsClient.put, now allow the data to be passed in the form of already encoded bytes. (#951)

Fixed

  • Update ensure_datatype to work with documents that set DATA_TYPE to MISSING instead of omitting it (#952)

v3.36.0

12 Feb 22:11
3.36.0
e1ac113
Compare
Choose a tag to compare

Added

  • Added support for GCS endpoint get & update operations. (#933)

    • gcs_client.get_endpoint()
    • gcs_client.update_endpoint(EndpointDocument(...))
  • TransferClient.endpoint_manager_task_list() now supports filter_endpoint_use as a parameter. (#948)

  • FlowsClient.create_flow now supports subscription_id as a parameter. (#949)

v3.35.0

29 Jan 20:03
3.35.0
Compare
Choose a tag to compare

Added

  • Added a session_required_mfa parameter to the AuthorizationParameterInfo error info object and oauth2_get_authorize_url method (#939)

Changed

  • The argument specification for AuthClient.create_policy was incorrect.
    The corrected method will emit deprecation warnings if called with positional arguments, as the corrected version uses keyword-only arguments. (#936)

Deprecated

  • TransferClient.operation_symlink is now officially deprecated and will emit a RemovedInV4Warning if used. (#942)

Fixed

  • Included documentation in AuthorizationParameterInfo for session_required_policies (#939)

v3.34.0

02 Jan 18:18
3.34.0
0a655d2
Compare
Choose a tag to compare

Added

  • Add the delete_protected field to MappedCollectionDocument. (#920)

Changed

  • Minor improvements to handling of paths and URLs. (#922)

    • Request paths which start with the base_path of a client are now
      normalized to avoid duplicating the base_path.

    • When a GCSClient is initialized with an HTTPS URL, if the URL does not
      end with the /api suffix, that suffix will automatically be appended.
      This allows the gcs_manager_url field from Globus Transfer to be used
      verbatim as the address for a GCSClient.

Deprecated

  • NativeAppAuthClient.oauth2_validate_token and
    ConfidentialAppAuthClient.oauth2_validate_token have been deprecated, as
    their usage is discouraged by the Auth service. (#921)

Development

  • Migrate from a CHANGELOG symlink to the RST .. include directive. (#918)

  • Tutorial endpoint references are removed from tests and replaced with
    bogus values. (#919)

v3.33.0.post0

05 Dec 20:33
3.33.0.post0
22287e6
Compare
Choose a tag to compare

Documentation

  • Remove references to the Tutorial Endpoints from documentation. (#915)

v3.33.0

04 Dec 18:57
3.33.0
a9e4abe
Compare
Choose a tag to compare

Added

  • Support custom CA certificate bundles. (#903)

    Previously, SSL/TLS verification allowed only a boolean True or False value.
    It is now possible to specify a CA certificate bundle file
    using the existing verify_ssl parameter
    or GLOBUS_SDK_VERIFY_SSL environment variable.

    This may be useful for interacting with Globus through certain proxy firewalls.

Fixed

  • Fix the type annotation for globus_sdk.IdentityMap init,
    which incorrectly rejected ConfidentialAppAuthClient. (#912)

v3.32.0

10 Nov 15:54
3.32.0
6962c60
Compare
Choose a tag to compare

Added

Note

These changes pertain to methods of the client objects in the SDK which
interact with Globus Auth client registration.
To disambiguate, we refer to the Globus Auth entities below as "Globus Auth
clients" or specify "in Globus Auth", as appropriate.

  • Globus Auth clients objects now have methods for interacting with client and
    project APIs. (#884)

    • NativeAppAuthClient.create_native_app_instance creates a new native app
      instance in Globus Auth for a client.

    • ConfidentialAppAuthClient.create_child_client creates a child client in
      Globus Auth for a confidential app.

    • AuthClient.get_project looks up a project.

    • AuthClient.get_policy looks up a policy document.

    • AuthClient.get_policies lists all policies in all projects for which
      the current user is an admin.

    • AuthClient.create_policy creates a new policy.

    • AuthClient.update_policy updates an existing policy.

    • AuthClient.delete_policy deletes a policy.

    • AuthClient.get_client looks up a Globus Auth client by ID or FQDN.

    • AuthClient.get_clients lists all Globus Auth clients for which the
      current user is an admin.

    • AuthClient.create_client creates a new client in Globus Auth.

    • AuthClient.update_client updates an existing client in Globus Auth.

    • AuthClient.delete_client deletes a client in Globus Auth.

    • AuthClient.get_client_credentials lists all client credentials for a
      given Globus Auth client.

    • AuthClient.create_client_credential creates a new client credential for
      a given Globus Auth client.

    • AuthClient.delete_client_credential deletes a client credential.

    • AuthClient.get_scope looks up a scope.

    • AuthClient.get_scopes lists all scopes in all projects for which the
      current user is an admin.

    • AuthClient.create_scope creates a new scope.

    • AuthClient.update_scope updates an existing scope.

    • AuthClient.delete_scope deletes a scope.

  • A helper object has been defined for dependent scope manipulation via the
    scopes APIs, globus_sdk.DependentScopeSpec (#884)

Fixed

  • When serializing TransferTimer data, do not convert to UTC if the input
    was a valid datetime with an offset. (#900)