github JasonEtco/actions-toolkit v1.0.0

latest releases: v6.0.1, v6.0.0, v5.0.0...
5 years ago

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’s Changed

Don't miss a new actions-toolkit release

NewReleases is sending notifications on new releases.