brick_offline_first_with_graphql 3.2.0 brick_offline_first_with_graphql: ^3.2.0 copied to clipboard
A Brick domain that routes data fetching through local providers before a GraphQL provider.
Unreleased #
3.2.0 #
- Add optional
onRequestException
callback function toGraphqlOfflineQueueLink
- Add optional
onReattempt
callback function toRestOfflineQueueClient
3.1.1 #
- Loosen constraints for
gql
,gql_exec
, andgql_link
3.1.0 #
- Upgrade minimum Dart to 2.18
3.0.1 #
- Support Dart 3
3.0.0 #
Please follow the v3 migration guide to easily upgrade.
- Remove
brick_sqlite_abstract
- Remove
brick_offline_first_abstract
- Remove
brick_offline_first_with_graphql_abstract
; add annotationConnectOfflineFirstWithGraphql
and classOfflineFirstWithGraphqlModel
to this package - BREAKING CHANGE Rename main export file to
brick_offline_first_with_graphql.dart
; remove forwarded exports from other packages:FieldRename
,Graphql
GraphqlProvider
, andGraphqlSerializable
can all be imported from thebrick_graphql
package - Migrate code and tests for
OfflineFirstWithGraphqlRepository#subscribe
toOfflineFirstRepository#subscribe
1.4.0 #
- Update default of offline queue from 0 seconds to 5 seconds
- Notify SQLite subscribers when a remote update has occurred.
1.3.0 #
- Upgrade to support
brick_graphql
v2
1.2.0 #
- Do not invoke
remoteProvider.subscribe
if no subscription query exists. - Ensure
query
is never non-null in thesubscriptions
mapping of the repository. Ifquery
isnull
,controller
is assigned to the Model type and subscriptions cannot be regenerated after cancelling all listeners. - Expand dependency restriction to include
brick_graphql
v2
1.1.2 #
- Loosen
gql
,gql_exec
, andgql_link
restriction
1.1.1 #
- Loosen
brick_graphql
,brick_offline_first_with_graphql_abstract
, andbrick_offline_first_abstract
restriction
1.1.0 #
- Use public release versions of
brick_offline_first
andbrick_sqlite
- When opening a new
OfflineFirstWithGraphqlRepository#subscribe
, add one event of existing local data to the stream - Notify subscribers of an empty payload after deleting
1.0.0 #
- Add
subscribe
for streaming updates of all models - Do not use
GraphqlOfflineQueueLink
automatically in Offline First Repository
0.0.1 #
Initial