Changelog
Changelog for the DataStax Enterprise Node.js Driver.
1.5.1
2018-02-20
Bug Fixes
- [NODEJS-429] - Additional validation needed in Encoder.setRoutingKeyFromUser to ensure provided routing key is valid
- [NODEJS-430] - Unexpected error when query execution doesn’t include parameters which are part of the partition key
1.5.0
2018-02-05
Features
- [NODEJS-95] - Expose node token and range information
- [NODEJS-335] - Avoid using Object.defineProperty() for type representations
- [NODEJS-344] - Verbose logging on Connection overhead
- [NODEJS-363] - Drop support for Node.js v0.10 and v0.12
- [NODEJS-378] - DCAwareRoundRobinPolicy: Warn when the local datacenter is not specified
- [NODEJS-388] - Drop support for domains
- [NODEJS-396] - Handle bulked results in Graph
- [NODEJS-400] - Modify the message for batch log write failures
- [NODEJS-402] - Batch: Use routing key from first statement
- [NODEJS-404] - Use pooling.warmup to true as default
- [NODEJS-405] - Use system.peers in protocol negotiation
- [NODEJS-406] - Use ES2015 - Modernize codebase
- [NODEJS-409] - alreadyExists error does not include keyspace and table attributes
- [NODEJS-417] - Handle network stream backpressure when writing and limit write queue
Bug Fixes
- [NODEJS-390] - Buffer.from() fails in older versions of Node.js v4 (lower than v4.5)
- [NODEJS-403] - NoHostAvailableError does not call super DriverError constructor
- [NODEJS-415] - Incorrect Murmur3 hashing of tokens which byte length satisfy length & 15 >= 12
- [NODEJS-419] - Token to Replica map can omit replicas for vnodes
1.4.0
2017-09-19
Features
- [NODEJS-82] - Speculative query retries
- [NODEJS-287] - Provide metrics on the state of connections to Cassandra
- [NODEJS-308] - Add CDC to TableOptionsMetadata and TableOptions for Cassandra 3.8+
- [NODEJS-309] - Allow prepared statements to be prepared on all nodes
- [NODEJS-339] - Avoid using deprecated Buffer constructors
- [NODEJS-343] - Improve performance of Murmur 3 partitioner
- [NODEJS-359] - Add ‘applied’ to ResultSet, similar to java-drivers ResultSet.wasApplied()
- [NODEJS-375] - Expose optional callbacks Uuid.random() as async overload
- [NODEJS-376] - Stringify tokens once to simplify computations when building token map
Bug Fixes
- [NODEJS-365] - Routing key component length is encoded as int16 instead of uint16
- [NODEJS-370] - Consistency of trace queries is not configurable
- [NODEJS-373] - Empty string in a map field returned as null on query
1.3.1
2017-06-05
Bug Fixes
- [NODEJS-346] - Shutdown doesn’t work if error occurs after control connection initialization
- [NODEJS-347] - Metadata: Schema parser fails to handle index_options null values
- [NODEJS-355] - Domain without dots will not connect
- [NODEJS-358] - TokenAwarePolicy does not take statement keyspace into account
- [NODEJS-360] - ControlConnection: when any of the queries to refresh topology fail it will not attempt to reconnect
- [NODEJS-362] - Driver fails to encode Duration’s with large values
1.3.0
2017-04-18
Bug Fixes
- [NODEJS-350] - Handle new WRITE_FAILURE and READ_FAILURE format in DSE_V1 protocol
1.3.0-beta1
2017-02-13
Notable Changes
- Removed
cassandra-driver
external dependency. The DSE driver is now self-contained. - Support for DSE 5.1 EAP3.
Improvements
- [NODEJS-324] - DSE Auth 5.1: Support Proxy Authentication in 5.1
- [NODEJS-328] - Support DSE 5.1 DateRangeField
- [NODEJS-329] - Read optional workload set from node metadata
- [NODEJS-332] - Support Duration Type
- [NODEJS-338] - Make protocol negotiation more resilient
1.2.0
2017-01-17
Notable Changes
- Promise support (#194).
- Timestamp generation: client-side timestamps are generated and sent in the request by default when the server supports it (#195).
- Added
isIdempotent
query option which is set tofalse
by default: future versions of the driver will use this value to consider whether an execution should be retried or directly rethrown to the consumer without using the retry policy (#197).
Improvements
- [NODEJS-334] - Support promises in
executeGraph()
method - [NODEJS-336] - Update core driver dependency to v3.2.0
1.1.0
2016-11-18
Improvements
- [NODEJS-316] - Implement fromString() method for geotypes
- [NODEJS-317] - Support bytecode-json decoding in the DSE Driver
- [NODEJS-318] - Include graph language in the Execution Profiles
1.0.4
2016-10-07
Improvements
- [NODEJS-315] - Update core driver dependency to v3.1.5.
1.0.3
2016-09-21
Improvements
- [NODEJS-311] - Update core driver dependency to v3.1.4.
1.0.2
2016-08-31
Improvements
- [NODEJS-305] - Update core driver dependency to v3.1.3.
1.0.1
2016-08-30
Improvements
- [NODEJS-302] - Update core driver dependency to v3.1.2.
1.0.0
2016-08-30
General availability version