All Versions
25
Latest Version
Avg Release Cycle
171 days
Latest Release
1274 days ago

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 to Cassandra.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 and Cassandra::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*.
  • 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

    ๐Ÿš€ Apache Cassandra 2.1 compatible release

    ๐Ÿ› Bug Fixes:

    • ๐Ÿš€ RUBY-202 Allow password authenticator to be used for LDAP authentication. This is actually a backport of RUBY-169 for the 3.0.0 release.
  • 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.
  • 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 to true 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
  • 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