Azure SDK for .NET (September 2020)
The Azure SDK team is pleased to announce our September 2020 client library releases.
GA
- App Configuration
- Event Hubs
- Form Recognizer
- Identity
Updates
- Storage
Preview
- Anomaly Detector
- Event Grid
- Identity
- Key Vault (Administration, Certificates, Keys, Secrets)
- 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.AnomalyDetector --version 3.0.0-preview.2
$> dotnet add package Azure.AI.FormRecognizer --version 3.0.0
$> dotnet add package Azure.AI.TextAnalytics --version 5.1.0-beta.1
$> dotnet add package Azure.Data.AppConfiguration --version 1.0.2
$> dotnet add package Azure.Data.Tables --version 3.0.0-beta.1
$> dotnet add package Azure.Extensions.AspNetCore.DataProtection.Keys --version 1.0.2
$> dotnet add package Azure.Identity --version 1.3.0-beta.1
$> dotnet add package Azure.Identity --version 1.2.3
$> dotnet add package Azure.Messaging.EventGrid --version 4.0.0-beta.1
$> dotnet add package Azure.Messaging.EventHubs
$> dotnet add package Azure.Messaging.EventHubs.Processor
$> dotnet add package Azure.Messaging.ServiceBus --version 7.0.0-preview.7
$> dotnet add package Azure.Security.KeyVault.Administration --version 4.0.0-beta.1
$> dotnet add package Azure.Security.KeyVault.Certificates --version 4.2.0-beta.1
$> dotnet add package Azure.Security.KeyVault.Keys --version 4.2.0-beta.1
$> dotnet add package Azure.Security.KeyVault.Secrets --version 4.2.0-beta.1
$> dotnet add package Azure.Storage.Blobs --version 12.6.0
$> dotnet add package Azure.Storage.Blobs.Batch --version 12.3.1
$> dotnet add package Azure.Storage.Blobs.ChangeFeed --version 12.0.0-preview.4
$> dotnet add package Azure.Storage.Files.DataLake --version 12.4.0
$> dotnet add package Azure.Storage.Files.Shares --version 12.4.0
$> dotnet add package Azure.Storage.Queues --version 12.4.2
Feedback
If you have a bug or feature request for one of the libraries, please file an issue in our repo.
Changelog
Detailed changelogs are linked from the Quick Links below. Here are some of the highlights:
Anomaly Detector Changelog
Breaking Changes
- Renamed
AnomalyDetectorClient.EntireDetectAsyncandAnomalyDetectorClient.EntireDetecttoAnomalyDetectorClient.DetectEntireSeriesAsyncandAnomalyDetectorClient.DetectEntireSeries. - Renamed
AnomalyDetectorClient.LastDetectAsyncandAnomalyDetectorClient.LastDetecttoAnomalyDetectorClient.DetectLastPointAsyncandAnomalyDetectorClient.DetectLastPoint. - Renamed
AnomalyDetectorClient.ChangePointDetectAsyncandAnomalyDetectorClient.ChangePointDetecttoAnomalyDetectorClient.DetectChangePointAsyncandAnomalyDetectorClient.DetectChangePoint. - Renamed
RequesttoDetectRequest. - Renamed
PointtoTimeSeriesPoint.
Azure.Core Changelog
New Features
- HttpWebRequest-based transport implementation. Enabled by-default on .NET Framework. Can be disabled using
AZURE_CORE_DISABLE_HTTPWEBREQUESTTRANSPORTenvironment variable orAzure.Core.Pipeline.DisableHttpWebRequestTransportAppContext switch.
Breaking Changes
ETagnow supports weak ETags and implements an overload forToStringthat accepts a format string.
Azure.Core.Experimental Changelog
New Features
JsonPatchDocumenttype to represent JSON Path document.BinaryData: FromString method.BinaryData: FromBytes method taking ReadOnlySpan.BinaryData: constructor taking ReadOnlyMemory.
Breaking Changes
BinaryData: RenamedSerializetoFromObject.BinaryData: RenamedDeserializetoToObject.BinaryData: RenamedFromMemorytoFromBytes.
Azure.Data.AppConfiguration Changelog
New Features
- Provide AddConfigurationClient with support for TokenCredential
Azure.Data.Tables Changelog
- Initial beta release of Azure Data Tables client library
Azure.Extensions.AspNetCore.DataProtection.Keys Changelog
Key Bug Fixes
- Support reading keys created by a previous version of Azure KeyVault Keys DataProtection library.
Azure.Security.KeyVault.Administration Changelog
New Features
- Add
KeyVaultAccessControlClient. - Add
KeyVaultBackupClient.
Azure.Security.KeyVault.Certificates Changelog
New Features
- Added
KeyVaultCertificateIdentifierto parse certificate URIs. - Added link to sample on
KeyVaultCertificate.Certo the private key.
Azure.Security.KeyVault.Keys Changelog
New Features
- Added
KeyVaultKeyIdentifierto parse key URIs. - Added
LocalCryptographyClientto do cryptography operations locally using aJsonWebKey.
Azure.Security.KeyVault.Secrets Changelog
New Features
- Added
KeyVaultSecretIdentifierto parse secret URIs.
Azure Storage Blobs Changelog
Key Bug Fixes
BlobClient.Upload(),BlockBlobClient.Upload(),AppendBlobClient.AppendBlock(), andPageBlobClient.UploadPages()will not deadlock anymore if the content stream’s position is not 0.- Fixed bug in
BlobBaseClient.OpenRead()which was causing more downloads than necessary. - Fixed bug where
PageBlobWriteStreamwould advance Position 2 times the number of written bytes.
Azure Storage Files DataLake Changelog
Key Bug Fixes
DataLakeFileClient.Upload()will not deadlock anymore if the content stream’s position is not 0.- Fixed bug in
DataLakeFileClient.OpenRead()which was causing more downloads than necessary.
Azure Storage Files Shares Changelog
Key Bug Fixes
- Fixed bug where
ShareFileClient.Upload()andShareFileClient.UploadRange()would deadlock if the content stream’s position was not set to 0. - Fixed bug in
ShareFileClient.OpenRead()which was causing more downloads than necessary. - Fixed bug where
ShareClient.Delete()could not delete Share Snapshots unless theincludeSnapshotsparameter was set to false.
Azure Storage Queues Changelog
Key Bug Fixes
- Fixed a bug where
QueueClient.UpdateMessageandQueueClient.UpdateMessageAsyncwere erasing message content if onlyvisibilityTimeoutwas provided
Event Grid Changelog
- Initial beta release of Azure Event Grid client library
Event Hubs Changelog
New Features
-
The
EventProcessor<TPartition>now supports a configurable strategy for load balancing, allowing control over whether it claims ownership of partitions in a balanced manner (default) or more aggressively. The strategy may be set in theEventProcessorOptionswhen creating the processor. More details about strategies can be found in the associated documentation. -
The
EventHubConsumerClientnow allows for performance tuning by setting thePrefetchCountandCacheEventCountvalues in its associated options.
Event Hubs Processor Changelog
New Features
-
The
EventProcessorClientnow supports a configurable strategy for load balancing, allowing control over whether it claims ownership of partitions in a balanced manner (default) or more aggressively. The strategy may be set in theEventProcessorClientOptionswhen creating the processor. More details about strategies can be found in the associated documentation. -
The
EventProcessorClientnow allows for performance tuning by setting thePrefetchCountandCacheEventCountvalues in its associated options.
Key Bug Fixes
- The approach used for creation of checkpoints has been updated to interact with Azure Blob storage more efficiently. This will yield major performance improvements when soft delete was enabled and minor improvements otherwise.
Identity Changelog
New Features
- Restoring Application Authentication APIs from 1.2.0-preview.6
- Added support for App Service Managed Identity API version
2019-08-01(#13687) - Added
IncludeX5CClaimHeadertoClientCertificateCredentialOptionsto enable subject name / issuer authentication with theClientCertificateCredential. - Added
RedirectUritoInteractiveBrowserCredentialOptionsto enable authentication with user specified application with a custom redirect url. - Added
IdentityModelFactoryto enable constructing models from the Azure.Identity library for mocking. - Unify exception handling between
DefaultAzureCredentialandChainedTokenCredential(#14408)
Key Bug Fixes
- Updated
MsalPublicClientandMsalConfidentialClientto respectCancellationTokenduring initialization (#13201) - Fixed
VisualStudioCodeCredentialcrashes on macOS (Issue #14362) - Fixed issue with non GUID Client Ids (Issue #14585)
- Update
VisualStudioCredentialandVisualStudioCodeCredentialto throwCredentialUnavailableExceptionfor ADFS tenant (Issue #14639)
Identity Changelog
Key Bug Fixes
- Fixed issue with
DefaultAzureCredentialincorrectly catchingAuthenticationFailedException(Issue #14974) - Fixed issue with
DefaultAzureCredentialthrowing exceptions during concurrent calls (Issue #15013)
Azure.Messaging.ServiceBus Changelog
New Features
- Added AmqpMessage property on
ServiceBusMessageandServiceBusReceivedMessagethat gives full access to underlying AMQP details. - Added explicit Close methods on
ServiceBusReceiver,ServiceBusSessionReceiver,ServiceBusSender,ServiceBusProcessor, andServiceBusSessionProcessor.
Breaking Changes
- Renamed
ServiceBusManagementClienttoServiceBusAdministrationClient. - Renamed
ServiceBusManagementClientOptionstoServiceBusAdministrationClientOptions. - Renamed
IsDisposedtoIsClosedonServiceBusSender,ServiceBusReceiver, andServiceBusSessionReceiver. - Made
ServiceBusProcessorandServiceBusSessionProcessorimplementIAsyncDisposable - Removed public constructors for
QueuePropertiesandRuleProperties. - Added
versionparameter toServiceBusAdministrationClientOptionsconstructor. - Removed
CreateDeadLetterReceivermethods in favor of newSubQueueproperty onServiceBusReceiverOptions. - Made
EntityNameFormatterinternal. - Made settlement methods on
ProcessMessageEventArgsandProcessSessionMessageEventArgsvirtual for mocking. - Made all Create methods on
ServiceBusClientvirtual for mocking.
Form Recognizer Changelog
- First stable release of the Azure.AI.FormRecognizer package, targeting Azure Form Recognizer service API version 2.0.
New Features
- Added
FormRecognizerModelFactorystatic class to support mocking model types.
Text Analytics Changelog
New Features
- It defaults to the latest supported API version, which currently is
3.1-preview.2. ErrorCodevalue returned from the service is now surfaced inRequestFailedException.- Added the
RecognizePiiEntitiesendpoint which returns entities containing Personally Identifiable Information. This feature is available in the Text Analytics service v3.1-preview.1 and above. - Support added for Opinion Mining. This feature is available in the Text Analytics service v3.1-preview.1 and above.
- Added
OffsetandLengthproperties forCategorizedEntity,SentenceSentiment, andLinkedEntityMatch. The default encoding is UTF-16 code units. For additional information see https://aka.ms/text-analytics-offsets TextAnalyticsErrorandTextAnalyticsWarningnow are marked as immutable. -Added propertyBingEntitySearchApiIdto theLinkedEntityclass. This property is only available for v3.1-preview.2 and up, and it is to be used in conjunction with the Bing Entity Search API to fetch additional relevant information about the returned entity.
Latest Releases
View all the latest versions of .NET packages here. [Architecture Board]: https://github.com/azure/azure-sdk/issues