2.0.0-beta.4 (2020-02-10)
Breaking changes
CloudEvent
constructor now accepts parameter "data". RemovedsetData()
.CloudEvent.parse()
andEventGridEvent.parse()
are renamed tofromString()
.CloudEvent::getData()
of CloudEvent and EventGridEvent now returnscom.azure.core.util.BinaryData
.
Users can use methodsBinaryData
to deserialize event data. The generic version ofgetData()
is then removed.- Removed
CloudEvent::getDataAsync()
- Added
EventGridSasGenerator
class and removedEventGridSasCredential
. UseEventGridSasGenerator.generateSas()
to
create a Shared Access Signature and useAzureSasCredential
to build aEventGridPublisherClient
. - Renamed
sendEvents
tosendEventGridEvents
Dependency Updates
- Update
azure-core
dependency to1.13.0
. - Update
azure-core-http-netty
dependency to1.8.0
. - Remove dependency on
azure-core-serializer-json-jackson
.