NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #564 most downloaded on pub.dev
A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.
Last release 6 months ago
14 Mar 2026
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 12 of 24 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
118 releases · first in 2018
graphql: upgrade normalize to 0.4.2
graphql: keep deprecated QueryResult api and mark it as such
v4 reworks a lot of the internals of the core graphql/client.dart (and thus graphql_flutter).
Please see the v4 changelog for more details, and the updated READMEs for more extensive documentation.
The following was autogenerated from ill-manicured commits:
One column per quarter.
hotfix(client): gql_http_link==0.3.2 for custom toJsons closing #734
gql_http_link==0.3.2 for custom toJsons closing #734 (98b8cf7)hotfix(client): gql_http_link==0.3.1 fix for bool json encoding support
gql_http_link==0.3.1 fix for bool json encoding support (38b2fd2):warning: breaking: the cache.readFragment / cache.readFragment API has been reworked: ```diff final fragDoc = gql(...);
:warning: breaking: the cache.readFragment / cache.readFragment API has been reworked:
final fragDoc = gql(...);
final idFields = { '__typename': 'MyType', 'id': 1 }
final fragmentData = {
'myField': 'updatedValue',
'someNewField': [
{'newData': false}
],
};
+ // or Fragment(document: fragDoc).asRequest(idFields: idFields)
+ final fragmentRequest = FragmentRequest(
+ fragment: Fragment(
+ document: fragDoc,
+ ),
+ idFields: idFields,
+ );
cache.writeFragment(
- fragment: fragDoc,
- idFields: idFields,
+ fragmentRequest,
data: fragmentData,
);
This was done because I (@micimize) wanted to make it more consistent with cache.readQuery/cache.writeQuery before beta.
This was mostly a prep release for the first v4 beta.
This was mostly a prep release for the first v4 beta.
GraphQLClient now implements GraphQLDataProxy, exposing readQuery, writeQuery, readFragment, and writeFragment. The writing methods also trigger rebro
GraphQLClient now implements GraphQLDataProxy, exposing readQuery, writeQuery, readFragment, and writeFragment. The writing methods also trigger rebroadcasts, closing #728.
It also adds an experimental client.resetStore({refetchQueries = true}) for refetching the results of all observed queries (not mutations), and expose cache.store with a WARNING about direct access.
client: fix subscription initial result from cache
cache: sanitize multipart files for cache.
client: bring back old websocket link with gql adapter layer
client: don't close mutations after callbacks
docs: direct cache access in changelog
client: maybeRebroadcast on mutation
maybeRebroadcast on mutation (75393c2)See the v4 changelog
See the v4 changelog
client: Throw a ClientException on non-json responses, to be (7d538e1), closes #552
client: FetchMoreOptions bug with operator precedence
packaging: correct dependencies, remove authors
### Bug Fixes * packaging: upgrade rxdart (20364a9) ### Features * graphql: custom auth headerKey
examples: rebuilt & tested starwars example
flutter: Query.didUpdateWidget and policy overrides
flutter: widgets make unnecessary requests when dependencies change
examples/starwars: use git dependency for graphql_starwars_test_server
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
individually suppress "deprecated_member_use_from_same_package" only
*.iml and .idea (361fdff)MutationState.didChangeDependencies (baeca25)client: use http 0.12.0+4 to fix a wrong content-type header on multipart request on http 0.12.0+3 (ea8822c), closes #525
packaging: update rxdart and sdk min versions (1980f22), closes #497
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →