2019-10-31 12.0.0
Breaking changes
QueueClient
now accepts onlyaccount_url
with mandatory a string paramqueue_name
.
To use a queue_url, the methodfrom_queue_url
must be used.set_queue_access_policy
has required parametersigned_identifiers
.NoRetry
policy has been removed. Use keyword argumentretry_total=0
for no retries.NoEncodePolicy
andNoDecodePolicy
have been removed. Usemessage_encode_policy=None
andmessage_decode_policy=None
.- Removed types that were accidentally exposed from two modules. Only
QueueServiceClient
andQueueClient
should be imported from azure.storage.queue.aio - Some parameters have become keyword only, rather than positional. Some examples include:
loop
max_concurrency
validate_content
timeout
etc.
QueueMessage
has had its parameters renamed frominsertion_time
,time_next_visible
,expiration_time
toinserted_on
,next_visible_on
,expires_on
, respectively.Logging
has been renamed toQueueAnalyticsLogging
.enqueue_message
is now calledsend_message
.- Client and model files have been made internal. Users should import from the top level modules
azure.storage.queue
andazure.storage.queue.aio
only. - The
generate_shared_access_signature
methods on bothQueueServiceClient
andQueueClient
have been replaced by module level functionsgenerate_account_sas
andgenerate_queue_sas
. get_service_stats
now returns a dictget_service_properties
now returns a dict with keys consistent toset_service_properties
New features
ResourceTypes
, andServices
now have methodfrom_string
which takes parameters as a string.
Fixes and improvements
- Fixed an issue where XML is being double encoded and double decoded.