Azure SDK for .NET (July 2021)
The Azure SDK team is pleased to announce our July 2021 client library releases.
24 packages released this month.
Stable Packages (14)
-
App Configuration
-
Core
-
Core - AMQP
-
Event Grid
-
Event Hubs
-
Event Hubs - Event Processor
-
Key Vault - Administration
-
Key Vault - Certificates
-
Key Vault - Keys
-
Key Vault - Secrets
-
Metrics Advisor
-
Service Bus
-
Tables
-
Text Analytics
Patch Updates (2)
-
Service Bus
-
Storage - Blobs
Beta Packages (6)
-
CloudNative CloudEvents with Event Grid
-
Cognitive Search
-
Document Translation
-
Monitor Query
-
WebJobs Extensions - Event Hubs
-
WebJobs Extensions - Service Bus
Release highlights
App Configuration 1.1.0 Changelog
Breaking Changes
- The
GetConfigurationSettingAsyncoverload that takes an instance ofMatchConditionstemporary removed.
CloudNative CloudEvents with Event Grid 1.0.0-beta.2 Changelog
Features Added
- Updated to use the GA version of CloudEvents SDK.
Cognitive Search 11.4.0-beta.1 Changelog
Features Added
- Support for additional/enhanced skills - EntityLinkingSkill, EntityRecognitionSkill, PiiDetectionSkill, SentimentSkill
- Use managed identities in Azure Active Directory with SearchIndexerDataIdentity
Core 1.16.0 Changelog
Changed
- Added
TenantIdto the properties onTokenRequestContextto enable multi-tenant support in Azure.Identity.
Core - AMQP 1.2.0 Changelog
Added
-
All section properties of the
AmqpAnnotatedMessageare now lazily allocated to reflect that they are defined as optional in the AMQP specification, section 3.2. -
The
HasSectionmethod has been added toAmqpAnnotatedMessageto allow inspecting the property for a section to determine if it is populated without triggering an allocation.
Core - AMQP 1.1.0 Changelog
Added
- General availability for Sequence and Value body messages.
Document Translation 1.0.0-beta.3 Changelog
Breaking changes
- Renamed property
DocumentIdtoIdinDocumentStatusResult. - Renamed property
TranslationIdtoIdinTranslationStatusResult - Renamed type
TranslationStatusResulttoTranslationStatus. - Renamed type
DocumentStatusResulttoDocumentStatus. - Renamed enum
TranslationStatustoDocumentTranslationStatus. - Renamed method
GetDocumentFormatstoGetSupportedDocumentFormats. - Renamed method
GetGlossaryFormatstoGetSupportedGlossaryFormats. - Removed property
HasCompletedfrom typesDocumentStatusResultandTranslationStatusResult.
Event Grid 4.4.0 Changelog
Features Added
- Added public constructor and settable property for
SubscriptionValidationResponse.
Key Bugs Fixed
- Fix issue where ARM system event data could not be deserialized into their strongly typed models.
Event Hubs 5.5.0 Changelog
Features Added
-
EventDatanow exposes the full AMQP message via theGetRawAmqpMessagemethod. (Based on a community prototype contribution, courtesy of danielmarbach) -
EventDatanow supports construction using astringto specify the event body; this will be represented as a set of UTF-8 encoded bytes for transport. -
EventDatahas been extended to include properties for applications to assign aMessageId,ContentType, andCorrelationIdas well-known members. It is important to note that these properties are intended for application use and are not recognized by the Event Hubs service. -
When stopping, the
EventProcessor<TPartition>will now attempt to force-close connections blocked on their timeout. This should significantly help reduce the amount of time the processor takes to stop in many scenarios. (Based on a community prototype contribution, courtesy of danielmarbach)
Key Bugs Fixed
-
The
EventProcessor<TPartition>will now properly respect another another consumer stealing ownership of a partition when the service forcibly terminates the active link in the background. Previously, the client did not observe the error directly and attempted to recover the faulted link which reasserted ownership and caused the partition to “bounce” between owners until a load balancing cycle completed. -
The
EventHubConsumerClientandPartitionReceiverwill now properly surface an exception when another another consumer stealing ownership of a partition when the service forcibly terminates the active link in the background. Previously, the client did not observe the error directly and did not make callers attempted to recover the faulted link which reasserted ownership and caused the partition to “bounce” between owners until a load balancing cycle completed.
Event Hubs - Event Processor 5.5.0 Changelog
Features Added
-
When stopping, the
EventProcessorClientwill now attempt to force-close connections blocked on their timeout. This should significantly help reduce the amount of time the processor takes to stop in many scenarios. (Based on a community prototype contribution, courtesy of danielmarbach) -
When the
EventProcessorClientdetects a partition being stolen outside of a load balancing cycle, it will immediately surrender ownership rather than waiting for a load balancing cycle to confirm the ownership change. This will help reduce event duplication from overlapping ownership of processors.
Key Bugs Fixed
- The
EventProcessorClientwill now properly respect another another consumer stealing ownership of a partition when the service forcibly terminates the active link in the background. Previously, the client did not observe the error directly and attempted to recover the faulted link which reasserted ownership and caused the partition to “bounce” between owners until a load balancing cycle completed.
Key Vault - Administration 4.0.0 Changelog
- Initial release of
KeyVaultAccessControlClientto managed role assignments and definitions for Managed HSM. - Initial release of
KeyVaultBackupClientto backup and restore Managed HSM.
Breaking Changes since 4.0.0-beta.5
- Changed
KeyVaultBackupClient.StartSelectiveRestoreandStartSelectiveRestoreAsynctoStartSelectiveKeyRestoreandStartSelectiveKeyRestoreAsync. - Return only a
ResponsefromKeyVaultAccessControlClient.DeleteRoleAssignmentandDeleteRoleAssignmentAsync. HTTP 404 responses no longer throw aRequestFailedException. - Return only a
ResponsefromKeyVaultAccessControlClient.DeleteRoleDefinitionandDeleteRoleDefinitionAsync. HTTP 404 responses no longer throw aRequestFailedException.
Key Vault - Certificates 4.2.0 Changelog
Features Added
- Changed default service version to “7.2”.
- Added
KeyVaultCertificateIdentifierto parse certificate URIs. - Added
CertificateClient.DownloadCertificateandDownloadCertificateAsyncto download anX509Certificate2with private key.
Key Vault - Keys 4.2.0 Changelog
Features Added
- Changed default service version to “7.2”.
- Added
KeyVaultKeyIdentifierto parse certificate URIs. - Added local-only support for
CryptographyClientusing only aJsonWebKeyusingLocalCryptographyClientOptions. - Added
CreateEcKeyOptionsclass and associatedKeyClient.CreateEcKeyandCreateEcKeyAsyncmethods. - Added
KeyType.OctHsmto support “oct-HSM” key operations to support Managed HSM. - Added AES-GCM and AES-CBC support for encrypting and decrypting, including new
EncryptandDecryptoverloads.
Breaking Changes since 4.2.0-beta.6
- Renamed
additionalAuthenticationDatafactory method parameters toadditionalAuthenticatedDatato match properties and constructor parameters. - Renamed
parametersparameter todecryptParametersforCryptographyClient.DecryptandDecryptAsync. - Renamed
parametersparameter toencryptParametersforCryptographyClient.EncryptandEncryptAsync.
Key Vault - Secrets 4.2.0 Changelog
Features Added
- Changed default service version to “7.2”.
- Added
KeyVaultSecretIdentifierto parse certificate URIs.
Metrics Advisor 1.0.0 Changelog
Features Added
DimensionKeynow implements theIEnumerable<KeyValuePair<string, string>>interface. Dimension columns can now be enumerated.- Added method
ContainstoDimensionKeyto check whether or not a dimension column is present. - Added property
DimensionsToSplitAlerttoAnomalyAlertConfigurationto allow splitting an alert into multiple ones. - Added property
MeasureTypetoMetricBoundaryConditionto control which measure should be used when checking boundaries for alert triggering. Current supported types areValueandMean. NotificationHook.Administratorsis now aIList(not read-only anymore), and can be used to update the list of administrators or set it during creation.
Breaking Changes
- Removed methods
AddDimensionColumnandRemoveDimensionColumnfromDimensionKey. In order to access elements, the new methodTryGetValuemust be used. Once the instance has been created, the columns can’t be modified anymore. DimensionKeyconstructor now takes the requireddimensionsparameter.- The whole
DatasourceCredentialAPI has been renamed toDataSourceCredential. This includes renames in methods, method parameters, and properties. - Split the method
GetAnomaliesinto two different methods:GetAnomaliesForAlertandGetAnomaliesForDetectionConfiguration. - Split the method
GetIncidentsinto two different methods:GetIncidentsForAlertandGetIncidentsForDetectionConfiguration. DataFeedIngestionSettingsconstructor now takes the requiredingestionStartsOnparameter. For this reason, the propertyIngestionStartTime, now namedIngestionStartsOn, is not nullable anymore.EmailNotificationHookconstructor now takes the requirednameparameter.WebNotificationHookconstructor now takes the requirednameandendpointparameters.MetricSeriesGroupDetectionConditionconstructor now takes the requiredseriesGroupKeyparameter.MetricSingleSeriesDetectionConditionconstructor now takes the requiredseriesKeyparameter.- In
MetricSeriesData, removed theDefinitionproperty. Now, propertiesMetricIdandSeriesKeycan be accessed directly fromMetricSeriesData. - In
MetricAnomalyAlertScope, renamed static methodsGetScopeFor<...>toCreateScopeFor<...>. For instance,GetScopeForSeriesGroupwas renamed toCreateScopeForSeriesGroup. - Changed order of parameters of
MetricsAdvisorClient.GetMetricEnrichedSeriesData. Now,detectionConfigurationIdappears first.
Monitor Query 1.0.0-beta.2 Changelog
New Features
- Added support for including rendering information using the
IncludeVisualizationproperty. - Added a
LogsQueryClientconstructor that uses the default Log Analytics endpoint. - Added error information in
LogsQueryResultandMetric. - Added
dynamiccolumn type support.
Service Bus 7.2.0 Changelog
Acknowledgments
Thank you to our developer community members who helped to make the Service Bus client library better with their contributions to this release:
Fixed
-
The retry policy used by clients will no longer overflow the
TimeSpanmaximum when using anExponentialstrategy with a large number of retries and long delay set. -
The name of the property displayed in the
ArgumentOutOfRangeExceptionin theMaxDeliveryCountproperty inSubscriptionPropertieswas updated to use the correct property name. (A community contribution, courtesy of oscarcabrero)
Service Bus 7.2.1 Changelog
Fixed
- Fixed bug in the
ServiceBusProcessorwhere message locks stopped being automatically renewed afterStopProcessingAsyncwas called.
Storage - Blobs 12.9.1 Changelog
- Added optimization to unwrap encryption key once for DownloadTo and OpenRead when Client Side Encryption is enabled.
Tables 12.1.0 Changelog
Features Added
- Support for Azure Active Directory (AAD) authorization has been added to
TableServiceClientandTableClient. This enables use ofTokenCredentialcredentials. Note: Only Azure Storage API endpoints currently support AAD authorization.
Text Analytics 5.1.0 Changelog
Features Added
- Added support for service version
3.0. This can be specified in theTextAnalyticsClientOptionsobject under theServiceVersionenum. By default the SDK targets latest supported service version. - Added AAD support for the
StartAnalyzeHealthcareEntitiesmethods. - Added value
Noneto enumPiiEntityDomainTypeto allow user to specify no domain. - Added new overload methods to all
xxActionstypes that take axxOptionsobject to facilitate a transition from a singular method to an actions method. - The parameter
CategoriesFilterinRecognizePiiEntitiesActionshas been enabled forStartAnalyzeActionsmethods. #### Breaking changes - Changed behavior in
StartAnalyzeActionsandStartAnalyzeActionsAsyncwhere now accepts a single action per action type. AnArgumentExceptionis raised if duplicate actions are passed. - Changed type
RecognizePiiEntitiesOptions.DomainFilterfromPiiEntityDomainType?toPiiEntityDomainType. - Changed type
AnalyzeActionsOptions.IncludeStatisticsfrombooltobool?. - Renamed
StartAnalyzeBatchActionstoStartAnalyzeActions. - Renamed
AnalyzeBatchActionsOperationtoAnalyzeActionsOperation. - Renamed
AnalyzeBatchActionsResulttoAnalyzeActionsResult. - Renamed
AnalyzeBatchActionsOptionstoAnalyzeActionsOptions. TextAnalyticsActionsnow takesxxActiontypes, instead ofxxOptionstypes. Renames and types are as follow:ExtractKeyPhrasesOptionschanged to new typeExtractKeyPhrasesActions.RecognizeEntitiesOptionschanged to new typeRecognizeEntitiesActions.RecognizePiiEntitiesOptionschanged to new typeRecognizePiiEntitiesActions.RecognizeLinkedEntitiesOptionschanged to new typeRecognizeLinkedEntitiesActions.AnalyzeSentimentOptionschanged to new typeAnalyzeSentimentActions.- Renamed type
TextAnalyticsActionDetailstoTextAnalyticsActionResult. - Renamed type
PiiEntityDomainTypetoPiiEntityDomain. - Renamed type
ResultstoDocumentsResultsinAnalyzeSentimentActionResult,ExtractKeyPhrasesActionResult,RecognizeEntitiesActionResult,RecognizeLinkedEntitiesActionResult, andRecognizePiiEntitiesActionResult. - Renamed all types under
AnalyzeActionsResultfromxxActionsResultsto ``xxResults`. - Removed property
StatisticsfromAnalyzeActionsResultas it is not currently returned by the service even if the user passesIncludeStatistics = true. - Removed property
StringIndexTypefromTextAnalyticsRequestOptions. This SDK will keep usingUTF-16code unit as the default encoding. - Removed type
ExtractKeyPhrasesOptionsand respective exposure. - Removed type
RecognizeEntitiesOptionsand respective exposure. - Removed type
RecognizeLinkedEntitiesOptionsand respective exposure.
WebJobs Extensions - Event Hubs 5.0.0-beta.7 Changelog
Breaking Changes
- Renamed
MaxBatchSizetoMaxEventBatchSizeinEventHubsOptions.
WebJobs Extensions - Service Bus 5.0.0-beta.4 Changelog
Added
- Added
AutoCompleteMessagesproperty toServiceBusTriggerAttributewhich allows configuring autocompletion at the function level.
Key Bug Fixes
- Fix binding for DateTime parameters
- Avoid exception that occurred when a function settles messages and
AutoCompleteMessagesis true for multiple dispatch functions. - Avoid null reference exception that could occur when no messages are available for a multiple dispatch function.
WebJobs Extensions - Service Bus 5.0.0-beta.5 Changelog
Breaking Changes
- Renamed
ServiceBusEntityTypeproperty toEntityType. - Renamed
messageActionsandsessionActionsparameters toactionsinMessageProcessorandSessionMessageProcessor. - Renamed
MaxBatchSizetoMaxMessageBatchSizeinServiceBusOptions.
Latest Releases
View all the latest versions of .NET packages here.
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.MetricsAdvisor --version 1.0.0
$> dotnet add package Azure.AI.TextAnalytics --version 5.1.0
$> dotnet add package Azure.AI.Translation.Document --version 1.0.0-beta.3
$> dotnet add package Azure.Core --version 1.16.0
$> dotnet add package Azure.Core.Amqp --version 1.2.0
$> dotnet add package Azure.Core.Amqp --version 1.1.0
$> dotnet add package Azure.Data.AppConfiguration --version 1.1.0
$> dotnet add package Azure.Data.Tables --version 12.1.0
$> dotnet add package Azure.Messaging.EventGrid --version 4.4.0
$> dotnet add package Azure.Messaging.EventHubs --version 5.5.0
$> dotnet add package Azure.Messaging.EventHubs.Processor --version 5.5.0
$> dotnet add package Azure.Messaging.ServiceBus --version 7.2.0
$> dotnet add package Azure.Messaging.ServiceBus --version 7.2.1
$> dotnet add package Azure.Monitor.Query --version 1.0.0-beta.2
$> dotnet add package Azure.Search.Documents --version 11.4.0-beta.1
$> dotnet add package Azure.Security.KeyVault.Administration --version 4.0.0
$> dotnet add package Azure.Security.KeyVault.Certificates --version 4.2.0
$> dotnet add package Azure.Security.KeyVault.Keys --version 4.2.0
$> dotnet add package Azure.Security.KeyVault.Secrets --version 4.2.0
$> dotnet add package Azure.Storage.Blobs --version 12.9.1
$> dotnet add package Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents --version 1.0.0-beta.2
$> dotnet add package Microsoft.Azure.WebJobs.Extensions.EventHubs --version 5.0.0-beta.7
$> dotnet add package Microsoft.Azure.WebJobs.Extensions.ServiceBus --version 5.0.0-beta.4
$> dotnet add package Microsoft.Azure.WebJobs.Extensions.ServiceBus --version 5.0.0-beta.5
Feedback
If you have a bug or feature request for one of the libraries, please file an issue in our repo.