Skip to content

Releases: shotgunsoftware/python-api

v3.0.38

07 Feb 20:17
Compare
Choose a tag to compare

This release provides the following features and fixes:

  • Upgrades the version of httplib2 to 0.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

19 Jul 23:00
Compare
Choose a tag to compare

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

03 Apr 17:19
Compare
Choose a tag to compare

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

08 Dec 18:32
9069888
Compare
Choose a tag to compare
  • Add exception UserCredentialsNotAllowedForSSOAuthenticationFault.
    Triggered when attempting to initiate a connection with a username/password
    pair on an SSO-enabled Shotgun site.

v3.0.34

18 Sep 14:22
Compare
Choose a tag to compare

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

22 Sep 05:40
Compare
Choose a tag to compare

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

19 May 18:32
Compare
Choose a tag to compare

Additional Filter Presets

  • An optional additional_filter_presets argument has been added to find() and find_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

25 Apr 20:27
Compare
Choose a tag to compare

Multi-entity update options, product-specific authorization, and explicit file closing

  • Adds an optional dictionary parameter multi_entity_update_modes to use add, remove, and set modes when calling update() 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 to Sequence.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

07 Mar 23:32
Compare
Choose a tag to compare

Reverting default thumbnail upload field change

  • Reverting a change to the default thumbnail upload field due to issues with client wrappers.

v3.0.28

03 Mar 20:11
Compare
Choose a tag to compare

Serializable Timestamps

  • Refactoring scoping of the sgtimezone library so that dates returned from Shotgun are serializable.