Skip to content

Releases: octokit/graphql.js

v2.1.3

09 Jul 04:21
Compare
Choose a tag to compare

2.1.3 (2019-07-09)

Bug Fixes

  • package: update @octokit/request to version 5.0.0 (b6ad92c)

v2.1.2

17 May 05:07
Compare
Choose a tag to compare

2.1.2 (2019-05-17)

Bug Fixes

  • package: update @octokit/request to version 4.1.0 (cbdd054), closes #23

v2.1.1

09 Apr 19:40
Compare
Choose a tag to compare

2.1.1 (2019-04-09)

Bug Fixes

  • package: update @octokit/request to version 3.0.0 (9a8fe08)

v2.1.0

05 Apr 16:39
Compare
Choose a tag to compare

2.1.0 (2019-04-05)

Features

v2.0.2

19 Mar 17:38
Compare
Choose a tag to compare

2.0.2 (2019-03-19)

Bug Fixes

  • package: universal-user-agent (413bda0)

v2.0.1

08 Jan 07:22
Compare
Choose a tag to compare

2.0.1 (2019-01-08)

Bug Fixes

  • don’t send empty variables object (af96d49)

v2.0.0

07 Jan 21:51
Compare
Choose a tag to compare

2.0.0 (2019-01-07)

  • remove {data} namespace from result of graphql(query) (0040601)

BREAKING CHANGES

  • If a query fails due to a GraphQL error, the thrown Error now has the name GraphqlError. Before it was just Error
  • The {data} namespace from the graphql query result has been removed. The resulting data is now returned directly.

Before

const {data: {viewer}} = await graphql(`{
  viewer {
    bioHtml
  }
}`)

After

const {viewer} = await graphql(`{
  viewer {
    bioHtml
  }
}`)

v1.0.0

26 Nov 01:15
Compare
Choose a tag to compare

Features