Releases: shotgunsoftware/python-api
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
v3.4.1
What's Changed
- Fix flaky test in Test Work schedule by @NorberMV in #310
- Fix documentation regarding "in" filter prototype by @julien-lang in #309
- Fix Travis badge image is no longer working anymore by @julien-lang in #311
- Add SECURITY.md file by @carlos-villavicencio-adsk in #312
- Fix flaky upload tests. by @NorberMV in #313
- Update Python Certifi license block by @julien-lang in #314
- Add methods for the user_subscriptions API end points by @julien-lang in #315
- Retries also on 504 by @carlos-villavicencio-adsk in #316
- Comment typing annotation breaks Python 2 compatibility by @julien-lang in #320
- Add
user_subscription_read
anduser_subscription_create
methods to docs by @xinliu-adsk in #322 - Add field type
entity_type
to mockgun as simple str by @slingshotvfx in #323 - Use Azure Pipelines group variables by @carlos-villavicencio-adsk in #325
- Retries S3 uploads on error 500 by @carlos-villavicencio-adsk in #324
New Contributors
- @xinliu-adsk made their first contribution in #322
- @slingshotvfx made their first contribution in #319
Full Changelog: v3.4.0...v3.4.1
v3.4.0
What's Changed
- ➕ Add documentation for PublishedFiles preset filters by @dsauve-adsk in #292
- 🧑🔧 Upgrade httplib2 to 0.22.0 by @carlos-villavicencio-adsk in #305
- 📝 Update licensing by @julien-lang in #300
- 📝 Updates to links by @shaynacohen in #299
- ✅ Fixup follow flaky tests by @julien-lang in #304
- 🎉 Enable support for Python 3.10 in CI by @carlos-villavicencio-adsk in #301
New Contributors
- @julien-lang made their first contribution in #300
Full Changelog: v3.3.6...v3.4.0