Repository navigation
v0.3.0
Immutable
release. Only release title and notes can be modified.
CONGA v0.3.0 replaces ConfigLoader with the Bootstrapper lifecycle hook and adds completion toggles for aliases and descriptions.
🚀 Highlights
Bootstrapperlifecycle hook:Bootstrap(ctx, *conga.Bootstrap)runs before config resolution. It can load.envfiles from flag-derived paths and supply aConfigDocumentthat overlays file configuration key by key (#70).- Completion toggles:
CONGA_COMPLETION_ALIASESandCONGA_COMPLETION_DESCRIPTIONScontrol whether aliases and descriptions appear, in every shell (#76).
⚠ Breaking Changes & Migration
-
ConfigLoaderreplaced byBootstrapper(#70):conga.ConfigLoader,ConfigLoaderFunc, andConfigContextare removed. ImplementBootstrap(ctx context.Context, b *conga.Bootstrap) erroron the root command, build the sameConfigDocument, and pass it tob.SetConfig.b.LookupEnvandb.PathreplaceConfigContext.LookupEnvandCommandPath.- A
ConfigLoaderreplaced configuration file resolution.SetConfigoverlays file configuration key by key instead, so files found through decoders and search paths now load as well.
// Before app.ConfigOptions(conga.ConfigLoader(func(ctx conga.ConfigContext, root *CLI) (*conga.ConfigDocument, error) { return loadDocument(root) })) // After func (c *CLI) Bootstrap(ctx context.Context, b *conga.Bootstrap) error { document, err := loadDocument(c) if err != nil { return err } b.SetConfig(document) return nil }
✨ Features
- completion: Add the
CONGA_COMPLETION_ALIASESandCONGA_COMPLETION_DESCRIPTIONStoggles, mark aliases on the wire, and honour the zshverboseandshow-aliasesstyles (#76). (Renamed after the application inv0.4.0.)
🐛 Bug Fixes
- completion: Honour the zsh
list-separatorstyle inlist-colorspatterns, so both columns keep their colours (#77).
📚 Documentation
- website: Reframe the bootstrap docs as domain document loading (#78).
Full Changelog: v0.2.0...v0.3.0
Requirements: Go 1.27+ · Docs · pkg.go.dev