sanity_client 1.5.1 copy "sanity_client: ^1.5.1" to clipboard
sanity_client: ^1.5.1 copied to clipboard

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

1.5.1 #

  • FIX: adding more tests for url builder and query handling.

1.5.0 #

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

1.4.3 #

  • FEAT: sanity_client will determine whether to GET or POST requests with GROQ body and params based on query byte size (11kb limit).

1.4.2 #

  • FIX: fixed analysis errors when upgrading to flutter 3.27 and also fixing a few errors.

1.4.1 #

  • FIX: analysis fixes.

1.4.0 #

  • FEAT: updating the auth plugin to be more open-ended with OAuth. Removes additional methods for github/linkedin/twitter etc.

1.3.0 #

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

1.2.2 #

  • FIX: result type of sanity_client is now dynamic instead of Map<String, dynamic>.
  • FIX: adding API documentation..WIP.

1.2.1 #

  • FIX: adding API documentation..WIP.

1.2.0 #

  • FEAT: adding the FSL license at the top level.

1.1.0 #

  • FEAT: switching to the FSL license with future MIT license after 2 years.

1.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

1.0.0-beta.7 #

  • FIX: using the state.uri for the full path of the page.

1.0.0-beta.6 #

  • FEAT: refactor for deeper support of Sanity Images.

1.0.0-beta.5 #

  • Refactored tests for 100% coverage
  • Updated pubspec description and readme
  • Added documentation for all the classes and methods

1.0.0-beta.4 #

  • Moved the sanity packages under the vyuh repo

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

1.0.0-beta.3 #

  • Updated license to MIT

1.0.0-beta.2 - 1.0.0-beta.1 #

  • Includes the ability to connect to a Sanity project with specific config
  • Includes ability to construct image urls from _ref
3
likes
130
points
583
downloads

Publisher

verified publishervyuh.tech

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#sanity #client #query #json #vyuh

Documentation

API reference

License

unknown (license)

Dependencies

flutter, http, json_annotation

More

Packages that depend on sanity_client