Skip to content

Releases: exasol/exasol-driver-ts

0.5.0: CSV Export

Choose a tag to compare

@kaklakariada kaklakariada released this 13 Aug 14:29
d6ee09e

This release upgrades dependencies and runtime environment.

The driver now supports TypeScript's automatic resource management with await using:

await using driver = new ExasolDriver(websocketFactory, config);
await driver.connect();
// The driver is closed automatically when this scope exits.

The release also adds Node.js local CSV export with table and query sources, CSV format options, compression, existing-file protection, and AbortSignal cancellation. See the CSV Export user guide.

await driver.exportToCsvFile('MY_SCHEMA.MY_TABLE', '/absolute/path/to/data.csv');

This release also fixes fetch commands to use the configured fetch size and increases the default fetch size to 1 MiB. Thanks to @espenhogbakk for reporting this!

Breaking Changes

  • TypeScript upgraded from 5.9.3 to 7.0.2
  • TypeScript configuration:
    • target changed from ES5 to ES6
    • moduleResolution changed from node to bundler
  • Exasol v7.1 is no longer supported.
  • The driver now only supports encrypted connections. Unencrypted connections are no longer supported.
    • The encryption field of interface Config is now deprecated and no longer evaluated.

Features

  • #73: Added TypeScript await using support for drivers, prepared statements, and connection pools.
  • #68: Added AbortSignal cancellation for local CSV imports.
  • #69: Added Node.js local CSV export

Bugfixes

  • #83: Fixed fetch commands to use the configured fetch size

Dependency Updates

Compile Dependency Updates

  • Updated pako:^2.1.0 to ^3.0.1

Development Dependency Updates

  • Updated @types/pako:^2.0.4 to ^3.0.0
  • Added @typescript/native:npm:typescript@^7.0.2
  • Updated globals:^17.6.0 to ^17.9.0
  • Updated rollup:^4.60.4 to ^4.62.4
  • Updated eslint:^10.4.0 to ^10.8.1
  • Updated ts-jest:^29.4.11 to ^29.4.12
  • Updated eslint-plugin-jest:^29.15.2 to ^29.16.0
  • Updated typescript:^5.9.3 to npm:@typescript/typescript6@^6.0.2
  • Updated ws:^8.21.0 to ^8.21.3
  • Updated testcontainers:^12.0.1 to ^12.1.0
  • Updated prettier:^3.8.3 to ^3.9.6
  • Updated @eslint/eslintrc:^3.3.5 to ^3.3.6
  • Updated @types/node:^25.9.1 to ^26.2.0
  • Updated typescript-eslint:^8.60.0 to ^8.66.0

0.4.1: Fixed query placeholders bug

Choose a tag to compare

@ahsimb ahsimb released this 06 Jul 08:01
1880947

This release fixes a bug when using more than one ? placeholders in a query.

0.4.0: Import local CSV File

Choose a tag to compare

@kaklakariada kaklakariada released this 29 May 11:25
dd868e0

This release adds support for importing local CSV files into an Exasol table. See the user guide for details.

The release also fixes the implementation of the driver.cancel() method. Before, it failed with error Cannot read properties of undefined (reading 'numResults'). Now the query correctly fails with the correct error message E-EDJS-25: SQL error: code: 'R0003', message: 'Client requested execution abort. ....

Compatibility

Starting with this release, we test the driver with Node.js LTS versions 22, 24 and 26. We no longer test with version 20 which is not maintained any longer.

Features

  • #48: Added import from local CSV file

Bugfixes

  • #62: Fixed cancelling query() and execute() calls

Dependency Updates

