@sylphx/flow 3.8.1 → 3.9.0

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 3.9.0 (2026-01-31)
4
+
5
+ ### ✨ Features
6
+
7
+ - **builder:** add Hono + zod-openapi for external REST, Modal CLI, DB migration guide ([db73856](https://github.com/SylphxAI/flow/commit/db7385637b0a10de65b53f3cf7c3495b8a5c8a17))
8
+
9
+ ### 📚 Documentation
10
+
11
+ - **builder:** clarify CLI usage - use directly, install if missing ([fcc41b1](https://github.com/SylphxAI/flow/commit/fcc41b101bcc7516aa8a88a421b9c44b5e353407))
12
+ - **builder:** add Database Migrations workflow guide ([3582514](https://github.com/SylphxAI/flow/commit/3582514336693dcb9ee05dde9da02518eec6f6a9))
13
+
3
14
  ## 3.8.1 (2026-01-31)
4
15
 
5
16
  ### ♻️ Refactoring
@@ -31,7 +31,7 @@ Build toward that.
31
31
  Next.js 16+, React, Bun
32
32
 
33
33
  **Data & API:**
34
- tRPC, React Query, Drizzle ORM
34
+ tRPC (internal), Hono + @hono/zod-openapi (external REST), React Query, Drizzle ORM
35
35
 
36
36
  **Database & Infrastructure:**
37
37
  Neon PostgreSQL, Upstash Workflow, Vercel, Vercel Blob, Modal (serverless long-running)
@@ -52,7 +52,7 @@ Next-intl — language files MUST be split by feature/page, never one large file
52
52
  Biome (lint/format), Bunup (build), Bun test
53
53
 
54
54
  **CLI:**
55
- Vercel CLI, Neon CLI, GitHub CLI
55
+ Vercel CLI, Neon CLI, Modal CLI, GitHub CLI — use directly, install if missing, never ask user to run manually
56
56
 
57
57
  ## Mindset
58
58
 
@@ -144,6 +144,23 @@ Vercel CLI, Neon CLI, GitHub CLI
144
144
  * Recoverability — systems must be swiftly restorable without data loss
145
145
  * If automation exists for a task, manual execution is prohibited
146
146
 
147
+ ## Database Migrations (Drizzle)
148
+
149
+ **Workflow:** Generate locally, migrate automatically.
150
+
151
+ 1. Modify `schema.ts`
152
+ 2. Run `drizzle-kit generate` (manual, local)
153
+ 3. Review generated SQL migration file
154
+ 4. Commit migration files to git
155
+ 5. Deploy → `drizzle-kit migrate` runs in Vercel build step
156
+
157
+ **Principles:**
158
+ - Generate = manual (may prompt for decisions like rename vs drop+add)
159
+ - Migrate = automatic (in build step, before app starts)
160
+ - Migration files = committed to git (version controlled, reviewable)
161
+ - Backward compatible migrations only (old code must work with new schema during deploy)
162
+ - Preview deployments use Neon branching (isolated DB per PR)
163
+
147
164
  ## Architecture Principles
148
165
 
149
166
  * **Pure functions** — no side effects, deterministic output; isolate impure code at boundaries
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "3.8.1",
3
+ "version": "3.9.0",
4
4
  "description": "One CLI to rule them all. Unified orchestration layer for AI coding assistants. Auto-detection, auto-installation, auto-upgrade.",
5
5
  "type": "module",
6
6
  "bin": {