Repository navigation
v1.1.0
Kontext v1.1.0 Release Notes
Overview
This release of Kontext brings significant improvements to the user interface, architecture, and overall usability. The primary focus has been on enhancing the user experience when working with Kubernetes contexts and namespaces.
New Features
UI Improvements
- New UI Package: Centralized all UI-related code into a dedicated package for better maintainability
- Colorized Output: Enhanced color scheme with consistent styling for all messages
- Informative Icons: Added icons for success (✓), error (✗), warning, and notes (ℹ)
- Better Feedback: Clearer success, error, and informational messages
Namespace Management
- Improved
-nFlag Handling: Better handling of namespace selection when using the-nflag with switch commands - Current Namespace Prioritization: Namespace selectors now prioritize the current namespace for easier selection
- Namespace Validation: Added validation to detect when specified namespaces don't exist in a context
Context Management
- Smart Context Sorting: Context selectors now prioritize the current context in lists
- Enhanced Selection UI: Better visual indicators for current context/namespace in selectors
- Improved List Formatting: More readable output when listing contexts
Usability Enhancements
- Consistent Terminal Output: Standardized formatting for all terminal messages
- Interactive Selector Improvements: Better cursor positioning in interactive selection menus
- Helpful Notes: Added informative notes for various operations and edge cases
- Empty List Handling: Better handling when no namespaces are available for a context
Bug Fixes
- Fixed issue with namespace selection when using the
-nflag - Fixed cursor positioning in context and namespace selectors
- Improved handling of edge cases like missing or invalid namespaces
Internal Improvements
- Refactored Architecture: Better separation of concerns between UI and functionality
- Enhanced Error Handling: More robust error handling throughout the application
- Improved Documentation: Updated help text with clear examples for all commands
Getting Started
To install or upgrade:
# From source
go install github.com/user-cube/kontext@latest
# Or download the binary from the releases pageExample Usage
# Show interactive context selector
kontext
# Switch context and select namespace
kontext switch my-context -n
# List all available contexts
kontext list
# Show current context and namespace
kontext currentWhat's Changed
- Refactor UI by @user-cube in #2
- Update build information by @user-cube in #3
Full Changelog: v1.0.0...v1.1.0