Azure SDK for Go (October 2023)
The Azure SDK team is pleased to announce our October 2023 client library releases.
42 packages released this month.
Stable Packages (16)
-
App Configuration
-
Core
-
Identity
-
Resource Management - Compute
-
Resource Management - Container Registry
-
Resource Management - Cosmosforpostgresql
-
Resource Management - Hybrid Connectivity
-
Resource Management - IoT Hub
-
Resource Management - Kubernetes Configuration
-
Resource Management - Managed Applications
-
Resource Management - Network
-
Resource Management - Recovery Services Site Recovery
-
Resource Management - Redis
-
Service Bus
-
Storage - Blobs
-
Storage - Files Share
Beta Packages (23)
-
App Configuration
-
Core
-
Identity
-
Identity - Cache
-
Key Vault - Keys
-
Monitor Ingestion
-
OpenAI
-
Resource Management - Communication
-
Resource Management - Compute
-
Resource Management - Container Registry
-
Resource Management - Container Service
-
Resource Management - Marketplace Ordering
-
Resource Management - Monitor
-
Resource Management - Network
-
Resource Management - Playwrighttesting
-
Resource Management - Resource Graph
-
Resource Management - Resources
-
Resource Management - SQL
-
Resource Management - Service Fabric Mesh
-
Resource Management - SignalR
-
Resource Management - Storage
-
Resource Management - Subscriptions
-
Storage - Blobs
Release highlights
App Configuration 0.6.0 Changelog
Bugs Fixed
- Fixed an issue that could cause HTTP requests to fail with
http.StatusUnauthorized
in some cases. - The pipeline policy for setting the
Sync-Token
header in HTTP requests now properly formats the value. - The caching mechanism for
Sync-Token
values is now goroutine safe.
Breaking Changes
- Response types
ListRevisionsPage
andListSettingsPage
now have the suffixResponse
in their names. - Method
UpdateSyncToken
on typeClient
has been replaced withSetSyncToken
. - Response types’
SyncToken
field type has changed from*string
toSyncToken
.
Features Added
- Handle setting content type in
AddSetting
andSetSetting
(#19797) - Added type
SyncToken
for better type safety when handling Sync-Token header values.
App Configuration 1.0.0 Changelog
Bugs Fixed
- Check for a
Sync-Token
value before updating the cache.
Core 1.8.0 Changelog
Breaking Changes
These changes affect only code written against beta versions of
v1.8.0
- The beta features for tracing and fakes have been omitted for this release.
Features Added
- Added
Claims
andEnableCAE
fields topolicy.TokenRequestOptions
. - ARM bearer token policy handles CAE challenges.
messaging/CloudEvent
allows you to serialize/deserialize CloudEvents, as described in the CloudEvents 1.0 specification: link- Added functions
FetcherForNextLink
andEncodeQueryParams
along withFetcherForNextLinkOptions
to theruntime
package to centralize creation ofPager[T].Fetcher
from a next link URL. - Added types
KeyCredential
andSASCredential
to theazcore
package. - Includes their respective constructor functions.
- Added types
KeyCredentialPolicy
andSASCredentialPolicy
to theazcore/runtime
package. - Includes their respective constructor functions and options types.
Bugs Fixed
- Fixed an issue that could cause some ARM RPs to not be automatically registered.
- Block bearer token authentication for non TLS protected endpoints.
Core 1.9.0-beta.1 Changelog
Other Changes
- The beta features for tracing and fakes have been reinstated.
Identity 1.4.0 Changelog
Bugs Fixed
ManagedIdentityCredential
will now retry when IMDS responds 410 or 503
Identity 1.5.0-beta.1 Changelog
Features Added
- Optional persistent token caching for most credentials. Set
TokenCachePersistenceOptions
on a credential’s options to enable and configure this. See the package documentation for this version and TOKEN_CACHING.md for more details. AzureDeveloperCLICredential
authenticates with the Azure Developer CLI (azd
). This credential is also part of theDefaultAzureCredential
authentication flow.
Identity - Cache 0.1.0 Changelog
Features Added
- Initial release
Identity - Cache 0.2.0 Changelog
Bugs Fixed
- Correct dependency versions
Key Vault - Keys 1.1.0-beta.1 Changelog
Features Added
- Enabled spans for distributed tracing.
Monitor Ingestion 0.1.1 Changelog
Bugs Fixed
- Added sovereign cloud support
OpenAI 0.3.0 Changelog
Features Added
- Support for Whisper audio APIs for transcription and translation using
GetAudioTranscription
andGetAudioTranslation
.
Breaking Changes
- ChatChoiceContentFilterResults content filtering fields are now all typed as ContentFilterResult, instead of unique types for each field.
PromptAnnotations
renamed toPromptFilterResults
inChatCompletions
andCompletions
.
Resource Management - Communication 2.1.0-beta.1 Changelog
Resource Management - Compute 5.2.0 Changelog
Resource Management - Compute 5.3.0-beta.1 Changelog
Resource Management - Container Registry 1.2.0-beta.1 Changelog
Resource Management - Container Registry 1.1.0 Changelog
Resource Management - Container Registry 1.2.0-beta.2 Changelog
Resource Management - Container Service 4.4.0-beta.1 Changelog
Resource Management - Container Service 4.4.0-beta.2 Changelog
Resource Management - Cosmosforpostgresql 1.0.0 Changelog
Resource Management - Hybrid Connectivity 1.0.0 Changelog
Resource Management - IoT Hub 1.2.0 Changelog
Resource Management - Kubernetes Configuration 2.1.0 Changelog
Resource Management - Managed Applications 2.0.0 Changelog
Resource Management - Marketplace Ordering 1.2.0-beta.3 Changelog
Resource Management - Monitor 0.10.2 Changelog
Resource Management - Network 4.2.0 Changelog
Resource Management - Network 4.3.0-beta.1 Changelog
Resource Management - Playwrighttesting 0.1.0 Changelog
Resource Management - Recovery Services Site Recovery 2.1.0 Changelog
Resource Management - Redis 3.0.0 Changelog
Resource Management - Resource Graph 0.8.2 Changelog
Resource Management - Resources 1.2.0-beta.3 Changelog
Resource Management - SQL 2.0.0-beta.2 Changelog
Resource Management - Service Fabric Mesh 0.6.2 Changelog
Resource Management - SignalR 1.2.0-beta.1 Changelog
Resource Management - Storage 1.5.0-beta.1 Changelog
Resource Management - Subscriptions 1.3.0-beta.3 Changelog
Service Bus 1.5.0 Changelog
Features Added
- Added
(Queue|Subscription|Topic)Name
fields to appropriate responses in theadmin.Client
. PR#21632
Storage - Blobs 1.2.0-beta.1 Changelog
Bugs Fixed
- Fixed issue where some requests fail with mismatch in string to sign.
- Fixed service SAS creation where expiry time or permissions can be omitted when stored access policy is used. Fixes #21229.
Features Added
- Added support for service version 2020-12-06, 2021-02-12, 2021-04-10, 2021-06-08, 2021-08-06 , 2021-10-04, 2021-12-02, 2022-11-02, 2023-01-03, 2023-05-03, and 2023-08-03
- Added support for Cold Tier.
- Added
CopySourceTag
option forUploadBlobFromURLOptions
- Added FilterBlobs by Tags API for container client.
- Added
System
option toListContainersInclude
to allow listing of system containers (i.e, $web). - Updated the SAS Version to
2021-12-02
and addedEncryption Scope
to Account SAS, Service SAS, and User Delegation SAS - Added
ArchiveStatusRehydratePendingToCold
value toArchiveStatus
enum. - Content length limit for
AppendBlob.AppendBlock()
andAppendBlob.AppendBlockFromURL()
raised from 4 MB to 100 MB.
Storage - Blobs 1.2.0 Changelog
Bugs Fixed
- Fixed null pointer exception when
SetImmutabilityPolicyOptions
is passed asnil
.
Storage - Files Share 1.1.0 Changelog
Bugs Fixed
-
Fixed a bug where the x-ms-file-attributes
header could be set to contain invalid trailing or leadingcharacters.
Features Added
- Updated service version to
2022-11-02
.
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.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.8.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.9.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.5.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity/cache@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity/cache@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azappconfig@v0.6.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azappconfig@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/azingest@v0.1.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/communication/armcommunication@v2.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v5.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v5.3.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerregistry/armcontainerregistry@v1.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerregistry/armcontainerregistry@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerregistry/armcontainerregistry@v1.2.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.4.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.4.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cosmosforpostgresql/armcosmosforpostgresql@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/hybridconnectivity/armhybridconnectivity@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/iothub/armiothub@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration@v2.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/marketplaceordering/armmarketplaceordering@v1.2.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/monitor/armmonitor@v0.10.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v4.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v4.3.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/playwrighttesting/armplaywrighttesting@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery@v2.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/redis/armredis@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resourcegraph/armresourcegraph@v0.8.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resources/armresources@v1.2.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resources/armsubscriptions@v1.3.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/servicefabricmesh/armservicefabricmesh@v0.6.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/signalr/armsignalr@v1.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/solutions/armmanagedapplications@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/sql/armsql@v2.0.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/storage/armstorage@v1.5.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azkeys@v1.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.1.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.