brick_offline_first_with_rest 1.1.0 brick_offline_first_with_rest: ^1.1.0 copied to clipboard
A Brick domain that routes data fetching through local providers before a REST providers.
Unreleased #
1.1.0 #
- Loosen dependency restrictions to major versions
- Import from
sqflite_common
instead ofsqflite
to avoid a Flutter dependency - BREAKING CHANGE
OfflineFirstWithRestRepository#offlineQueueHttpClientRequestSqliteCacheManager
is nowOfflineFirstWithRestRepository#offlineQueueManager
- BREAKING_CHANGE
offlineQueueManager
is required to createBrickOfflineFirstWithRestRepository
. To migrate without recreating the queue database, pass RestRequestSqliteCacheManager('brick_offline_queue.sqlite', databaseFactory)
1.0.0 #
- Integrate new
OfflineFirstPolicy
s 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
SqliteProvider
andQuery
are no longer exportedoffline_first_with_rest.dart
. Please import frompackage:brick_sqlite/sqlite.dart
andpackage:brick_core/query.dart
respectively. - Create package from
brick_offline_first
- Initial