Azure SDK for Go (April 2024)
The Azure SDK team is pleased to announce our April 2024 client library releases.
48 packages released this month.
Stable Packages (18)
-
Core
-
Cosmos DB
-
Event Hubs
-
Eventgrid
-
Resource Management - Batch
-
Resource Management - Chaos
-
Resource Management - Communication
-
Resource Management - Compute
-
Resource Management - Confluent
-
Resource Management - Container Service
-
Resource Management - Data Factory
-
Resource Management - IoT Firmware Defense
-
Resource Management - Mobile Network
-
Resource Management - Net App
-
Resource Management - New Relic Observability
-
Resource Management - Sphere
-
Service Bus
-
Tables
Patch Updates (6)
-
Core
-
Identity
-
Resource Management - Network
-
Storage - Blobs
-
Storage - Files Share
-
unknown
Beta Packages (22)
-
Event Grid
-
Identity
-
Logs
-
Monitor Ingestion
-
OpenAI
-
Resource Management - Cognitive Search
-
Resource Management - Container Apps
-
Resource Management - Container Service
-
Resource Management - Container Service Fleet
-
Resource Management - Cosmos DB
-
Resource Management - Cosmos DB for PostgreSQL
-
Resource Management - HDInsight Containers
-
Resource Management - Nginx
-
Resource Management - Notification Hubs
-
Resource Management - Quantum
-
Resource Management - Service Linker
-
Resource Management - Support
-
Resource Management - Workloadssapvirtualinstance
-
Storage - Files Data Lake
-
Systemevents
-
Template
-
unknown
Release highlights
Core 1.11.0 Changelog
Bugs Fixed
runtime.SetMultipartFormData
won’t try to stringify[]byte
values.- Pollers that use the
Location
header won’t considerhttp.StatusTooManyRequests
a terminal failure.
Features Added
- Added
StatusCodes
toarm/policy.RegistrationOptions
to allow supporting non-standard HTTP status codes during registration. - Added field
InsecureAllowCredentialWithHTTP
toazcore.ClientOptions
and dependent authentication pipeline policies. - Added type
MultipartContent
to thestreaming
package to support multipart/form payloads with custom Content-Type and file name.
Core 1.11.1 Changelog
Bugs Fixed
- Pollers that use the
Location
header won’t considerhttp.StatusRequestTimeout
a terminal failure. runtime.Poller[T].Result
won’t consider non-terminal error responses as terminal.
Cosmos DB 1.0.0 Changelog
Breaking Changes
- ItemOptions.SessionToken, QueryOptions.SessionToken, QueryOptions.ContinuationToken, QueryDatabasesOptions.ContinuationToken, QueryContainersOptions.ContinuationToken are now
*string
- ItemResponse.SessionToken, QueryItemsResponse.ContinuationToken, QueryContainersResponse.ContinuationToken, QueryDatabasesResponse.ContinuationToken are now
*string
Features Added
- Added regional routing support through ClientOptions.PreferredRegions
- Added cross-region availability and failover mechanics supporting Azure Cosmos DB SDK multiregional environment behavior
- Added extended logging for requests, responses, and client configuration
Event Grid 0.5.0 Changelog
Other Changes
- This module has been split into two separate modules, one for each of the two different Event Grid products.
- The Event Grid Basic package in
azeventgrid/publisher
has been replaced withgithub.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azeventgrid
- The Event Grid Namespaces package in
azeventgrid
has been replaced withgithub.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/aznamespaces
Event Hubs 1.1.0 Changelog
Bugs Fixed
- Fixed a race condition between Processor.Run() and Processor.NextPartitionClient() where cancelling Run() quickly could lead to NextPartitionClient hanging indefinitely. (PR#22541)
Features Added
- Add in ability to handle emulator connection strings. (PR#22663)
Eventgrid 1.0.0 Changelog
- GA for the Event Grid basic module.
Identity 1.6.0-beta.3 Changelog
Bugs Fixed
ManagedIdentityCredential
now specifies resource IDs correctly for Azure Container Instances
Breaking Changes
DefaultAzureCredential
now sends a probe request with no retries for IMDS managed identity environments to avoid excessive retry delays when the IMDS endpoint is not available. This should improve credential chain resolution for local development scenarios.
Identity 1.5.2 Changelog
Bugs Fixed
ManagedIdentityCredential
now specifies resource IDs correctly for Azure Container Instances
Logs 0.2.0 Changelog
Breaking Changes
- Moved from
sdk/monitor/azingest
tosdk/monitor/ingestion/azlogs
Monitor Ingestion 0.1.2 Changelog
Other Changes
- This module is now DEPRECATED. The latest supported version of this module is at github.com/Azure/azure-sdk-for-go/sdk/monitor/ingestion/azlogs
OpenAI 0.5.1 Changelog
Features Added
- Updating to the
2024-03-01-preview
API version. This adds support for using Dimensions with Embeddings as well as the ability to choose the embeddings format. This update also adds in theModel
field for ChatCompletions responses. PR(#22603)
Resource Management - Batch 2.3.0 Changelog
Resource Management - Chaos 1.1.0 Changelog
Resource Management - Cognitive Search 1.4.0-beta.1 Changelog
Resource Management - Communication 2.2.0 Changelog
Resource Management - Compute 5.6.0 Changelog
Resource Management - Confluent 1.3.0 Changelog
Resource Management - Container Apps 3.0.0-beta.1 Changelog
Resource Management - Container Service 4.8.0 Changelog
Resource Management - Container Service 4.9.0-beta.1 Changelog
Resource Management - Container Service Fleet 1.2.0-beta.1 Changelog
Resource Management - Cosmos DB 3.0.0-beta.4 Changelog
Resource Management - Cosmos DB for PostgreSQL 1.2.0-beta.1 Changelog
Resource Management - Data Factory 6.1.0 Changelog
Resource Management - HDInsight Containers 0.3.0 Changelog
Resource Management - IoT Firmware Defense 1.0.0 Changelog
Resource Management - Mobile Network 4.0.0 Changelog
Resource Management - Net App 6.0.0 Changelog
Resource Management - Network 5.1.1 Changelog
Resource Management - New Relic Observability 1.2.0 Changelog
Resource Management - Nginx 3.1.0-beta.1 Changelog
Resource Management - Notification Hubs 2.0.0-beta.1 Changelog
Resource Management - Quantum 0.8.0 Changelog
Resource Management - Service Linker 2.0.0-beta.1 Changelog
Resource Management - Sphere 1.0.0 Changelog
Resource Management - Support 2.0.0-beta.3 Changelog
Resource Management - Workloadssapvirtualinstance 0.1.0 Changelog
Service Bus 1.7.0 Changelog
Features Added
- Add in ability to handle emulator connection strings. (PR#22663)
Storage - Blobs 1.3.2 Changelog
Bugs Fixed
- Fixed an issue where GetSASURL() was providing HTTPS SAS, instead of the default http+https SAS. Fixes #22448
Storage - Files Data Lake 1.1.2-beta.1 Changelog
Features Added
- Append API Bundled with Flush functionality
- HNS Encryption Scope support
- Append API with acquire lease, release lease and renewal of lease support.
- Flush API bundled with release lease option.
- HNS Encryption Context support
- Pagination Support for recursive directory deletion
- Bundle ability to set permission, owner, group, acl, lease, expiry time and umask along with FileSystem.CreateFile and FileSystem.CreateDirectory APIs.
- Added support for AAD Audience when OAuth is used.
- Updated service version to
2023-11-03
- Integrate
InsecureAllowCredentialWithHTTP
client options.
Bugs Fixed
- Fixed an issue where GetSASURL() was providing HTTPS SAS, instead of the default http+https SAS. Fixes #22448
Storage - Files Share 1.2.2 Changelog
Bugs Fixed
- Fixed an issue where GetSASURL() was providing HTTPS SAS, instead of the default http+https SAS. Fixes #22448
Systemevents 0.2.0 Changelog
Breaking Changes
- Events have been renamed:
- APIDefinitionAddedEventData renamed to APICenterAPIDefinitionAddedEventData
- APIDefinitionUpdatedEventData renamed to APICenterAPIDefinitionUpdatedEventData
Features Added
- Added API Center system events under their official names.
Systemevents 0.3.0 Changelog
Breaking Changes
Field and type renames:
- Globally, types and fields named ChannelType has been renamed to ChannelKind
- ACS events and constants have been changed to use an all-caps name (ex: AcsEmailDeliveryReportStatusDetails -> ACSEmailDeliveryReportStatusDetails).
- ACSAdvancedMessageContext.ID -> MessageID
- ACSAdvancedMessageReceivedEventData
- .Media -> MediaContent
- .Interactive -> InteractiveContent
Features Added
- Added events ACSRouterWorkerUpdatedEventData and ACSAdvancedMessageDeliveryStatusUpdatedEventData. (PR#22638)
Tables 1.2.0 Changelog
Bugs Fixed
- Fixed an issue that could cause
Client.NewListEntitiesPager
to skip pages in some cases. - Fixed an issue that could cause unmarshaling empty time values to fail.
Features Added
- Methods
Client.AddEntity
andServiceClient.NewListTablesPager
now include OData metadata in their responses. - The amount of OData metadata returned has been made configurable for the following methods:
Client.AddEntity
,Client.GetEntity
,Client.NewListEntitiesPager
, andServiceClient.NewListTablesPager
.- Use one of the following constants to specify the amount:
MetadataFormatFull
,MetadataFormatMinimal
, orMetadataFormatNone
.
Template 0.4.0 Changelog
- Template package validating release pipeline
Template 0.6.0 Changelog
- Template package validating release pipeline
unknown 0.1.0 Changelog
unknown 1.0.1 Changelog
Other Changes
- Upgraded dependencies
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.5.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.11.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.11.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.6.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.5.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azcosmos@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/aztables@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventgrid@v0.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.7.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/eventgrid/azeventgrid@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/eventgrid/azsystemevents@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/eventgrid/azsystemevents@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/azingest@v0.1.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/ingestion/azlogs@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appcontainers/armappcontainers@v3.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/batch/armbatch@v2.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/chaos/armchaos@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/communication/armcommunication@v2.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v5.6.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/confluent/armconfluent@v1.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.8.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.9.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservicefleet/armcontainerservicefleet@v1.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cosmos/armcosmos@v3.0.0-beta.4
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cosmosforpostgresql/armcosmosforpostgresql@v1.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/datafactory/armdatafactory@v6.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/hdinsightcontainers/armhdinsightcontainers@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/iotfirmwaredefense/armiotfirmwaredefense@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/migrationdiscovery/armmigrationdiscoverysap@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mobilenetwork/armmobilenetwork@v4.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/netapp/armnetapp@v6.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v5.1.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/newrelic/armnewrelicobservability@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/nginx/armnginx@v3.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/notificationhubs/armnotificationhubs@v2.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/quantum/armquantum@v0.8.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/search/armsearch@v1.4.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/servicelinker/armservicelinker@v2.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/sphere/armsphere@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/support/armsupport@v2.0.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/workloadssapvirtualinstance/armworkloadssapvirtualinstance@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/internal@v1.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.3.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azdatalake@v1.1.2-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.2.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/template/aztemplate@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/template/aztemplate@v0.6.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.