uql-orm 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/browser/uql-browser.min.js +12 -1654
- package/dist/browser/uql-browser.min.js.map +1 -1
- package/dist/bunSql/bunSql.util.d.ts.map +1 -1
- package/dist/bunSql/bunSql.util.js +4 -1
- package/dist/bunSql/bunSql.util.js.map +1 -1
- package/dist/bunSql/bunSqlQuerierPool.d.ts +2 -2
- package/dist/bunSql/bunSqlQuerierPool.d.ts.map +1 -1
- package/dist/bunSql/bunSqlQuerierPool.js +6 -6
- package/dist/bunSql/bunSqlQuerierPool.js.map +1 -1
- package/dist/cockroachdb/cockroachDialect.d.ts +1 -1
- package/dist/cockroachdb/cockroachDialect.d.ts.map +1 -1
- package/dist/cockroachdb/cockroachDialect.js +1 -1
- package/dist/cockroachdb/cockroachDialect.js.map +1 -1
- package/dist/d1/d1Querier.d.ts +1 -1
- package/dist/d1/d1Querier.d.ts.map +1 -1
- package/dist/d1/d1QuerierPool.d.ts +1 -1
- package/dist/d1/d1QuerierPool.d.ts.map +1 -1
- package/dist/d1/d1QuerierPool.js +1 -1
- package/dist/d1/d1QuerierPool.js.map +1 -1
- package/dist/dialect/abstractDialect.d.ts +1 -0
- package/dist/dialect/abstractDialect.d.ts.map +1 -1
- package/dist/dialect/abstractDialect.js +3 -0
- package/dist/dialect/abstractDialect.js.map +1 -1
- package/dist/dialect/abstractSqlDialect.d.ts +1 -0
- package/dist/dialect/abstractSqlDialect.d.ts.map +1 -1
- package/dist/dialect/abstractSqlDialect.js +5 -2
- package/dist/dialect/abstractSqlDialect.js.map +1 -1
- package/dist/dialect/dialectConfig.d.ts +18 -36
- package/dist/dialect/dialectConfig.d.ts.map +1 -1
- package/dist/dialect/dialectConfig.js +6 -0
- package/dist/dialect/dialectConfig.js.map +1 -1
- package/dist/libsql/libsqlQuerier.d.ts +1 -1
- package/dist/libsql/libsqlQuerier.d.ts.map +1 -1
- package/dist/libsql/libsqlQuerierPool.d.ts +1 -1
- package/dist/libsql/libsqlQuerierPool.d.ts.map +1 -1
- package/dist/libsql/libsqlQuerierPool.js +1 -1
- package/dist/libsql/libsqlQuerierPool.js.map +1 -1
- package/dist/maria/mariaDialect.d.ts +2 -0
- package/dist/maria/mariaDialect.d.ts.map +1 -1
- package/dist/maria/mariaDialect.js +4 -0
- package/dist/maria/mariaDialect.js.map +1 -1
- package/dist/migrate/schemaGenerator.js +6 -6
- package/dist/migrate/schemaGenerator.js.map +1 -1
- package/dist/mongo/mongodbQuerier.d.ts +2 -2
- package/dist/mongo/mongodbQuerier.d.ts.map +1 -1
- package/dist/mongo/mongodbQuerier.js +3 -3
- package/dist/mongo/mongodbQuerier.js.map +1 -1
- package/dist/neon/neonQuerier.d.ts +1 -1
- package/dist/neon/neonQuerier.d.ts.map +1 -1
- package/dist/neon/neonQuerierPool.d.ts +1 -1
- package/dist/neon/neonQuerierPool.d.ts.map +1 -1
- package/dist/neon/neonQuerierPool.js +1 -1
- package/dist/neon/neonQuerierPool.js.map +1 -1
- package/dist/postgres/postgresDialect.js +6 -6
- package/dist/postgres/postgresDialect.js.map +1 -1
- package/dist/querier/abstractQuerier.d.ts +3 -3
- package/dist/querier/abstractQuerier.d.ts.map +1 -1
- package/dist/querier/abstractQuerier.js.map +1 -1
- package/dist/querier/abstractSqlQuerier.d.ts +2 -2
- package/dist/querier/abstractSqlQuerier.d.ts.map +1 -1
- package/dist/querier/abstractSqlQuerier.js.map +1 -1
- package/dist/type/querier.d.ts +2 -2
- package/dist/type/querier.d.ts.map +1 -1
- package/dist/type/querier.js.map +1 -1
- package/dist/type/query.d.ts +41 -1
- package/dist/type/query.d.ts.map +1 -1
- package/dist/type/universalQuerier.d.ts +2 -2
- package/dist/type/universalQuerier.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. Please add
|
|
|
4
4
|
|
|
5
5
|
date format is [yyyy-mm-dd]
|
|
6
6
|
|
|
7
|
+
## [0.7.5] - 2026-03-29
|
|
8
|
+
### New Features
|
|
9
|
+
- **Type-Safe Aggregate Inference**: Enhanced `querier.aggregate()` to automatically infer return types from the `$group` definition. Aggregate results (e.g. `$sum`, `$avg`, `$max`) are now precisely typed without requiring manual casts or `any`.
|
|
10
|
+
- **Centralized Dialect Features**: Introduced a declarative `DialectFeatures` system to manage database capabilities (e.g. `supportsJsonb`, `returning`, `ifNotExists`).
|
|
11
|
+
|
|
12
|
+
### Improvements
|
|
13
|
+
- **Dialect Architecture Hardening**: Replaced brittle runtime dialect-name checks with formal feature flags across the codebase.
|
|
14
|
+
- **Immutability**: Marked all dialect configuration and feature properties as `readonly` for increased runtime stability.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.7.4] - 2026-03-28
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
- **Module Imports**: Fixed an issue where the `index.js` barrels incorrectly exported driver-specific querier pools (like `mariadbQuerierPool`), which caused the module bundler/runtime to attempt to load optional peer dependencies (like `mariadb`) when importing unrelated modules from `uql-orm`.
|
|
20
|
+
|
|
7
21
|
## [0.7.3] - 2026-03-26
|
|
8
22
|
### Bug Fixes
|
|
9
23
|
- **Bun SQL Dialect Inference**: Improved logic for detecting `sqlite` from URLs and handling custom schemes in `SQL.Options`.
|