Azure SDK for Go (June 2023)
The Azure SDK team is pleased to announce our June 2023 client library releases.
35 packages released this month.
Stable Packages (14)
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Cosmos DB
-
Resource Management - Cost Management
-
Resource Management - Data Box
-
Resource Management - Dev Center
-
Resource Management - Front Door
-
Resource Management - Kubernetes Configuration
-
Resource Management - Network
-
Resource Management - New Relic Observability
-
Resource Management - Qumulo
-
Resource Management - Resource Health
-
Resource Management - Subscriptions
-
Service Bus
Patch Updates (2)
-
Core
-
Event Hubs
Beta Packages (18)
-
Container Registry
-
Core
-
Identity
-
Key Vault - Keys
-
Key Vault - Administration
-
Key Vault - Secrets
-
Otel
-
Resource Management - Container Apps
-
Resource Management - Container Service
-
Resource Management - DevHub
-
Resource Management - Elastic
-
Resource Management - Event Grid
-
Resource Management - MySQL Flexible Server
-
Resource Management - Networkcloud
-
Resource Management - PostgreSQL Flexible Server
-
Resource Management - SQL Virtual Machine
-
Resource Management - Selfhelp
-
Resource Management - Servicenetworking
Release highlights
Container Registry 0.2.0 Changelog
Breaking Changes
- Remove
MarshalJSON
for some of the types that are not used in the request.
Features Added
- Add
DigestValidationReader
to help to do digest validation when read manifest or blob
Bugs Fixed
- Add state restore for hash calculator when upload fails
- Do not re-calculate digest when retry
Core 1.7.0-beta.2 Changelog
Breaking Changes
These changes affect only code written against beta version v1.7.0-beta.1
- Method
SpanFromContext()
on typetracing.Tracer
had thebool
return value removed.- This includes the field
SpanFromContext
in supporting typetracing.TracerOptions
.- Method
AddError()
has been removed from typetracing.Span
.- Method
Span.End()
now requires an argument of type*tracing.SpanEndOptions
.
Bugs Fixed
- Fixed an issue in
azcore.NewClient()
andarm.NewClient()
that could cause an incorrect module name to be used in telemetry.
Core 1.6.1 Changelog
Bugs Fixed
- Retry policy always clones the underlying
*http.Request
before invoking the next policy. - Added some non-standard error codes to the list of error codes for unregistered resource providers.
- Fixed an issue in
azcore.NewClient()
andarm.NewClient()
that could cause an incorrect module name to be used in telemetry.
Core 1.7.0-beta.1 Changelog
Features Added
- Restored CAE support for ARM clients.
- Added supporting features to enable distributed tracing.
- Added func
runtime.StartSpan()
for use by SDKs to start spans. - Added method
WithContext()
toruntime.Request
to support shallow cloning with a new context. - Added field
TracingNamespace
toruntime.PipelineOptions
. - Added field
Tracer
toruntime.NewPollerOptions
andruntime.NewPollerFromResumeTokenOptions
types. - Added field
SpanFromContext
totracing.TracerOptions
. - Added methods
Enabled()
,SetAttributes()
, andSpanFromContext()
totracing.Tracer
. - Added supporting pipeline policies to include HTTP spans when creating clients.
- Added package
fake
to support generated fakes packages in SDKs. - The package contains public surface area exposed by fake servers and supporting APIs intended only for use by the fake server implementations.
- Added an internal fake poller implementation.
Bugs Fixed
- Retry policy always clones the underlying
*http.Request
before invoking the next policy. - Added some non-standard error codes to the list of error codes for unregistered resource providers.
Event Hubs 1.0.1 Changelog
Bugs Fixed
- GetPartitionProperties and GetEventHubProperties now retry properly on failures. (PR#20893)
- Connection recovery could artifically fail, prolonging recovery. (PR#20883)
Identity 1.4.0-beta.1 Changelog
Other Changes
- Re-enabled CAE support as in v1.3.0-beta.3
Key Vault - Keys 0.12.0 Changelog
Breaking Changes
- Renamed
GetRandomBytesRequest
toGetRandomBytesParameters
ListDeletedKey
toListDeletedKeyProperties
ListKeys
toListKeyProperties
DeletedKeyBundle
toDeletedKey
KeyBundle
toKeyVaultKey
RestoreKeyParameters.KeyBundleBackup
toRestoreKeyParameters.KeyBackup
DeletedKeyItem
toDeletedKeyProperties
KeyItem
toKeyProperties
DeletedKeyListResult
toDeletedKeyPropertiesListResult
KeyListResult
KeyPropertiesListResult
KeyOperationsParameters
toKeyOperationParameters
- Changed
JSONWebKey.KeyOperations
from type []string to []KeyOperation ReleaseParameters.Enc
toReleaseParameters.Algorithm
KeyOperationParameters.AAD
toKeyOperationParameters.AdditionalAuthenticatedData
KeyOperationParameters.Tag
toKeyOperationParameters.AuthenticationTag
JSONWebKeyOperation
toKeyOperation
JSONWebKeyCurveName
toKeyCurveName
JSONWebKeyEncryptionAlgorithm
toEncryptionAlgorithm
JSONWebKeySignatureAlgorithm
toSignatureAlgorithm
JSONWebKeyType
toKeyType
LifetimeActions
toLifetimeAction
- Removed
DeletionRecoveryLevel
type - Removed
SignatureAlgorithmRSNULL
constant - Removed
KeyOperationExport
constant - Removed
MaxResults
option
Key Vault - Administration 0.3.0 Changelog
Breatking Changes
- Renamed
SASTokenParameter
toSASTokenParameters
- Renamed
RestoreOperationParameters.SasTokenParameters
toRestoreOperationParameters.SASTokenParameters
Other Changes
- Updated dependencies
Key Vault - Secrets 0.14.0 Changelog
Breaking Changes
- Renamed
Client.ListSecrets
toClient.ListSecretProperties
- Renamed
Client.ListSecretVersions
toClient.ListSecretPropertiesVersions
- Renamed
SecretBundle
toSecret
- Renamed
DeletedSecretBundle
toDeletedSecret
- Renamed
SecretItem
toSecretProperties
- Renamed
DeletedSecretItem
toDeletedSecretProperties
- Renamed
Kid
toKID
- Removed
DeletionRecoveryLevel
type - Remove
MaxResults
option
Otel 0.1.0 Changelog
Features Added
- Initial release
Resource Management - Compute 5.0.0 Changelog
Resource Management - Container Apps 2.0.0-beta.3 Changelog
Resource Management - Container Service 4.1.0-beta.1 Changelog
Resource Management - Container Service 4.0.0 Changelog
Resource Management - Cosmos DB 2.5.0 Changelog
Resource Management - Cost Management 2.0.0 Changelog
Resource Management - Data Box 2.0.0 Changelog
Resource Management - Dev Center 1.0.0 Changelog
Resource Management - DevHub 0.4.0 Changelog
Resource Management - Elastic 0.9.0 Changelog
Resource Management - Event Grid 2.2.0-beta.1 Changelog
Resource Management - Front Door 1.2.0 Changelog
Resource Management - Kubernetes Configuration 2.0.0 Changelog
Resource Management - MySQL Flexible Server 2.0.0-beta.1 Changelog
Resource Management - Network 3.0.0 Changelog
Resource Management - Networkcloud 0.1.0 Changelog
Resource Management - New Relic Observability 1.0.0 Changelog
Resource Management - PostgreSQL Flexible Server 4.0.0-beta.1 Changelog
Resource Management - Qumulo 1.0.0 Changelog
Resource Management - Resource Health 1.2.0 Changelog
Resource Management - SQL Virtual Machine 0.9.0 Changelog
Resource Management - Selfhelp 0.1.0 Changelog
Resource Management - Servicenetworking 0.3.0 Changelog
Resource Management - Subscriptions 1.2.0 Changelog
Service Bus 1.4.0 Changelog
Features Added
admin.SubscriptionProperties
now allow for aDefaultRule
to be set. This allows Subscriptions to be created with an immediate filter/action. Contributed by @StrawbrryFlurry. (PR#20888)
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.7.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.6.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azcore@v1.7.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.4.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/containers/azcontainerregistry@v0.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v1.0.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appcontainers/armappcontainers@v2.0.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v5.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v4.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/cosmos/armcosmos@v2.5.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/costmanagement/armcostmanagement@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/databox/armdatabox@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/devcenter/armdevcenter@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/devhub/armdevhub@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/elastic/armelastic@v0.9.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/eventgrid/armeventgrid@v2.2.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/frontdoor/armfrontdoor@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/liftrqumulo/armqumulo@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/mysql/armmysqlflexibleservers@v2.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/network/armnetwork@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/networkcloud/armnetworkcloud@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/newrelic/armnewrelicobservability@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers@v4.0.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resourcehealth/armresourcehealth@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/resources/armsubscriptions@v1.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/selfhelp/armselfhelp@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/servicenetworking/armservicenetworking@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/sqlvirtualmachine/armsqlvirtualmachine@v0.9.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azadmin@v0.3.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azkeys@v0.12.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/security/keyvault/azsecrets@v0.14.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/tracing/azotel@v0.1.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.