kongctl Release Highlights
Welcome to kongctl v0.5.0! This release brings powerful new CLI capabilities, expanded declarative workflow support, and meaningful quality-of-life improvements for everyday Kong Konnect users.
✨ What's New
kongctl listen — Real-time Konnect Audit-Log Streaming
A brand-new listen command lets you subscribe to and stream Audit-Log events from Konnect in real time, giving you live visibility into Konnect activity, authorizations, API access, and more
kongctl listen --help
kongctl tail --helpkongctl lint — Validate Declarative Config
A new lint command validates your declarative configuration files before you apply them, catching errors early in the workflow.
kongctl lint -f config.yamlkongctl patch file — File-based Patching
Apply partial updates to resources from a file, complementing the existing inline patch support.
kongctl patch file -f patch.yamlkongctl delete -f — Bulk Declarative Cleanup
You can now use -f (file input) with the delete command to remove all resources described in a declarative input file — enabling clean, repeatable teardown of environments.
kongctl delete -f config.yamlExpanded --jq Filter Support
The --jq flag for filtering output is now available across all get and list commands, making it easier to extract and script against specific fields.
kongctl get control-planes --jq '.items[].name'🐛 Fixes & Improvements
--jqwith empty arrays: Fixed a bug where jq filters incorrectly returnednullfor empty array responses (#461).plancommand flags: The-o/--outputflag is now correctly rejected on theplancommand, with improved error messages and examples (#450).- Actionable arg errors:
plan,diff, andsyncnow emit clear, actionable errors when unexpected positional arguments are passed (#451). - TUI theme cycling: Real-time theme cycling in the TUI viewer improves terminal compatibility, especially in non-standard terminal emulators (#449).
- Improved API request/response logging: More structured and readable logs for HTTP interactions when using
--log-level debug/trace(#457). - Declarative API optimization: Reduced API calls in declarative sync operations for faster and more efficient
plan/applyworkflows (#464). - Dependency updates:
charmbracelet/bubblesv1,golang.org/x/term,golang.org/x/text.
📚 Docs & DX
- Developer site documentation is now prominently referenced in the main README (#469).
AGENTS.mdupdated with flag-binding patterns for contributors (#448).- Fixed incorrect
-oflag usage inpatchcommand examples (#440). - Fixed the deck integration example (#441).
🔗 Commit References
Features
a4aafe1Addmake modtarget for dependency management (#422)386b0c4Add kongctl patch file command (#436)e2e2b72Feat: Broadens support for --jq filters on get & list commands (#444)2747d7cFeat: Improves logging for API request/response data (#457)4218155feat(view): add real-time theme cycling in TUI to improve terminal compatibility (#449)91b88f0Feat: Event Gateway Listeners (#365)a1e7911Feat: Adding kongctl listen feature (#435)0af8d47Add kongctl lint command (#443)af4dc24Feat: Addskongctl delete -fsupport enabling broad resource cleanup from declarative inputs (#463)654acb4Feat: Improving kongctl release workflow (#472)
Fixes
fd7ee37Fix: Quick fix to the deck integration example (#441)fa60691fix(deps): update module github.com/charmbracelet/bubbles to v1 (#453)81d18b2fix(deps): update module golang.org/x/term to v0.40.0 (#459)9ef5b9bfix(deps): update module golang.org/x/text to v0.34.0 (#460)4ddff53fix: jq filter returns null for empty array responses (#461)905d06bfix: reject -o/--output flag in plan command, fix misleading examples, and update e2e scenarios (#450)e788b01Fix: Linter error on tail stream and fix for Makefile to match CI (#471)
Other Changes
3fe2bfcConfigure weekly repo status to categorize discussions as Announcements (#426)923f96fchore(deps): pin dependencies (#437)0031161Refactor tableview: reduce duplication, simplify control flow, optimize sorting (#434)daa6e3aRefactor verb switch statements to eliminate exhaustive matching overhead (#439)f278f1erefactor: introducing base resource and generic methods to reduce boilerplate code (#411)a2c29a0refactor: introduced registry pattern for resources (#414)0dbef34Upgrade go version and golangci lint (#446)4f6f559refactor: Cleanup some command configurations (#447)b83a882docs: Document flag binding pattern in AGENTS.md (#448)30c6c75cmd: reject positional args on plan/diff/sync with actionable error (#451)f854673refactor: simplify ShouldUseColor by merging duplicate cases (#458)a355706cmd: simplify sync command context setup for consistency with plan/diff (#466)ca8b56fDocs: Mention developer site documentation in main README (#469)2078389Task: Optimizes declarative Konnect API utilization (#464)
For full details, review the generated changelog entries below.
Full Changelog: v0.4.2...v0.5.0
Generated by Release