This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/iotdb-client-nodejs.git
The following commit(s) were added to refs/heads/develop by this push:
new d17de2e chore: bring the 2.0.11 release changes into develop (#29)
d17de2e is described below
commit d17de2ea869f5bf99c66600ec05aed19182955a2
Author: CritasWang <[email protected]>
AuthorDate: Fri Sep 11 12:19:23 2026 +0800
chore: bring the 2.0.11 release changes into develop (#29)
* 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
* chore: restrict npm package contents and add NOTICE
- add a files whitelist so only dist and the top-level docs are published;
this drops tests, benchmark, docs, examples, docker-compose files, CI
config and dot-directories such as .claude/.specify/.omc from the tarball
- add the ASF NOTICE file
- add repository/homepage/bugs metadata and set the author
- clean dist before building so deleted sources no longer leave stale
artifacts behind in the package
---
CHANGELOG.md | 72 +++++++++++++++++++++----------------------------------
NOTICE | 10 ++++++++
package-lock.json | 4 ++--
package.json | 21 ++++++++++++++--
4 files changed, 58 insertions(+), 49 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/NOTICE b/NOTICE
new file mode 100644
index 0000000..7ec5fb4
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,10 @@
+Apache IoTDB Client for Node.js
+Copyright 2026 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The Thrift service definitions in this product are derived from the
+Apache IoTDB project (https://iotdb.apache.org/), and the generated
+Thrift stubs are produced with the Apache Thrift compiler
+(https://thrift.apache.org/).
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..2380462 100644
--- a/package.json
+++ b/package.json
@@ -3,11 +3,28 @@
"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",
+ "files": [
+ "dist/",
+ "README.md",
+ "README_zh.md",
+ "CHANGELOG.md",
+ "LICENSE",
+ "NOTICE"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/apache/iotdb-client-nodejs.git"
+ },
+ "homepage": "https://iotdb.apache.org/",
+ "bugs": {
+ "url": "https://github.com/apache/iotdb-client-nodejs/issues"
+ },
"scripts": {
+ "prebuild": "node -e \"require('fs').rmSync('dist', { recursive: true,
force: true })\"",
"build": "npm run build:esbuild && npm run build:types && npm run
copy:thrift",
"build:esbuild": "node esbuild.config.js",
"build:types": "tsc --emitDeclarationOnly",
@@ -32,7 +49,7 @@
"thrift",
"apache"
],
- "author": "",
+ "author": "The Apache Software Foundation",
"license": "Apache-2.0",
"dependencies": {
"denque": "^2.1.0",