Skip to content

Releases: bjoerge/usanity

v1.0.1

26 Feb 21:16

Choose a tag to compare

µsanity v1.0.1

  • AsyncSanityClient.listen() now accepts include_reconnects and include_comments keyword arguments, which yields reconnect and comment events during SSE listening.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

26 Feb 20:55

Choose a tag to compare

µsanity v1.0.0

Features

  • Real-time listening (SSE): Added listen_request() endpoint builder and a full EventSource async iterator with auto-reconnect, resume support (Last-Event-Id), and debug mode
  • Sync and async client classes: New high-level SanityClient and AsyncSanityClient that wrap endpoints + HTTP, with AsyncSanityClient.listen() for real-time subscriptions.

Improvements

  • Memory efficiency: Reduced memory footprint
  • returnQuery defaults to false: Reduces payload size by default

Bug Fixes

  • Fixed wrong createOrReplace mutation method

Breaking Changes

  • returnQuery now defaults to false

Full Changelog: v0.4...v1.0.0