influxdb3-js release notes
v2.4.0
Breaking Change: Node v22 required for v2.4.0
With v2.4.0, Node v20 support is dropped. Node v22 or newer is now required (#881).
Bugfix
- #864: Add support for connecting to InfluxDB servers
using IPv6 addresses.
- IPv6 addresses in server URLs must be enclosed in square brackets, for example, http://[2001:db8::1]:8086.
- IPv6 zone identifiers are not currently supported.
v2.3.0
Features
- #790: When setting Point timestamp to
new Date(), the timestamp sent to the servers will be converted to the precision set inWriteOptions. - #796: Adds partial write support and API endpoint selection for writes.
- Writes use the V2 API endpoint by default.
noSyncrequires the V3 API endpoint;acceptPartialapplies only to the V3 API endpoint and is ignored when using the V2 API endpoint.- See Partial writes for more.
Build
- #775: Upgrade typescript to 6.0.3.
v2.2.0
Features
- #707: Support passing interceptor functions to the Flight client.
- #711: Support custom tag order via
tagOrderwrite option. See Sort tags by priority for more.
v2.1.0
Bugfix
- #688: InfluxDB 3 Core/Enterprise write errors details handling.
v2.0.0
:warning: Breaking Changes: Node v18 support is dropped because it is end of life.
Features
- #622:
- Deprecated ConnectionOptions.timeout.
- Added ConnectionOptions.queryTimeout and ConnectionOptions.writeTimeout.
- Added QueryOptions.timeout and WriteOptions.timeout.
- Users can pass timeout directly to the query and write functions.
- CI updates
Docs
- #645: Document gRPC compression.
v1.4.0
- CI updates
v1.3.0
Features
- #585: Add function to get InfluxDB version.
- #588: Support grpc options available via @grpc/grpc-js.
- New client option (
grpcOptions) added. Accepts key-value pairs available via @grpc/grpc-js. - New queryOptions option (
grpcOptions) added. Accepts key-value pairs available via @grpc/grpc-js. - Configurable also with the environment variable (
INFLUXDB_GRPC_OPTIONS) which takes a comma separated list of key-value pairs. - See new example
clientWithGrpcOptions.ts. - Not supported in browser API.
- New client option (
- #591: Add comment warning null when calling getMeasurement function.
- #592: Run integration tests against a locally started InfluxDB 3 Core server.
v1.2.0
Features
- #574: Support fast writes without waiting for WAL persistence:
- New write option (
WriteOptions.noSync) added:truevalue means faster write but without the confirmation that the data was persisted. Default value:false. - Supported by self-managed InfluxDB 3 Core and Enterprise servers only!
- Also configurable via connection string query parameter (
writeNoSync). - Also configurable via environment variable (
INFLUX_WRITE_NO_SYNC). - Long precision string values added from v3 HTTP API:
"nanosecond","microsecond","millisecond","second"(in addition to the existing"ns","us","ms","s").
- New write option (
Bugfix
- #570: Fixes the bug that makes query results duplicate rows #553.
- #575: Upgrades build ecmascript to
es2023