Releases: globus/globus-sdk-python
v3.41.0
Added
-
Added a new AuthClient method
get_consents
and supporting local data objects.
These allows a client to poll and interact with the current Globus Auth consent state
of a particular identity rooted at their client. (#971) -
Added
LoginFlowManager
andCommandLineLoginFLowManager
to experimental (#972) -
Added
LocalServerLoginFlowManager
to experimental (#977) -
Added support to
FlowsClient
for thevalidate_flow
operation of the
Globus Flows service. (#979)
v3.40.0
Added
-
Add
globus_sdk.tokenstorage.MemoryAdapter
for the simplest possible in-memory token storage mechanism. (#964) -
ConfidentialAppAuthClient.oauth2_get_dependent_tokens
now supports thescope
parameter as a string or iterable of strings. (#965) -
Moved scope parsing out of experimental. The
Scope
construct is now importable from the top levelglobus_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
v3.38.0
Added
-
IterableGCSResponse
andUnpackingGCSResponse
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 forget_group
to include a subscription group case. (#957) -
Added
prompt
to the recognized Globus Authorization Requirements Errorauthorization_parameters
fields. (#958)
v3.37.0
Added
- All of the basic HTTP methods of
BaseClient
and its derived classes which accept adata
parameter for a request body, e.g.TransferClient.post
orGroupsClient.put
, now allow thedata
to be passed in the form of already encodedbytes
. (#951)
Fixed
- Update
ensure_datatype
to work with documents that setDATA_TYPE
toMISSING
instead of omitting it (#952)
v3.36.0
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 supportsfilter_endpoint_use
as a parameter. (#948) -
FlowsClient.create_flow
now supportssubscription_id
as a parameter. (#949)
v3.35.0
Added
- Added a
session_required_mfa
parameter to theAuthorizationParameterInfo
error info object andoauth2_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 aRemovedInV4Warning
if used. (#942)
Fixed
- Included documentation in
AuthorizationParameterInfo
forsession_required_policies
(#939)
v3.34.0
Added
- Add the
delete_protected
field toMappedCollectionDocument
. (#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 thebase_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 thegcs_manager_url
field from Globus Transfer to be used
verbatim as the address for aGCSClient
.
-
Deprecated
NativeAppAuthClient.oauth2_validate_token
and
ConfidentialAppAuthClient.oauth2_validate_token
have been deprecated, as
their usage is discouraged by the Auth service. (#921)
Development
v3.33.0.post0
Documentation
- Remove references to the Tutorial Endpoints from documentation. (#915)
v3.33.0
Added
-
Support custom CA certificate bundles. (#903)
Previously, SSL/TLS verification allowed only a boolean
True
orFalse
value.
It is now possible to specify a CA certificate bundle file
using the existingverify_ssl
parameter
orGLOBUS_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 rejectedConfidentialAppAuthClient
. (#912)