Skip to content

Apache IoTDB Client for Node.js 2.0.11

Latest

Choose a tag to compare

@CritasWang CritasWang released this 11 Sep 04:11

Apache IoTDB Client for Node.js 2.0.11 — first public release.

Installation

npm install @iotdb/client

Also available from the Apache source tag v2.0.11 of this repository.

Features

  • Session for the tree model: query, non-query and insertTablet operations
  • TableSession and TableSessionPool for the table model
  • SessionPool connection pooling with idle cleanup and a wait queue for connection requests
  • Multi-node support with round-robin load balancing and IPv6 nodeUrls
  • SSL/TLS connections and server redirection handling with a redirect cache
  • Full TypeScript declarations (Tablet, QueryResult, Config, TSDataType, ...)

Bug Fixes

  • DATE values were encoded as days-since-epoch instead of INT32 yyyyMMdd (#15)
  • SSL connection creation failed (#13)
  • Session pool lifecycle bugs in getSession / releaseSession / cleanupIdleSessions (#19)
  • executeConcurrent reported a wrong success count when stopping on error (#18)
  • The connection was leaked when session setup failed in Connection.open() (#20)
  • Repeated Session.open() calls opened duplicate connections (#23)
  • IPv6 node URLs and wildcard redirect endpoints were not handled (#21)

Performance

  • Tablet serialization is now single-pass and single-buffer, with BigInt-free int64 writes (#16)

Other Changes

  • thrift dependency upgraded to 0.23.0 (#7)
  • The e2e CI matrix runs against IoTDB 2.0.6 and 2.0.10 (#17)

Links

Requirements: Node.js >= 14 and an Apache IoTDB 2.0.x server.