12.0.0 (2021-06-08)
Breaking
- EdmType.Binary data in entities will now be deserialized as
bytes
in Python 3 andstr
in Python 2, rather than anEdmProperty
instance. Likewise on serialization,bytes
in Python 3 andstr
in Python 2 will be interpreted as binary (this is unchanged for Python 3, but breaking for Python 2, wherestr
was previously serialized as EdmType.String) TableClient.create_table
now returns an instance ofTableItem
.- All optional parameters for model constructors are now keyword-only.
- Storage service configuration models have now been prefixed with
Table
, including
TableAccessPolicy
,TableMetrics
,TableRetentionPolicy
,TableCorsRule
- All parameters for
TableServiceClient.set_service_properties
are now keyword-only. - The
credential
parameter for all Clients is now keyword-only. - The method
TableClient.get_access_policy
will now returnNone
where previously it returned an "empty" access policy object. - Timestamp properties on
TableAccessPolicy
instances returned fromTableClient.get_access_policy
will now be deserialized todatetime
instances.
Fixes
- Fixed support for Cosmos emulator endpoint, via URL/credential or connection string.
- Fixed table name from URL parsing in
TableClient.from_table_url
classmethod. - The
account_name
attribute on clients will now be pulled from anAzureNamedKeyCredential
if used. - Any additional odata metadata is returned in entitys metadata.
- The timestamp in entity metadata is now deserialized to a timestamp.
- If the
prefer
header is added in thecreate_entity
operation, the echo will be returned. - Errors raised on a 412 if-not-match error will now be a specific
azure.core.exceptions.ResourceModifiedError
. EdmType.DOUBLE
values are now explicitly typed in the request payload.- Fixed de/serialization of list attributes on
TableCorsRule
.