Skip to content

Commit

Permalink
release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-kadhe committed Apr 3, 2024
1 parent 6dbce6f commit 2634d6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .changeset/clever-hotels-cheer.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 same 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 2634d6b

Please sign in to comment.