Releases: shotgunsoftware/python-api
v3.0.38
This release provides the following features and fixes:
- Upgrades the version of
httplib2
to0.12.0
, which fixes SNI issues. Note this
version contains a more recent list of certificate authorities. If you are running Shotgun locally and have
signed your https certificate with an outdated certificate authority, the Shotgun connection will be rejected.
v3.0.37
This release provides the following features and fixes:
- A new method has been added, preferences_read, which allows the caller to query the value of a subset of Shotgun site preferences.
- Bug fixes around uploading non-ascii file path given to the various upload methods available. The supported string encodings are ascii, unicode, and utf-8. When a string encoding is given that can't be properly interpreted, a sane error message is now raised to the caller.
- Under-the-hood changes to allow for direct-to-s3 data uploads if the Shotgun site supports them. This should be a transparent change to users.
v3.0.36
This release fixes a few issues:
- Fixes an error where
connect=False
during__init__
would still connect to Shotgun. - Adds support for
SHOTGUN_API_CACERTS
when uploading files to Shotgun. - Properly handles failed downloads due to malware scanning.
v3.0.35
- Add exception UserCredentialsNotAllowedForSSOAuthenticationFault.
Triggered when attempting to initiate a connection with a username/password
pair on an SSO-enabled Shotgun site.
v3.0.34
We've updated the Shotgun API to take advantage of the new pagination strategy from Shotgun 7.4.
More specifically, we've switched from a hard-coded value of 500 for "records_per_page" to a server-defined value. We will be experimenting with higher values with the goal of increasing performance for large result sets.
v3.0.32
New Documentation
We've finally moved our documentation to sphinx. All of our existing documentation on the Github wiki has been ported over (and updated in many places). In addition, all of the public methods in the code are now documented with details and example code (where possible). We hope you enjoy the update (we already do!).
The official documentation can now be found at http://developer.shotgunsoftware.com/python-api/.
The changelog has been removed from the README and put in it's own HISTORY file. It is also now part of the documentation site.
Optimized mimetypes
module import
We now always import the bundled mimetypes
module on versions of Python where it's broken. Previously we were doing unnecessary checks before importing.
v3.0.31
Additional Filter Presets
- An optional
additional_filter_presets
argument has been added tofind()
andfind_one
methods. This allows access to specific pre-formed queries that have been optimized on the Shotgun server. For example: getting the latest Version for a list of Shots. - Documentation for additional filter presets: Additional Filter Presets
v3.0.30
Multi-entity update options, product-specific authorization, and explicit file closing
-
Adds an optional dictionary parameter
multi_entity_update_modes
to useadd
,remove
, andset
modes when callingupdate()
on multi-entity fields. This allows for updating multi-entity fields without the need for pulling down the field's data and pushing back up the entire set. For example, when specifying an addition toSequence.shots
, we could specify:sg.update("Sequence", 1234, {"shots":[{"type":"Shot", "id":123}]}, multi_entity_update_modes={"shots":"add"})
-
Adds explicit file handler closing to download_attachment.
-
Adds basic
find()
ordering support to mockgun. -
Allows for product specific authorization parameters.
v3.0.29
v3.0.28
Serializable Timestamps
- Refactoring scoping of the sgtimezone library so that dates returned from Shotgun are serializable.