diff --git a/.changeset/light-starfishes-build.md b/.changeset/light-starfishes-build.md deleted file mode 100644 index 7e1a313..0000000 --- a/.changeset/light-starfishes-build.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@team-plain/typescript-sdk': major ---- - -Upgrade the SDK webhook parsing to support webhook version '2024-09-18'. - -### Breaking Changes -If your Plain webhook target is on the legacy/unversioned version, the SDK will no longer be able to parse the webhook payload. You must update your webhook target to '2024-09-18'. Refer to [our docs](https://www.plain.com/docs/api-reference/webhooks/versions) for more information and instructions on how to safely upgrade your webhook target. - -### Added -`verifyPlainWebhook` method to verify the webhook signature, with support for replay attack protection, and parse the webhook payload. Refer to the [README](./README.md) for usage instructions. diff --git a/CHANGELOG.md b/CHANGELOG.md index 6462b3a..7d7b486 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # @team-plain/typescript-sdk +## 5.0.0 + +### Major Changes + +- a51fc80: Upgrade the SDK webhook parsing to support webhook version '2024-09-18'. + +#### Breaking Changes + +If your Plain webhook target is on the legacy/unversioned version, the SDK will no longer be able to parse the webhook payload. You must update your webhook target to '2024-09-18'. Refer to [our docs](https://www.plain.com/docs/api-reference/webhooks/versions) for more information and instructions on how to safely upgrade your webhook target. + +#### Added + +`verifyPlainWebhook` method to verify the webhook signature, with support for replay attack protection, and parse the webhook payload. Refer to the [README](./README.md) for usage instructions. + ## 4.10.1 ### Patch Changes diff --git a/package.json b/package.json index 7ad4d8f..f1f2f18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@team-plain/typescript-sdk", - "version": "4.10.1", + "version": "5.0.0", "description": "Typescript SDK for Plain's Core GraphQL API", "main": "dist/index.js", "module": "dist/index.mjs",