@latitude-data/clickhouse-connector
Advanced tools
Comparing version 0.1.0 to 1.0.0
# @latitude-data/clickhouse-connector | ||
## 1.0.0 | ||
### Major Changes | ||
- e97b521: BREAKING CHANGE | ||
This commit changes the way connectors are installed in Latitude projects. | ||
Before this release, all connectors were getting bundled by default in | ||
production builds, greatly increasing their size and impacting install times. | ||
From now on, connectors are opt-in. The CLI will automatically detect all | ||
sources configured in .yml files and install only the necessary dependencies. | ||
This change also affects development watchers, which will install connectors as | ||
the developer adds them. However, it is the responsability of the developers | ||
to uninstall any unused connectors, if a particular source is removed. | ||
## 0.1.0 | ||
@@ -4,0 +21,0 @@ |
@@ -20,3 +20,3 @@ import { BaseConnector, CompiledQuery, ResolvedParam } from '@latitude-data/base-connector'; | ||
}; | ||
export declare class ClickHouseConnector extends BaseConnector { | ||
export default class ClickHouseConnector extends BaseConnector { | ||
private client; | ||
@@ -23,0 +23,0 @@ constructor(rootPath: string, connectionParams: ConnectionParams); |
@@ -142,3 +142,3 @@ import { BaseConnector, ConnectionError, QueryError } from '@latitude-data/base-connector'; | ||
export { ClickHouseConnector }; | ||
export { ClickHouseConnector as default }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@latitude-data/clickhouse-connector", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"license": "LGPL", | ||
@@ -5,0 +5,0 @@ "description": "ClickHouse connector for Latitude", |
import { vi, describe, it, expect, beforeEach } from 'vitest' | ||
import { ClickHouseConnector } from './index' | ||
import ClickHouseConnector from './index' | ||
import { readFileSync } from 'fs' | ||
@@ -4,0 +4,0 @@ import { createClient } from '@clickhouse/client' |
@@ -32,3 +32,3 @@ import { | ||
export class ClickHouseConnector extends BaseConnector { | ||
export default class ClickHouseConnector extends BaseConnector { | ||
private client: NodeClickHouseClient | ||
@@ -35,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
36152
1