Skip to content

Releases: zino-hofmann/graphql-flutter

v1.0.1-beta.6@beta

04 May 17:15
f87f7d5
Compare
Choose a tag to compare

1.0.1-beta.6 (2019-05-04)

Bug Fixes

  • hotfix: wrong json format (f87f7d5)

v1.0.1-beta.5@beta

04 May 17:08
1f8dfd6
Compare
Choose a tag to compare

1.0.1-beta.5 (2019-05-04)

Bug Fixes

  • graphql: added examples paclage lock file (1c900f8)

v1.0.1-beta.4@beta

30 Apr 17:04
faaaeaf
Compare
Choose a tag to compare

1.0.1-beta.4 (2019-04-30)

Bug Fixes

  • hotfix: fix version concatination (faaaeaf)

v1.0.1-beta.3@beta

30 Apr 16:51
ca9edc5
Compare
Choose a tag to compare

1.0.1-beta.3 (2019-04-30)

Bug Fixes

  • strip v from version tag (7d05814)
  • hotfix: remove the v from versions (ca9edc5)

v1.0.1-beta.2@beta

30 Apr 16:35
c1595dd
Compare
Choose a tag to compare

1.0.1-beta.2 (2019-04-30)

Bug Fixes

  • derive the branch from version tag (092f95a)

v1.0.1-beta.1@beta

30 Apr 15:00
cee4d2b
Compare
Choose a tag to compare

1.0.1-beta.1 (2019-04-30)

Bug Fixes

February 16 2019

16 Feb 18:44
efd9b55
Compare
Choose a tag to compare
February 16 2019 Pre-release
Pre-release

We are finally in BETA. This means we're one step closer to our first stable release.

Thanks to all the contributors.

What's changed?

We have added a brand new Link that handles authentication. You can drop it in like so:

final HttpLink httpLink = HttpLink(
  uri: 'https://api.github.com/graphql',
);

final AuthLink authLink = AuthLink(
  getToken: () async => 'Bearer $YOUR_PERSONAL_ACCESS_TOKEN',
);

final Link link = authLink.concat(httpLink);

GraphQLClient client = GraphQLClient(
  cache: NormalizedInMemoryCache(
    dataIdFromObject: typenameDataIdFromObject,
  ),
  link: link,
);

The getToken function will be called right before each event gets passed to the next link. It set the Authorization header to the value returned by getToken and passes it under the header map to the context.

Breaking changes

n/a

Fixes / Enhancements

  • Fixed decouple mutation side effects from component (#114). @micimize
  • Fixed data == {} was always false, instead of data.isEmpty. @nesger
  • Added update(cache, result) attribute to Mutation. @micimize
  • Added NormalizationException to handle infinite dereference StackOverflow due to user error. @micimize
  • Added the GraphQL message type GQL_CONNECTION_KEEP_ALIVE, so it isn't interpreted as UnknownData anymore. @ArneSchulze
  • Added the brand ne AuthLink class. @HofmannZ
  • Update example to use NormalizedCache / test decoupling by replacing the Mutation while in flight. @micimize
  • Removed closed observable queries from QueryManager. @micimize

Docs

  • Fixed typos. @xtian
  • Added MessageType constant GQL_CONNECTION_KEEP_ALIVE. @ArneSchulze
  • Added GraphQLSocketMessage class ConnectionKeepAlive. @ArneSchulze
  • Added Stream<ConnectionKeepAlive> to GraphQLSocket. @ArneSchulze
  • Updated the example to use the new AuthLink. @HofmannZ

October 28 2018

28 Oct 11:47
8b01b44
Compare
Choose a tag to compare
October 28 2018 Pre-release
Pre-release

🎉 Big shout out to @micimize for making big steps with the NormalizedInMemoryCache extention!

Breaking changes

n/a

Fixes / Enhancements

  • Added NormalizedInMemoryCache as a new cache option. @micimize
  • Fixed Mutation calling onCompleted for loading state. @rafaelring
  • Fix type annotations. @HofmannZ
  • Fixed http versions. @HofmannZ

Docs

October 28 2018

28 Oct 11:43
ad4c241
Compare
Choose a tag to compare

Breaking changes

n/a

Fixes / Enhancements

  • Fixed bug when set state was called after widget was unmounted. @sirkuryaki
  • Fixed types. @HofmannZ

Docs

  • Fixed Query and Mutation examples on README.md. @sirkuryaki

October 6 2018

06 Oct 16:13
2b7960a
Compare
Choose a tag to compare
October 6 2018 Pre-release
Pre-release

Breaking changes

n/a

Fixes / Enhancements

  • Fixed Query variables not updating in the query. @micimize
  • Fixed Mutation widget's behavior to properly set loading status. @Igor1201

Docs