Azure SDK for Go (November 2022)
The Azure SDK team is pleased to announce our November 2022 client library releases.
23 packages released this month.
Stable Packages (8)
-
Core
-
Identity
-
Resource Management - Avs
-
Resource Management - Cognitive Services
-
Resource Management - Datafactory
-
Resource Management - Loadtestservice
-
Resource Management - Nginx
-
Resource Management - Redis
Patch Updates (2)
-
Resource Management - Network
-
Service Bus
Beta Packages (10)
-
App Configuration
-
Event Hubs
-
Key Vault - Certificates
-
Key Vault - Keys
-
Key Vault - Secrets
-
Monitor Query
-
Resource Management - Elasticsan
-
Resource Management - Monitor
-
Resource Management - Policyinsights
-
Resource Management - Securitydevops
Release highlights
App Configuration 0.4.3 Changelog
Bugs Fixed
- Fixed missing host URL when iterating over pages.
App Configuration 0.4.2 Changelog
Bugs Fixed
- Fixed a bug in
syncTokenPolicy
that could cause a panic in some conditions.
App Configuration 0.5.0 Changelog
Bugs Fixed
OnlyIfChanged
andOnlyIfUnchanged
option fields have no effect (#19297)
Breaking Changes
- Changed type of
OnlyIfChanged
andOnlyIfUnchanged
option fields frombool
to*azcore.ETag
.
Core 1.2.0 Changelog
Bugs Fixed
- Fixed an issue in
runtime.SetMultipartFormData
to properly handle slices ofio.ReadSeekCloser
. - Fixed the MaxRetryDelay default to be 60s.
- Failure to poll the state of an LRO will now return an
*azcore.ResponseError
for poller types that require this behavior. - Fixed a bug in
runtime.NewPipeline
that would cause pipeline-specified allowed headers and query parameters to be lost.
Features Added
- Added
ClientOptions.APIVersion
field, which overrides the default version a client requests of the service, if the client supports this (all ARM clients do). - Added package
tracing
that contains the building blocks for distributed tracing. - Added field
TracingProvider
to typepolicy.ClientOptions
that will be used to set the per-client tracing implementation.
Event Hubs 0.2.0 Changelog
Bugs Fixed
- Retries now respect cancellation when they’re in the “delay before next try” phase. (PR#19295)
- Fixed a potential leak which could cause us to open and leak a $cbs link connection, resulting in errors. (PR#19326)
Breaking Changes
- EventDataBatch.NumMessages() renamed to EventDataBatch.NumEvents()
- Prefetch is now enabled by default. To disable it set PartitionClientOptions.Prefetch to -1.
- NewWebSocketConnArgs renamed to WebSocketConnParams
- Code renamed to ErrorCode, including associated constants like
ErrorCodeOwnershipLost
. - OwnershipData, CheckpointData, and CheckpointStoreAddress have been folded into their individual structs: Ownership and Checkpoint.
- StartPosition and OwnerLevel were erroneously included in the ConsumerClientOptions struct - they’ve been removed. These can be configured in the PartitionClientOptions.
Features Added
- Raw AMQP message support, including full support for encoding Body (Value, Sequence and also multiple byte slices for Data). See ExampleEventDataBatch_AddEventData_rawAMQPMessages for some concrete examples. (PR#19156)
- Prefetch is now enabled by default. Prefetch allows the Event Hubs client to maintain a continuously full cache of events, controlled by PartitionClientOptions.Prefetch. (PR#19281)
- ConsumerClient.ID() returns a unique ID representing each instance of ConsumerClient.
Event Hubs 0.3.0 Changelog
Bugs Fixed
- $cbs link is properly closed, even on cancellation (#19492)
Breaking Changes
- ProducerClient.SendEventBatch renamed to ProducerClient.SendEventDataBatch, to align with the name of the type.
Identity 1.2.0 Changelog
Other Changes
- This version includes all fixes and features from 1.2.0-beta.*
Key Vault - Certificates 0.8.0 Changelog
Breaking Changes
NewClient
returns anerror
Key Vault - Keys 0.9.0 Changelog
Breaking Changes
NewClient
returns anerror
Key Vault - Secrets 0.11.0 Changelog
Breaking Changes
NewClient
returns anerror
Monitor Query 0.3.0 Changelog
Features Added
- Added
ColumnIndexLookup
field to Table struct - Added type
Row
- Added sovereign cloud support
Breaking Changes
- Added error return values to
NewLogsClient
andNewMetricsClient
- Rename
Batch
toQueryBatch
- Rename
NewListMetricDefinitionsPager
toNewListDefinitionsPager
- Rename
NewListMetricNamespacesPager
toNewListNamespacesPager
- Changed type of
Render
andStatistics
from interface{} to []byte
Resource Management - Avs 1.1.0 Changelog
Resource Management - Cognitive Services 1.2.0 Changelog
Resource Management - Datafactory 2.0.0 Changelog
Resource Management - Elasticsan 0.1.0 Changelog
Resource Management - Loadtestservice 1.0.0 Changelog
Resource Management - Monitor 0.8.0 Changelog
Resource Management - Network 2.0.1 Changelog
Resource Management - Nginx 2.0.0 Changelog
Resource Management - Policyinsights 0.6.0 Changelog
Resource Management - Redis 2.1.0 Changelog
Resource Management - Securitydevops 0.1.0 Changelog
Service Bus 1.1.2 Changelog
Bugs Fixed
- $cbs link is properly closed, even on cancellation (#19492)
Features Added
- Added a client-side idle timer which will reset Receiver links, transparently, if the link is idle for 5 minutes.
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/azcore@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azappconfig@v0.4.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azappconfig@v0.4.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azappconfig@v0.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/keyvault/azcertificates@v0.8.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/keyvault/azkeys@v0.9.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/keyvault/azsecrets@v0.11.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.1.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/azquery@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/avs/armavs@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cognitiveservices/armcognitiveservices@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/datafactory/armdatafactory@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/elasticsan/armelasticsan@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/loadtestservice/armloadtestservice@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/monitor/armmonitor@v0.8.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v2.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/nginx/armnginx@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/policyinsights/armpolicyinsights@v0.6.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/redis/armredis@v2.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/securitydevops/armsecuritydevops@v0.1.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.