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 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'