0.12.0 (2022-02-19)
0.11.0 (2021-08-16)
- package now depends on @sanity/client and @sanity/image-url directly
- library now uses cjs/mjs suffix
- better support for esm (a8967f3)
0.10.6 (2021-03-07)
0.10.5 (2021-03-07)
- upgrade deps
- upgrade deps (0512fc8)
0.10.4 (2020-10-13)
- correctly return initial value for falsy queries (43c94f5)
0.10.3 (2020-10-10)
0.10.2 (2020-09-30)
0.10.1 (2020-08-16)
- don't deduplicate failed fetches (1d0c78b)
0.10.0 (2020-08-16)
0.9.1 (2020-08-16)
- allow query functions to return falsy values (3053c4a)
0.9.0 (2020-08-16)
- if you are using
@sanity/client
or@sanity/image-url
you will need to specify this dependency explicitly in yourpackage.json
- ⚡️ allow passing a string rather than a factory function (4eb40ef)
- ⚡️ allow short-circuiting queries (dcfa82d)
- remove explicit dependency on sanity clients (21beebf)
0.8.0 (2020-07-29)
- if you are using
@sanity/client
or@sanity/image-url
you will need to specify this dependency explicitly in yourpackage.json
- remove explicit dependency on sanity clients (21beebf)
0.7.2 (2020-07-21)
- test that cache exists before adding to ssrContext (c7ffbce)
0.7.1 (2020-06-28)
- don't send promises from server (67eabce)
0.7.0 (2020-06-28)
- allow direct access to
fetch
(464b31b)
0.6.2 (2020-06-27)
0.6.1 (2020-06-23)
0.6.0 (2020-06-10)
- There are a number of breaking changes in the latest upstream composition-api. See https://github.com/vuejs/composition-api/releases/tag/v0.6.0 for details.
- upgrade to
@vue/composition-api
v0.6.1 (23df28e)
0.5.5 (2020-05-05)
0.5.4 (2020-05-02)
- remove iife build (89336af)
0.5.3 (2020-04-30)
- remove srcset reliance on image dimensions (#39) (791b024)
- restore correct types and update snapshot (529d405)
0.5.2 (2020-04-29)
0.5.1 (2020-04-26)
0.5.0 (2020-04-22)
- add reactivity fixes for deduped cache (5c30acc)
- don't pollute initial value from ssr fetch (4f64182)
0.4.4 (2020-04-19)
- don't set undefined values in listener (d8a009d)
- import @sanity/client and @sanity/cli dynamically (ebef54d)
0.4.3 (2020-04-14)
- allow default options to be set (2a2d631)
0.4.2 (2020-04-13)
- add 'client' and 'server' cache strategies (22e9b50)
- allow providing a custom sanity client (ceffd8f)
- expose any error received in fetching query (cf388ae)
- expose manual fetcher for preloading cache (7702713)
- prefer fetch to (deprecated) triggerFetch (851b91d)
0.4.1 (2020-04-08)
0.4.0 (2020-04-04)
- allow passing a builder function for dynamic queries (f2d6ac5)
0.3.1 (2020-04-01)
- don't compile to cjs 🤦♂️ (0dd72f7)
0.3.0 (2020-04-01)
- add sanity-typed-queries helper function (174f1f7)
- compile to commonjs (c017616)
- minify queries before sending to cache (ec31114)
0.2.2 (2020-03-30)
0.2.1 (2020-03-27)
- remove optional chaining for broader support (d35e93d)
0.2.0 (2020-03-27)
- The options for useSanityFetcher have reversed - please see type definitions for details
0.1.1 (2020-03-27)
- better support for ssr (b39b7ce)