Skip to content

Commit e939883

Browse files
brainkimclaude
andcommitted
chore: release v0.1.1
- Driver-level type encoding/decoding for dialect-specific handling - inferFieldType() helper for Zod schema type inference - Breaking: Removed deprecated Infer<T> (use Row<T>) - Fixed invalid datetime values throwing proper errors - Updated README dialect support table and type mapping docs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 3fb0eda commit e939883

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)