From 485a77f39ec5c59cb5f03b25266ef4a97c70e5a9 Mon Sep 17 00:00:00 2001 From: Zino Hofmann Date: Sun, 2 Sep 2018 00:49:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Version=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ pubspec.yaml | 10 +++++----- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a068d9a15..e880b79ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## [1.0.0-alpha.1] - September 2 2018 + +### Breaking change + +- [x] Renamed `Client` to `GraphQLClient` to avoid name collision with other packages. @HofmannZ +- [x] Renamed `GraphqlProvider` to `GraphQLProvider` to align with new naming. @HofmannZ +- [x] Renamed `GraphqlConsumer` to `GraphQLConsumer` to align with new naming. @HofmannZ +- [x] Renamed `GQLError` to `GraphQLError` to align with new naming. @HofmannZ +- [x] `GraphQLClient` requires a `Link` to passed into the constructor. @HofmannZ +- [x] `GraphQLClient` no longer requires a `endPoint` or `apiToken` to be passed into the constructor. Instead you can provide it to the `Link`. @HofmannZ +- [x] The `Query` and `Mutation` widgets are now `StreamBuilders`, there the api did change slightly. @HofmannZ + +#### Fixes / Enhancements + +- [x] Improved typing throughout the library. @HofmannZ +- [x] Queries are handled as streams of operations. @HofmannZ +- [ ] Errors can be mutated in the stream of operations. +- [x] Added the `HttpLink` to handle requests using http. @HofmannZ +- [x] `HttpLink` allows headers to be customised. @HofmannZ +- [x] The api allows contributors to write their own custom links. @HofmannZ + +#### Docs + +- [ ] Document the new link system. +- [ ] Write an upgrade guide. +- [x] Implement the new link system in the example. @HofmannZ + ## [0.9.1] - August 30 2018 ### Breaking change diff --git a/pubspec.yaml b/pubspec.yaml index 457613b49..aab5d673e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: graphql_flutter description: A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. -version: 0.9.1 +version: 1.0.0-alpha.1 authors: - Eus Dima - Zino Hofmann @@ -9,10 +9,10 @@ homepage: https://github.com/zino-app/graphql-flutter dependencies: flutter: sdk: flutter - meta: ^1.1.5 - http: ^0.11.0 - path_provider: ^0.4.0 - uuid: ^1.0.0 + meta: ^1.1.6 + http: ^0.11.3 + path_provider: ^0.4.1 + uuid: ^1.0.3 dev_dependencies: flutter_test: