Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 19:19
Immutable release. Only release title and notes can be modified.
f4b993f

CONGA v0.7.0 removes the blank-field form of envprefix and lets completion-enabled applications have names that start with a digit.

⚠ Breaking Changes & Migration

  • Blank-field envprefix removed (#106, closes #100):
    • _ struct{} `envprefix:"APP_"` fails schema build with ErrSchema. Set the root prefix with app.EnvPrefix("APP_"), and a subcommand's prefix with an envprefix tag on its Command[T] field.
    • A subcommand envprefix replaces the inherited prefix rather than extending it. This was already the behaviour; the docs now say so.

✨ Features

  • completion: A derived completion prefix that would start with a digit gains a leading underscore instead of failing at startup, so 7z reads _7Z_COMPLETION_DESCRIPTIONS. An explicit conga.CompletionEnvPrefix that starts with a digit is still rejected (#104, closes #102).

📚 Documentation

  • website: Clarify that App.EnvPrefix does not apply to Features containers (#107).

Full Changelog: v0.6.0...v0.7.0

Requirements: Go 1.27+ · Docs · pkg.go.dev