[ANN] re-graph 0.1.4 - the GraphQL client for Clojurescript

70 views
Skip to first unread message

Oliver Hine

unread,
Feb 21, 2018, 4:03:40 AM2/21/18
to Clojure
Hi everyone,

I'm pleased to announce the release of re-graph 0.1.4. re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP.

This release adds support for:

  • Providing arbitrary parameters to the underlying cljs-http request used with the HTTP transport. This allows, among other things, authorisation. See #13 for details, thanks to @chrisbetz
  • Ability to destroy the re-graph state, including stopping all subscriptions and closing the websocket first. See #12 for details.

This release improves:

  • Subscriptions are deduplicated by id, helping to reduce workload on servers which do not support deduplication #16
  • Unsuccessful reconnection attempts no longer add messages to the websocket queue #17
  • Should work better with advanced compilation #15
    It's available now on Clojars.

    Thanks and enjoy,
    Oliy
    Reply all
    Reply to author
    Forward
    0 new messages