Skip to content

0.26.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Oct 03:20
· 10 commits to main since this release
aaba6d2

Added

  • YAML set matches or creates an item in an array of objects — the last set gap. The same
    command and $elemMatch overlay shape as JSON (--match key=Rules --match role=Admin --set enabled=true writes a patch, never an array position), resolved at merge time against the
    document as merged so far, with the same upsert, ambiguity and same-item rules
    (YamlElemMatchResolver, ported from JsonElemMatchResolver). One deliberate difference:
    conditions compare by text, not type — an unquoted YAML scalar's type depends on the reader, so
    enabled=true matches both enabled: true and enabled: "true". Values set writes follow
    YAML's value-typing rule. See docs/FIELD_AUTHORING_DESIGN.md's "YAML array-of-objects matching".