Releases: octokit/app.js
Releases · octokit/app.js
v12.0.0-beta.2
v12.0.0-beta.1
BREAKING CHANGES
-
app.webhooks.sign
now defaults tosha256
algorithm. In order to continue to usesha1
, replaceapp.webhooks.sign(secret, payload)
with
app.webhooks.sign({ secret, algorith: "sha1" }, payload)
-
app.webhooks.sign()
andapp.webhooks.verify()
are now asynchronous
v11.4.2
v11.4.1
v11.4.0
v11.3.1
v11.3.0
v11.2.0
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