0.5.0: CSV Export
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:
targetchanged fromES5toES6moduleResolutionchanged fromnodetobundler
- Exasol v7.1 is no longer supported.
- The driver now only supports encrypted connections. Unencrypted connections are no longer supported.
- The
encryptionfield of interfaceConfigis now deprecated and no longer evaluated.
- The
Features
- #73: Added TypeScript
await usingsupport for drivers, prepared statements, and connection pools. - #68: Added
AbortSignalcancellation 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.0to^3.0.1
Development Dependency Updates
- Updated
@types/pako:^2.0.4to^3.0.0 - Added
@typescript/native:npm:typescript@^7.0.2 - Updated
globals:^17.6.0to^17.9.0 - Updated
rollup:^4.60.4to^4.62.4 - Updated
eslint:^10.4.0to^10.8.1 - Updated
ts-jest:^29.4.11to^29.4.12 - Updated
eslint-plugin-jest:^29.15.2to^29.16.0 - Updated
typescript:^5.9.3tonpm:@typescript/typescript6@^6.0.2 - Updated
ws:^8.21.0to^8.21.3 - Updated
testcontainers:^12.0.1to^12.1.0 - Updated
prettier:^3.8.3to^3.9.6 - Updated
@eslint/eslintrc:^3.3.5to^3.3.6 - Updated
@types/node:^25.9.1to^26.2.0 - Updated
typescript-eslint:^8.60.0to^8.66.0