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 2025Releases
latest 14-
4.0.117 Mar 2025Release notes
Open source →- Fixes a bug where
getwith.awaitRemoteand a non-emptyQueryoverrides the initial query and disregards the URL when being passed to the remote provider viaRestRequest. Hat tip to @hortigado and @devj3ns #553
- Fixes a bug where
-
4.0.024 Feb 2025Release notes
Open source →- 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.
- BREAKING CHANGE
-
3.3.024 Dec 2024Release notes
Open source →- Allow a generic type argument for
OfflineFirstWithRestRepository - Upgrade
brick_coreto1.3.0 - Update analysis to modern lints
OfflineFirstExceptionhas been moved to thebrick_offline_firstpackage
- Allow a generic type argument for
-
3.2.031 Oct 2024Release notes
Open source →- Add optional
onRequestExceptioncallback function toRestOfflineQueueClient - Add optional
onReattemptcallback function toRestOfflineQueueClient
- Add optional
-
3.1.020 Sep 2024Release notes
Open source →- Expose offline queue functionality in
offline_queue.dart - Include
requestinRestOfflineQueueClient's generic error response - Add
ignorePathstoRestOfflineQueueClient's constructor. This parameter will not cache requests that begin with any of the supplied values.
- Expose offline queue functionality in
-
3.0.206 May 2024 -
3.0.123 May 2023 -
3.0.010 Mar 2023Release notes
Open source →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
- Remove instance-access
-
3.0.0-pre.213 Feb 2023 pre-releaseNothing published for this version
-
3.0.0-pre.113 Feb 2023 pre-releaseNothing published for this version
-
1.1.109 Jan 2023 -
1.1.004 Apr 2022Release notes
Open source →- 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.016 Feb 2022 -
0.0.102 Feb 2022Release notes
Open source →- 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
- BREAKING CHANGE