github Azure/azure-sdk-for-python azure-data-tables_12.0.0

latest releases: azure-cognitiveservices-language-textanalytics_0.2.2, azure-cognitiveservices-anomalydetector_0.3.1, azure-communication-callautomation_1.2.0...
2 years ago

12.0.0 (2021-06-08)

Breaking

  • EdmType.Binary data in entities will now be deserialized as bytes in Python 3 and str in Python 2, rather than an EdmProperty instance. Likewise on serialization, bytes in Python 3 and str in Python 2 will be interpreted as binary (this is unchanged for Python 3, but breaking for Python 2, where str was previously serialized as EdmType.String)
  • TableClient.create_table now returns an instance of TableItem.
  • 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 return None where previously it returned an "empty" access policy object.
  • Timestamp properties on TableAccessPolicy instances returned from TableClient.get_access_policy will now be deserialized to datetime 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 an AzureNamedKeyCredential 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 the create_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.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.