cached_query 2.2.0 copy "cached_query: ^2.2.0" to clipboard
cached_query: ^2.2.0 copied to clipboard

A simple library for dealing with server state in dart and flutter.

2.2.0 #

  • FEAT: change CachedQuery.instance.refetchQueries() to a future. (047edffe)

2.1.4 #

  • FIX: manual query update > local storage & web platform check (#55). (1a1ac507)

2.1.3 #

  • FIX: ignore deprecated warning for hasReachedMax. (efbaa5c4)

2.1.2 #

  • REFACTOR: depriciate hasreachedmax on infinite query state. (3231390e)

2.1.1 #

2.1.0 #

  • FEAT: allow multiple caches in flutter. (4429f6fe)
  • FEAT: allow passing a different cache to queries. (aeb23396)

2.0.7 #

  • FIX: keep time stamp if updating manually. (1655444e)

2.0.6 #

  • FIX: allow updating state to null. (c0753854)

2.0.5 #

  • REFACTOR: infinite_query. (f7d1708b)
  • FIX: upgrade rx dart to 0.28.*. (2fbcf5c3)

2.0.4 #

  • FIX: infinite query getting stuck if it has max and the first page is different. (ce49d295)

2.0.3 #

  • FIX: add reset of _currentFuture with whenComplete handler (#35). (bf75ef0b)

2.0.2 #

2.0.1 #

  • FIX: devtools not building. (03306c4b)

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.3 #

2.0.0-dev.2 #

  • FEAT: add devtools package (#24). (43ba85ea)
  • FEAT: added shouldRefetch call back to the query config. (#21). (3e944b64)
  • DOCS: update for storageSerializer and storageDeserializer. (0b4c4e5f)

2.0.0-dev.1 #

  • FEAT: added storageSerializer and storageDeserializer to the QueryConfig to allow for more flexible storage (#20). (4aca144d)
  • DOCS: add change for breaking change. (67711026)

2.0.0-dev.0 #

Note: This release has breaking changes.

  • FEAT: added query logging observer. (a95896e7)
  • BREAKING FEAT: Allow multiple observers to be added. (a95896e7)
  • FEAT: switch mutation to use behaviour subject. (3e50021a)
  • BREAKING FEAT: return mutation state from mutate function. (02e29ed0)

1.0.1 #

  • FIX: analysis options, for examples. (0f28d977)
  • FIX: package updates. (0a934e2f)
  • FIX: better generic type names. (1e7fb516)

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+1 #

  • DOCS: update docs for the depreciation of updateInfiniteQuery. (9fa99ef6)

0.5.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: combine updateInfiniteQuery and updateQuery in the global CachedQuery object. (e8fd8602)

0.4.0+1 #

  • DOCS: update to query config flutter. (2b729f49)

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.
73
likes
160
points
57.8k
downloads

Publisher

verified publishercachedquery.dev

Weekly Downloads

A simple library for dealing with server state in dart and flutter.

Homepage
Repository (GitHub)

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, meta, rxdart

More

Packages that depend on cached_query