You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twelve @metaobjectsdev/* packages bumped from 0.7.0-rc.1 to 0.7.0-rc.2:
Tier 0 metadata, render
Tier 1 codegen-ts, runtime-ts, migrate-ts, sdk, runtime-web
Tier 2 codegen-ts-react, codegen-ts-tanstack, react
Tier 3 tanstack
Tier 4 cli
The [Unreleased] CHANGELOG section is cut into [0.7.0-rc.2] — 2026-05-27.
Highlights since rc.1:
Added
- entityFile({ allowlists: false }) opt-in for Worker/Lambda consumers
- Loader error envelope + source-on-node (ADR-0009) — metadata.ParseError + LoadResult.warnings shape change is BREAKING
- outputParser() stock generator for template.output → typed Zod parser (ADR-0010)
- meta verify extension for template.output drift
- source.rdb discriminator filters entity-file emission — metaobjects without a writable source.rdb child now skip the Drizzle table + Insert/Update + filter allowlists + constants and emit only the structural interface + InsertSchema. Eliminates dead generated tables for value objects, prompt payloads, and any other in-memory shape
Changed
- BREAKING (codegen-ts): queries.ts CRUD helpers take db as first parameter (ADR-0008)
- BREAKING (metadata): ParseError + LoadResult.warnings envelope shape
Fixed
- cli now pulls runtime-ts transitively (resolved a first-Worker-consumer friction)
- meta migrate --dialect d1 no longer fails against wrangler's local D1 sandbox
- field.enum columns emit text({ enum: [...] as const }) — Drizzle row-type narrowing
- field.object isArray:true objectRef:RefName emits text({mode:"json"}).$type<RefName[]>() via ts-poet imp() cross-module hoist
Also migrates 3 legacy cli test fixtures (trainer-website-meta, multi-package-meta, unresolved-super) to declare source.rdb children on every object.entity — needed for the new source-discriminator filter to recognize them as table-backed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments