2.0.0b5 (2021-02-10)
Breaking Changes
EventGridSharedAccessSignatureCredential
is deprecated in favor ofAzureSasCredential
.azure.eventgrid.models
namespace along with all the models in it are now removed.azure.eventgrid.SystemEventNames
can be used to get the event model type mapping.topic_hostname
is renamed toendpoint
in theEventGridPublisherClient
.azure.eventgrid.generate_shared_access_signature
method is now renamed togenerate_sas
.EventGridConsumer
is now removed. Please see the samples to see how events can be deserialized.CustomEvent
model is removed. Dictionaries must be used to send a custom schema.
Bug Fixes
EventGridEvent
has two additional required positional parameters namely,data
anddata_version
.EventGridPublisherClient
now appropriately throws aValueError
if an invalid credential is passed during initialization.