Skip to content

Releases: octokit/app.js

v12.0.0-beta.2

14 Apr 08:24
Compare
Choose a tag to compare
v12.0.0-beta.2 Pre-release
Pre-release

12.0.0-beta.2 (2021-04-14)

Bug Fixes

  • deps: bump @octokit/webhooks to 9.0.0 (0513740)

v12.0.0-beta.1

11 Apr 21:34
3bd8801
Compare
Choose a tag to compare
v12.0.0-beta.1 Pre-release
Pre-release

BREAKING CHANGES

  • app.webhooks.sign now defaults to sha256 algorithm. In order to continue to use sha1, replace

    app.webhooks.sign(secret, payload)

    with

    app.webhooks.sign({ secret, algorith: "sha1" }, payload)
  • app.webhooks.sign() and app.webhooks.verify() are now asynchronous

v11.4.2

09 Apr 23:10
Compare
Choose a tag to compare

11.4.2 (2021-04-09)

Bug Fixes

  • deps: remove unused package deprecation (6ba55b5)

v11.4.1

08 Apr 22:14
83bad11
Compare
Choose a tag to compare

11.4.1 (2021-04-08)

Bug Fixes

  • typescript: fix types for octokit instances in app.oauth.* APIs' (#229) (83bad11)

v11.4.0

08 Apr 21:09
589c8f8
Compare
Choose a tag to compare

11.4.0 (2021-04-08)

Features

  • typescript: Inherit types from defaults.Octokit set via App.defaults({ Octokit }) (#227) (589c8f8)

v11.3.1

05 Apr 00:43
cb9cca4
Compare
Choose a tag to compare

11.3.1 (2021-04-05)

Bug Fixes

v11.3.0

31 Mar 00:43
3a466b4
Compare
Choose a tag to compare

11.3.0 (2021-03-31)

Features

  • typescript: derive octokit type from Octokit option (#223) (3a466b4)

v11.2.0

30 Mar 18:37
Compare
Choose a tag to compare

11.2.0 (2021-03-30)

Features

v11.1.0

26 Mar 22:28
0fc1c1e
Compare
Choose a tag to compare

11.1.0 (2021-03-26)

Features

v11.0.0

24 Mar 04:44
8941307
Compare
Choose a tag to compare

BREAKING CHANGES

  • getNodeMiddleware() export has been removed. Use createNodeMiddleware() instead
  • const { token, scopes } = app.oauth.createToken(options) is now const { authentication: { token, scopes } } = app.oauth.createToken(options)
  • const url = app.oauth.getAuthorizationUrl() is now const { url } = app.oauth.getWebFlowAuthorizationUrl();
  • 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.

Features

  • app.oauth.getUserOctokit()
  • app.oauth.refreshToken()
  • app.oauth.scopeToken()
  • app.oauth.createToken() now supports the device flow