Releases: globus/globus-sdk-python
v3.58.0
v4.0.0a2
Breaking Changes
-
The SDK version is no longer available in
globus_sdk.version.__version__. (#1195)Packages that want to query the SDK version must use
importlib.metadata:import importlib.metadata GLOBUS_SDK_VERSION = importlib.metadata.distribution("globus_sdk").version
-
The legacy
MutableScopetype has been removed. (#1198)- The
make_mutablemethod onScopeBuilderobjects has also been removed as a consequence of this change.
- The
-
Defaults of
Nonewere converted toglobus_sdk.MISSINGfor multiple client methods and payload types, covering Compute, Flows, Groups, GCS, and Search. (#1205, #1207, #1212, #1214)
Removed
-
globus_sdk.experimental.auth_requirements_errorhas been removed. Useglobus_sdk.gareinstead. (#1202) -
GlobusAPIErrorno longer provides a setter formessage. Themessageproperty is now read-only. (#1204) -
Deprecated aliases for
TimersClient,TimersScopes, andTimersAPIErrorhave been removed. (#1206)
v3.57.0
Added
- Globus Connect Server collection document classes now support attributes up to document version 1.15.0. (#1197)
Deprecated
- Importing scope parsing tools from
globus_sdk.experimentalnow emits a deprecation warning. These names were previously deprecated in documentation only. (#1201)
Documentation
- Remove the badges at the top of the README. (#1194)
v4.0.0a1
Breaking Changes
-
The SDK no longer sets default scopes for direct use
of client credentials and auth client login flow methods.
Users should either useGlobusAppobjects,
which can specify scopes based on the clients in use,
or else pass a list of scopes explicitly to
oauth2_client_credentials_tokensoroauth2_start_flow. (#1186) -
The default
GlobusAPIError.codevalue is nowNone
whencodeis not supplied in the error body.
Previously, the default was"Error". (#1190) -
The default
TimersAPIError.codevalue is nowNone
when an error which appears to be validation-related has nocode.
Previously, the default was"ValidationError". (#1191) -
SDK client classes no longer define nor prepend a
base_pathattribute to paths.
Make sure to use the full path now when using client methods. (#1185) -
Updated MappedCollectionDoc and GuestCollectionDoc with MissingType. (#1189)
v3.56.1
v3.56.0
Added
-
Transport objects now provide a
close()method for closing resources which
belong to them, primarily the underlying session. (#1171) -
Add
activity_notification_policyto GuestCollectionDocument,
associating it with GCS collection document version 1.14.0. (#1172) -
FlowsClient.list_flowsandFlowsClient.list_runsnow support the
filter_rolesparameter to filter results by one or more roles. (#1174) -
AuthLoginClientnow supports asession_messagewhen constructing an
OAuth2 authorization URL. (#1179) -
LoginFlowManagerwill now use asession_messagepresent in the
suppliedGlobusAuthorizationParametersas part of the login flow. (#1179)
Changed
- When parsing GAREs using
to_gareandto_gares, the root document is
now considered a possible location for a GARE when subdocument errors are
present on aGlobusAPIErrorobject. Previously, the root document would
only be considered in the absence of subdocument errors. (#1173)
Deprecated
filter_roleparameter forFlowsClient.list_flowsis deprecated. Use
filter_rolesinstead. (#1174)
v3.55.0
Added
-
FlowsClient.create_flowandFlowsClient.update_flownow supportrun_managersandrun_monitors. (#1164) -
SpecificFlowClient.run_flow()now supportsactivity_notification_policyas an argument, allowing users to select when their run will notify them. A new helper,RunActivityNotificationPolicy, makes construction of valid policies easier. (#1167)
Changed
-
The initialization of a client with a
GlobusApphas been improved and is now available under the publicattach_globus_appmethod on client classes. Attaching an app is only valid for clients which were initialized without an app or authorizer. (#1137) -
When a
GlobusAppis used with a client, that client'sapp_scopesattribute will now always be populated with the scopes that it passed back to the app. (#1137)
v3.54.0
v3.53.0
v3.52.0
Added
- The
transportattached to clients now exposesheadersas a readable
and writable dict of headers which will be included in every request.
Headers provided to the transport'srequest()method overwrite these, as
before. (#1140)
Changed
-
Updates to
X-Globus-Client-InfoinRequestsTransport.headersare now
synchronized via a callback mechanism. Direct manipulations of theinfos
list will not result in headers being updated -- callers wishing to modify
these data should rely only on theadd()andclear()methods of the
GlobusClientInfoobject. (#1140) -
globus_sdklogging no longer emits any INFO-level log messages. All INFO
messages have been downgraded to DEBUG. (#1146)
Documentation
- The tutorial documentation has been rewritten. (#1145)