Releases: shotgunsoftware/python-api
Releases · shotgunsoftware/python-api
v3.9.2
What's Changed
- Let user export csv using python api (SG-35561 - PR #386)
Full Changelog: v3.9.1...v3.9.2
v3.9.1
What's Changed
- Removed the deprecated
CACertsHTTPSConnectionclass, which was no longer needed after dropping Python 2 support. - Added basic type annotations throughout the package to improve IDE support and code completion. Note: Some typing improvements are still in progress and will be refined in future releases. Special thanks to @chadrik for this contribution!
- Introduced a new environment variable
SHOTGUN_ALLOW_OLD_PYTHONto temporarily bypass Python version warnings for users still on Python 3.7 or 3.8. While this provides flexibility during transition, we strongly recommend upgrading to Python 3.9 or newer for continued support and security updates. - Enhanced payload optimization for entity dictionaries, making it more flexible and preventing potential issues when working with special fields like
typeandurl. - Updated attachment documentation with detailed information about the
relative_pathfield and its usage. - Python versions older than 3.9 are now deprecated. A runtime warning will be displayed during initialization if you're using Python 3.7 or 3.8. Please plan to upgrade to Python 3.9 or newer as these older versions will not be supported in future releases.
v3.9.0
What's Changed
- Fixup minor issues with README by @julien-lang in #410
- Python2 Removal (SG-38306)
- Import order by @julien-lang in #398
- Easy ones by @julien-lang in #399
- Cleanup imports by @julien-lang in #400
- Mimetypes module by @julien-lang in #401
- Remove deprecated backported mock module by @julien-lang in #402
- Remove python2 from httplib2 module by @julien-lang in #403
- Remove deprecated ensure_ascii parameter from SG object by @julien-lang in #405
- Six module removed by @eduardoChaucaGallegos in #395
Full Changelog: v3.8.5...v3.9.0
v3.8.5
What's Changed
- Improve documentation about local file references by @julien-lang (SG-4373)
- Prevent unexpected retries on error by @carlos-villavicencio-adsk (SG-38213)
- Update certifi third party library to version2025.7.14 by @julien-lang (SG-38877)
Full Changelog: v3.8.4...v3.8.5
v3.8.4
What's Changed
- Better CI Job Name by @julien-lang in #388
- Replace
utcfromtimestampfor Python 3.12 by @carlos-villavicencio-adsk in #390
Full Changelog: v3.8.3...v3.8.4
v3.8.3
What's Changed
- Add improvements to Mockgun:
- Ensure string comparisons are case-insensitive.
- Ignore duplicate entities when
multi_entity_update_modeis added. - Support for
Nonein mockgun when using ordering. - Thank you: @rlessardrodeofx, @slingshotsys, and @MHendricks for your contributions.
- Minor fixes on unit tests and documentation.
Full Changelog: v3.8.2...v3.8.3
v3.8.3-beta2
What's Changed
We want to control when python-api does a retry on error.
SSLEOFError
SSLHandshakeError
On _make_call function.
We don't want to retry on a general exceptions (e.g. Timeout or remote disconnection) because we might send a resource modification request (create, batch create, etc) and we can end up duplicating things.
Full Changelog: v3.8.2...v3.8.3-beta2
v3.8.2
What's Changed
- Review the documentation regarding the
SHOTGUN_API_CACERTSvariable by @julien-lang in #373 - Update repository badges by @carlos-villavicencio-adsk in #374
- Prevent flaky disconnection when uploading thumbnails on publish by @carlos-villavicencio-adsk in #368
Full Changelog: v3.8.1...v3.8.2
v3.8.1
What's Changed
- Upgrade certifi to 2024.12.14 by @eduardoChaucaGallegos in #365
- App pre-commit configuration and CI by @julien-lang in #367
- Update Software Credits by @julien-lang in #369
- Fix Changelog typo by @carlos-villavicencio-adsk in #370
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
- Include the
inandnot_inoperators for payload optimization by @carlos-villavicencio-adsk in #362 - Add payload optimization on
updatemethod by @carlos-villavicencio-adsk in #363 - The payload optimization released under a flag on v3.7.0 is now enabled by default. It can be disabled with the
SHOTGUN_API_DISABLE_ENTITY_OPTIMIZATIONenvironment variable. By @carlos-villavicencio-adsk in #366
Full Changelog: v3.7.0...v3.8.0