Skip to content

Latest commit

 

History

History
261 lines (120 loc) · 10.1 KB

CHANGELOG.md

File metadata and controls

261 lines (120 loc) · 10.1 KB

0.12.0 (2022-02-19)

0.11.0 (2021-08-16)

⚠ BREAKING CHANGES

  • package now depends on @sanity/client and @sanity/image-url directly
  • library now uses cjs/mjs suffix

Features

Bug Fixes

0.10.6 (2021-03-07)

0.10.5 (2021-03-07)

⚠ BREAKING CHANGES

  • upgrade deps

Miscellaneous Chores

0.10.4 (2020-10-13)

Bug Fixes

  • 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)

Bug Fixes

  • don't deduplicate failed fetches (1d0c78b)

0.10.0 (2020-08-16)

Bug Fixes

  • resolve falsy queries with initialValue (4ae4d82)
  • uses cache if deduplicate is set (cdc26d1)

0.9.1 (2020-08-16)

Bug Fixes

  • allow query functions to return falsy values (3053c4a)

0.9.0 (2020-08-16)

⚠ BREAKING CHANGES

  • if you are using @sanity/client or @sanity/image-url you will need to specify this dependency explicitly in your package.json

Features

  • ⚡️ allow passing a string rather than a factory function (4eb40ef)
  • ⚡️ allow short-circuiting queries (dcfa82d)

Performance Improvements

  • remove explicit dependency on sanity clients (21beebf)

0.8.0 (2020-07-29)

⚠ BREAKING CHANGES

  • if you are using @sanity/client or @sanity/image-url you will need to specify this dependency explicitly in your package.json

Performance Improvements

  • remove explicit dependency on sanity clients (21beebf)

0.7.2 (2020-07-21)

Bug Fixes

  • test that cache exists before adding to ssrContext (c7ffbce)

0.7.1 (2020-06-28)

Bug Fixes

  • don't send promises from server (67eabce)

0.7.0 (2020-06-28)

Features

  • allow direct access to fetch (464b31b)

0.6.2 (2020-06-27)

0.6.1 (2020-06-23)

0.6.0 (2020-06-10)

⚠ BREAKING CHANGES

Features

  • upgrade to @vue/composition-api v0.6.1 (23df28e)

0.5.5 (2020-05-05)

0.5.4 (2020-05-02)

Bug Fixes

0.5.3 (2020-04-30)

Bug Fixes

  • 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)

Features

  • store indivdual errors and allow query deduping (3eba128)
  • store individual query status (3710eb2)

Bug Fixes

  • add reactivity fixes for deduped cache (5c30acc)
  • don't pollute initial value from ssr fetch (4f64182)

0.4.4 (2020-04-19)

Bug Fixes

  • don't set undefined values in listener (d8a009d)

Performance Improvements

  • import @sanity/client and @sanity/cli dynamically (ebef54d)

0.4.3 (2020-04-14)

Features

  • allow default options to be set (2a2d631)

0.4.2 (2020-04-13)

Features

  • 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)

Bug Fixes

  • prefer fetch to (deprecated) triggerFetch (851b91d)

0.4.1 (2020-04-08)

0.4.0 (2020-04-04)

Features

  • allow passing a builder function for dynamic queries (f2d6ac5)

0.3.1 (2020-04-01)

Bug Fixes

  • don't compile to cjs 🤦‍♂️ (0dd72f7)

0.3.0 (2020-04-01)

Features

  • add sanity-typed-queries helper function (174f1f7)

Bug Fixes

Performance Improvements

  • minify queries before sending to cache (ec31114)

0.2.2 (2020-03-30)

0.2.1 (2020-03-27)

Bug Fixes

  • remove optional chaining for broader support (d35e93d)

0.2.0 (2020-03-27)

⚠ BREAKING CHANGES

  • The options for useSanityFetcher have reversed - please see type definitions for details

Features

  • add support for real time events (a13c51a)
  • improve typing and interface to fetcher (96f7385)

0.1.1 (2020-03-27)

Bug Fixes

0.1.0 (2020-03-26)