Skip to content

The Cato in the Hato

Compare
Choose a tag to compare
@oliyh oliyh released this 23 May 21:23
· 36 commits to master since this release

This release changes:

  • Running on JDK 10 or lower will require the original Clojure implementation based on clj-http and gniazdo. See the README for details
  • The options supplied in init have been reorganised to separate websocket and http parameters as follows:

Previously:

(re-frame/dispatch
  [::re-graph/init
    {:ws-url "wss://foo.io/graphql-ws"
     :connection-init-payload {}
     :http-url "http://bar.io/graphql"}])

Now:

(re-frame/dispatch
  [::re-graph/init
    {:ws {:url "wss://foo.io/graphql-ws"
          :connection-init-payload {}}
     :http {:url "http://bar.io/graphql"}}])

See the README for all option parameters.

This release adds support for:

  • Finer control over the http and websocket connections (:impl option) e.g. sharing a cookie store as per #58

This release improves:

  • Fewer dependencies on the JVM

Many thanks to @loomis for implementing the vast majority of this.