Releases: octokit/app.js
Releases · octokit/app.js
v11.1.0
v11.0.0
BREAKING CHANGES
getNodeMiddleware()
export has been removed. UsecreateNodeMiddleware()
insteadconst { token, scopes } = app.oauth.createToken(options)
is nowconst { authentication: { token, scopes } } = app.oauth.createToken(options)
const url = app.oauth.getAuthorizationUrl()
is nowconst { url } = app.oauth.getWebFlowAuthorizationUrl()
;before_delete
action removed fortoken
andauthorization
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.
Features
app.oauth.getUserOctokit()
app.oauth.refreshToken()
app.oauth.scopeToken()
app.oauth.createToken()
now supports the device flow