Repository navigation
Releases: globus/globus-sdk-python
Release list
4.10.0
3.66.0
Security
- Pin certifi to an uncompromised version number. (#1441)
4.9.1
Changed
- Scope parser speed has been improved when parsing deep scope strings. (#1428)
Fixed
-
Fix a
RecursionErrorthat occurs with deeply-nested request bodies. (#1423) -
Format and filter
session_required_*query parameters when generating authorization URLs. (#1430)
Documentation
- All example files in the globus-sdk documentation are now required to pass type checking. Documentation examples will feature type annotations where they are instructive and clarifying. (#1422)
4.9.0
Added
-
Add Web Input-related methods to the
FlowsClientclass. (#1410)
The new methods are:list_web_inputs,get_web_input, andrespond_to_web_input. -
Added a new flag,
sweep, toGlobusApp.logout().
Uselogout(sweep=True)to ask the app to clear all tokens found in the app's storage, not only the ones currently in use by the app.
The default behavior,sweep=False, is unchanged. (#1417)
Changed
- The
resource_serverattribute of the clients for Auth, Compute, Flows, Groups, Search, Timers, and Transfer is now annotated asstr, rather than the inherited type ofstr | None. (#1414)
Documentation
-
Remove the
SpecificFlowClient.run_flowand.update_runmethods'labelparameter length constraint documentation. (#1408) -
Update the URL to the Flows API documentation. (#1409)
Security
Development
globus-sdktesting now leverages Sphinxdoctestto make select examples testable. (#1406)
v4.8.1
v4.8.0
Added
-
The SDK now supports use of
orjsonas an alternative JSON encoder and decoder. Whenorjsonis installed, the SDK will automatically use it in place of the stdlibjsonmodule. (#1385) -
RequestsTransportobjects are now visible viaRequestsTransport.get_current_transport(), a staticmethod, while the transport is sending a request or being used to handle a response. This method raises aLookupErrorif there is no currently active transport. (#1385) -
The request encoders defined in
globus_sdk.transporthave been refactored intoRequestsRepresentationProvider\s, objects responsible for encoding and decodingrequestsdata in specific formats. In order to retain compatibility, they are still available aliased under their previous names, as "encoders". (#1385)
Removed
- The
pinnedfield was removed from the experimentalBookmarkCreateDocumentandBookmarkUpdateDocumentclasses to align with the API, which does not support the field.
Deprecated
-
The
RequestsTransportclass supports configuration of request encoding via a class-variable mapping,encoders. This limits the ability of the SDK to apply per-object customizations, as in the case oforjsonsupport. The class variableencodersis deprecated. Users who wish to customize request encoding and response decoding should leverage the newrepresentation_providersinstance variable instead. -
The
globus_sdk.transport.encodersmodule is deprecated. Useglobus_sdk.transport.representation_providersinstead.
v4.7.0
v4.6.0
Added
-
Support for managing bookmarks via the Transfer v2 client (#1379)
-
Added
FlowsClient.get_registered_api(), which retrieves a registered API by ID. (#1386) -
Added
FlowsClient.list_registered_apis(), which retrieves a list of registered APIs. (#1387)
Fixed
- Switch to lazy reading of response json to work with streaming responses. (#1381)
v4.5.0
Added
-
Added a new
globus_sdk.experimental.gcs_downloadermodule which provides experimental tooling for downloading files from HTTPS GCS Collections. The new module provides aGCSDownloaderclass for detecting requirements and downloading files. (#1342) -
Added the experimental
TransferClientV2client class along with helper classesTunnelCreateDocumentandTunnelUpdateDocument(#1370) -
JSON:API iteration and pagination is now supported through
IterableJSONAPIResponseandJSONAPIPaginator(#1370) -
Added a new
GCSCollectionClientclass inglobus_sdk.experimental.gcs_collection_client.
The new client has no methods other than the base HTTP ones, but contains the collection ID and scopes in the correct locations for the SDK token management mechanisms to use. (#1375) -
Added support for
filter_rolesas a parameter toSearchClient.index_list. (#1376)
Changed
- All tunnels support in
TransferClienthas been labeled as Beta as the underlying API is still in development. For the most up to date interfaces it is recommended to use theTransferClientV2(#1370)
Fixed
- Various fixes for tunnels support in
TransferClient(#1370)