We are very pleased to announce the release of the Globus Python client library, globus-sdk, version 4.0.0! The release is now available through PyPI for pip and other installers.
As a major release, this change includes backwards incompatible updates. When upgrading code from version 3, we recommend consulting our detailed Upgrading Guide.
The overall focus of this release is to fix outstanding issues which could not be addressed without breaking changes. In particular, we'd like to highlight:
JSON body fields in APIs always default to globus_sdk.MISSING and a value of None indicates an explicit value of null
Scope constants provided by the SDK are now Scope objects, which have many improvements of their own, rather than strings
There are also numerous small quality of life improvements throughout, which our team is excited to see in use, like use of Exception.__notes__ . The full suite of changes can be seen in our detailed changelog.
If you encounter any issues while upgrading, please don't hesitate to reach out via sup...@globus.org!