@@ -7,6 +7,36 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77
88## [ Unreleased]
99
10+ ## [ 0.12.4] — 2026-06-27
11+
12+ _ npm ` 0.12.4 ` (full lockstep across all 13 ` @metaobjectsdev/* ` publish candidates)._
13+
14+ ### Fixed
15+ - ** codegen-ts — projection codegen:** an ` object.projection ` (read-only,
16+ view-backed) now generates ** read-only** query helpers (` find…ById ` + ` list… `
17+ selecting from the view) instead of table-style create/update that imported a
18+ nonexistent ` <Name>InsertSchema ` . This fixes a ` TS2724 ` compile error that made a
19+ declared projection fail to build, forcing consumers to revert to hand-rolled
20+ aggregates. (Mirrors the ` isProjection ` guard the routes generator already had.)
21+ - ** codegen-ts — generated SQLite ` Db ` type** is now
22+ ` BaseSQLiteDatabase<"sync" | "async", unknown> ` , accepting ** both** sync
23+ (` better-sqlite3 ` , the most common driver) and async (libsql/Turso/D1) Drizzle
24+ databases. The previous ` <"async"> ` pin rejected ` better-sqlite3 ` with
25+ "is not assignable", forcing ` db: any ` casts.
26+ - ** codegen-ts — generated Postgres ` Db ` type** is now the base
27+ ` PgDatabase<PgQueryResultHKT, …> ` that every PG driver extends (node-postgres,
28+ postgres.js, Neon, Vercel, pglite), not just ` NodePgDatabase ` .
29+
30+ ### Added
31+ - ** cli — verify-as-teacher:** ` meta verify ` and ` meta gen ` run an ** advisory**
32+ pass that flags hand-rolled aggregates, money-as-float, and ` CHECK (… IN …) `
33+ enums and names the construct that models them. Warnings only — never changes the
34+ exit code. Opt out with ` --no-antipatterns ` or ` META_NO_ANTIPATTERNS=1 ` (both
35+ honored on both commands).
36+ - ** agent-context skills:** a model-first / generate-first operating principle in
37+ the authoring skill, and a first-class "write your own generators" section in the
38+ codegen skill (with the accurate ` Generator ` / ` perEntity ` API).
39+
1040## [ 0.12.3] — 2026-06-26
1141
1242_ npm ` 0.12.3 ` (full lockstep across all 13 ` @metaobjectsdev/* ` publish candidates)._
0 commit comments