Azure SDK for .NET (November 2020)
The Azure SDK team is pleased to announce our November 2020 client library releases.
GA
- Storage
- Core AMQP
- Digital Twins Core
- Extensions Configuration Secrets
- Identity
- Service Bus
- System Memory Data
Updates
- Add packages
Beta
- Azure Monitor
- Communication Administration
- Communication Chat
- Communication Common
- Communication SMS
- Core AMQP
- Core NewtonsoftJson
- Event Grid
- Event Hubs
- Extensions Azure
- Form Recognizer
- Key Vault Administration
- Key Vault Certificates
- Key Vault Keys
- Key Vault Secrets
- Management Library - Communication
- Metrics Advisor
- Search Documents
- Service Bus
- Tables
- Text Analytics
Installation Instructions
To install any of our packages, please search for them via Manage NuGet Packages... in Visual Studio (with Include prerelease checked) or copy these commands into your terminal:
$> dotnet add package Azure.AI.FormRecognizer --version 3.1.0-beta.1
$> dotnet add package Azure.AI.MetricsAdvisor --version 1.0.0-beta.2
$> dotnet add package Azure.AI.TextAnalytics --version 5.1.0-beta.3
$> dotnet add package Azure.Communication.Administration --version 1.0.0-beta.3
$> dotnet add package Azure.Communication.Chat --version 1.0.0-beta.3
$> dotnet add package Azure.Communication.Common --version 1.0.0-beta.3
$> dotnet add package Azure.Communication.Sms --version 1.0.0-beta.3
$> dotnet add package Azure.Core.Amqp --version 1.0.0
$> dotnet add package Azure.Data.Tables --version 3.0.0-beta.3
$> dotnet add package Azure.DigitalTwins.Core --version 1.0.1
$> dotnet add package Azure.Extensions.AspNetCore.Configuration.Secrets --version 1.0.2
$> dotnet add package Azure.Identity --version 1.3.0
$> dotnet add package Azure.Messaging.EventGrid --version 4.0.0-beta.4
$> dotnet add package Azure.Messaging.EventHubs --version 5.3.0-beta.4
$> dotnet add package Azure.Messaging.EventHubs.Processor --version 5.3.0-beta.4
$> dotnet add package Azure.Messaging.ServiceBus --version 7.0.0
$> dotnet add package Azure.Search.Documents --version 11.2.0-beta.2
$> dotnet add package Azure.Security.KeyVault.Administration --version 4.0.0-beta.3
$> dotnet add package Azure.Security.KeyVault.Certificates --version 4.2.0-beta.3
$> dotnet add package Azure.Security.KeyVault.Keys --version 4.2.0-beta.3
$> dotnet add package Azure.Security.KeyVault.Secrets --version 4.2.0-beta.3
$> dotnet add package Azure.Storage.Blobs --version 12.7.0
$> dotnet add package Azure.Storage.Blobs.Batch --version 12.4.0
$> dotnet add package Azure.Storage.Blobs.ChangeFeed --version 12.0.0-preview.6
$> dotnet add package Azure.Storage.Files.DataLake --version 12.5.0
$> dotnet add package Azure.Storage.Files.Shares --version 12.5.0
$> dotnet add package Azure.Storage.Queues --version 12.5.0
$> dotnet add package Microsoft.Azure.Core.NewtonsoftJson --version 1.0.0-preview.2
$> dotnet add package Microsoft.Extensions.Azure --version 1.1.0-beta.1
$> dotnet add package Microsoft.OpenTelemetry.Exporter.AzureMonitor --version 1.0.0-beta.1
$> dotnet add package System.Memory.Data --version 1.0.1
Feedback
If you have a bug or feature request for one of the libraries, please file an issue in our repo.
Release highlights
Azure Monitor Changelog
- Initial release of Azure Monitor Exporter for OpenTelemetry .NET.
Communication Administration Changelog
New Features
- Support for mocking all client methods that use models with internal constructors.
- Added support for long-running operations. More detail under Breaking Changes.
Breaking Changes
Model Types
- Renamed
CreateSearchOptionstoCreateReservationOptions. - Renamed
CreateSearchResponsetoCreateReservationResponse. - Renamed
ReleaseResponsetoPhoneNumberReleaseResponse. - Renamed
SearchStatustoReservationStatus. - Added
PhoneNumberReservationOperation. - Added
PhoneNumberReservationPurchaseOperation. - Added
ReleasePhoneNumberOperation. - Renamed
PhoneNumberSearchtoPhoneNumberReservation.
PhoneNumberReservation
- Renamed
searchIdtoreservationId.
PhoneNumberAdministrationClient
- Renamed
CancelSearchtoCancelReservation. - Renamed
CancelSearchAsynctoCancelReservationAsync. - Renamed
GetAllSearchestoGetAllReservations. - Renamed
GetAllSearchesAsynctoGetAllReservationsAsync. - Renamed
GetSearchByIdAsynctoGetReservationByIdAsync. - Renamed
GetSearchByIdtoGetReservationById. - Renamed
CancelSearchtoCancelReservation. - Renamed
CancelSearchAsynctoCancelReservationAsync. - Replaced
CreateSearchAsyncwithStartReservationAsyncwhich returns a poller for the long-running operation. - Replaced
CreateSearchwithStartReservationwhich is a long-running operation. - Replaced
PurchaseSearchAsyncwithStartPurchaseReservationAsyncwhich returns a poller for the long-running operation. - Replaced
PurchaseSearchwithStartPurchaseReservationwhich is a long-running operation. - Replaced
ReleasePhoneNumbersAsyncwithStartReleasePhoneNumbersAsyncwhich returns a poller for the long-running operation. - Replaced
ReleasePhoneNumberswithStartReleasePhoneNumberswhich is a long-running operation.
Communication Chat Changelog
New Features
- Support for mocking all client methods that use models with internal constructors.
- Added unit test for pagination.
Communication Common Changelog
This release contains test improvements and documentation enhancements.
Communication SMS Changelog
New Features
Support for mocking all client methods that use models with internal constructors.
Core AMQP (1.0.0) Changelog
- General availability release of Azure.Core.Amqp.
Core AMQP (1.0.0-beta.1) Changelog
New Features
- Added AMQP models.
Core NewtonsoftJson Changelog
New Features
Newtonsoft.Json.JsonConverterimplementation for theETag.
Digital Twins Core Changelog
New Features
- Improved deserialization and error reporting for
BasicDigitalTwinforDigitalTwinMetadata.
Breaking Changes
- Removed logic to determine authorization scope based on digital twins instance URI.
Event Grid Changelog
Key Bug Fixes
- Fixed bug where missing required properties on CloudEvent would cause deserialization to fail.
Event Hubs Changelog
This release contains a collection of minor bug fixes, performance improvements, and documentation enhancements.
New Features
- Connection strings can now be parsed into their key/value pairs using the
EventHubsConnectionStringPropertiesclass.
Event Hubs Processor Changelog
This release contains a collection of minor bug fixes, performance improvements, and documentation enhancements.
Extensions Azure Changelog
New Features
- The
AzureComponentFactoryclass that allows creatingTokenCredential,ClientOptionsand client instances from configuration. - The
AzureEventSourceLogForwarderclass that allows manual control over the log forwarding. - The
AddAzureClientsCoreextension method.
Extensions Configuration Secrets Changelog
New Features
- Added an overload of
AddAzureKeyVaultthat takes anAzureKeyVaultConfigurationOptionsparameter and allows specifying the reload interval.
Form Recognizer Changelog
This release of the SDK defaults to the latest supported API version, which currently is v2.1-preview.2
New Features
- Added integration for ASP.NET Core.
- Support for two new prebuilt recognition models for invoices and business cards.
- Support for selection marks as a new fundamental form element. This type is supported in content recognition and in training/recognizing custom forms (labeled only).
- Support for creating composed models from a collection of existing models (trained with labels).
- A
ModelNameproperty added for model training that can specify a human-readable name for a model. - Support for the bitmap image format (with content type “image/bmp”) in prebuilt model recognition and content recognition.
- A
localekeyword argument added for all prebuilt model methods, allowing for the specification of a document’s origin to assist the service with correct analysis of the document’s content. - A
languagekeyword argument added for the content recognition methodStartRecognizeContent()that specifies which language to process the document in. - Additional properties added to response models - see Changelog for detailed information.
Identity Changelog
New Features
- Added support for Service Fabric managed identity authentication to
ManagedIdentityCredential. - Added support for Azure Arc managed identity authentication to
ManagedIdentityCredential.
Breaking Changes
- Removing Application Authentication APIs for GA release. These will be reintroduced in 1.4.0-beta.1.
Key Bug Fixes
- Fix
VisualStudioCodeCredentialto raiseCredentialUnavailableExceptionwhen reading from VS Code’s stored secret (#16795). - Fix deadlock in
ProcessRunnercausingAzureCliCredentialandVisualStudioCredentialto fail due to timeout (#14691, 14207). - Fix issue with
AzureCliCredentialincorrectly parsing expires on property returned fromaz account get-access-token(#15801). - Fix cache loading issue in
SharedTokenCacheCredentialon Linux (#12939).
Key Vault Administration Changelog
Breaking Changes
- Both
BackupOperationandRestoreOperationreturn a result containing theUriinstead of just theUriitself for future possible expansion. - Changed
NotActionsandNotDataActionstoDenyActionsandDenyDataActionsrespectively. - Consolidated
KeyVaultAccessControlClientOptionsandKeyVaultBackupClientOptionsintoKeyVaultAdministrationClientOptions.
Key Vault Certificates Changelog
New Features
- Documentation improvements.
Key Vault Keys Changelog
New Features
- Added support for “oct-HSM” for Managed HSM.
- Added support for AES-CBC and AES-GCM - locally when possible on the client.
- Added support for key export on Managed HSM, including early preview support for Secure Key Release.
Azure Storage Blobs Changelog
New Features
- GA all features in previous release.
- Added ability to get parent
BlobContainerClientfromBlobBaseClientand to get parentBlobServiceClientfromBlobContainerClient. - Added seekability to
BaseBlobClient.OpenRead(). - Added additional info to exception messages.
- Added ability to set Position on streams created with
BlobBaseClient.OpenRead(). - Added CanGenerateSasUri property and
GenerateSasUri()toBlobBaseClient,BlobClient,BlockBlobClient,AppendBlobClient,PageBlobClientandBlobContainerClient. - Added CanAccountGenerateSasUri property and
GenerateAccountSasUri()toBlobServiceClient. - Restored single upload threshold for parallel uploads from 5 TB to 256 MB.
Key Bug Fixes
- Fixed bug where Blobs SDK couldn’t handle SASs with start and expiry time in format other than yyyy-MM-ddTHH:mm:ssZ.
- Fixed bug where
BlobContainerClient.SetAccessPolicy()would throw an exception if signed identifier permissions were not in the correct order.
Azure Storage Files DataLake Changelog
New Features
- GA all features in previous release.
- Added additional info to exception messages.
- Added
DataLakeDirectoryClient.GetPaths(). - Added ability to set Position on streams created with
DataLakeFileClient.OpenRead(). - Added CanGenerateSasUri property and
GenerateSasUri()toDataLakePathClient,DataLakeFileClient,DataLakeDirectoryClientandDataLakeFileSystemClient. - Added CanGenerateAccountSasUri property and
GenerateAccountSasUri()toDataLakeServiceClient. - Restored single upload threshold for parallel uploads from 5 TB to 256 MB.
Key Bug Fixes
- Fixed bug where
DataLakeFileSystem.SetAccessPolicy()would throw an exception if signed identifier permissions were not in the correct order. - Fixed bug where DataLake SDK couldn’t handle SASs with start and expiry time in format other than yyyy-MM-ddTHH:mm:ssZ.
Azure Storage Files Shares Changelog
New Features
- GA all features from previous release.
- Renamed
ShareClient.SetTier()->ShareClient.SetProperties().SetProperties()can be used to set both Share Tier and Share Quota. - Changed
ShareDeleteOptions.IncludeSnapshots->.ShareSnapshotsDeleteOption, and added option to also delete Share Snapshots that have been leased. - Added additional info to exception messages.
- Removed ability to create a
ShareLeaseClientfor a Share or Share Snapshot. This feature has been rescheduled for future release. - Added ability to set Position on streams created with
ShareFileClient.OpenRead(). - Added CanGenerateSasUri property and
GenerateSasUri()toShareFileClient,ShareDirectoryClientandShareClient. - Added CanGenerateSasUri property and
GenerateAccountSasUri()toShareServiceClient. - Changed default constructor for FileSmbProperties from internal to public.
Key Bug Fixes
- Fixed bug where
ShareDirectoryClient.Exists(),.DeleteIfExists()andShareFileClient.Exists(),.DeleteIfExists()would thrown an exception when the directory or file’s parent directory didn’t exist. - Fixed bug where File Share SDK coudn’t handle SASs with start and expiry time in format other than yyyy-MM-ddTHH:mm:ssZ.
Azure Storage Queues Changelog
New Features
- GA all features from previous release.
- Added CanGenerateSasUri property and
GenerateSasUri()toQueueClient. - Added CanGenerateAccountSasUri property and
GenerateAccountSasUri()toQueueServiceClient.
Key Bug Fixes
- Fixed a bug where
QueueServiceClient.SetPropertiesandQueueService.GetPropertieswhere the creating/parsing XML Service Queue Properties CorsRules incorrectly causing Invalid XML Errors - Fixed bug where Queues SDK coudn’t handle SASs with start and expiry time in format other than yyyy-MM-ddTHH:mm:ssZ.
Key Vault Secrets Changelog
- This release contains bug fixes to improve quality.
Metrics Advisor Changelog
New Features
- Added a public constructor to
DataFeed. - Added the
DataSourceproperty toDataFeed.
Breaking Changes
- In
MetricsAdvisorClient, changed return types of sync and asyncCreateMetricFeedbackmethods to aResponse<string>containing the ID of the created feedback. - In
MetricsAdvisorClient, changed return types of sync and async methodsGetIncidentRootCauses,GetMetricEnrichedSeriesData, andGetMetricSeriesDatato pageables. - In
MetricsAdvisorAdministrationClient, updatedCreateDataFeedandCreateDataFeedAsyncto take a wholeDataFeedobject as a parameter. - In
MetricsAdvisorAdministrationClient, changed return types of sync and asyncCreatemethods (e.g.,CreateDataFeed) to aResponse<string>containing the ID of the created resource. - In
MetricsAdvisorAdministrationClient, changed return types of sync and async methodsGetAnomalyAlertConfigurationsandGetMetricAnomalyDetectionConfigurationsto pageables. - Removed
DataFeedOptions. All of its properties were moved directly intoDataFeed.
Key Bug Fixes
- Fixed a bug in sync and async
UpdateDataFeedmethods where aRequestFailedExceptionwas thrown if a data feed without customDataFeedMissingDataPointFillTypewas updated. - Fixed a bug in sync and async
UpdateAlertConfigurationmethods where aRequestFailedExceptionwas thrown if a configuration with only oneMetricAnomalyAlertConfigurationwas updated.
Search Documents Changelog
New Features
- Added
EncryptionKeytoSearchIndexer,SearchIndexerDataSourceConnection, andSearchIndexerSkillset. - Added configuration options to tune the performance of
SearchIndexingBufferedSender<T>.
Key Bug Fixes
- Fixed issue calling
SearchIndexClient.GetIndexNamesthat threw an exception (#15590). - Fixed issue where
ScoringProfile.FunctionAggregationdid not correctly handle null values (#16570). - Fixed overly permissive date parsing on facets (#16412).
Service Bus (7.0.0) Changelog
Breaking Changes
- Renamed
GetRawMessagemethod toGetRawAmqpMessage. - Removed
LinkCloseMode. - Rename
ReceiveModetype toServiceBusReceiveMode. - Remove
ServiceBusFailureReasonofUnauthorizedin favor of usingUnauthorizedAccessException.
Service Bus (7.0.0-preview.9) Changelog
Breaking Changes
- Removed
AmqpMessageproperty in favor of aGetRawMessagemethod onServiceBusMessageandServiceBusReceivedMessage. - Renamed
PropertiestoApplicationPropertiesinCorrelationRuleFilter. - Removed
ServiceBusSenderOptions. - Removed
TransactionEntityPathfromServiceBusSender.
Management Library - Communication Changelog
This release contains test improvements.
Tables Changelog
New Features
- Added support for Upsert batch operations.
- Added support for some numeric type coercion for TableEntity properties.
- Added TryGetFailedEntityFromException method on TablesTransactionalBatch to extract the entity that caused a batch failure from a RequestFailedException.
Text Analytics Changelog
New Features
- Added support for new asynchronous Text Analytics for Health API. Note this is a currently in a gated preview where AAD is not supported. More information here.
- Added support for new asynchronous Analyze API to support the execution of multiples task in one or more documents. Current task support include: Named entity recognition, Personally Identifiable Information, and Key phrase extraction.
Latest Releases
View all the latest versions of .NET packages here.