Yiming Cao
ba735ae598
addressing more pr comments ( #264 )
2025-09-22 18:41:39 -07:00
Yiming Cao
f9baaaf012
fix(policy): run pg/sqlite tests, misc dual db compatibility fixes ( #260 )
...
* fix(policy): run pg/sqlite tests, misc dual db compatibility fixes
* addressing review comments, cleaning up text search casing
* addressing pr comments
* try fixing CI
* update
* fix tests
* update
2025-09-22 16:16:15 -07:00
Yiming Cao
e1bda1908a
feat(policy): implementing check function ( #255 )
...
* feat(policy): implementing `check` function
* addressing PR comments
2025-09-17 21:32:19 -07:00
Yiming Cao
a7b9ad3744
fix: format zod errors, issue with "this" member access ( #250 )
...
* fix: format zod errors, issue with "this" member access
* update tests
2025-09-13 21:35:08 -07:00
Yiming Cao
fe54e42c21
chore(policy): more test cases and update ( #246 )
...
* chore(policy): more test cases and update
* fix update regression
* optimize nested relation manipulation
2025-09-11 22:23:10 -07:00
Yiming Cao
cc8af456f1
merge from svetch/main ( #233 )
2025-09-03 16:50:29 -07:00
Yiming Cao
5846a81ccf
refactor: avoid creating nested query when mapping names ( #211 )
...
* refactor: avoid creating nested query when mapping names
* address pr comments
2025-08-27 19:46:44 +08:00
Yiming Cao
b234fb2ab3
refactor: clean up transaction semantics for entity mutation hooks ( #206 )
...
* refactor: clean up transaction semantics for entity mutation hooks
* addressing review comments
* update
2025-08-26 11:04:09 +08:00
Yiming Cao
43e4f161b1
refactor: re-implement name mapper ( #203 )
...
* refactor: re-implement name mapper
* update
* update
2025-08-24 14:49:38 +08:00
Yiming Cao
b9bcbf8cb8
chore: use zod v3 for dev dependency ( #201 )
...
* chore: use zod v3 for dev dependency
* update
2025-08-22 09:51:44 +08:00
Yiming Cao
cd6ccb413c
fix: issues and tests about self relations ( #189 )
2025-08-20 16:58:05 +08:00
Yiming Cao
fb6c03e5e6
fix: disallow distinct for sqlite ( #180 )
...
* fix: disallow distinct for sqlite
* update
* update
2025-08-15 23:49:21 +08:00
Yiming Cao
f2199db926
fix: relation selection input validation issue ( #175 )
...
* fix: relation selection input validation issue
* update
* fix test
2025-08-15 18:29:10 +08:00
Yiming Cao
edb0255bc0
fix: error when selecting relation that contains computed fields ( #172 )
...
* fix: error when selecting relation that contains computed fields
* update
2025-08-15 16:08:53 +08:00
Yiming Cao
c28fe54f29
fix: using computed fields for orderBy and aggregations ( #155 )
2025-08-13 11:44:19 +08:00
Yiming Cao
2e95aa5eef
fix: support using aggregations inside orderBy and having of groupBy ( #152 )
...
* fix: support using aggregations inside `orderBy` and `having` of `groupBy`
* update
* update
2025-08-12 18:28:52 +08:00
Yiming Cao
3a49973312
fix: tighten up query input validation, fixed case-sensitivity compatibility with Prisma ( #147 )
...
* fix: tighten up query input validation, fixed case-sensitivity compatibility with Prisma
* update
2025-08-06 17:08:45 +08:00
Yiming Cao
6a62a2c9d7
fix: issue with in memory distinct when distinct fields are not selected ( #144 )
...
* fix: issue with in memory distinct when distinct fields are not selected
* addressing PR comments
2025-08-05 17:34:16 +08:00
Yiming Cao
192cc01537
fix: using _count in relation selection ( #143 )
2025-08-05 14:27:08 +08:00
Yiming Cao
118c9955f5
fix: sqlite createMany issue with mismatching columns ( #140 )
2025-08-04 22:20:34 +08:00
Yiming Cao
0f29b39549
chore: use the entire kysely dialect in client options ( #130 )
2025-07-31 15:18:46 +08:00
Yiming Cao
0df015ad8d
feat: implement zmodel import ( #126 )
...
* feat: implement zmodel import
* addressing PR comments
* update
2025-07-30 16:45:55 +08:00
Yiming Cao
1667ce11c6
perf: improve type checking performance (magically...) ( #122 )
2025-07-29 18:36:06 +08:00
Yiming Cao
330be71b18
chore: reorg test runs ( #121 )
...
* chore: reorg test runs
* update
* update
2025-07-29 15:59:23 +08:00
Yiming Cao
3f1af0683c
chore: reorg test schemas ( #116 )
2025-07-28 18:19:34 +08:00
Yiming Cao
36e1b779bd
feat: count and aggregate for delegate models ( #115 )
...
* feat: count and aggregate for delegate models
* fixes
2025-07-28 16:31:17 +08:00
Yiming Cao
cefe223c0b
feat: implement delegate delete ( #114 )
2025-07-26 23:05:36 +08:00
Yiming Cao
05b0c51b34
feat: implement update/upsert for delegate models ( #113 )
2025-07-26 15:09:29 +08:00
Yiming Cao
c7f02eadb3
fix(delegate): filter fixes ( #112 )
2025-07-24 23:52:12 +08:00
Yiming Cao
04959ad9a2
fix(delegate): relation selection ( #111 )
2025-07-24 16:25:47 +08:00
Yiming Cao
cbf1ce3366
feat: implement delegate models (create + read) ( #110 )
...
* feat: implement delegate models (create + read)
* update
* update
* update
2025-07-23 22:54:28 +08:00
Yiming Cao
ca2a4288b4
test: more cases for mixins ( #108 )
2025-07-22 13:31:18 +08:00
Yiming Cao
55d4e773d9
feat: strongly typed JSON fields ( #107 )
2025-07-21 23:50:35 +08:00
Yiming Cao
39cf629b0c
feat: implementing mixin ( #106 )
...
* feat: implementing mixin
* format
* update
2025-07-21 19:48:48 +08:00
Yiming Cao
eebf69a999
perf: improve tsc performance for runtime project ( #97 )
2025-07-17 10:33:52 +08:00
Yiming Cao
52d95761bf
fix: make helpers package browser-compatible, fix update args validation ( #90 )
...
* fix: make helpers package browser-compatible, fix update args validation
* update
2025-07-11 23:24:48 +08:00
Yiming Cao
5a746d9e09
feat: implement sequential transaction ( #81 )
...
* feat: implement sequential transaction
* Update packages/runtime/src/client/client-impl.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* addressing comments
* update tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-09 17:19:42 +08:00
Yiming Cao
095e276395
fix: more issues found with formbricks ( #79 )
...
- Nested transaction handling
- Fixed issue with concurrent transactions
- Temporarily disabled running Kysely query interceptor in a transaction
2025-07-08 23:19:08 +08:00
Yiming Cao
ab0cfff82f
fix: make create's typing consistent with Prisma regarding to relations ( #78 )
2025-07-06 01:59:33 +02:00
Yiming Cao
f30b8d6a4b
fix: issues found testing with formbricks ( #77 )
...
* fix: issues found testing with formbricks
- Nested count during find
- Result processing
- "undefined" field normalization
- Enum fields used as unique
* fix test
* more tests
* fix test
2025-07-06 07:48:44 +08:00
Yiming Cao
a91f935367
fix: workaround node-pg's issue with passing array to non-array JSON fields ( #74 )
2025-07-03 13:30:01 +02:00
Yiming Cao
a4a5cbae45
fix: several fixes about Json and Unsupported field types ( #73 )
2025-07-03 09:06:35 +02:00
Yiming Cao
d259709ee9
feat: implement raw queries ( #69 )
...
* feat: implement raw queries
* add coderabbit config
* fixes
2025-07-02 18:58:45 +02:00
Yiming Cao
e202d73414
Merge branch 'dev' into dev
2025-06-25 11:39:06 +08:00
Yiming Cao
df9f318e78
fix: incorrect computed field typing for optional fields ( #40 )
...
* fix: incorrect computed field typing for optional fields
fixes #33
* fix tests
2025-06-25 11:26:36 +08:00
FTB_lag
4f1183546d
chore: remove unused spaces
2025-06-23 00:17:30 +03:00
Yiming Cao
088c41a7dc
chore: upgrade eslint ( #36 )
2025-06-21 23:26:56 +08:00
Yiming Cao
cfa33af84c
chore: update to zod4 ( #34 )
2025-06-21 20:53:41 +08:00
Yiming Cao
0badf91d20
fix: misc fixes ( #30 )
2025-06-18 11:41:50 +08:00
Yiming Cao
6cd7e2eff1
refactor: get rid of ds config provider from generated schema ( #28 )
...
* refactor: get rid of ds config provider from generated schema
* update
2025-06-17 21:03:48 +08:00