Releases: octokit/webhooks.js
Releases · octokit/webhooks.js
v11.1.2
v10.9.2
v12.0.3
v12.0.2
v12.0.1
v12.0.0
v11.1.1
v11.1.0
11.1.0 (2023-05-28)
Features
- new deployment statuses for
deyployment_status
event - new common schema for
secret_scanning_alert
- new
secret_scanning_alert_location
event - new
workflow_job.waiting
event - new
branch_protection_rule.requested
event - new
require_last_push_approval
rule forbranch_protection_rule
- new payload examples
- Support for workflows associated to deployment environments
Fixes
- add
queued
to possible statuses forworkflow_job
inworkflow_job.in_progress
event
v11.0.0
11.0.0 (2023-04-14)
Features
- Removes the
onUnhandledRequest
middleware option (#740) (cfd77ad) - Only accept string payloads for
webhooks.sign()
(#794) (855cefa) - Only accept string payloads for
webhooks.verify()
andwebhooks.verifyAndReceive()
and the middleware (#793) (7cc4068)
Bug Fixes
- build: adapt
package.json
entries for better browser and ESM compat (ffbf0ac)
BREAKING CHANGES
- middleware only and (always) handles requests at
path
- Only accept string payloads for
webhooks.verify()
andwebhooks.verifyAndReceive()
- The middleware now expects only string payloads for
request.body
- Only accept string payloads for
webhooks.verify()