brick_offline_first_with_rest 1.1.1 copy "brick_offline_first_with_rest: ^1.1.1" to clipboard
brick_offline_first_with_rest: ^1.1.1 copied to clipboard

A Brick domain that routes data fetching through local providers before a REST providers.

Unreleased #

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_common instead of sqflite to avoid a Flutter dependency
  • BREAKING CHANGE OfflineFirstWithRestRepository#offlineQueueHttpClientRequestSqliteCacheManager is now OfflineFirstWithRestRepository#offlineQueueManager
  • BREAKING_CHANGE offlineQueueManager is required to create BrickOfflineFirstWithRestRepository. To migrate without recreating the queue database, pass RestRequestSqliteCacheManager('brick_offline_queue.sqlite', databaseFactory)

1.0.0 #

  • Integrate new OfflineFirstPolicys to the RestOfflineQueueClient

0.0.2 #

0.0.1 #

  • BREAKING CHANGE SqliteProvider and Query are no longer exported offline_first_with_rest.dart. Please import from package:brick_sqlite/sqlite.dart and package:brick_core/query.dart respectively.
  • Create package from brick_offline_first
  • Initial