Skip to content

Release v2.5.0

Latest
Compare
Choose a tag to compare
@wallyqs wallyqs released this 21 Feb 00:19
· 3 commits to main since this release
v2.5.0
8d998c3

Added

  • Add Client#force_reconnect (#159)
  • Implement Service API (#160)
  • Implement KV watchers (#161)
# Using a queue 
w = kv.watchall
entry = w.updates

# As Enumerables (requires at least Ruby 3.2)
entries = kv.watchall.take(10)

# Using a block
kv.watchall.each do |entry|
  puts "#{entry.key} -- #{entry.value}"   
end  

# Gather all keys
keys = kv.keys.to_a
puts keys

Fixed

  • Shutdown subscription_executor on close and reconnect (#155)

Improved

  • Support multi URI connection string with spaces after comma (#151)