This is an automated email from the ASF dual-hosted git repository. CritasWang pushed a commit to branch rc/2.0.11 in repository https://gitbox.apache.org/repos/asf/iotdb-client-nodejs.git
commit 3155d0c57b60834e176f8832f92b0ed953c120af Author: CritasWang <[email protected]> AuthorDate: Fri Sep 11 11:59:46 2026 +0800 chore: release 2.0.11 - bump package.json and package-lock.json from 0.1.0 to 2.0.11 - replace the never-published 0.1.0 CHANGELOG entry with the 2.0.11 first-release notes and point the link at the apache repository --- CHANGELOG.md | 72 +++++++++++++++++++++---------------------------------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 30 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fa7c4f..45b7205 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,50 +5,32 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0] - 2026-01-27 +## [2.0.11] - 2026-09-11 + +First public release of the Apache IoTDB Node.js client. ### Added -- Initial release of Apache IoTDB Node.js client -- Session class with query, non-query, and insertTablet operations -- SessionPool with connection pooling and automatic cleanup -- TableSessionPool for table model operations -- Multi-node support with round-robin load balancing -- SSL/TLS connection support with customizable options -- TypeScript definitions and full type safety -- Comprehensive unit tests for utilities -- E2E tests for Session, SessionPool, and TableSessionPool -- Five example files demonstrating different usage patterns -- Comprehensive README with API reference -- Implementation documentation - -### Features -- Connection pooling with configurable pool sizes -- Automatic cleanup of idle connections -- Wait queue for connection requests -- Environment variable configuration for logging -- Buffer validation and bounds checking -- Timestamp validation for insertTablet operations -- Support for all IoTDB data types (BOOLEAN, INT32, INT64, FLOAT, DOUBLE, TEXT) -- Query result pagination -- Error handling and logging - -### Security -- Passed CodeQL security scanning with 0 alerts -- Safe error handling -- Input validation - -### Development -- TypeScript configuration with strict mode -- ESLint configuration for code quality -- Prettier configuration for code formatting -- Jest testing framework setup -- Build and test scripts in package.json - -### Documentation -- Complete README with usage examples -- API reference documentation -- Implementation summary -- Example code for common use cases -- Apache License 2.0 - -[0.1.0]: https://github.com/CritasWang/@iotdb/client/releases/tag/v0.1.0 +- `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, plus server redirection handling with a redirect cache +- Full TypeScript declarations (`Tablet`, `QueryResult`, `Config`, `TSDataType`, ...) +- Examples, unit tests and e2e tests (1C1D / 1C3D / 3C3D topologies) +- Complete README and user guides for the tree and table models + +### Fixed +- 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) + +### Changed +- Tablet serialization is now single-pass and single-buffer, with BigInt-free int64 writes (#16) +- `thrift` dependency upgraded to 0.23.0 (#7) +- CI runs the e2e matrix against IoTDB 2.0.6 and 2.0.10 (#17) + +[2.0.11]: https://github.com/apache/iotdb-client-nodejs/releases/tag/v2.0.11 diff --git a/package-lock.json b/package-lock.json index b2271c9..7135500 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@iotdb/client", - "version": "0.1.0", + "version": "2.0.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@iotdb/client", - "version": "0.1.0", + "version": "2.0.11", "license": "Apache-2.0", "dependencies": { "denque": "^2.1.0", diff --git a/package.json b/package.json index feaed5d..1953a58 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "0.1.0", + "version": "2.0.11", "description": "Apache IoTDB Node.js client with SessionPool and TableSessionPool support", "main": "dist/index.js", "types": "dist/index.d.ts",
