Skip to main content
← All Internal Releases

nanx v0.2.0-alpha.19

Internal
2025-12-29

Release Date: 2025-12-29

Previous Version: v0.2.0-alpha.18

This release introduces automatic background update checking functionality for nanx, allowing the application to periodically check for new versions and optionally notify users when updates are available. The feature includes configurable caching to minimize network requests and user-controllable settings for update frequency.

Features

Background Update Checking with Caching

Added a comprehensive background update checking system that periodically queries for new nanx versions without blocking user operations:

  • Configuration Model (libs/nanions): Introduced UpdateCheckConfig with three key settings:
- enabled: Toggle update checking on/off (default: true)

- frequency_hours: Configurable check interval in hours (default: 24 hours)

- notify: Controls whether users receive update notifications (default: true)

  • Config Inheritance (libs/nanions): Implemented proper config merging logic for update check settings, ensuring user preferences override defaults while maintaining fallback behavior for unset values

  • Update Service (apps/nanx): Created background service that:
- Respects configured check frequency using time-based caching

- Caches update check results to minimize redundant API calls

- Runs asynchronously without impacting application performance

- Provides optional user notifications when new versions are detected

This feature enables nanx to keep users informed of available updates while providing full control over the checking behavior through configuration.

Statistics

MetricValue
Commits2
Files Changed2
Lines+40 / -38
Issues Closed0

Contributors

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