v1.7.2
What's Changed
Fixed
-
A field with no
labelis named by its key instead of being dropped, when
its role says no editor fills it. definition-kit 0.6 madelabelrequired
only of a field that projects intoacf.json— arole: parent,query,
global,inheritedorderivedprop has no editor to write copy for, and
inventing one was the noise that change removed.FieldsNormalizerstill required it, so every such prop was skipped with a
warning and vanished from the props table. On eprukaz2025 that was 115
fields across 32 components, all of them correctly declared — the
documentation got worse the moment the theme documented itself properly.The props table is developer-facing, so the key is a perfectly good name for
one. The role vocabulary is closed —query,global,parent,inherited,
derived— so a typo, a role removed upstream (computed), an empty string
or a non-string leaves the entry malformed and skipped exactly as before. A
field that projects — norole, orrole: field— still needs its editor
label and is still reported without one.
Pull Requests
- #103 — Name a non-projecting field by its key instead of dropping it
Full Changelog: v1.7.1...v1.7.2