PackageTrack
Sign in Get early access

brick_offline_first_with_rest

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

4.0.1 7.6K downloads/mo #3306 most downloaded on pub.dev GetDutchie/brick

What this package is like to depend on

Last release 1 years ago

17 Mar 2025

Release timing varies

gaps range from 3 weeks to 12 months

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

14 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

14 releases · Feb 2022 to Mar 2025
2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 4.0.1 17 Mar 2025
    Release notes
    • Fixes a bug where get with .awaitRemote and a non-empty Query overrides the initial query and disregards the URL when being passed to the remote provider via RestRequest. Hat tip to @hortigado and @devj3ns #553
    Open source →
  2. 4.0.0 24 Feb 2025
    Release notes
    • 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.
    Open source →
  3. 3.3.0 24 Dec 2024
    Release notes
    • Allow a generic type argument for OfflineFirstWithRestRepository
    • Upgrade brick_core to 1.3.0
    • Update analysis to modern lints
    • OfflineFirstException has been moved to the brick_offline_first package
    Open source →
  4. 3.2.0 31 Oct 2024
    Release notes
    • Add optional onRequestException callback function to RestOfflineQueueClient
    • Add optional onReattempt callback function to RestOfflineQueueClient
    Open source →
  5. 3.1.0 20 Sep 2024
    Release notes
    • Expose offline queue functionality in offline_queue.dart
    • Include request in RestOfflineQueueClient's generic error response
    • Add ignorePaths to RestOfflineQueueClient's constructor. This parameter will not cache requests that begin with any of the supplied values.
    Open source →
  6. 3.0.2 06 May 2024
    Release notes
    • Apply standardized lints
    • Update minimum HTTP to 1.0.0
    Open source →
  7. 3.0.1 23 May 2023
    Release notes
    • Support Dart 3
    Open source →
  8. 3.0.0 10 Mar 2023
    Release notes

    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 throwTunnerNotFoundExceptions and rely on remote policy / the queue manager
    • Remove brick_sqlite_abstract
    • Remove brick_offline_first_abstract
    • Remove brick_offline_first_with_rest_abstract; add annotation ConnectOfflineFirstWithRest and class OfflineFirstWithRestModel to this package
    • BREAKING CHANGE Rename main export file to brick_offline_first_with_rest.dart: FieldRename, Graphql GraphqlProvider, and GraphqlSerializable can all be imported from the brick_rest package
    • Add #subscribe method to listen for SQLite updates
    Open source →
  9. 3.0.0-pre.2 13 Feb 2023 pre-release

    Nothing published for this version

  10. 3.0.0-pre.1 13 Feb 2023 pre-release

    Nothing published for this version

  11. 1.1.1 09 Jan 2023
    Release notes
    • Update default of offline queue from 0 seconds to 5 seconds
    Open source →
  12. 1.1.0 04 Apr 2022
    Release notes
    • 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)
    Open source →
  13. 1.0.0 16 Feb 2022
    Release notes
    • Integrate new OfflineFirstPolicys to the RestOfflineQueueClient
    Open source →
  14. 0.0.1 02 Feb 2022
    Release notes
    • BREAKING CHANGE SqliteProvider and Query are no longer exported offline_first_with_rest.dart. Please import from package:brick_sqlite/db.dart and package:brick_core/query.dart respectively.
    • Create package from brick_offline_first
    • Initial
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive