DataStax Node.js driver for Apache Cassandra®
This page describes the versions of the DataStax Node.js driver that are compatible with DSE, HCD, Astra DB, and open-source Cassandra.
DataStax officially supports the latest 12 months of releases, and DataStax recommends using the latest driver version whenever possible. Compatibility isn’t guaranteed for earlier versions.
New features and bug fixes are developed on the latest minor version of the driver, and users are encouraged to stay current with those minor releases. APIs are maintained stable according to semantic versioning conventions, and upgrades should be trivial.
Unless otherwise specified, version ranges include all patch versions. For example, a range of 4.0 to 4.3 includes all versions from 4.0.0 to the last 4.3.z release.
| Icon | Description |
|---|---|
|
Fully compatible |
|
Partially compatible |
Not compatible |
Node.js driver ownership and other important changes in version 4.9.0
Starting with version 4.9.0, the Node.js driver is maintained by the Apache Software Foundation (ASF). Prior versions were maintained by DataStax.
As of version 4.9.0, there is no change to the Node.js driver package name.
You can still install the driver with npm install cassandra-driver.
However, there are important changes in version 4.9.0 that you should be aware of, including the supported Node.js versions and the DRIVER_NAME in STARTUP messages.
For more information, see the Node.js driver changelog and the Node.js driver upgrade guide.
DataStax Node.js driver compatibility
-
Cassandra
-
DSE
-
HCD
-
Astra DB
Driver version |
Apache Cassandra® version |
||
|---|---|---|---|
5.0+ |
4.0+ |
3.0+ |
|
4.9a and later |
|
|
|
|
|
|
|
b |
f |
|
|
Earlier versions |
f |
|
|
a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).
b Doesn’t support vectors of arbitrary subtype.
f Limited to the Cassandra 3.x API.
Driver version |
DataStax Enterprise (DSE) version |
||
|---|---|---|---|
6.9 |
6.8 |
5.1 |
|
4.9a and later |
|
|
|
|
|
|
|
e,i |
i |
|
|
Earlier versions |
e,i |
i |
i |
a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).
e Doesn’t support the vector type.
i Doesn’t support all DSE features. The DataStax Node.js driver unified with the DSE-only driver in version 4.4, with support for additional DSE features added in subsequent releases. Pre-unification versions might not include support for any DSE features. For information about a specific version, see the DataStax Node.js driver changelog.
Driver version |
Hyper-Converged Database (HCD) version |
|---|---|
1.1+ |
|
4.9a and later |
|
|
|
Earlier versions |
a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).
DSE Node.js driver (EOL)
The DSE-only Node.js driver reached EOL in January 2022.
For more information, see End-of-life drivers for Apache Cassandra®.