Releases: shotgunsoftware/python-api
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
in
andnot_in
operators for payload optimization by @carlos-villavicencio-adsk in #362 - Add payload optimization on
update
method 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_OPTIMIZATION
environment variable. By @carlos-villavicencio-adsk in #366
Full Changelog: v3.7.0...v3.8.0
v3.7.0
What's Changed
- Remove minimum supported Python version on documentation by @carlos-villavicencio-adsk in #358
- Upgrade Azure Pipelines VM images by @carlos-villavicencio-adsk in #359
- Fix incorrect Shotgun import in Python API example by @sungbinlee in #355
- Optimize payload by preventing unnecessary data by @carlos-villavicencio-adsk in #360
Details Regarding "Optimize payload" feature
Remove unnecessary data in the payload when combining related queries before sending it to the server. This would improve overall performance decreasing network latency and server processing.
Affected methods
- find
- summarize
- text_search (API query_display_name_cache)
Detailed Description
The change should transform calls like:
sg.find('Asset', [['project', 'is', {'created_at': datetime.datetime(2015, 12, 16, 11, 2, 10, tzinfo), 'id': 72, 'name': 'Demo: Game', 'type': 'Project'}]])
as if the following had been called:
sg.find('Asset', [['project', 'is', {'id': 72, 'type': 'Project'}]])
This version also includes a new environmental variable to enable this feature. Please use it at initialization if you want to compare results or if you are getting any unexpected behavior.
export SHOTGUN_API_ENABLE_ENTITY_OPTIMIZATION=1
For in-depth review, check out the full source code: #360
New Contributors
- @sungbinlee made their first contribution in #355
Full Changelog: v3.6.2...v3.7.0
v3.7.0-beta.1
What's Changed
Remove unnecessary data in the payload when combining related queries before sending it to the server. This would improve overall performance decreasing network latency and server processing.
Affected methods
- find
- summarize
- text_search (API query_display_name_cache)
Detailed Description
The change should transform calls like:
sg.find('Asset', [['project', 'is', {'created_at': datetime.datetime(2015, 12, 16, 11, 2, 10, tzinfo), 'id': 72, 'name': 'Demo: Game', 'type': 'Project'}]])
as if the following had been called:
sg.find('Asset', [['project', 'is', {'id': 72, 'type': 'Project'}]])
This version also includes a new environmental variable to enable this feature. Please use it at initialization if you want to compare results or if you are getting any unexpected behavior.
export SHOTGUN_API_ENABLE_ENTITY_OPTIMIZATION=1
Full Changelog: v3.6.2...v3.7.0-beta.1
v3.6.2
What's Changed
- Remove Ticket entity reference and prepare this to run in CI by @carlos-villavicencio-adsk in #349
- Condition auth for Jenkins environment by @carlos-villavicencio-adsk in #350
- Update certifi to 2024.7.4 by @carlos-villavicencio-adsk in #353
- FIRST PHASE Python2 removing by @eduardoChaucaGallegos in #352
Full Changelog: v3.6.1...v3.6.2
v3.6.1
What's Changed
- Adds multi_entity_update_modes support to mockgun by @slingshotvfx in #330
- Retry on URLError by @carlos-villavicencio-adsk in #342
- Fixes the issue with deleting prefix and suffix for
display_name
variable at the moment of upload for a local install by @eduardoChaucaGallegos in #337 - Minor code refactoring: Clarify the use of _build_opener in download_attachment by @julien-lang in #343
- Fixup SSLEOFError exception by @julien-lang in #346
New Contributors
- @slingshotvfx made their first contribution in #330
Full Changelog: v3.6.0...v3.6.1
v3.6.0
What's Changed
- certifi version changed from 2023.07.22 to 2024.2.2 by @eduardoChaucaGallegos in #338
- Documentation title changed from API3 to API by @eduardoChaucaGallegos in #339
New Contributors
- @eduardoChaucaGallegos made their first contribution in #338
Full Changelog: v3.5.1...v3.6.0
v3.5.1
What's Changed
- Fix text issues. by @juanburgosautoglb in #334
- Mockgun Improvements by @barbara-darkshot in #332
New Contributors
- @barbara-darkshot made their first contribution in #332
Full Changelog: v3.5.0...v3.5.1
v3.5.0
What's Changed
- Remove pytest-nunit fix for CI by @carlos-villavicencio-adsk in #331
- SG-34087 - Rebranding by @juanburgosautoglb in #321
New Contributors
- @juanburgosautoglb made their first contribution in #321
Full Changelog: v3.4.2...v3.5.0
v3.4.2
What's Changed
Internal release preparing the support for Python 3.11 in Toolkit
- Test CI with Python 3.11 by @carlos-villavicencio-adsk in #327
Full Changelog: v3.4.1...v3.4.2