All Versions
25
Latest Version
Avg Release Cycle
171 days
Latest Release
1547 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v3.0.0 Changes
May 23, 2016๐ Apache Cassandra 2.2 and 3.0 compatible release
๐ Features:
- 0๏ธโฃ Increased default request timeout (the
timeout
option toCassandra.cluster
), from 10 seconds to 12 seconds because C* defaults to a 10 second timeout internally. The extra two seconds is buffer so that the client can report the timeout in the server. This is also consistent with the Java driver. - ๐ง Expand :client_timestamps cluster configuration option to allow user to specify his own generator for client timestamps.
- โ Add protocol_version configuration option to allow the user to force the protocol version to use for communication with nodes.
- โ Expose listen_address and broadcast_address in
Cassandra::Host
if available. - โ Add support for materialized views in the schema metadata.
- โ Add support for Cassandra indexes in the schema metadata.
- Add or expose the id, options, keyspace, partition_key, clustering_columns, and clustering_order attributes to table and view schema objects.
- Add crc_check_chance and extensions attributes to ColumnContainer options.
- ๐ง Make cluster configuration options list publicly available. (Thanks, Evan Prothro!)
- Add connections_per_local_node, connections_per_remote_node, requests_per_connection cluster configuration options to tune parallel query execution and resource usage.
- โ Add Cassandra::Logger class to make it easy for users to enable debug logging in the client.
- โ Added optional time out to Cassandra::Future#get
- ๐ Allow skipping bound values or using
Cassandra::UNSET
explicitly. - โ Add support for smallint, tinyint, date (
Cassandra::Date
) and time (Cassandra::Time
) data types. - โ Add new errors:
Cassandra::Errors::ReadError
,Cassandra::Errors::WriteError
andCassandra::Errors::FunctionCallError
. - ๐ Include schema metadata for User Defined Functions and User Defined Aggregates.
- Include client ip addresses in request traces, only on Cassandra 3.x.
- Add new retry policy decision
Cassandra::Retry::Policy#try_next_host
. - ๐ Support specifying statement idempotence with the new
:idempotent
option when executing. - ๐ Support sending custom payloads when preparing or executing statements using the new
:payload
option. - ๐ฆ Expose custom payloads received with responses on server exceptions and
Cassandra::Execution::Info
instances. - ๐ฆ Expose server warnings on server exceptions and
Cassandra::Execution::Info
instances.
๐ฅ Breaking Changes:
- Cassandra::Future#join is now an alias to Cassandra::Future#get and will raise an error if the future is resolved with one.
- 0๏ธโฃ Default consistency level is now
LOCAL_ONE
. - 0๏ธโฃ Enable tcp no-delay by default.
- 0๏ธโฃ Unavailable errors are retried on the next host in the load balancing plan by default.
- Statement execution no longer retried on timeouts, unless
:idempotent => true
has been specified when executing. - The Datacenter-aware load balancing policy (Cassandra::LoadBalancing::Policies::DCAwareRoundRobin) defaults to using nodes in the local DC only. In prior releases, the policy would fall back to remote nodes after exhausting local nodes. Specify a positive value (or nil for unlimited) for
max_remote_hosts_to_use
when initializing the policy to allow remote node use.
๐ Bug Fixes:
- ๐ RUBY-120 Tuples and UDTs can be used in sets and hash keys.
- ๐ RUBY-143 Retry querying system table for metadata of new hosts when prior attempts fail, ultimately enabling use of new hosts.
- ๐ RUBY-150 Fixed a protocol decoding error that occurred when multiple messages are available in a stream.
- ๐ RUBY-151 Decode incomplete UDTs properly.
- ๐ RUBY-154 Improve batch request performance, which had regressed in 3.0.0 beta1.
- ๐ RUBY-155 Request timeout timer should not include request queuing time.
- โ RUBY-156 Do not drop response frames that follow a frame containing a warning.
- ๐ RUBY-161 Protocol version negotiation in mixed version clusters should not fall back to v1 unless it is truly warranted.
- ๐ RUBY-180 Column ordering is not deterministic in Table metadata.
- ๐ RUBY-185 Internal columns in static-compact and dense tables should be ignored.
- ๐ RUBY-186 Custom type column metadata should be parsed properly for C* 3.x schemas.
- โฌ๏ธ RUBY-207 Get NoMethodError when handling a write-timeout error using a downgrading consistency retry policy.
- ๐ RUBY-214 Client timestamps in JRuby are not fine-grained enough, causing timestamp collisions and lost rows in C*.
- 0๏ธโฃ Increased default request timeout (the
-
v2.1.7 Changes
September 02, 2016๐ Apache Cassandra 2.1 compatible release
๐ Bug Fixes:
- ๐ RUBY-255 ControlConnection.peer_ip ignores peers that are missing critical information in system.peers.
-
v2.1.6 Changes
April 22, 2016 -
v2.1.5 Changes
๐ Features:
- โ Add support for
type_hints
to override type-guessing for non-prepared statements.
๐ Bug Fixes:
- ๐ RUBY-128 Fix decoding of large values in maps, sets and lists.
- โ Add support for
-
v2.1.4 Changes
๐ Features:
- 0๏ธโฃ RUBY-90 Add support for disabling nagle algorithm (tcp nodelay), enabled by default.
- 0๏ธโฃ RUBY-70 Add support for client-side timestamps, disabled by default.
- ๐ RUBY-114 Add support for serial consistency in batch requests.
๐ Bug Fixes:
- ๐ RUBY-103 Don't regenerate schema metadata for the same replication strategies and options
- ๐ RUBY-102 Allow custom types in schema metadata
- ๐ RUBY-97 Allow disabling of the initial population of schema metadata
- ๐ RUBY-95 Speed up generation of large token maps
- ๐ RUBY-116 fix thread leak on connection error
- ๐ RUBY-119 Use
require 'datastax/cassandra'
to avoid namespace conflicts
๐ฅ Breaking Changes:
- ๐ Setting
:synchronize_schema
totrue
will no longer perform the initial fetching if schema metadata.
-
v2.1.3 Changes
๐ Release removing backwards incompatible changes included in 2.1.2
-
v2.1.2 Changes
๐ Release removing accidental debug code from 2.1.1.
-
v2.1.1 Changes
๐ Bug Fixes:
- RUBY-98 Use of undefined class variable in
Table#create_partition_key
- RUBY-98 Use of undefined class variable in
-
v2.1.0 Changes
๐ Features:
- Apache Cassandra native protocol v3
- ๐ User-defined types and tuples
- ๐ Schema metadata includes user-defined types
- Named arguments
- Public types api for type definition and introspection
๐ฅ Breaking Changes:
- ๐ Splat style positional arguments support, deprecated in 2.0.0, has been dropped
๐ Bug Fixes:
- ๐ RUBY-93 Reconnection can overflow the stack
-
v2.0.1 Changes
๐ Bug Fixes:
- ๐ RUBY-87 Decoder corrupts incomplete response buffer