Skip to main content
← All Internal Releases

nanx v0.2.0-alpha.23

Internal
2025-12-29

Release Date: 2025-12-29

Previous Version: v0.2.0-alpha.22

This release introduces version checking capabilities to the nanx CLI, allowing users to verify their current version and receive notifications when updates are available. The implementation adds a custom --version flag handler that integrates with the nanx self-update infrastructure.

Features

  • Version flag with update availability check: Added a custom --version handler that displays the current nanx version and checks for available updates. When invoked, nanx will query the latest version from the release channel and inform users if a newer version is available, encouraging them to run nanx self update.
- Implementation includes new NANX_VERSION constant in apps/nanx/main.rs for centralized version management

- Version check logic integrated with existing nanions::nanx::self_cmd module

- Updated command handlers to accept current_version parameter for proper version comparison

- Provides user-friendly output indicating update availability status

Technical Changes

  • Version constant consolidation: Introduced NANX_VERSION constant in the main application module to serve as the single source of truth for version information, ensuring consistency across version display and update checks
  • Self-update command refactoring: Modified nanions::nanx::self_cmd module to accept current version as a parameter, improving modularity and testability of version comparison logic

Statistics

MetricValue
Commits2
Files Changed2
Lines+42 / -4
Issues Closed0

Contributors

NameCommitsLines
VivinMeth ([email protected])2+42 / -4