Azure SDK for Go (July 2024)
The Azure SDK team is pleased to announce our July 2024 client library releases.
26 packages released this month.
Stable Packages (16)
-
Core
-
Identity
-
Resource Management - App Compliance Automation
-
Resource Management - App Service
-
Resource Management - Cosmos DB
-
Resource Management - Deployment Stacks
-
Resource Management - Informatica Data Management
-
Resource Management - Mobile Network
-
Resource Management - Network
-
Resource Management - Oracle Database
-
Resource Management - Scvmm
-
Resource Management - Storage
-
Resource Management - Storage Mover
-
Resource Management - Virtual Machine Image Builder
-
Storage - Blobs
-
Storage - Files Share
Patch Updates (1)
- Cosmos DB
Beta Packages (8)
-
Identity
-
Identity - Cache
-
OpenAI Assistants
-
Resource Management - Azure VMware Solution
-
Resource Management - Cognitive Search
-
Resource Management - Edgezones
-
Resource Management - Mongocluster
-
Resource Management - Oracle Database
Release highlights
Core 1.13.0 Changelog
Features Added
- Added runtime.NewRequestFromRequest(), allowing for a policy.Request to be created from an existing *http.Request.
Cosmos DB 1.0.3 Changelog
Bugs Fixed
- Fixed data race on clientRetryPolicy. See PR 23061
Identity 1.7.0 Changelog
Features Added
AzurePipelinesCredential
authenticates an Azure Pipelines service connection with workload identity federation
Breaking Changes
These changes affect only code written against a beta version such as v1.7.0-beta.1
- Removed the persistent token caching API. It will return in v1.8.0-beta.1
Identity 1.8.0-beta.1 Changelog
Breaking Changes
These changes affect only code written against a beta version such as v1.7.0-beta.1
- Redesigned the persistent caching API. Encryption is now required in all cases and persistent cache construction is separate from credential construction. The
PersistentUserAuthentication
example in the package docs has been updated to demonstrate the new API.
Features Added
- Restored persistent token caching feature
Identity - Cache 0.2.3 Changelog
Other Changes
- Upgraded dependencies
Identity - Cache 0.3.0 Changelog
Breaking Changes
- Removed optional fallback to plaintext storage.
azidentity/cache
now always returns an error when it can’t encrypt a persistent cache.
Features Added
- Added
New
, a constructor for persistent caches. Seeazidentity
docs, in particular thePersistentUserAuthentication
example, for usage details.
OpenAI Assistants 0.2.0 Changelog
Features Added
- Now supports the Assistants V2 API, with support for vector stores as well as streaming.
Breaking Changes
- Assistants V1 is no longer supported in this library. For information about how to migrate between V1 and V2, see OpenAI’s migration documentation: (link).
- Types that were suffixed with
Options
have been changed, if their name would conflict with the options for a method. For example:AssistantsThreadCreationOptions
, the main argument forCreateThread()
, has been changed toCreateThreadBody
.
Resource Management - App Compliance Automation 1.0.0 Changelog
Resource Management - App Service 3.0.0 Changelog
Resource Management - Azure VMware Solution 2.0.0-beta.1 Changelog
Resource Management - Cognitive Search 1.4.0-beta.2 Changelog
Resource Management - Cosmos DB 3.0.0 Changelog
Resource Management - Deployment Stacks 1.0.0 Changelog
Resource Management - Edgezones 0.1.0 Changelog
Resource Management - Informatica Data Management 1.0.0 Changelog
Resource Management - Mobile Network 4.1.0 Changelog
Resource Management - Mongocluster 0.1.0 Changelog
Resource Management - Network 5.2.0 Changelog
Resource Management - Oracle Database 0.2.0 Changelog
Resource Management - Oracle Database 1.0.0 Changelog
Resource Management - Scvmm 1.0.0 Changelog
Resource Management - Storage 1.6.0 Changelog
Resource Management - Storage Mover 2.2.0 Changelog
Resource Management - Virtual Machine Image Builder 2.3.0 Changelog
Storage - Blobs 1.4.0 Changelog
Other Changes
- GetProperties() was called twice in DownloadFile method. Enhanced to call it only once, reducing latency.
- Updated
azcore
version to1.13.0
Storage - Files Share 1.3.0 Changelog
Other Changes
- GetProperties() was called twice in DownloadFile method. Enhanced to call it only once, reducing latency.
- Updated
azcore
version to1.13.0
Need help
- For reference documentation visit the Azure SDK for Go documentation.
- For tutorials, samples, quick starts and other documentation, visit the Azure SDK for Go repository.
- File an issue via Github Issues.
Latest Releases
View all the latest versions of go packages here.
Installation Instructions
To use the latest GA and beta libraries use the go get
command to add the package to a go.mod file. If your project does not use Go modules, refer to the Go documentation for information about specifying dependencies.
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/ai/azopenaiassistants@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.13.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.7.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.8.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity/cache@v0.2.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity/cache@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azcosmos@v1.0.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appservice/armappservice@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/avs/armavs@v2.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cosmos/armcosmos@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/edgezones/armedgezones@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mobilenetwork/armmobilenetwork@v4.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mongocluster/armmongocluster@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v5.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/oracledatabase/armoracledatabase@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/oracledatabase/armoracledatabase@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resources/armdeploymentstacks@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/scvmm/armscvmm@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/search/armsearch@v1.4.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/storage/armstorage@v1.6.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/storagemover/armstoragemover@v2.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder@v2.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.3.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.