brick_offline_first_with_rest 3.0.2
brick_offline_first_with_rest: ^3.0.2 copied to clipboard
A Brick domain that routes data fetching through local providers before a REST providers.
Unreleased #
3.0.2 #
- Apply standardized lints
- Update minimum HTTP to 1.0.0
3.0.1 #
- Support Dart 3
3.0.0 #
Please follow the v3 migration guide to easily upgrade.
- Remove instance-access
reattemptForStatusCodes; this is passed directly to the cache manager - Remove extraneous constructor argument
throwTunnerNotFoundExceptionsand rely on remote policy / the queue manager - Remove
brick_sqlite_abstract - Remove
brick_offline_first_abstract - Remove
brick_offline_first_with_rest_abstract; add annotationConnectOfflineFirstWithRestand classOfflineFirstWithRestModelto this package - BREAKING CHANGE Rename main export file to
brick_offline_first_with_rest.dart:FieldRename,GraphqlGraphqlProvider, andGraphqlSerializablecan all be imported from thebrick_restpackage - Add
#subscribemethod to listen for SQLite updates
1.1.1 #
- Update default of offline queue from 0 seconds to 5 seconds
1.1.0 #
- Loosen dependency restrictions to major versions
- Import from
sqflite_commoninstead ofsqfliteto avoid a Flutter dependency - BREAKING CHANGE
OfflineFirstWithRestRepository#offlineQueueHttpClientRequestSqliteCacheManageris nowOfflineFirstWithRestRepository#offlineQueueManager - BREAKING_CHANGE
offlineQueueManageris required to createBrickOfflineFirstWithRestRepository. To migrate without recreating the queue database, pass RestRequestSqliteCacheManager('brick_offline_queue.sqlite', databaseFactory)
1.0.0 #
- Integrate new
OfflineFirstPolicys to theRestOfflineQueueClient
0.0.2 #
- Support new policies for skipping cache or requesting data. See brick_offline_first's change notes for how to migrate the breaking changes.
0.0.1 #
- BREAKING CHANGE
SqliteProviderandQueryare no longer exportedoffline_first_with_rest.dart. Please import frompackage:brick_sqlite/db.dartandpackage:brick_core/query.dartrespectively. - Create package from
brick_offline_first - Initial