3.0.0
Breaking Changes
Change in Registration API
This release updates the SDK to use the latest IO Events Regstration API where registrations are now defined in the context of a project and workspace. More details on the APIs can be found here: https://developer.adobe.com/events/docs/api/#tag/Registrations
Change in method names
This version also renames the methods related to the registrations to reflect both webhook and journal registrations.
Old to new method mappings
The mappings from the old to the new methods are as follows:
createWebhookRegistration (consumerOrgId, integrationId, body)
-> createRegistration (consumerOrgId, projectId, workspaceId, body)
getWebhookRegistration (consumerOrgId, integrationId, registrationId)
-> getRegistration (consumerOrgId, projectId, workspaceId, registrationId)
getAllWebhookRegistrations (consumerOrgId, integrationId)
-> getAllRegistrationsForWorkspace (consumerOrgId, projectId, workspaceId)
deleteWebhookRegistration (consumerOrgId, integrationId, registrationId)
-> deleteRegistration (consumerOrgId, projectId, workspaceId, registrationId)
New features
This version introduces new features to update a registration and get all registrations for an org in a paginated response.
Commit List
- Merge pull request #30 from sangeetha5491/CI-5618 c49990a
- docs: Update README.md 6cc5908
- docs: Add typedefs for Provider and EventMetadata input models 82ff1ed
- docs: Add registration create and update model typedefs fdc7bf9
- fix: Make events base url const in test 7b949aa
- fix: update registration to use the PUT method abfca52
- Merge pull request #31 from adobe/bugfix/ACNA-1679-new-codecov-upload 0587d1f
- docs: Update typings and README files 00a36f4
- BREAKING CHANGE: rename registration methods and add unit tests c57dbdc
- bugfix for ACNA-1679 772278d
- BREAKING CHANGE: Update registration methods to use V2 API 8847137