Skip to content

v1.0.0

Compare
Choose a tag to compare
@release-drafter release-drafter released this 27 Jan 20:26

This release mostly centers around the Octokit client. It updates to a new major version of @octokit/rest, which puts this library more in line with their docs.

New features

tools.github.graphql

A pre-authenticated instance of @octokit/graphql, for all your GraphQL needs!

Breaking changes

tools.createOctokit() => tools.github

In practice, creating a new Octokit client isn't necessary 99% of the time, so this release changes it to be a single pre-authenticated instance.

// Before
const octokit = tools.createOctokit()
octokit.issues.create()

// After
tools.github.issues.create()

What鈥檚 Changed