cached_query 3.0.1
cached_query: ^3.0.1 copied to clipboard
A simple library for dealing with server state in dart and flutter.
3.0.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
3.0.0-dev.19 #
3.0.0-dev.18 #
Note: This release has breaking changes.
- BREAKING FEAT: change name of mutation funciton to mutationFn for clarity. (f91ed15d)
3.0.0-dev.17 #
Note: This release has breaking changes.
- REFACTOR: move more core logic to query base. (3a266f79)
- REFACTOR: change name of infinite refetch function to onpagerefetched. (f10737c7)
- REFACTOR: add equlaity to stored query. (5e44c4ee)
- REFACTOR: remove mocks in cached query tests. (5e4f480b)
- REFACTOR: move more core logic to query base. (395a62e0)
- REFACTOR: remove unnecessary infinite query fetch params. (327218a4)
- REFACTOR: infinite query ready for direction. (780d353e)
- REFACTOR: infinite query ready for direction. (fabc2476)
- REFACTOR: change name of infinite refetch function to onpagerefetched. (756cdaf4)
- REFACTOR: remove unnecessary infinite query fetch params. (0304a6c3)
- REFACTOR: add equlaity to stored query. (2c4eaa12)
- REFACTOR: remove mocks in cached query tests. (bad90bfb)
- FIX: infinite query not fetching from storage. (2369dc3e)
- FIX: change page params in infinite query to not nullable. (c95b6cd1)
- FIX: change page params in infinite query to not nullable. (3adf7b3c)
- FIX: add missed part. (e4db325a)
- FIX: after rebasing 2.6. (2f35ddd5)
- FIX: infinite query invalidate not working. (6d7c2f31)
- FIX: add missed part. (8b996510)
- FIX: observer not supported in new architecture. Multiple fixes for tests. (5716dd84)
- FIX: observer not supported in new architecture. Multiple fixes for tests. (2975288c)
- FIX: infinite query invalidate not working. (1883bdd7)
- FIX: after rebasing 2.6. (378858f9)
- FIX: infinite query not fetching from storage. (4c72c7b4)
- FIX: use initial fetch flag inside fetch. (74cdd2ab)
- FIX: use initial fetch flag inside fetch. (250257b4)
- FEAT: add emit to setstate. (5a7e2340)
- FEAT: query success data is now just the type T not T?, data can still be nullable by passing T? as the generic. (19f0b64f)
- FEAT: update devtools for 3. (f462df2b)
- FEAT: add isInitialFetch to loading state. (fff9b86c)
- FEAT: expose check connection. (3e8f6bbf)
- FEAT: expose check connection. (342aa0a4)
- FEAT: added convenience methods to infinite query data. (fec46348)
- FEAT: update devtools for 3. (a888bba3)
- FEAT: added convenience methods to infinite query data. (1e9abef2)
- FEAT: invalidating a query will, by default, refetch active queries. (e84067fe)
- FEAT: query success data is now just the type T not T?, data can still be nullable by passing T? as the generic. (ba5e2b74)
- FEAT: add isInitialFetch to loading state. (c3799a95)
- FEAT: add emit to setstate. (f90cea5f)
- FEAT: invalidating a query will, by default, refetch active queries. (d63579f5)
- DOCS: update full example. (1f653adb)
- DOCS: update full example. (d2f5e865)
- BREAKING REFACTOR: merge QueryBase and Cacheable so queries only extend one sealed class. (fddddeb9)
- BREAKING REFACTOR: change type params of get query to a query rather than state. (f62e5eec)
- BREAKING REFACTOR: Have different global and query config objects. (ec9cae10)
- BREAKING REFACTOR: Rename QueryBase to QueryController. QueryBase is now just a sealed class extended by Query and InfiniteQuery. This is to allow for more specific typing of QueryController if needed without requiring observers to change. (5dfc7611)
- BREAKING REFACTOR: Rename QueryBase to QueryController. QueryBase is now just a sealed class extended by Query and InfiniteQuery. This is to allow for more specific typing of QueryController if needed without requiring observers to change. (52631c6d)
- BREAKING REFACTOR: change type params of get query to a query rather than state. (1ad59615)
- BREAKING REFACTOR: merge QueryBase and Cacheable so queries only extend one sealed class. (33d8566d)
- BREAKING REFACTOR: Have different global and query config objects. (736c310b)
- BREAKING FEAT: update env to 3.0.0+ and fix lints. (e35c614b)
- BREAKING FEAT: change mutation state to sealed classes. (5ea683a6)
- BREAKING FEAT: remove deprecated things. (3e254042)
- BREAKING FEAT: change state to sealed classes. (add9b594)
- BREAKING FEAT: change state to sealed classes. (3f4030d4)
- BREAKING FEAT: change mutation state to sealed classes. (8c89b142)
- BREAKING FEAT: remove deprecated things. (f238b9fc)
- BREAKING FEAT: update env to 3.0.0+ and fix lints. (df9886d9)
3.0.0-dev.16 #
Note: This release has breaking changes.
- BREAKING FEAT: change mutation state to sealed classes. (5ea683a6)
3.0.0-dev.15 #
3.0.0-dev.11 #
Note: This release has breaking changes.
- BREAKING REFACTOR: merge QueryBase and Cacheable so queries only extend one sealed class. (33d8566d)
3.0.0-dev.10 #
3.0.0-dev.9 #
Note: This release has breaking changes.
- REFACTOR: add equlaity to stored query. (2c4eaa12)
- BREAKING REFACTOR: Rename QueryBase to QueryController. QueryBase is now just a sealed class extended by Query and InfiniteQuery. This is to allow for more specific typing of QueryController if needed without requiring observers to change. (5dfc7611)
3.0.0-dev.6 #
- FEAT: query success data is now just the type T not T?, data can still be nullable by passing T? as the generic. (ba5e2b74)
3.0.0-dev.2 #
Note: This release has breaking changes.
- REFACTOR: remove unnecessary infinite query fetch params. (0304a6c3)
- REFACTOR: infinite query ready for direction. (fabc2476)
- REFACTOR: infinite query ready for direction. (4b456a0c)
- FIX: infinite query not fetching from storage. (2369dc3e)
- FIX: after rebasing 2.6. (378858f9)
- FIX: add missed part. (8b996510)
- FIX: add missed part. (a137276d)
- FEAT: update devtools for 3. (f462df2b)
- FEAT: add emit to setstate. (5a7e2340)
- FEAT: update devtools for 3. (352c43b4)
- FEAT: add emit to setstate. (990aff6e)
- BREAKING FEAT: change state to sealed classes. (3f4030d4)
- BREAKING FEAT: remove deprecated things. (f238b9fc)
- BREAKING FEAT: update env to 3.0.0+ and fix lints. (e35c614b)
- BREAKING FEAT: change state to sealed classes. (dcabfd41)
- BREAKING FEAT: remove deprecated things. (3e68942b)
- BREAKING FEAT: update env to 3.0.0+ and fix lints. (ff284686)
3.0.0-dev.0 #
Note: This release has breaking changes.
- REFACTOR: infinite query ready for direction. (4b456a0c)
- FIX: add missed part. (a137276d)
- FEAT: add emit to setstate. (990aff6e)
- BREAKING FEAT: change state to sealed classes. (dcabfd41)
- BREAKING FEAT: remove deprecated things. (3e68942b)
- BREAKING FEAT: update env to 3.0.0+ and fix lints. (ff284686)
2.1.0 #
2.0.0 #
- Release 2.0.0
- FIX: lints. (d3677368)
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
2.0.0-dev.2 #
2.0.0-dev.1 #
2.0.0-dev.0 #
1.0.1 #
1.0.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
1.0.0-dev.1 #
0.6.0 #
Note: This release has breaking changes.
- BREAKING FEAT: add filterFn to CachedQuery.instance.refetchQueries(). (1d452bba)
0.5.0 #
Note: This release has breaking changes.
- BREAKING FEAT: combine updateInfiniteQuery and updateQuery in the global CachedQuery object. (e8fd8602)
0.4.0 #
Note: This release has breaking changes.
- BREAKING FEAT: allow refetch config per query. QueryConfig can no longer be const.
0.3.1+4 #
- DOCS: correction to api docs and infinite query example.
0.3.1+3 #
- FIX: update rxdart.
0.3.1+1 #
- DOCS: added observer and side effect docs.
0.3.1 #
- FEAT: add creation and deletion observers.
0.3.0+1 #
- FIX: export query observer.
0.3.0 #
Note: This release has breaking changes.
- FEAT: initial commit.
- FEAT: add observer.
- BREAKING FEAT: remove isFetching from mutation, use status == QueryStatus.loading. This brings it into line with query and infinite query.
0.2.1 #
- FEAT: add query and infinite query onSuccess and onError callbacks.
- DOCS: update builder docs to include querykey.
0.2.0 #
Note: This release has breaking changes.
- DOCS: update spacing.
- BREAKING FEAT: reset infinite query data if first pages aren't equal, option to turn off.
0.1.1 #
- FEAT: add a fallback to onError.
0.1.0+2 #
- DOCS: Readmes updated to show documentation link.
0.1.0+1 #
- FIX: Infinite query doesn't fetch all pages from storage.
0.1.0 #
- Bump "cached_query" to
0.1.0
.
0.1.0 #
- FIX: Infinite query not re-fetching in order.
- FIX: try to get result each time a stream is requested.
- FIX: seeded the stream with the current state.
- DOCS: docusaurus and query page.
- DOCS: initial commit.
- DOCS: update contents.
- DOCS: add links to readme.
- DOCS: error handling.
0.0.3 #
docs: better readme layout
0.0.2 #
- fix: try to fetch anytime the stream is requested
0.0.2-dev.2 #
- fix: seeded query stream with current state.
0.0.2-dev.1 #
- Remove the unnecessary dependency on flutter
0.0.1 #
- Cached query, a simple library for dealing with server state in dart and flutter.