Releases: syncsketch/python-api
v1.0.12.1 - Updated requirements and added publishing tests
What's Changed
- Automate publishing on release creation. by @andrew-parkes in #24
- Bump requests to >=2.33.0 (security) and release 1.0.12.1 by @andrew-parkes in #25
Full Changelog: v1.0.12.0...v1.0.12.1
v1.0.12.0 - Update support for python 3.13 and 3.14
Update to include support for 3.13 and 3.14
Fix the python_requires as it incorrectly limited to 3.12 which pip doesnt always validate to allow versions such as 3.12.x
Deprecation notice for Python 2.7 and 3.7
Automate publishing on release creation
v1.0.11.1 - Remove f-strings for python 2
We introduced f-strings in the last release which broke python 2.7. This is a patch to fix this.
v1.0.11.0 - S3 multi-part uploads
Add new method
s.upload_file(
review_id,
filepath,
file_name="",
item_uuid=None,
noConvertFlag=False,
chunk_size=5 * 1024 * 1024,
max_workers=None,
)This will use the same multi-part s3 uploads as our main website! This method has no filesize limit like our add_media_v2() method. We encourage everyone to switch to this.
v1.0.10.6 - review sections
We now have methods to interact with sections within a review.
Sections are a great way to group items in a review.
Docs here: https://syncsketch.github.io/python-api/#syncsketch.SyncSketchAPI.create_review_section
Example code
from syncsketch import SyncSketchAPI
s = SyncSketchAPI(your_username, your_api_key)
s.create_review_section(review_id, "section name", [item_id_1, item_id_2])
s.update_review_sections(review_id, [{"uuid": section_uuid, "name": "new api name", "itemIds": [item_id_1, item_id_2]}])
s.delete_review_section(review_id, section_uuid)
Other updates:
Thanks to https://github.com/matija-tomazic for the two PRs:
v1.0.10.5 - Shotgrid sync notes method and fixes.
Addresses one bug and adds new method. Thanks to @matija-tomazic
- Fix issue where empty post data would cause crash.
- Add method that pushes new notes to Shotgrid for single item.
Also cleaned up references to "shotgun" in method names. Included aliases to not break old scripts.
1.0.10.4 - Shotgrid config and review archive / restore
Added new methods:
archive_review(review_id)
restore_review(review_id)
shotgun_create_config(syncsketch_account_id, syncsketch_project_id=None, data=None)shotgun_create_config must include a data dictionary with 3 keys:
- url - full shotgrid url e.g. https://example.shotgrid.autodesk.com/
- username - script user username
- key - script user key
For more info on our shotgrid integration, see our articles here: https://support.syncsketch.com/hc/en-us/sections/12590170520461-Shotgrid
v1.0.9.0
This release comes with an improved method for uploading media. With the new add_media_v2 method, files will upload directly to SyncSketch's internal S3 instead of first through our servers. In some cases, using this method over add_media can improve upload performance and stability.
We've also updated the get_connections_by_user_id method, allowing you to retrieve connections from inactive/archived projects.
The following pull requests make up this release:
Fix annotations method regression
We've fixed the regression that prevented use of get_annotations()
Add review_id to add_comment() method
A new required parameter is added to add_comment() "review_id"
Previously items were only allowed in one review, you can now move an item into multiple reviews. So the requirement has been added to specify which review you are making the comment in.