Skip to content

Commit

Permalink
feat: update @octokit/oauth-app to v3 (#216)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `getNodeMiddleware()` export has been removed. Use `createNodeMiddleware()` instead
BREAKING CHANGE: `const { token, scopes } = app.oauth.createToken(options)` is now `const { authentication: { token, scopes } } = app.oauth.createToken(options)`
BREAKING CHANGE: `const url = app.oauth.getAuthorizationUrl()` is now `const { url } = app.oauth.getWebFlowAuthorizationUrl()`;
BREAKING CHANGE: `before_delete` action removed for `token` and `authorization` OAuth events. We could add them back, but it would require an additional request, we'd like to see if there are people why actually use these events.
  • Loading branch information
renovate[bot] authored Mar 24, 2021
1 parent f11dc1e commit 8941307
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 150 deletions.
Loading

0 comments on commit 8941307

Please sign in to comment.