diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bf0066..106dcc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # clickhouse-schema +## 2.0.0 + +### Major Changes + +- 6dbce6f: # 2.0.0 + + - Added support for default value checking at compile time. This also means all datatypes are now functions so they need to be called unlike before. So `ClickhouseTypes.CHBoolean` becomes `ClickhouseTypes.CHBoolean()` and this is the true for all data types. + - Refactored type inference to reduce LOC and make it more modular + - Improved validation for `order_by` and `primary_key` options by checking for only compatible keys at compile time + ## 1.0.4 ### Patch Changes diff --git a/package.json b/package.json index fb39f67..d49ff1a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "MIT", "name": "clickhouse-schema", "description": "Clickhouse-Schema is a TypeScript library that simplifies working with ClickHouse databases by allowing developers to effortlessly define table schemas in TypeScript. This approach not only ensures robust type safety but also significantly reduces development time by automating the generation of TypeScript types that mirror your ClickHouse schemas.", - "version": "1.0.4", + "version": "2.0.0", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [