Skip to content

v5.0.0

Choose a tag to compare

@octokitbot octokitbot released this 09 Jul 03:46

5.0.0 (2019-07-09)

Features

  • options.request.hook’s signature is now (request, endpointOptions) (3aa81f3)

BREAKING CHANGES

  • options.request.hook’s signature is now (request, endpointOptions)

Before:

request("GET /user", { request: { hook: (options, request) => /* ... */ } })

After:

request("GET /user", { request: { hook: (request, options) => /* ... */ } })

That way it aligns with octokit.hook from @octokit/rest