Skip to content

v0.6.0

Choose a tag to compare

@woduda woduda released this 10 Jun 09:11
· 6 commits to main since this release

Added

  • OptionGroupDef DTO — declares a CiviCRM option group together with the values it should contain; parsed from the optionGroups mapping section in YAML
  • optionGroups section in SchemaDefinition and SchemaApplier — nested dict syntax (groupName → list<{name, label?}>); the option group itself is created via OptionGroup.create if it does not exist, then each value is ensured via the existing OptionValue get-or-create path; dry-run and idempotency are fully supported
  • resources/schema/example.yaml updated with an optionGroups example

Fixed

  • optionGroups section in YAML was silently ignored by SchemaDefinition::fromArray()