Apache IoTDB Client for Node.js 2.0.11 — first public release.
Installation
npm install @iotdb/clientAlso available from the Apache source tag v2.0.11 of this repository.
Features
Sessionfor the tree model: query, non-query andinsertTabletoperationsTableSessionandTableSessionPoolfor the table modelSessionPoolconnection 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) executeConcurrentreported 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
thriftdependency upgraded to 0.23.0 (#7)- The e2e CI matrix runs against IoTDB 2.0.6 and 2.0.10 (#17)
Links
- npm package: https://www.npmjs.com/package/@iotdb/client
- Documentation: README.md · README_zh.md
Requirements: Node.js >= 14 and an Apache IoTDB 2.0.x server.