Re Graph Versions Save

A graphql client for clojurescript and clojure

0.1.8

5 years ago

This release fixes:

  • Query and mutate API functions #38, thanks @qiuyin
  • Retrying queries over websocket when the websocket is not ready #39

0.1.7

5 years ago

This release fixes:

  • Initialisation via the re-frame event now behaves as 0.1.5 when no instance name is specified #34

0.1.6

5 years ago

This release adds support for:

  • Multiple named instances as per #30, see updated README
  • HTTP errors are now expressed in the same manner as Websocket errors #28, thanks @pbostrom

0.1.5

6 years ago

This release adds support for:

  • Providing the payload to be sent in the connection_init message, sent whenever a websocket connection is made. See #19 and #20 for details, thanks to @gabrielnau
  • Now works on React native. See #25, thanks to @madstap
  • Working with query builders like venia which include "query" at the start of the string, see #18

0.1.4

6 years ago

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

0.1.3

6 years ago

This release adds support for:

0.1.1

6 years ago

This release adds support for:

  • Mutations - use the ::mutate event. Thanks to @r0man

This release changes:

  • Callback events now receive the entire payload map, consisting of :data and :error keys and possibly more. This is a breaking change and any existing callback events will need to destructure the payload map to obtain the :data value which was passed in previously. See the README or tests for examples. This change was added in order to provide better support for error handling, as it now gives you access to the :error key, if present, to use in this workflow. Thanks again to @r0man