Skip to content

Releases: globus/globus-sdk-python

v4.1.0

Choose a tag to compare

@ada-globus ada-globus released this 23 Oct 17:07
4.1.0
15101e5

Added

  • Updated create_flow and update_flow to accept an authentication policy to assign to a flow. (#1334)
    • Note: SDK support for this feature is being released in advance of service support, which will follow at a later time.

v4.0.1

Choose a tag to compare

@sirosen sirosen released this 13 Oct 16:13
4.0.1
3a18cb3

Fixed

  • Fix the route for TransferClient.set_subscription_admin_verified() (#1331)

v4.0.0

Choose a tag to compare

@sirosen sirosen released this 08 Oct 18:38
4.0.0
12056d0

No changes from v4.0.0b2

v3.65.0

Choose a tag to compare

@kurtmckee kurtmckee released this 03 Oct 01:56
3.65.0
a56fd4e

Added

  • Add a FlowTimer payload class to aid in creating timers that run flows.
  • Add the statuses parameter to GroupsClient.get_my_groups(). (#1317)
  • Add .change_role() to the Globus Groups BatchMembershipActions helper class. (#1318)
  • Add .change_roles() to the Globus Groups GroupsManager class. (#1318)

Development

  • Fix a Poetry deprecation warning in the test suite. (#1320)

v4.0.0b2

v4.0.0b2 Pre-release
Pre-release

Choose a tag to compare

@sirosen sirosen released this 24 Sep 18:20
4.0.0b2
6a9e604

Added

  • On Python 3.11+, the SDK will populate the __notes__ of API errors with a message containing the full body of the error response.
    __notes__ is part of the default presentation of a traceback. (#1299)

Removed

  • The following methods and parameters, which were deprecated in globus-sdk v3, have been removed (#1309):

    • The skip_activation_check parameter for TransferData and DeleteData.
    • The recursive_symlinks parameter for TransferData.
    • The add_symlink_item method of TransferData.

Changed

  • Passing non-Scope types to Scope.with_dependency and Scope.with_dependencies now raises a TypeError. Previously, this was allowed at runtime but created an invalid Scope object. (#1300)

v3.64.0

Choose a tag to compare

@sirosen sirosen released this 24 Sep 16:14
3.64.0
38569b7

Added

  • Added SearchClient.update_index as a method for modifying index names and descriptions. (#1310)

Deprecated

  • The following Transfer features have been deprecated: (#1308, #1309)

    • The add_symlink_item method of TransferData.
      This is not supported by any collections.

    • The recursive_symlinks parameter to TransferData.
      This is not supported by any collections.

    • The skip_activation_check parameter to TransferData and DeleteData.
      This no longer has any effect when set.

v3.63.0

Choose a tag to compare

@derek-globus derek-globus released this 08 Sep 14:08
3.63.0
9d3fd95

Changed

  • Renamed the GroupsClient method set_subscription_admin_verified_id to
    set_subscription_admin_verified. (#1302)

    • GroupsClient.set_subscription_admin_verified_id still exists but emits a
      deprecation warning.

v4.0.0b1

v4.0.0b1 Pre-release
Pre-release

Choose a tag to compare

@sirosen sirosen released this 31 Jul 20:30
4.0.0b1
40a0cf7

Breaking Changes

  • The RequestsTransport object has been refactored to separate it from configuration which controls request retries. A new RetryConfig object is introduced and provided as client.retry_config on all client types. The interface for controlling these configurations has been updated. (#1275)

    • The transport_class attribute has been removed from client classes.

    • Clients now accept transport, an instance of RequestsTransport, and retry_config, an instance of RetryConfig, instead of transport_params.

    • Users seeking to customize the retry backoff, sleep maximum, and max retries should now use retry_config, as these are no longer controlled through transport.

    • The capabilities of the RequestsTransport.tune() context manager have been divided into RequestsTransport.tune() and RetryConfig.tune().

    • The retry configuration is exposed to retry checks as an attribute of the RequestCallerInfo, which is provided on the RetryContext. As a result, checks can examine the configuration.

  • Interfaces for normalizing scope data have changed. (#1289)

    • The scopes_to_str function has been replaced with ScopeParser.serialize.

    • ScopeParser.serialize will raise an error if the serialized data is empty. A flag, reject_empty=False, can be passed to disable this check.

    • The scopes_to_scope_list function has been removed.

Removed

  • Removed the filter_role parameter to FlowsClient.list_flows.
    This parameter was deprecated in globus-sdk version 3. (#1291)

  • Removed SearchClient.update_entry.
    This method was deprecated in globus-sdk version 3. (#1292)

  • Removed SearchClient.create_entry.
    This method was deprecated in globus-sdk version 3. (#1293)

  • Removed the SearchQuery type. Users should use SearchQueryV1 instead.
    SearchQuery was deprecated in globus-sdk version 3. (#1294)

Changed

  • The legacy token storage adapters are now only available from the globus_sdk.token_storage.legacy subpackage.
    Users are encouraged to migrate to the newer tooling available directly from globus_sdk.token_storage. (#1290)

  • Update warn_deprecated to emit RemovedInV5Warning and remove RemovedInV4Warning class (#1295)

v3.62.0

Choose a tag to compare

@sirosen sirosen released this 31 Jul 19:02
3.62.0
e0fd47e

Added

  • Added support for setting a group's subscription_id via GroupsClient.set_subscription_admin_verified_id. (#1287)

v4.0.0a4

v4.0.0a4 Pre-release
Pre-release

Choose a tag to compare

@sirosen sirosen released this 25 Jul 21:49
4.0.0a4
a493759

Breaking Changes

  • The function_data argument to ComputeClientV2.register_function has been renamed to data to be consistent with other usages.

  • AuthClient no longer accepts client_id as a parameter and does not provide it as an attribute. This was deprecated in globus-sdk version 3. (#1271)

Added

  • Add RequestCallerInfo data object to RequestsTransport.request for passing caller context information. (#1261)

Removed

  • The TimerJob.from_transfer_data classmethod, which was deprecated in globus-sdk version 3, has been removed. Users should use the TransferTimer class to construct timers which submit transfer tasks. (#1269)

  • The oauth2_validate_token method has been removed from NativeAppAuthClient and ConfidentialAppAuthClient.
    This method was deprecated in globus-sdk v3. (#1270)

  • Removed AuthClient.oauth2_userinfo. This method was deprecated in globus-sdk version 3. (#1272)

  • Removed support for ConfidentialAppAuthClient.get_identities. This usage was deprecated in globus-sdk version 3. (#1273)

    • Users calling the Get Identities API on behalf of a client identity should instead get tokens for the client and use those tokens to call AuthClient.get_identities. For example, by instantiating an AuthClient using a ClientCredentialsAuthorizer.

    • This also means that it is no longer valid to use a ConfidentialAppAuthClient to initialize an IdentityMap.

  • TransferClient.create_endpoint has been removed. This method primarily supported creation of GCSv4 servers and was deprecated in globus-sdk v3. (#1276)

  • GCSClient.connector_id_to_name() has been removed. It was deprecated in globus-sdk version 3. Users should use globus_sdk.ConnectorTable instead. (#1277)

  • Removed support for Endpoint Activation, a feature which was specific to Globus Connect Server v4. (#1279)

    • Removed the activation methods: TransferClient.endpoint_autoactivate, TransferClient.endpoint_activate, TransferClient.endpoint_deactivate, and TransferClient.endpoint_get_activation_requirements

    • Removed the specialized ActivationRequirementsResponse parsed response type

    • TransferClient.update_endpoint would previously check the myproxy_server and oauth_server parameters, which were solely used for the purpose of configuring activation. It no longer does so.

  • Removed the ComputeClient alias. This name was deprecated in globus-sdk version 3. Users should use ComputeClientV2 or ComputeClientV3 instead. (#1282)

  • Removed GlobusAPIError.raw_text. This attribute was deprecated in globus-sdk version 3. Users should use the text attribute instead. (#1283)

  • Removed TransferClient methods for modifying "endpoint servers", a feature specific to Globus Connect Server v4. Specifically, add_endpoint_server, update_endpoint_server, and delete_endpoint_server. These methods were deprecated in globus-sdk version 3. (#1284)

  • Removed the ComputeFunctionDocument and ComputeFunctionMetadata classes. These helpers were deprecated in globus-sdk version 3.

  • Removed TransferClient.operation_symlink. This method was deprecated in globus-sdk version 3. (#1286)

Changed

  • Renamed the globus_sdk._testing subpackage to globus_sdk.testing. (#1251)

  • Renamed the globus_sdk.tokenstorage subpackage to globus_sdk.token_storage and removed the globus_sdk.experimental.tokenstorage (#1252)

  • Remove support for normalizing nested iterables of scopes, e.g. [["scope1"], "scope2"] (#1259)