PackageTrack
Sign in Get early access

sanity_client

Native Dart client to run GROQ queries and fetch documents from Sanity.io

1.9.1 2.8K downloads/mo #4756 most downloaded on pub.dev vyuh-tech/vyuh

What this package is like to depend on

Last release 9 months ago

12 Nov 2025

Ships unpredictably

gaps range from 8 days to 4 months

Nearly every release is documented

notes for 32 of 32 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

39 releases · first in 2023

2 releases in the last 12 months

see the full history below

Release timeline

39 releases · Oct 2023 to Nov 2025
2024 2025 2026
Release Pre-release

Releases

latest 39
  1. 1.9.1 12 Nov 2025
    Release notes
    • FIX: cleaning up analysis issues.
    Open source →
  2. 1.9.0 25 Sep 2025
    Release notes
    • FEAT: upgrading to melos 7.0.
    Open source →
  3. 1.8.5 17 May 2025
    Release notes
    • FIX: package updates and removing dep on introduction_screen.
    Open source →
  4. 1.8.4 07 Mar 2025
    Release notes
    • FIX: closing the controller on initial server errors.
    Open source →
  5. 1.8.3 03 Mar 2025
    Release notes
    • FIX: refactoring the live connection code.
    Open source →
  6. 1.8.2 01 Mar 2025
    Release notes
    • FIX: adding more tests and also removing the need to specify token for useCdn=true and perspective=published.
    Open source →
  7. 1.8.1 01 Mar 2025
    Release notes
    • FIX: adding support for multiple event streams.
    Open source →
  8. 1.8.0 28 Feb 2025
    Release notes
    • FIX: example update.
    • FEAT: adding support for live querying across the board, from the sanity_client to the ContentProvider.
    Open source →
  9. 1.7.7 26 Feb 2025
    Release notes
    • FIX: readme fixed with correct API.
    Open source →
  10. 1.7.6 25 Feb 2025
    Release notes
    • FIX: improve the query handling for live for include drafts. Also added assertions for the proper configurations. Adding a simple profile card to the Vyuh auth feature.
    Open source →
  11. 1.7.5 22 Feb 2025
    Release notes
    • FIX: including live as a config, updated the vyuh_feature_auth to be a bit more comprehensive and includes correct icons for various OAuth providers.
    Open source →
  12. 1.7.4 21 Feb 2025
    Release notes
    • FIX: fixed the stale responses in live query. It was because the lastEventId changes for every message and should be tracked.
    Open source →
  13. 1.7.3 20 Feb 2025
    Release notes
    • FIX: added support for launch icons, launch images in "vyuh create project", lint fixes.
    • FIX: added lastLiveEventId in refetches.
    • FIX: added tracking for syncTags and using that for live requery.
    Open source →
  14. 1.7.2 18 Feb 2025
    Release notes
    • FIX: improved listener for live events and some linting fixes.
    Open source →
  15. 1.7.1 16 Feb 2025
    Release notes
    • FIX: tests in sanity client, adding readme for secure storage plugin.
    Open source →
  16. 1.7.0 16 Feb 2025
    Release notes
    • FIX: trying a few things.
    • FEAT: draft approach to live content queries.
    Open source →
  17. 1.6.1 02 Feb 2025
    Release notes
    • FIX: format fixes in readme.
    Open source →
  18. 1.6.0 13 Jan 2025
    Release notes
    • FEAT: moving the navigation observers to analytics plugin, readme updates for packages,.
    Open source →
  19. 1.5.3 30 Dec 2024
    Release notes
    • FIX: updated the url builder to auto-include the '$' prefix for query param names and also enclosing the values within double-quotes. This simplifies the usage from a developer's perspective.
    Open source →
  20. 1.5.2 20 Dec 2024
    Release notes
    • FIX: fixed analysis issues.
    Open source →
  21. 1.5.1 20 Dec 2024
    Release notes
    • FIX: adding more tests for url builder and query handling.
    Open source →
  22. 1.5.0 20 Dec 2024
    Release notes
    • REFACTOR(sanity_client): remove postUri to not expose from url_builder.
    • REFACTOR(sanity_client): make SanityRequest private, do not export from library.
    • FIX: using the urlBuilder from client for the caching key.
    • FEAT(sanity_client): add test coverage for GET/POST url queries.
    • FEAT(sanity_client): add SanityRequest to handle GET vs POST.
    • FEAT(sanity_client): add ability to post request.
    Open source →
  23. 1.4.3 20 Dec 2024
    Release notes
    • FEAT: sanity_client will determine whether to GET or POST requests with GROQ body and params based on query byte size (11kb limit).
    Open source →
  24. 1.4.2 12 Dec 2024
    Release notes
    • FIX: fixed analysis errors when upgrading to flutter 3.27 and also fixing a few errors.
    Open source →
  25. 1.4.1 03 Dec 2024
    Release notes
    • FIX: analysis fixes.
    Open source →
  26. 1.4.0 18 Sep 2024
    Release notes
    • FEAT: updating the auth plugin to be more open-ended with OAuth. Removes additional methods for github/linkedin/twitter etc.
    Open source →
  27. 1.3.0 18 Jul 2024
    Release notes
    • FEAT: using the vyuh.network plugin as a preloaded plugin and also setting it for Sanity Content Provider..now there is a single http client used across the board in the Vyuh Framework.
    Open source →
  28. 1.2.2 05 Jul 2024
    Release notes
    • FIX: result type of sanity_client is now dynamic instead of Map<String, dynamic>.
    • FIX: adding API documentation..WIP.
    Open source →
  29. 1.2.1 04 Jul 2024
    Release notes
    • FIX: adding API documentation..WIP.
    Open source →
  30. 1.2.0 28 Jun 2024
    Release notes
    • FEAT: adding the FSL license at the top level.
    Open source →
  31. 1.1.0 24 Jun 2024
    Release notes
    • FEAT: switching to the FSL license with future MIT license after 2 years.
    Open source →
  32. 1.0.0 27 May 2024
    Release notes
    • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
    Open source →
  33. 1.0.0-beta.7 15 May 2024 pre-release
    Release notes
    • FIX: using the state.uri for the full path of the page.
    Open source →
  34. 1.0.0-beta.6 09 May 2024 pre-release
    Release notes
    • FEAT: refactor for deeper support of Sanity Images.
    Open source →
  35. 1.0.0-beta.5 05 Apr 2024 pre-release
    Release notes
    • Refactored tests for 100% coverage
    • Updated pubspec description and readme
    • Added documentation for all the classes and methods
    Open source →
  36. 1.0.0-beta.4 15 Mar 2024 pre-release
    Release notes
    • Moved the sanity packages under the vyuh repo

    • REFACTOR: moving flutter_sanity_portable_text and sanity_client under vyuh. (f1175fbd)

    Open source →
  37. 1.0.0-beta.3 15 Mar 2024 pre-release
    Release notes
    • Updated license to MIT
    Open source →
  38. 1.0.0-beta.2 16 Feb 2024 pre-release
    Release notes
    • Includes the ability to connect to a Sanity project with specific config
    • Includes ability to construct image urls from _ref
    Open source →
  39. 1.0.0-beta.1 01 Oct 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive