Skip to main content
← All Internal Releases

nanx v0.4.2

Internal
2026-01-08

Release Date: 2026-01-08

Previous Version: v0.4.1

This release focuses on enhancing the changelog generation capabilities with authenticated screenshot capture support using OpenCode and Playwright, along with improvements to the self-update mechanism's elevated permissions detection. The release includes significant internal refactoring and configuration enhancements.

Features

Authenticated Screenshot Capture for Changelogs

  • OpenCode + Playwright Integration: Added comprehensive support for capturing authenticated screenshots of issue pages during changelog generation. This enables visual documentation of changes directly from issue trackers.
- nanions::repos::repo_config::ScreenshotAuthConfig - New authentication configuration structure with environment variable interpolation support for securely managing login credentials

- nanions::repos::release::changelog::screenshots - Implemented OpenCode-based screenshot capture system with automatic authentication flow

- Supports secure credential management through environment variables (e.g., ${ENV:LINEAR_EMAIL}, ${ENV:LINEAR_PASSWORD})

- Configurable screenshot parameters including viewport size, wait conditions, and output paths

- Automatic browser session management with proper cleanup

Bug Fixes

Self-Update Permissions Detection

  • Improved Elevated Permissions Check: Enhanced detection of when elevated permissions are required for self-update operations, particularly for read-only install locations
- nanions::nanx::self_cmd::update::installer::needs_elevated_permissions() - Added parent directory write test to accurately detect when installations are in protected locations (e.g., /usr/local/bin)

- apps::nanx-installer::install.sh - Set root ownership and appropriate permissions for system-wide installations to ensure consistent permission requirements

- Fixes false negatives where the tool would attempt updates without sufficient permissions, resulting in failed updates

Technical Changes

Configuration Enhancements

  • Extended repository configuration schema to support screenshot capture settings
  • Added structured authentication configuration with support for various auth methods
  • Implemented environment variable interpolation for sensitive configuration values

Code Quality

  • Formatting: Applied comprehensive Rust formatting across the codebase using rustfmt
  • Improved code organization in the nanions library and nanx-dev application

Build and Release

  • Updated release process and version metadata

Statistics

MetricValue
Commits4
Files Changed34
Lines+3171 / -610
Issues Closed0

Contributors

NameCommitsLines
VivinMeth (vivinmeth@surkyl.com)4+3171 / -610