brick_offline_first_with_graphql 4.0.1
brick_offline_first_with_graphql: ^4.0.1 copied to clipboard
A Brick domain that routes data fetching through local providers before a GraphQL provider.
4.0.1 #
- Consume streams from offline graphql requests (#617)
4.0.0 #
- BREAKING CHANGE
Query(providerArgs:)is no longer supported. See #510 for migration steps. - Dart minimum SDK is updated to
3.4.0 - All dependency restrictions are updated to include the minimum released version.
3.3.0 #
- Allow a generic type argument for
OfflineFirstWithGraphqlRepository - Update analysis to modern lints
- Upgrade
brick_coreto1.3.0
3.2.0 #
- Add optional
onRequestExceptioncallback function toGraphqlOfflineQueueLink - Add optional
onReattemptcallback 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 annotationConnectOfflineFirstWithGraphqland classOfflineFirstWithGraphqlModelto this package - BREAKING CHANGE Rename main export file to
brick_offline_first_with_graphql.dart; remove forwarded exports from other packages:FieldRename,GraphqlGraphqlProvider, andGraphqlSerializablecan all be imported from thebrick_graphqlpackage - Migrate code and tests for
OfflineFirstWithGraphqlRepository#subscribetoOfflineFirstRepository#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_graphqlv2
1.2.0 #
- Do not invoke
remoteProvider.subscribeif no subscription query exists. - Ensure
queryis never non-null in thesubscriptionsmapping of the repository. Ifqueryisnull,controlleris assigned to the Model type and subscriptions cannot be regenerated after cancelling all listeners. - Expand dependency restriction to include
brick_graphqlv2
1.1.2 #
- Loosen
gql,gql_exec, andgql_linkrestriction
1.1.1 #
- Loosen
brick_graphql,brick_offline_first_with_graphql_abstract, andbrick_offline_first_abstractrestriction
1.1.0 #
- Use public release versions of
brick_offline_firstandbrick_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
subscribefor streaming updates of all models - Do not use
GraphqlOfflineQueueLinkautomatically in Offline First Repository
0.0.1 #
Initial