Azure SDK for Go (September 2023)
The Azure SDK team is pleased to announce our September 2023 client library releases.
39 packages released this month.
Stable Packages (15)
-
Key Vault - Certificates
-
Resource Management - API Management
-
Resource Management - Azure VMware Solution
-
Resource Management - Container Apps
-
Resource Management - Container Service
-
Resource Management - Dynatrace
-
Resource Management - Maintenance
-
Resource Management - Maps
-
Resource Management - Network
-
Resource Management - Network Cloud
-
Resource Management - Recovery Services
-
Resource Management - Recovery Services Backup
-
Resource Management - Red Hat OpenShift
-
Resource Management - Resource Connector
-
Resource Management - Storage
Patch Updates (5)
-
Core
-
Identity
-
Key Vault - Keys
-
Key Vault - Administration
-
Key Vault - Secrets
Beta Packages (14)
-
Azure Storage Data Lake
-
Core
-
Cosmos DB
-
Event Grid
-
Identity
-
OpenAI
-
Resource Management - Apicenter
-
Resource Management - Chaos
-
Resource Management - Container Service
-
Resource Management - Container Service Fleet
-
Resource Management - Deploymentstacks
-
Resource Management - Hdinsightcontainers
-
Resource Management - IoT Hub
-
Storage File Share
Release highlights
Azure Storage Data Lake 0.1.0-beta.1 Changelog
Features Added
- This is the initial preview release of the
azdatalake
library
Core 1.7.1 Changelog
Bugs Fixed
- Enable TLS renegotiation in the default transport policy.
Core 1.8.0-beta.2 Changelog
Bugs Fixed
- Propagate any query parameters when constructing a fake poller and/or injecting next links.
Features Added
- Added function
SanitizePagerPollerPath
to theserver
package to centralize sanitization and formalize the contract. - Added
TokenRequestOptions.EnableCAE
to indicate whether to request a CAE token.
Breaking Changes
This change affects only code written against beta version
v1.8.0-beta.1
.
messaging.CloudEvent
deserializes JSON objects as[]byte
, instead ofjson.RawMessage
. See the documentation for CloudEvent.Data for more information.
This change affects only code written against beta versions
v1.7.0-beta.2
andv1.8.0-beta.1
.
- Removed parameter from method
Span.End()
and its typetracing.SpanEndOptions
. This API GA’ed inv1.2.0
so we cannot change it.
Core 1.7.2 Changelog
Bugs Fixed
- Fix default HTTP transport to work in WASM modules.
Core 1.8.0-beta.3 Changelog
Bugs Fixed
- Suppress creating spans for nested SDK API calls. The HTTP span will be a child of the outer API span.
Features Added
- Added function
FetcherForNextLink
andFetcherForNextLinkOptions
to theruntime
package to centralize creation ofPager[T].Fetcher
from a next link URL.
Cosmos DB 0.3.6 Changelog
Bugs Fixed
- Fixed PatchItem function to respect EnableContentResponseOnWrite
Event Grid 0.2.0 Changelog
Features Added
- The publisher client for Event Grid topics has been added as a sub-package under
publisher
.
Identity 1.3.1 Changelog
Other Changes
- Upgraded dependencies
Identity 1.4.0-beta.4 Changelog
Other Changes
- Upgraded dependencies
Identity 1.4.0-beta.5 Changelog
Bugs Fixed
- Credential chains such as
DefaultAzureCredential
now try their next credential, if any, when managed identity authentication fails in a Docker Desktop container (#21417)
Breaking Changes
These changes affect only code written against a beta version such as v1.4.0-beta.4
- Whether
GetToken
requests a CAE token is now determined byTokenRequestOptions.EnableCAE
. Azure SDK clients which support CAE will set this option automatically. Credentials no longer request CAE tokens by default or observe the environment variable “AZURE_IDENTITY_DISABLE_CP1”.
Features Added
- Service principal credentials can request CAE tokens
Key Vault - Keys 1.0.1 Changelog
Other Changes
- Upgraded dependencies
Key Vault - Administration 1.0.1 Changelog
Other Changes
- Upgraded dependencies
Key Vault - Certificates 1.0.0 Changelog
Features Added
- First stable release of the azcertificates module
Key Vault - Secrets 1.0.1 Changelog
Other Changes
- Upgraded dependencies
OpenAI 0.1.2 Changelog
Breaking Changes
- Retracting this module to delist it from pkg.go.dev. Use
github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai
instead.
OpenAI 0.2.0 Changelog
Bugs Fixed
- EventReader, used by GetChatCompletionsStream and GetCompletionsStream for streaming results, would not return an error if the underlying Body reader was closed or EOF’d before the actual DONE: token arrived. This could result in an infinite loop for callers. (PR#21323)
Breaking Changes
- ChatCompletionsOptions, CompletionsOptions, EmbeddingsOptions
DeploymentID
field renamed toDeployment
. - Method
Close()
onEventReader[T]
now returns an error.
Features Added
- ChatCompletions supports Azure OpenAI’s newest feature to use Azure OpenAI with your own data. See
example_client_getchatcompletions_extensions_test.go
for a working example. (PR#21426)
Resource Management - API Management 2.0.0 Changelog
Resource Management - Apicenter 0.1.0 Changelog
Resource Management - Azure VMware Solution 1.3.0 Changelog
Resource Management - Chaos 0.7.0 Changelog
Resource Management - Container Apps 2.0.0 Changelog
Resource Management - Container Service 4.2.0-beta.2 Changelog
Resource Management - Container Service 4.3.0 Changelog
Resource Management - Container Service 4.2.0 Changelog
Resource Management - Container Service Fleet 0.2.0 Changelog
Resource Management - Deploymentstacks 0.1.0 Changelog
Resource Management - Dynatrace 2.0.0 Changelog
Resource Management - Hdinsightcontainers 0.1.0 Changelog
Resource Management - IoT Hub 1.2.0-beta.2 Changelog
Resource Management - Maintenance 1.2.0 Changelog
Resource Management - Maps 1.0.0 Changelog
Resource Management - Network 4.1.0 Changelog
Resource Management - Network Cloud 1.0.0 Changelog
Resource Management - Recovery Services 1.5.0 Changelog
Resource Management - Recovery Services Backup 3.0.0 Changelog
Resource Management - Red Hat OpenShift 1.3.0 Changelog
Resource Management - Resource Connector 1.0.0 Changelog
Resource Management - Storage 1.4.0 Changelog
Storage File Share 1.1.0-beta.1 Changelog
Features Added
- Updated service version to
2022-11-02
. - Added OAuth support.
- Added Rename Directory API.
- Added Rename File API.
- Added
x-ms-file-change-time
request header in - Create File/Directory
- Set File/Directory Properties
- Copy File
- Added
x-ms-file-last-write-time
request header in Put Range and Put Range from URL. - Updated the SAS Version to
2022-11-02
and addedEncryption Scope
to Account SAS. - Trailing dot support for files and directories.
Bugs Fixed
- Fixed service SAS creation where expiry time or permissions can be omitted when stored access policy is used.
- Fixed issue where some requests fail with mismatch in string to sign.
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/azopenai@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.7.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.8.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.7.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.8.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.3.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.4.0-beta.4
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.4.0-beta.5
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/cognitiveservices/azopenai@v0.1.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azcosmos@v0.3.6
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventgrid@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/apicenter/armapicenter@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/apimanagement/armapimanagement@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appcontainers/armappcontainers@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/avs/armavs@v1.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/chaos/armchaos@v0.7.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.2.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservicefleet/armcontainerservicefleet@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/dynatrace/armdynatrace@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/hdinsightcontainers/armhdinsightcontainers@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/iothub/armiothub@v1.2.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/maintenance/armmaintenance@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/maps/armmaps@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v4.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/networkcloud/armnetworkcloud@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/recoveryservices/armrecoveryservices@v1.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/redhatopenshift/armredhatopenshift@v1.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resourceconnector/armresourceconnector@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resources/armdeploymentstacks@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/storage/armstorage@v1.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azadmin@v1.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azcertificates@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azkeys@v1.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azsecrets@v1.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azdatalake@v0.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.1.0-beta.1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.