Releases: microsoft/azure-devops-python-api
Releases · microsoft/azure-devops-python-api
azure-devops 5.0.0b5
Regenerate 5.1 clients from M150.
azure-devops 5.0.0b4
Regenerate clients to match M149
Fix issue #194 - which was causing a deprecation warnings when setting creds on ServiceClient.
azure-devops 5.0.0b3
Update to M149
azure-devops 5.0.0b2
Fix directory and filename casing in NuGet client.
azure-devops 5.0.0b1
Merge pull request #183 from Microsoft/dev 5.0.0b2 fix directory and filename casing in NuGet client.
VSTS 0.1.25
Fix for enum references within collections causing deserialization issues. See #167
VSTS 0.1.24
Fixes client upload methods.
Example method to upload a file and link it as a work item attachment:
def upload_work_item_attachment(wit_client, work_item_id, file_name, callback=None):
# upload file / create attachment
with open(file_name, 'r+b') as file:
# use mmap, so we don't load entire file in memory at the same time, and so we can start
# streaming before we are done reading the file.
mm = mmap.mmap(file.fileno(), 0)
attachment = wit_client.create_attachment(mm, file_name=file_name, callback=callback)
# Link Work Item to attachment
patch_document = [
JsonPatchOperation(
op="add",
path="/relations/-",
value={
"rel": "AttachedFile",
"url": attachment.url
}
)
]
wit_client.update_work_item(patch_document, work_item_id)
VSTS 0.1.23
set creds on config (to support msrest 0.6.3)
fix download operations
VSTS 0.1.22
Fixed DayOfWeek deserialization issue, by treating it as a string. See #154
VSTS 0.1.21
Adds several new methods that were missing from previous releases:
-
dashboard_client
- get_widgets
- replace_widgets
- update_widgets
-
graph_client
- list_groups
- list_users
-
wiki_client
- delete_page
- get_page