12.7.0 (2022-11-08)
Features Added
- Added a
Uri
property toTableClient
andTableServiceClient
Breaking Changes
TableClient.GetEntityIfExists
now returnsNullableResponse<T>
which has aHasValue
property which returns false when the entity did not exist. Accessing theValue
property in this case will throw an exception.
Bugs Fixed
- Fixed a OData filter issue with implicit boolean comparisons (for example expressions such as
ent => ent.BooleanProperty
) when callingTableClient.QueryAsync(Expression<Func<T, bool>> filter, ...)
. (#30185) - Fixed an issue where
PartitionKey
andRowKey
parameter values containing single quote characters are not automatically escaped onDeleteEntity
calls. The new behavior can be overridden by either setting an AppContext switch named "Azure.Data.Tables.DisableEscapeSingleQuotesOnDeleteEntity" totrue
or by setting the environment variable "AZURE_DATA_TABLES_DISABLE_ESCAPESINGLEQUOTESONDELETEENTITY" to "true". Note: AppContext switches can also be configured via configuration like below:
<ItemGroup>
<RuntimeHostConfigurationOption Include="Azure.Data.Tables.DisableEscapeSingleQuotesOnDeleteEntity" Value="true" />
</ItemGroup>
Other Changes
- Custom defined entity models that implement
ITableEntity
explicitly will now be serialized properly (#26514)