You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getClass() comparisons with JedisConnectionException or JedisDataException, and catch blocks that catch GraphException before JedisDataException, can see the new types. catch (JedisConnectionException) and catch (JedisDataException) still match.
GraphContext.multi() and pipelined() on a closed context now throw IllegalStateException instead of building a batch on a connection that may already be lent to another borrower.
an endpoint that reports server_mode:cluster or server_mode:sentinel is now auto-detected as a cluster node or a Sentinel and routed accordingly, where it used to get a plain direct connection. Pass autoDetectCluster(false) / autoDetectSentinel(false) to keep the old behaviour.
Features
add GraphContext.pipeline() and transaction(), whose replies are JFalkorDB's own Reply (#537) (374b0d4)
builder pool checks, minIdle, database and TLS hook; deprecate getConnection() and DriverImpl(Pool) (#536) (42d4060)
report connection failures as FalkorDBConnectionException and Driver server errors as GraphException (#535) (aaded10)
Bug Fixes
detect Sentinel and cluster on Valkey, which reports server_mode (#532) (09f8921)
discard open transactions and drain pipelines when a context closes (#530) (1998bb2)
keep a reply that fails to decode in the batch result, and rethrow it on every get() (#529) (f495c2e)