Development Dependency Updates

  • Updated globals:^17.5.0 to ^17.6.0
  • Updated jest-environment-jsdom:^30.3.0 to ^30.4.1
  • Updated rollup:^4.60.2 to ^4.60.4
  • Updated eslint:^10.2.1 to ^10.4.0
  • Updated @babel/preset-typescript:^7.28.5 to ^7.29.7
  • Updated ts-jest:^29.4.9 to ^29.4.11
  • Updated ws:^8.20.0 to ^8.21.0
  • Updated testcontainers:^11.14.0 to ^12.0.1
  • Updated @babel/preset-env:^7.29.2 to ^7.29.7
  • Updated jest:^30.3.0 to ^30.4.2
  • Updated @babel/core:^7.29.0 to ^7.29.7
  • Updated @types/node:^25.6.0 to ^25.9.1
  • Updated typescript-eslint:^8.59.1 to ^8.60.0
  • Removed babel-jest:^30.3.0

0.3.3: Fix vulnerabilities in dependencies

Choose a tag to compare

@pj-spoelders pj-spoelders released this 05 May 10:55
508e8e3

Summary

This release fixes the following vulnerability reported by dependabot:

Please note that the following vulnerability in a transitive test dependency is not fixed:

Security

  • #53: Fix vulnerabilities in dependencies

Dependency Updates

Development Dependency Updates

  • Updated globals:^17.4.0 to ^17.5.0
  • Updated rollup:^4.60.1 to ^4.60.2
  • Updated eslint:^10.1.0 to ^10.2.1
  • Updated eslint-plugin-jest:^29.15.1 to ^29.15.2
  • Updated testcontainers:^11.13.0 to ^11.14.0
  • Updated prettier:^3.8.1 to ^3.8.3
  • Updated @types/node:^25.5.0 to ^25.6.0
  • Added audit-ci:^7.1.0
  • Updated typescript-eslint:^8.58.0 to ^8.59.1

0.3.2: Upgrade dependencies on top of 0.3.1

Choose a tag to compare

@kaklakariada kaklakariada released this 02 Apr 11:35
a5ece1c

This release migrates the release process to trusted publishing. This improves security of the release process by avoiding tokens. Starting with this release, the driver is not tested against deprecated NodeJS version 16 and 18. Instead NodeJS version 22 and 24 are now supported. The release also upgrades dependencies.

Security

  • #49: Migrated npm release process to trusted publishing

Dependency Updates

Compile Dependency Updates

  • Updated node-forge:^1.3.1 to ^1.4.0

Development Dependency Updates

  • Updated @types/pako:^2.0.3 to ^2.0.4
  • Updated eslint-config-prettier:^9.0.0 to ^10.1.8
  • Added globals:^17.4.0
  • Updated jest-environment-jsdom:^29.6.4 to ^30.3.0
  • Updated rollup:^3.28.1 to ^4.60.1
  • Updated eslint:^8.48.0 to ^10.1.0
  • Updated babel-jest:^29.7.0 to ^30.3.0
  • Updated @babel/preset-typescript:^7.27.1 to ^7.28.5
  • Updated ts-jest:^29.1.1 to ^29.4.9
  • Updated @types/jest:^29.5.4 to ^30.0.0
  • Updated @types/node-forge:^1.3.11 to ^1.3.14
  • Updated eslint-plugin-jest:^27.2.3 to ^29.15.1
  • Updated typescript:^5.2.2 to ^5.9.3
  • Updated ws:^8.17.1 to ^8.20.0
  • Updated testcontainers:^10.27.0 to ^11.13.0
  • Updated @types/ws:^8.5.5 to ^8.18.1
  • Updated @types/tar-stream:^3.1.3 to ^3.1.4
  • Updated @babel/preset-env:^7.27.2 to ^7.29.2
  • Updated @rollup/plugin-typescript:^11.1.3 to ^12.3.0
  • Updated jest:^29.6.4 to ^30.3.0
  • Updated ts-node:^10.9.1 to ^10.9.2
  • Updated prettier:^3.0.2 to ^3.8.1
  • Added @eslint/js:^10.0.1
  • Updated @babel/core:^7.27.4 to ^7.29.0
  • Added @eslint/eslintrc:^3.3.5
  • Updated @types/node:^22.15.21 to ^25.5.0
  • Added typescript-eslint:^8.58.0
  • Updated tslib:^2.6.2 to ^2.8.1
  • Removed eslint-plugin-promise:^6.1.1
  • Removed eslint-config-standard-with-typescript:^39.0.0
  • Removed eslint-plugin-import:^2.28.1
  • Removed eslint-plugin-n:^16.0.2
  • Removed @typescript-eslint/eslint-plugin:^6.5.0
  • Removed @typescript-eslint/parser:^6.5.0

