Releases: octokit/webhooks-methods.js
Releases · octokit/webhooks-methods.js
v4.1.0
4.1.0 (2024-02-17)
Features
- throw an error when passing an
object
payload to verify
or sign
(#235) (e2bcb2c)
v4.0.0
BREAKING CHANGES
- Drop support for NodeJS v14, v16
v3.0.3
3.0.3 (2023-06-05)
Bug Fixes
v3.0.2
3.0.2 (2023-01-08)
Bug Fixes
- adjust docs on how to stringify parsed object payloads (#112) (a705a9e), closes #111
v3.0.1
3.0.1 (2022-10-04)
Bug Fixes
- correct behaviour of functions in the
web
module to correspond to the one from the node
module (#46) (19eb9e5)
v3.0.0
3.0.0 (2022-07-07)
Continuous Integration
- stop testing against NodeJS v10, v12 (#58) (399eea3)
BREAKING CHANGES
- Drop support for NodeJS v10, v12
v2.0.0
BREAKING CHANGES
sign
or verify
no longer accept an object for the event payload argument.
If you only have access to an already parsed object, stringify it with
const eventPayloadString = (
JSON.stringify(eventPayload, null, 2) + "\n"
).replace(/[^\\]\\u[\da-f]{4}/g, (s) => {
return s.substr(0, 3) + s.substr(3).toUpperCase();
});
v1.0.0
1.0.0 (2021-04-10)
Features