File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed
Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ Unreleased ]
8+ ## [ 0.1.1 ] - 2025-12-21
99
1010### Added
1111
Original file line number Diff line number Diff line change @@ -822,17 +822,11 @@ console.log(Posts.ddl().toString());
822822
823823| Feature | SQLite | PostgreSQL | MySQL |
824824| ---------| --------| ------------| -------|
825- | ** DDL Generation** | ✅ | ✅ | ✅ |
826- | ** RETURNING** | ✅ | ✅ | ❌ (uses SELECT after) |
827- | ** IF NOT EXISTS** (CREATE TABLE) | ✅ | ✅ | ✅ |
828- | ** IF NOT EXISTS** (ADD COLUMN) | ✅ | ✅ | ❌ (may error if exists) |
829- | ** Migration Locks** | BEGIN EXCLUSIVE | pg_advisory_lock | GET_LOCK |
830- | ** EXPLAIN** | EXPLAIN QUERY PLAN | EXPLAIN | EXPLAIN |
831- | ** JSON Type** | TEXT | JSONB | TEXT |
832- | ** Boolean Type** | INTEGER (0/1) | BOOLEAN | BOOLEAN |
833- | ** Date Type** | TEXT (ISO) | TIMESTAMPTZ | DATETIME |
834- | ** Transactions** | ✅ | ✅ | ✅ |
835- | ** Advisory Locks** | ❌ | ✅ | ✅ (named) |
825+ | RETURNING | ✅ | ✅ | ⚠️ fallback |
826+ | IF NOT EXISTS (CREATE TABLE) | ✅ | ✅ | ✅ |
827+ | IF NOT EXISTS (ADD COLUMN) | ✅ | ✅ | ⚠️ may error |
828+ | Migration Locks | BEGIN EXCLUSIVE | pg_advisory_lock | GET_LOCK |
829+ | Advisory Locks | — | ✅ | ✅ |
836830
837831### Zod to SQL Type Mapping
838832
Original file line number Diff line number Diff line change 11{
22 "name" : " @b9g/zen" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " The simple database client. Define tables. Write SQL. Get objects." ,
55 "type" : " module" ,
66 "exports" : {
You can’t perform that action at this time.
0 commit comments