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
CreateSearchOptions
toCreateReservationOptions
. - Renamed
CreateSearchResponse
toCreateReservationResponse
. - Renamed
ReleaseResponse
toPhoneNumberReleaseResponse
. - Renamed
SearchStatus
toReservationStatus
. - Added
PhoneNumberReservationOperation
. - Added
PhoneNumberReservationPurchaseOperation
. - Added
ReleasePhoneNumberOperation
. - Renamed
PhoneNumberSearch
toPhoneNumberReservation
.
PhoneNumberReservation
- Renamed
searchId
toreservationId
.
PhoneNumberAdministrationClient
- Renamed
CancelSearch
toCancelReservation
. - Renamed
CancelSearchAsync
toCancelReservationAsync
. - Renamed
GetAllSearches
toGetAllReservations
. - Renamed
GetAllSearchesAsync
toGetAllReservationsAsync
. - Renamed
GetSearchByIdAsync
toGetReservationByIdAsync
. - Renamed
GetSearchById
toGetReservationById
. - Renamed
CancelSearch
toCancelReservation
. - Renamed
CancelSearchAsync
toCancelReservationAsync
. - Replaced
CreateSearchAsync
withStartReservationAsync
which returns a poller for the long-running operation. - Replaced
CreateSearch
withStartReservation
which is a long-running operation. - Replaced
PurchaseSearchAsync
withStartPurchaseReservationAsync
which returns a poller for the long-running operation. - Replaced
PurchaseSearch
withStartPurchaseReservation
which is a long-running operation. - Replaced
ReleasePhoneNumbersAsync
withStartReleasePhoneNumbersAsync
which returns a poller for the long-running operation. - Replaced
ReleasePhoneNumbers
withStartReleasePhoneNumbers
which 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.JsonConverter
implementation for theETag
.
Digital Twins Core Changelog
New Features
- Improved deserialization and error reporting for
BasicDigitalTwin
forDigitalTwinMetadata
.
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
EventHubsConnectionStringProperties
class.
Event Hubs Processor Changelog
This release contains a collection of minor bug fixes, performance improvements, and documentation enhancements.
Extensions Azure Changelog
New Features
- The
AzureComponentFactory
class that allows creatingTokenCredential
,ClientOptions
and client instances from configuration. - The
AzureEventSourceLogForwarder
class that allows manual control over the log forwarding. - The
AddAzureClientsCore
extension method.
Extensions Configuration Secrets Changelog
New Features
- Added an overload of
AddAzureKeyVault
that takes anAzureKeyVaultConfigurationOptions
parameter 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
ModelName
property 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
locale
keyword 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
language
keyword 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
VisualStudioCodeCredential
to raiseCredentialUnavailableException
when reading from VS Code’s stored secret (#16795). - Fix deadlock in
ProcessRunner
causingAzureCliCredential
andVisualStudioCredential
to fail due to timeout (#14691, 14207). - Fix issue with
AzureCliCredential
incorrectly parsing expires on property returned fromaz account get-access-token
(#15801). - Fix cache loading issue in
SharedTokenCacheCredential
on Linux (#12939).
Key Vault Administration Changelog
Breaking Changes
- Both
BackupOperation
andRestoreOperation
return a result containing theUri
instead of just theUri
itself for future possible expansion. - Changed
NotActions
andNotDataActions
toDenyActions
andDenyDataActions
respectively. - Consolidated
KeyVaultAccessControlClientOptions
andKeyVaultBackupClientOptions
intoKeyVaultAdministrationClientOptions
.
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
BlobContainerClient
fromBlobBaseClient
and to get parentBlobServiceClient
fromBlobContainerClient
. - 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
,PageBlobClient
andBlobContainerClient
. - 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
,DataLakeDirectoryClient
andDataLakeFileSystemClient
. - 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
ShareLeaseClient
for 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
,ShareDirectoryClient
andShareClient
. - 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.SetProperties
andQueueService.GetProperties
where 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
DataSource
property toDataFeed
.
Breaking Changes
- In
MetricsAdvisorClient
, changed return types of sync and asyncCreateMetricFeedback
methods to aResponse<string>
containing the ID of the created feedback. - In
MetricsAdvisorClient
, changed return types of sync and async methodsGetIncidentRootCauses
,GetMetricEnrichedSeriesData
, andGetMetricSeriesData
to pageables. - In
MetricsAdvisorAdministrationClient
, updatedCreateDataFeed
andCreateDataFeedAsync
to take a wholeDataFeed
object as a parameter. - In
MetricsAdvisorAdministrationClient
, changed return types of sync and asyncCreate
methods (e.g.,CreateDataFeed
) to aResponse<string>
containing the ID of the created resource. - In
MetricsAdvisorAdministrationClient
, changed return types of sync and async methodsGetAnomalyAlertConfigurations
andGetMetricAnomalyDetectionConfigurations
to pageables. - Removed
DataFeedOptions
. All of its properties were moved directly intoDataFeed
.
Key Bug Fixes
- Fixed a bug in sync and async
UpdateDataFeed
methods where aRequestFailedException
was thrown if a data feed without customDataFeedMissingDataPointFillType
was updated. - Fixed a bug in sync and async
UpdateAlertConfiguration
methods where aRequestFailedException
was thrown if a configuration with only oneMetricAnomalyAlertConfiguration
was updated.
Search Documents Changelog
New Features
- Added
EncryptionKey
toSearchIndexer
,SearchIndexerDataSourceConnection
, andSearchIndexerSkillset
. - Added configuration options to tune the performance of
SearchIndexingBufferedSender<T>
.
Key Bug Fixes
- Fixed issue calling
SearchIndexClient.GetIndexNames
that threw an exception (#15590). - Fixed issue where
ScoringProfile.FunctionAggregation
did not correctly handle null values (#16570). - Fixed overly permissive date parsing on facets (#16412).
Service Bus (7.0.0) Changelog
Breaking Changes
- Renamed
GetRawMessage
method toGetRawAmqpMessage
. - Removed
LinkCloseMode
. - Rename
ReceiveMode
type toServiceBusReceiveMode
. - Remove
ServiceBusFailureReason
ofUnauthorized
in favor of usingUnauthorizedAccessException
.
Service Bus (7.0.0-preview.9) Changelog
Breaking Changes
- Removed
AmqpMessage
property in favor of aGetRawMessage
method onServiceBusMessage
andServiceBusReceivedMessage
. - Renamed
Properties
toApplicationProperties
inCorrelationRuleFilter
. - Removed
ServiceBusSenderOptions
. - Removed
TransactionEntityPath
fromServiceBusSender
.
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.