Azure SDK for Go (September 2024)
The Azure SDK team is pleased to announce our September 2024 client library releases.
30 packages released this month.
Stable Packages (9)
-
Cosmos DB
-
Resource Management - App Service
-
Resource Management - Azure Stack HCI
-
Resource Management - Billing
-
Resource Management - Compute
-
Resource Management - Container Apps
-
Resource Management - Data Factory
-
Resource Management - Machine Learning
-
Resource Management - Net App
Patch Updates (4)
-
Event Hubs
-
Service Bus
-
Storage - Blobs
-
Storage - Files Share
Beta Packages (15)
-
Container Registry
-
Identity
-
OpenAI
-
OpenAI Assistants
-
Query - Logs
-
Resource Management - Container Service
-
Resource Management - HDInsight Containers
-
Resource Management - Hdinsight
-
Resource Management - Healthdataaiservices
-
Resource Management - Log Analytics
-
Resource Management - Servicenetworking
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
-
System Events
Release highlights
Container Registry 0.2.2 Changelog
Features Added
- Add
AuthenticationClient
enabling third party libraries to interact with container and artifact registries
Cosmos DB 1.1.0 Changelog
Features Added
- Added support for OpenTelemetry trace spans. See PR 23268
- Added support for MaxIntegratedCacheStaleness option See PR 23406
Bugs Fixed
- Fixed sending
Prefer
header withreturn=minimal
value on metadata operations. See PR 23335 - Fixed routing metadata requests to satellite regions when using ClientOptions.PreferredRegions and multiple write region accounts. See PR 23339
Event Hubs 1.2.2 Changelog
Bugs Fixed
- Fixed a bug that where a short context deadline could prevent recovery from ever happening. The end result would be a broken PartitionClient/ConsumerClient that would never recover from the underlying failure. (PR#23337)
Identity 1.8.0-beta.3 Changelog
Features Added
- Added
ObjectID
type forManagedIdentityCredentialOptions.ID
OpenAI 0.6.1 Changelog
Bugs Fixed
- Client now respects the
InsecureAllowCredentialWithHTTP
flag for allowing non-HTTPS connections. Thank you @ukrocks007! (PR#23188)
OpenAI 0.6.2 Changelog
Features Added
- Added Batch and File APIs.
Breaking Changes
- FunctionDefinition.Parameters has been changed to take JSON instead of an object/map. You can set it using code similar to this:
parametersJSON, err := json.Marshal(map[string]any{
"required": []string{"location"},
"type": "object",
"properties": map[string]any{
"location": map[string]any{
"type": "string",
"description": "The city and state, e.g. San Francisco, CA",
},
},
})
if err != nil {
// TODO: Update the following line with your application specific error handling logic
log.Printf("ERROR: %s", err)
return
}
// and then, in ChatCompletionsOptions
opts := azopenai.ChatCompletionsOptions{
Functions: []azopenai.FunctionDefinition{
{
Name: to.Ptr("get_current_weather"),
Description: to.Ptr("Get the current weather in a given location"),
Parameters: parametersJSON,
},
},
}
OpenAI Assistants 0.2.1 Changelog
Features Added
- Added support for the
FileSearch
tool definition. - Added
ChunkingStrategy
to vector store creation APIs.
Query - Logs 1.1.0-beta.1 Changelog
Features Added
- Added batch query functionality
Resource Management - App Service 4.0.0 Changelog
Resource Management - Azure Stack HCI 2.0.0 Changelog
Resource Management - Billing 1.0.0 Changelog
Resource Management - Compute 6.1.0 Changelog
Resource Management - Container Apps 3.0.0 Changelog
Resource Management - Container Service 6.1.0-beta.1 Changelog
Resource Management - Data Factory 9.0.0 Changelog
Resource Management - HDInsight Containers 0.4.0 Changelog
Resource Management - Hdinsight 1.3.0-beta.2 Changelog
Resource Management - Healthdataaiservices 0.1.0 Changelog
Resource Management - Log Analytics 2.0.0-beta.4 Changelog
Resource Management - Machine Learning 4.0.0 Changelog
Resource Management - Net App 7.2.0 Changelog
Resource Management - Servicenetworking 1.1.0-beta.1 Changelog
Service Bus 1.7.2 Changelog
Bugs Fixed
- Fixed a bug where cancelling RenewMessageLock() calls could cause hangs in future RenewMessageLock calls. (PR#23400)
Storage - Blobs 1.4.1-beta.1 Changelog
Features Added
- Upgraded service version to
2024-08-04
.
Storage - Blobs 1.4.1 Changelog
Features Added
- Added crc64 response header to Put Blob.
- Upgraded service version to
2024-08-04
.
Storage - Files Data Lake 1.2.1-beta.1 Changelog
Features Added
- Upgraded service version to
2024-08-04
.
Storage - Files Share 1.3.1-beta.1 Changelog
Features Added
- Snapshot management support via REST for NFS shares.
- Upgraded service version to
2024-08-04
.
Storage - Files Share 1.3.1 Changelog
Features Added
- Upgraded service version to
2024-08-04
.
System Events 0.4.1 Changelog
Breaking Changes
- Models that were not system events (ex: ACSChatMessageEventInThreadBaseProperties), or referenced by system events, have been removed.
Features Added
- New fields have been added:
- StorageBlobCreatedEventData: AccessTier
- StorageBlobTierChangedEventData: AccessTier and PreviousTier
System Events 0.4.2 Changelog
Features Added
- A new field has been added to StorageLifecyclePolicyCompletedEventData:
- TierToColdSummary
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.6.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/ai/azopenai@v0.6.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/ai/azopenaiassistants@v0.2.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/azidentity@v1.8.0-beta.3
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/containers/azcontainerregistry@v0.2.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/data/azcosmos@v1.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azeventhubs@v1.2.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/azservicebus@v1.7.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/eventgrid/azsystemevents@v0.4.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/messaging/eventgrid/azsystemevents@v0.4.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/monitor/query/azlogs@v1.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appcontainers/armappcontainers@v3.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/appservice/armappservice@v4.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/azurestackhci/armazurestackhci@v2.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/billing/armbilling@v1.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/compute/armcompute@v6.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/containerservice/armcontainerservice@v6.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/datafactory/armdatafactory@v9.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/hdinsight/armhdinsight@v1.3.0-beta.2
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/hdinsightcontainers/armhdinsightcontainers@v0.4.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/healthdataaiservices/armhealthdataaiservices@v0.1.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/machinelearning/armmachinelearning@v4.0.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/netapp/armnetapp@v7.2.0
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/operationalinsights/armoperationalinsights@v2.0.0-beta.4
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/resourcemanager/servicenetworking/armservicenetworking@v1.1.0-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.4.1-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azblob@v1.4.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azdatalake@v1.2.1-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.3.1-beta.1
go get -u github.com/Azure/azure-sdk-for-go/sdk/sdk/storage/azfile@v1.3.1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.