Azure SDK for Go (February 2023)
The Azure SDK team is pleased to announce our February 2023 client library releases.
22 packages released this month.
Stable Packages (11)
-
Monitor Query
-
Resource Management - Bot Service
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Managed Service Identity
-
Resource Management - Media Services
-
Resource Management - Mobile Network
-
Resource Management - PostgreSQL Flexible Servers
-
Resource Management - Recovery Services Backup
-
Service Bus
-
Storage - Blobs
Patch Updates (3)
-
Core
-
Identity
-
Resource Management - Load Testing
Beta Packages (8)
-
Container Registry
-
Core
-
Event Hubs
-
Identity
-
Resource Management - Container Instances
-
Resource Management - Container Service
-
Resource Management - Data Protection
-
Resource Management - Maintenance
Release highlights
Container Registry 0.1.0 Changelog
- This is the initial release of the
azcontainerregistry
library
Core 1.3.1 Changelog
Other Changes
- Update dependencies to latest versions.
Core 1.4.0-beta.1 Changelog
Features Added
- Added support for ARM cross-tenant authentication. Set the
AuxiliaryTenants
field ofarm.ClientOptions
to enable. - Added
Claims
andTenantID
fields topolicy.TokenRequestOptions
. - ARM bearer token policy handles CAE challenges.
Event Hubs 0.5.0 Changelog
Breaking Changes
- ProcessorOptions.OwnerLevel has been removed. The Processor uses 0 as the owner level.
- Uses the public release of
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
package rather than using an internal copy. For an example, see example_processor_test.go.
Features Added
- Adds ProcessorOptions.Prefetch field, allowing configuration of Prefetch values for PartitionClients created using the Processor. (PR#19786)
- Added new function to parse connection string into values using
ParseConnectionString
andConnectionStringProperties
. (PR#19855)
Identity 1.2.1 Changelog
Other Changes
- Upgrade MSAL to v0.8.1
Identity 1.3.0-beta.3 Changelog
Features Added
- By default, credentials set client capability “CP1” to enable support for Continuous Access Evaluation (CAE). This indicates to Azure Active Directory that your application can handle CAE claims challenges. You can disable this behavior by setting the environment variable “AZURE_IDENTITY_DISABLE_CP1” to “true”.
InteractiveBrowserCredentialOptions.LoginHint
enables pre-populating the login prompt with a username (#15599)- Service principal and user credentials support ADFS authentication on Azure Stack. Specify “adfs” as the credential’s tenant.
- Applications running in private or disconnected clouds can prevent credentials from
requesting Azure AD instance metadata by setting the
DisableInstanceDiscovery
field on credential options. - Many credentials can now be configured to authenticate in multiple tenants. The
options types for these credentials have an
AdditionallyAllowedTenants
field that specifies additional tenants in which the credential may authenticate.
Monitor Query 1.0.0 Changelog
Breaking Changes
- Removed
LogsQueryOptions.String()
- Fix casing on some metrics fields
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.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 - Load Testing 1.0.2 Changelog
Resource Management - Maintenance 1.1.0-beta.2 Changelog
Resource Management - Managed Service Identity 1.0.0 Changelog
Resource Management - Media Services 3.2.0 Changelog
Resource Management - Mobile Network 2.0.0 Changelog
Resource Management - PostgreSQL Flexible Servers 2.0.0 Changelog
Resource Management - Recovery Services Backup 2.0.0 Changelog
Service Bus 1.2.0 Changelog
Bugs Fixed
- Links could hang when closing, preventing recovery from completing and making a link appear stalled. (PR#19886)
Storage - Blobs 1.0.0 Changelog
Breaking Changes
- Changed API signatures to map correctly to Azure Storage REST APIs, These changes impact:
blob.GetSASURL()
blockblob.StageBlockFromURL()
container.SetAccessPolicy()
container.GetSASURL()
service.GetSASURL()
service.FilterBlobs()
lease.AcquireLease()
(blobs and containers)lease.ChangeLease()
(blobs and containers)- Type name changes:
CpkInfo
->CPKInfo
CpkScopeInfo
->CPKScopeInfo
RuleId
->RuleID
PolicyId
->PolicyID
CorsRule
->CORSRule
- Remove
AccountServices
it is now hardcoded to blobs
Bugs Fixed
- Fixed encoding issues seen in FilterBlobs. Fixes #17421.
- Fixing inconsistency seen with Metadata and ORS response. Fixes #19688.
- Fixed endless loop during pagination issue #19773.
Features Added
- Add support to log calculated block size and count during uploads
- Added MissingSharedKeyCredential error type for cleaner UX. Related to #19864.
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.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.4.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.2.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.3.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/containers/azcontainerregistry@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v0.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/azquery@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.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/loadtesting/armloadtesting@v1.0.2
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/msi/armmsi@v1.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/armrecoveryservicesbackup@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.0.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.