This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Releases: iconara/cql-rb
Releases · iconara/cql-rb
v1.1.0.pre4
Automatic reconnection!
- Attempt to discover nodes and connect to any nodes not already connected to on topology and status change events.
- You can now pass a logger to the client. Pass a standard Ruby logger object to the
:logger
option and the client will log connections, connection failures, and other connection-related things.
v1.1.0.pre3
Fixes a bug in the peer discovery introduced in v1.1.0.pre2
v1.1.0.pre2
Incremental release towards v1.1.0
- Support for quoted keyspace names in
Client#use
(thanks to @bpovlich) - Fixes for negative numbers for some types (thanks to @leobessa)
- Fixes to
DECIMAL
decoding when there were only fractions - Fixes for encoding null values
UUID#eql?
returns false when passed a non-UUID object, instead of raising an error (thanks to @christophersansone)- The host discovery now falls back on
peer
whenrpc_address
is 0.0.0.0
v1.0.4
v1.0.3
v1.0.2
v1.1.0.pre1
Automatic peer discovery!
This release changes the semantics of Cql::Client.connect
:
- The
:host
option is deprecated in favour of:hosts
(which takes a list instead of a comma separated string). - All nodes given in
:hosts
don't have to be up, as long as one node is up the connection will succeed. - Once the nodes in
:hosts
are connected the rest of the nodes in the cluster will be looked up and connected to (only nodes in the same data centers as the seed nodes will be used). - Previously it was possible to connect multiple times to the same node by specifying that node's hostname multiple times in
:host
. This "feature" has been removed -- and even though this is a non-backwards compatible change and should require a major version bump it will be included in a minor version release because it was undocumented and accidental. Multiple connections to the same node is a desirable feature, but will be added later and be more obvious.
v1.1.0.pre0
This is a development release towards a new connection abstraction that will support automatic reconnection and peer discovery.
Also included: a TimeUUID generator.