4.0.0 (2021-03-09)
Note: This is the first stable release of our efforts to create a user-friendly and Pythonic client library for Azure EventGrid. Users migrating from v1.x
are advised to view the migration guide.
New Features
azure-eventgrid
package now supportsazure.core.messaging.CloudEvent
which honors the CNCF CloudEvent spec.azure.eventgrid.SystemEventNames
can be used to get the event model type mapping for system events.- Implements the
EventGridPublisherClient
for the publish flow for EventGrid Events, CloudEvents and Custom schema events.
Breaking Changes
azure.eventgrid.models
namespace along with all the models in it are now removed.:- JSON documentation on the events is available here: https://docs.microsoft.com/azure/event-grid/system-topics
azure.eventgrid.SystemEventNames
provides the list of available events name for easy switching.
azure.eventgrid.event_grid_client.EventGridClient
is now removed in favor ofazure.eventgrid.EventGridPublisherClient
.azure.eventgrid.event_grid_client.EventGridClientConfiguration
is now removed.