Skip to main content
← All Internal Releases

nanx v0.2.0-alpha.24

Internal
2025-12-29

Release Date: 2025-12-29

Previous Version: v0.2.0-alpha.23

Summary

This release significantly expands nanx's configuration management capabilities with a comprehensive suite of CLI commands for granular config operations. The new config subcommands provide developers with flexible tools to view, edit, and manage configuration at both global and local levels, with support for config inheritance and interactive editing workflows.

Features

Enhanced Configuration Management System

  • Comprehensive config subcommands: Added show, edit, validate, list, where, get, set, and unset subcommands to nanions::nanx::config::config_cmd, enabling fine-grained control over configuration management
  • Config inheritance support: Implemented configuration inheritance system in nanions::nanx::config::inheritance allowing merged views of global and local configurations with proper precedence resolution
  • Scope-aware operations: All config commands support --global, --local, and --merged flags to operate on different configuration scopes
  • Interactive editor integration: Implemented automatic editor detection with fallback chain ($VISUAL, $EDITOR, platform defaults) for seamless config editing experience
  • Config validation: Built-in validation command to verify configuration file integrity before applying changes
  • Config introspection: where subcommand reveals actual file paths for global and local config files, useful for debugging and manual intervention
  • Key-value operations: Granular get, set, and unset operations for individual configuration keys without opening full editor

Technical Implementation Details

  • All config operations properly handle TOML serialization/deserialization
  • Config file locations follow platform conventions (XDG on Linux, standard paths on macOS/Windows)
  • Inheritance resolution prioritizes local over global settings with clear merge semantics
  • Editor spawning includes proper error handling for missing or failed editor processes

Statistics

MetricValue
Commits3
Files Changed2
Lines+23 / -7
Issues Closed0

Contributors

NameCommitsLines
VivinMeth ([email protected])3+23 / -7