Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: v12 #232

Merged
merged 2 commits into from
Apr 14, 2021
Merged

feat: v12 #232

merged 2 commits into from
Apr 14, 2021

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Apr 11, 2021

Blocked by octokit/webhooks.js#518

Breaking changes

  • default sign algorithm for app.webhooks.sign is now sha256. Use app.webhooks.sign({ algorithm: "sha1", secret }, payload) to fall back to sha1.
  • app.webhooks.sign() and app.webhooks.verify() are now asynchronous

BREAKING CHANGE: `sign` and `webhooks.sign` no default to `sha256` algorithm. In order to continue to use `sha1`, replace

```js
sign(secret, payload)
```

with

```js
sign({ secret, algorith: "sha1" }, payload)
```

BREAKING CHANGE: `webhooks.sign()` and `webhooks.verify()` are now asynchronous

BREAKING CHANGE: static `sign` and `verify` methods are no longer exported. Use `@octokit/webhooks-methods` package instead
@gr2m gr2m added Type: Feature New feature or request Status: Blocked Some technical or requirement is blocking the issue labels Apr 11, 2021
@gr2m gr2m changed the title 🚧 feat: v12 feat: v12 Apr 14, 2021
@gr2m gr2m merged commit 7c48a3a into master Apr 14, 2021
@gr2m gr2m deleted the beta branch April 14, 2021 08:27
@github-actions
Copy link

🎉 This PR is included in version 12.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked Some technical or requirement is blocking the issue Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant