Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Mar 13:56
· 1 commit to master since this release
5520d57

1.0.0 (2020-03-06)

Bug Fixes

  • package: update universal-user-agent to version 5.0.0 (598b7d2)
  • Avoid double requests when retrieving a new token (#37) (165543b)
  • handle error response with 200 status code from OAuth endpoint (#23) (a146f84)
  • new endpoints requiring Basic Authentication (7043b55)
  • package: update @octokit/request to version 5.0.0 (2992cd9)
  • package: update @octokit/types to version 2.0.0 (d8036ed)
  • package: update universal-user-agent to version 4.0.0 (c8ec93f)
  • package: version in published package (7055bfe)
  • set explicit accept header for POST https://github.com/login/oauth/access_token (7358ca9)
  • token authentication with enterprise baseUrl (7e854f7)
  • package: update universal-user-agent to version 3.0.0 (5fe4fa6)

Features

  • auth.hook() (f93b345)
  • client_{id,_secret} are no longer passed as query, but basic authentication only (#41) (85a04fa)
  • Allow to pass code/state/redirectUrl to auth() (4c31c42)
  • better TypeScript definitions via @octokit/types v2 (feeeb91)
  • export types StrategyOptions,AuthOptions,Authentication (4f98437)
  • improve TypeScript definitions via @octokit/types (#19) (e6c79fb)
  • initial version (275d961)
  • initial version (05af5e6)

BREAKING CHANGES

  • :client_id and :access_token URL parameters are no longer set by default
  • client_id and client_secret are now passed as basic authentication for any URL
  • The url option has been removed for auth({ type: "app" })
  • auth({ type: "app" }) no longer returns a .query key
  • auth(options) now only accepts options.type and options.url. options.{code,redirectUrl,state} must now be passed to # auth-oauth-app.js(options) instead