From 374c46b9369306520b8782271b9683ccdedfe6a9 Mon Sep 17 00:00:00 2001 From: Mathieu Bour Date: Wed, 7 Aug 2024 01:43:40 +0200 Subject: [PATCH 1/2] Export WebClickHouseClient and NodeClickHouseClient as values --- packages/client-node/src/index.ts | 4 ++-- packages/client-web/src/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/client-node/src/index.ts b/packages/client-node/src/index.ts index d577b6f0..787a0397 100644 --- a/packages/client-node/src/index.ts +++ b/packages/client-node/src/index.ts @@ -1,6 +1,6 @@ -export type { +export { NodeClickHouseClient as ClickHouseClient, - QueryResult, + type QueryResult, } from './client' export { createClient } from './client' export { type NodeClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from './config' diff --git a/packages/client-web/src/index.ts b/packages/client-web/src/index.ts index 25d687b3..090df9ee 100644 --- a/packages/client-web/src/index.ts +++ b/packages/client-web/src/index.ts @@ -1,6 +1,6 @@ -export type { +export { WebClickHouseClient as ClickHouseClient, - QueryResult, + type QueryResult, } from './client' export { createClient } from './client' export { type WebClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from './config' From 1f5b73ab64fc8f8796c54d7eed19901b9768e7d8 Mon Sep 17 00:00:00 2001 From: Mathieu Bour Date: Wed, 7 Aug 2024 01:48:42 +0200 Subject: [PATCH 2/2] Added a CHANGELOG entry --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index edc4d6d8..0133f30e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.5.0 (Node.js, Web) + +## New features + +- `ClickHouseClient` is now exported as a value from packages, allowing to a better integration in dependency injection frameworks which rely on IoC. + # 1.4.0 (Node.js) ## New features