diff --git a/.changeset/webhook-payload-null-fields.md b/.changeset/webhook-payload-null-fields.md deleted file mode 100644 index d95f969..0000000 --- a/.changeset/webhook-payload-null-fields.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@savvy-web/github-action-effects": patch ---- - -## Bug Fixes - -- Accept `null` in `WebhookPayload`'s `IssueRef.body`, `IssueRef.html_url`, `Repository.full_name`, and `Repository.html_url` fields. GitHub webhook payloads carry these as `null` (not absent) when the issue or PR has no description, or when an event payload omits the rendered URL. Previously decoding any such payload through `ActionEnvironment.payload` failed with `ActionEnvironmentError: Event payload did not match the expected shape: WebhookPayload — Expected string, actual null`. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c0f5b6..2ca96e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @savvy-web/pnpm-module-template +## 2.0.1 + +### Bug Fixes + +* [`56ea730`](https://github.com/savvy-web/github-action-effects/commit/56ea730e014b1873ae69022c41ae228567943a0c) Accept `null` in `WebhookPayload`'s `IssueRef.body`, `IssueRef.html_url`, `Repository.full_name`, and `Repository.html_url` fields. GitHub webhook payloads carry these as `null` (not absent) when the issue or PR has no description, or when an event payload omits the rendered URL. Previously decoding any such payload through `ActionEnvironment.payload` failed with `ActionEnvironmentError: Event payload did not match the expected shape: WebhookPayload — Expected string, actual null`. + ## 2.0.0 ### Breaking Changes diff --git a/package.json b/package.json index 392b480..a7ba848 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@savvy-web/github-action-effects", - "version": "2.0.0", + "version": "2.0.1", "private": true, "description": "Effect-based utility library for building robust, well-logged, and schema-validated GitHub Actions.", "keywords": [