Repository navigation
v0.5.0
Immutable
release. Only release title and notes can be modified.
CONGA v0.5.0 renames the group help-heading tag to section and rejects flag groups and tags that previously had no effect.
⚠ Breaking Changes & Migration
grouptag renamed tosection(#91, closes #87):- Rename
group:"..."tosection:"..."on flags, commands, and built-in command fields.groupis now an unknown tag and fails schema build withErrSchemaunless allowed withapp.AllowTags("group").
- Rename
- Flag groups that had no effect are rejected (#91):
- A one-member
xororandgroup, a one-memberoneofgroup on a flag other than aCounter, and a flag in both an exclusive (xororoneof) group and anandgroup fail schema build withErrSchema. - Remove the group tag, add the missing members, or use
RequiredFlaginstead of a one-memberoneof.
- A one-member
- CONGA tags on plain fields are rejected (#91):
- CONGA tags on fields that are not containers used to be ignored. They now fail schema build with
ErrSchema. Remove the tags, or make the field a container.
- CONGA tags on fields that are not containers used to be ignored. They now fail schema build with
📚 Documentation
- website: Document flag grouping, built-in short flags, and help wrapping (2d443b4).
Full Changelog: v0.4.0...v0.5.0
Requirements: Go 1.27+ · Docs · pkg.go.dev