diff --git a/.changeset/export-param-types.md b/.changeset/export-param-types.md deleted file mode 100644 index 5d0e9bc..0000000 --- a/.changeset/export-param-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@maple-dev/effect-orm": patch ---- - -`ParamEntry`, `OptionalParamEntry`, `OptionalParams` and `ParamsIn` are exported from every dialect entry point. A package that exports a query with a `param.*`, or a `defineFn` helper, failed `tsc --declaration` with TS4023 / TS2742: their types name these, and tsc could only reach them through a hashed internal chunk. The package-consumer check now emits declarations for exported queries with plain, optional (`when` / `whenTrue`) and union-named params, joins, CTEs, subqueries, unions and a `defineFn` helper, on TypeScript 7 and 5. diff --git a/CHANGELOG.md b/CHANGELOG.md index e38caf5..02b76f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @maple-dev/effect-orm +## 0.6.2 + +### Patch Changes + +- 6bfed00: `ParamEntry`, `OptionalParamEntry`, `OptionalParams` and `ParamsIn` are exported from every dialect entry point. A package that exports a query with a `param.*`, or a `defineFn` helper, failed `tsc --declaration` with TS4023 / TS2742: their types name these, and tsc could only reach them through a hashed internal chunk. The package-consumer check now emits declarations for exported queries with plain, optional (`when` / `whenTrue`) and union-named params, joins, CTEs, subqueries, unions and a `defineFn` helper, on TypeScript 7 and 5. + ## 0.6.1 ### Patch Changes diff --git a/package.json b/package.json index ce7f01e..59d405c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maple-dev/effect-orm", - "version": "0.6.1", + "version": "0.6.2", "description": "Type-safe ClickHouse and Postgres queries, result decoding, and reproducible benchmarks for Effect and TypeScript", "keywords": [ "clickhouse",