Azure SDK for Go (January 2023)
The Azure SDK team is pleased to announce our January 2023 client library releases.
28 packages released this month.
Stable Packages (14)
-
Core
-
Resource Management - Billingbenefits
-
Resource Management - Bot Service
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Media Services
-
Resource Management - Mobile Network
-
Resource Management - Mobilenetwork
-
Resource Management - Network
-
Resource Management - Networkfunction
-
Resource Management - PostgreSQL Flexible Servers
-
Resource Management - Recovery Services Site Recovery
-
Resource Management - Redhatopenshift
-
Resource Management - Storage
Patch Updates (1)
- Service Bus
Beta Packages (11)
-
Cosmos DB
-
Event Hubs
-
Identity
-
Monitor Query
-
Resource Management - Container Instances
-
Resource Management - Container Service
-
Resource Management - Data Protection
-
Resource Management - Dev Center
-
Resource Management - Maintenance
-
Resource Management - Servicenetworking
-
Storage - Blobs
Release highlights
Core 1.3.0 Changelog
Features Added
- Added
BearerTokenOptions.AuthorizationHandler
to enable extendingruntime.BearerTokenPolicy
with custom authorization logic - Added
Client
types and matching constructors to theazcore
andarm
packages. These represent a basic client for HTTP and ARM respectively.
Cosmos DB 0.3.3 Changelog
Features Added
- Added
PatchItem
function to patch documents - Added support for querying databases and containers
Event Hubs 0.4.0 Changelog
Bugs Fixed
- User-Agent was incorrectly formatted in our AMQP-based clients. (PR#19712)
- Connection recovery has been improved, removing some unnecessasry retries as well as adding a bound around some operations (Close) that could potentially block recovery for a long time. (PR#19683)
Identity 1.3.0-beta.1 Changelog
Features Added
WorkloadIdentityCredential
andDefaultAzureCredential
support Workload Identity Federation on Kubernetes.DefaultAzureCredential
support requires environment variable configuration as set by the Workload Identity webhook. (#15615)
Identity 1.3.0-beta.2 Changelog
Features Added
- Added
OnBehalfOfCredential
to support the on-behalf-of flow (#16642)
Bugs Fixed
AzureCLICredential
reports token expiration in local time (should be UTC)
Monitor Query 0.4.0 Changelog
Breaking Changes
- Changed type of
Body.Timespan
,MetricsClientQueryResourceOptions.Timespan
,Response.Timespan
from *string to *TimeInterval - Remove
ColumnIndexLookup
field from Table struct - Renamed
Body.Workspaces
toBody.AdditionalWorkspaces
- Renamed
Results.Render
andBatchResponse.Render
toResults.Visualization
andBatchResponse.Visualization
Features Added
- Added
TimeInterval
type with constructor to aid with timespan creation - Added
NewBatchQueryRequest
constructor to aid with logs batch requests - Added
LogsQueryOptions
model for easier setting of logs options
Resource Management - Billingbenefits 1.0.0 Changelog
Resource Management - Bot Service 1.0.0 Changelog
Resource Management - Compute 4.1.0 Changelog
Resource Management - Container Instances 2.2.0-beta.1 Changelog
Resource Management - Container Service 2.3.0-beta.2 Changelog
Resource Management - Container Service 2.4.0-beta.1 Changelog
Resource Management - Container Service 2.3.0 Changelog
Resource Management - Data Protection 2.0.0-beta.1 Changelog
Resource Management - Dev Center 0.4.0 Changelog
Resource Management - Maintenance 1.1.0-beta.2 Changelog
Resource Management - Media Services 3.2.0 Changelog
Resource Management - Mobile Network 2.0.0 Changelog
Resource Management - Mobilenetwork 1.0.0 Changelog
Resource Management - Network 2.1.0 Changelog
Resource Management - Networkfunction 2.0.0 Changelog
Resource Management - PostgreSQL Flexible Servers 2.0.0 Changelog
Resource Management - Recovery Services Site Recovery 1.1.0 Changelog
Resource Management - Redhatopenshift 1.1.0 Changelog
Resource Management - Servicenetworking 0.1.0 Changelog
Resource Management - Storage 1.2.0 Changelog
Service Bus 1.1.4 Changelog
Bugs Fixed
- User-Agent was incorrectly formatted in our AMQP-based clients. (PR#19712)
Storage - Blobs 0.6.1 Changelog
Bugs Fixed
- Fix compilation error on Darwin.
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.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.3.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.3.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azcosmos@v0.3.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.1.4
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/azquery@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/billingbenefits/armbillingbenefits@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/botservice/armbotservice@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v4.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerinstance/armcontainerinstance@v2.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v2.3.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v2.4.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v2.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/dataprotection/armdataprotection@v2.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/devcenter/armdevcenter@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/maintenance/armmaintenance@v1.1.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mediaservices/armmediaservices@v3.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mobilenetwork/armmobilenetwork@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mobilenetwork/armmobilenetwork@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v2.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/networkfunction/armnetworkfunction@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/redhatopenshift/armredhatopenshift@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/servicenetworking/armservicenetworking@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/storage/armstorage@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v0.6.1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.