Skip to content

Commit

Permalink
Merge pull request #36 from zino-app/links-1
Browse files Browse the repository at this point in the history
Links and Scheduler
  • Loading branch information
HofmannZ authored Sep 2, 2018
2 parents 51bc8d5 + 87e3d03 commit 63ad80a
Show file tree
Hide file tree
Showing 31 changed files with 1,487 additions and 664 deletions.
75 changes: 59 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
## [1.0.0-alpha.2] - September 2 2018

### Breaking changes

n/a

#### Fixes / Enhancements

- `GraphQLClient` now reads and writes data from the `Cache` based on the provided `FetchPolicy` option. @HofmannZ
- Implemented caching for data from `FetchResults`. @HofmannZ
- The library now tagets Dart version `>=2.1.0-dev.0.0 <3.0.0` as recomended by Flutter `0.6.0`. @HofmannZ
- Removed the old client from the library. @HofmannZ

#### Docs

- Document the new API. @HofmannZ
- Write an upgrade guide. @HofmannZ
- Clean up the example. @HofmannZ

## [1.0.0-alpha.1] - September 2 2018

### Breaking changes

- Renamed `Client` to `GraphQLClient` to avoid name collision with other packages. @HofmannZ
- Renamed `GraphqlProvider` to `GraphQLProvider` to align with new naming. @HofmannZ
- Renamed `GraphqlConsumer` to `GraphQLConsumer` to align with new naming. @HofmannZ
- Renamed `GQLError` to `GraphQLError` to align with new naming. @HofmannZ
- `GraphQLClient` requires a `Link` to passed into the constructor. @HofmannZ
- `GraphQLClient` no longer requires a `endPoint` or `apiToken` to be passed into the constructor. Instead you can provide it to the `Link`. @HofmannZ
- The `Query` and `Mutation` widgets are now `StreamBuilders`, there the api did change slightly. @HofmannZ

#### Fixes / Enhancements

- Improved typing throughout the library. @HofmannZ
- Queries are handled as streams of operations. @HofmannZ
- Added the `HttpLink` to handle requests using http. @HofmannZ
- `HttpLink` allows headers to be customised. @HofmannZ
- The api allows contributors to write their own custom links. @HofmannZ

#### Docs

- Implement the new link system in the example. @HofmannZ

## [0.9.1] - August 30 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -15,7 +58,7 @@ n/a

## [0.9.0] - August 23 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -32,7 +75,7 @@ n/a

## [0.8.0] - August 10 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -47,7 +90,7 @@ n/a

## [0.7.1] - August 3 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -61,7 +104,7 @@ n/a

## [0.7.0] - July 22 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -77,7 +120,7 @@ n/a

## [0.6.0] - July 19 2018

### Breaking change
### Breaking changes

- The library now requires your app to be wrapped with the `GraphqlProvider` widget. @HofmannZ
- The global `client` variable is no longer available. Instead use the `GraphqlConsumer` widget. @HofmannZ
Expand Down Expand Up @@ -115,7 +158,7 @@ Client client = GraphqlProvider.of(context).value;

## [0.5.4] - July 17 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -131,7 +174,7 @@ n/a

## [0.5.3] - July 13 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -147,7 +190,7 @@ n/a

## [0.5.2] - July 11 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -161,7 +204,7 @@ n/a

## [0.5.1] - June 29 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -175,7 +218,7 @@ n/a

## [0.5.0] - June 25 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -191,7 +234,7 @@ n/a

## [0.4.1] - June 22 2018

### Breaking change
### Breaking changes

n/a

Expand All @@ -205,7 +248,7 @@ n/a

## [0.4.0] - June 21 2018

### Breaking change
### Breaking changes

- The Client now requires a from of cache.
- The name of the `execute` method on the `Client` class changed to `query`.
Expand All @@ -224,7 +267,7 @@ n/a

## [0.3.0] - June 16 2018

### Breaking change
### Breaking changes

- Changed data type to `Map` instaid of `Object` to be more explicit.

Expand All @@ -240,7 +283,7 @@ n/a

## [0.2.0] - June 15 2018

### Breaking change
### Breaking changes

- Changed query widget `polling` argument to `pollInterval`, following the [react-apollo](https://github.com/apollographql/react-apollo) api.

Expand All @@ -256,7 +299,7 @@ n/a

My colleague and I created a simple implementation of a GraphQL Client for Flutter. (Many thanks to Eus Dima, for his work on the initial client.)

### Breaking change
### Breaking changes

n/a

Expand Down
Loading

0 comments on commit 63ad80a

Please # to comment.