NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #657 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.
Latest stable
5.2.4
Last release 8 months ago
14 Mar 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 21 of 24 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
118 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
graphql: upgrade normalize to 0.4.2
graphql: keep deprecated QueryResult api and mark it as such
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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:
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
# 3.1.0-beta.5 (2020-05-10) ### 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
client: FetchMoreOptions bug with operator precedence
## 3.0.1 (2020-04-20) ### Bug Fixes * style: use curly braces
release: RunMutation return type definition
client: Throw a ClientException on non-json responses, to be (7d538e1), closes #552
client: translateNetworkFailure when no route to host
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
## 2.1.1-beta.5 (2019-12-11) ### Bug Fixes * subscriptions reconnect (c310db2) * subscriptions reconnect
cache: AppLifecycleState.{suspending -> detached}
individually suppress "deprecated_member_use_from_same_package" only
*.iml and .idea (361fdff)cache: add value == and hashCode to lazy cache map, fix traversal
client: patch fetchMore to write to cache
assert to ensure updateQuery doesn't return null
assert to ensure updateQuery doesn't return null
## 2.0.1 (2019-08-04) ### Bug Fixes * client: error handling
cache: don't use super.read in denormalizedRead so OptimisticCache overrides it's behavior
path_provider usage (ee0cb58)InMemoryCache no longer accept storageProvider,
however this param has always been using for testing only.The naming InMemoryCache is also debatable, as both io and html
implementation of this class is based on "persistent storage", not at all
"in memory".
There are refactor works to do to consolidate in_memory_* files.
client: crashed upload file (da49567), closes #336
client: Introduce QueryResultSource for more informative result
ci: simply re-export multipartFileFrom utility
client: websocket usable on browser
flutter: compatible with path_provider usage
path_provider usage (ee0cb58)InMemoryCache no longer accept storageProvider,
however this param has always been using for testing only.The naming InMemoryCache is also debatable, as both io and html
implementation of this class is based on "persistent storage", not at all
"in memory".
There are refactor works to do to consolidate in_memory_* files.
client: do not mutate input data (d30460e), closes #295
graphql_flutter Query: move refetch to manager
## 1.0.2-beta.1 (2019-05-21) ### Bug Fixes * fix target swap conflicts (92c0e3b) * fix target swap conflicts (2d0f7e3) * fix target-swap conflicts
analyze: Fix the analizer issues
initPayload to SocketClientConfig dynamic (23ee826)v from versions (ca9edc5)v from version tag (7d05814)Made initPayload to SocketClientConfig dynamic
wait for all subscription to cancel
## 1.0.1-beta.8 (2019-05-19) ### Bug Fixes * pubspec
hotfix: change to the correct directory
## 1.0.1-beta.6 (2019-05-04) ### Bug Fixes * hotfix: wrong json format
hotfix: fix version concatination
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.