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
byte-identical — the whole conformance corpus is unchanged; the change is strictly
24
+
enabling.
25
+
26
+
### Fixed — `dbImport` / `dialect` are optional for a value-object-only project (#194)
27
+
28
+
A model that declares only `object.value`s generates zero database / query / route code,
29
+
yet `dbImport` and `dialect` were **required** codegen-config fields, so a
30
+
value-object-only project had to supply dead-but-mandatory placeholders to satisfy
31
+
`tsc`. They are now optional on the user config; `meta gen` fills inert defaults when they
32
+
are absent AND the model emits no DB artifacts, and throws a clear error naming the
33
+
offending entities when they are absent but the model *does* generate DB code (so a
34
+
Postgres project that forgets `dialect` gets an error, never silently-emitted sqlite).
35
+
The resolved config the generators consume still carries both as required — generated
36
+
output for every DB-generating project is unchanged.
37
+
38
+
### Added — `meta gen` records the codegen engine version and flags a change since the last run (#232)
39
+
40
+
`.metaobjects/.gen-state/` recorded per-file content hashes but not the
41
+
`@metaobjectsdev/codegen-ts`**engine version** that produced them, so a consumer who
42
+
ran `npm update && meta gen` after an engine change saw a surprising diff (or a
43
+
three-way-merge conflict) with no signal about *why* the output moved. `meta gen` now
44
+
stamps the engine version alongside the hashes (a separate `.engine.json` — it never
45
+
participates in the merge decision) and, when the recorded version differs from the
46
+
installed one, prints one informational line before writing: `codegen engine
47
+
<old> → <new> since last gen — generated output may differ; see CHANGELOG.` Purely
48
+
informational, never blocks; a pre-`0.20.x` snapshot (or a fresh project) has no stamp
49
+
and warns nothing. No change to generated output.
50
+
8
51
## [7.20.12] — 2026-08-02
9
52
10
53
**Maven-only PATCH** — Maven Central `7.20.12` (npm/PyPI/NuGet unchanged at `0.20.11`; the fix is Java-only, so only the Maven line moves — Maven now runs one patch ahead of the shared `20.11`, mirroring how npm runs a patch ahead with npm-only fixes). Fixes **[#233](https://github.com/metaobjectsdev/metaobjects/issues/233)**: a multi-module Maven reactor building `metaobjects-maven-plugin` in **parallel** (`mvn -T<N>`) deadlocked/hung; the serial default (`-T1`) always worked. Two compounding causes, both fixed:
0 commit comments