0.3.1: Minor logger update / CI tests update

Choose a tag to compare

@pj-spoelders pj-spoelders released this 17 Jun 10:01
62fb76f

Exasol Driver ts 0.3.1, released 2025-06-17

Code name: Minor logger update / CI tests update

Summary

  • Reduced logger verbosity in trace mode to prevent potential leakage of sensitive information in trace statements.
  • Improved error messages for certain connection issues.
  • Updated CI tests to use Exasol Docker DB v8 with encryption enabled in Node.js context:
    • Browser-based CI tests use Exasol Docker DB v7.1.x without encryption.
    • Node-based CI tests use Exasol Docker DB v8.30.x with encryption.
  • Currently, encryption testing is not possible with Exasol Docker DB v7.1.x due to incompatibilities with its SSL version.
  • Enabling encryption in browser-based CI tests using Docker DB v8 will require a completely new approach. CI test infrastructure will need to be partially re-engineered to support this.
  • Due to time constraints this will be implemented at a later date. A separate ticket has been created for this task.

Features

  • #21: Add Exasol 8 to integration test

Dependency Updates

Development Dependency Updates

  • Added babel-jest:^29.7.0
  • Added @babel/preset-typescript:^7.27.1
  • Updated testcontainers:9.1.3 to ^10.27.0
  • Added @types/tar-stream:^3.1.3
  • Added @babel/preset-env:^7.27.2
  • Added @babel/core:^7.27.4
  • Added @types/node:^22.15.21
  • Removed @trendyol/jest-testcontainers:^2.1.1

0.3.0: Compression support

Choose a tag to compare

@pj-spoelders pj-spoelders released this 11 Mar 12:33
b2d037d

Code name: Compression

Summary

Adds compression support to the driver.

Features

  • #30: Add support for compression

Dependency Updates

Compile Dependency Updates

  • Added pako:^2.1.0

Development Dependency Updates

  • Added @types/pako:^2.0.3

0.2.0: Adds `ExasolPool`, makes log level configurable.

Choose a tag to compare

@pj-spoelders pj-spoelders released this 13 Nov 14:02
6ae29e7

Summary

Adds ExasolPool, which is a connection pool using ExasolDriver underneath. See the user guide for a new section on how to configure and use the ExasolPool class.
Logging is now configurable for both driver/client and pool. The defaults are now also more sensible (off). An issue with switching off logging was also resolved.

Features

  • #28: Add a connection pool.
  • #34: Make log level configurable.

Dependency Updates

Compile Dependency Updates

  • Added generic-pool:^3.9.0

0.1.4: Fixed CVE-2024-37890 and CVE-2024-4068 in dev dependencies

Choose a tag to compare

@pj-spoelders pj-spoelders released this 04 Jul 08:24
500cb55

Summary

This release fixes vulnerabilities CVE-2024-37890 and CVE-2024-4068 in dev dependencies.

Security

Dependency Updates

Development Dependency Updates

  • Updated ws:^8.13.0 to ^8.17.1

0.1.3: Fix bable traverse and jsrsasign vulnerabilities.

Choose a tag to compare

@pj-spoelders pj-spoelders released this 06 Feb 13:10
ae9369d

Summary

This release fixes vulnerabilities in bable traverse by updating the package and swaps out jsrsasign with node-forge to replace RSA encryption.

Features

  • #26: Fix vulnerabilities

Dependency Updates

Compile Dependency Updates

  • Added node-forge:^1.3.1
  • Removed jsrsasign:^10.8.6

Development Dependency Updates

  • Added @types/node-forge:^1.3.11
  • Removed @types/jsrsasign:^10.5.8