All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
- Client is now a
TypedLink
- All plugins reimplemented as
TypedLink
s
Client.responseStream
is now Client.request
- upgrade
rxdart
to latest version
OperationRequest
, OperationResponse
, and FragmentRequest
moved to ferry_exec
- Cache.watchQuery no longer depends on entire data object
- Bump
normalize
version
- Export policies in ferry and cache
- Add
identify
method
- Add
evict
method
- Add
gc
method
- Add
retain
method
- Add
release
method
- Use latest
normalize
version
- Expose store from cache
- Use latest
normalize
version
- Implement plugin system
- Add [OfflineMutationPlugin]
- Convert addTypename into plugin
- Convert updateResult into plugin
- Convert updateCache into plugin
- Add
clear()
method to Cache
- Add
dispose()
method to Cache
- Merge
ferry_cache
into ferry
package.
- Use full types for cache methods
- Update
ferry_store
dependencies
- Export Cache from
package:ferry/cache.dart
.
- Update README and point to docs site
- fixes updateResult when more than two results are merged
- use typed data in
CacheProxy
methods
- bump
normalize
version
- bump
ferry_cache
version
- rename
QueryRequest
and QueryResponse
to OperationRequest
and OperationResponse
- rename
queryId
to requestId
- restructure package to use monorepo
- fixed which QueryResponses are caught by responseStream
LinkExceptions
are now caught and included in the QueryResponse.linkException
property
- added
QueryResponse.dataSource
property
- added basic tests for GraphQL and network errors
- added
Mutation
widget
- added
executeOnListen
flag on responseStream
- updated default subscription
FetchPolicy
to CacheAndNetwork
- override equality for
QueryResponse
- update example
- BREAKING removed optimistic flag on
QueryResponse
in favor of source property
- BREAKING removed client error from
Query
widget
- remove broken
FetchPolicy
tests
QueryRequest
now extends Request
- update
req_builder
to use new URI fragments
- add
QueryReqeust.copyWith
- add
clientError
object to Query
Widget
req_builder
no longer assigns a unique queryId
if none is provided
- use latest versions of
gql_build
and gql_code_builder
- rename to "ferry"
- move repo to gql-dart
- remove 'GQL' prefix
- use latest version of gql_build
- update example
- update dependencies
- fix erroneous import
- BREAKING convert options to use built_value
- Remove custom network error
- Remove unnecessary readme code