github txlog/agent v1.9.0

8 hours ago

🎉 What's New

New verify Command

This release introduces the txlog verify command, a powerful new tool for validating data integrity between local DNF transaction history and the Txlog server.

Features:

  • Detects transactions that exist locally but haven't been synchronized to the server
  • Verifies package-level integrity for all synced transactions
  • Reports missing or extra transaction items (packages)
  • Exits with non-zero status code when issues are detected, making it suitable for CI/CD pipelines

Usage:

txlog verify

If the verify command detects issues, run txlog build to synchronize the missing data.

Enhanced User Interface

All commands now feature improved visual output with colors and emoji icons for better readability:

  • txlog build: Enhanced progress indicators with icons (🔍, 📥, ⚙️) and color-coded success/error messages
  • txlog version: Redesigned output with better formatting, update notifications, and visual indicators
  • Clear visual distinction between different types of messages (success ✓, error ✗, info ℹ, warning ⚠)

NO_COLOR Support:
All commands respect the NO_COLOR environment variable (no-color.org). Set NO_COLOR=1 to disable colors and emojis for logging, CI/CD pipelines, or terminals without color support.

🔒 Security Improvements

This release includes important security hardening:

  • Fixed command injection vulnerability in the binaryInstalled function by replacing exec.Command("which", ...) with the safer exec.LookPath
  • New vulnerability scanning workflow using govulncheck that automatically scans for dependency vulnerabilities on every push and pull request
  • Documentation updates with security best practices, including recommendations to set /etc/txlog.yaml permissions to 600

🛠️ Maintenance & Dependencies

  • Updated Go version to 1.23.4 in build workflow
  • Updated GitHub Actions to use latest checkout and setup-go versions
  • Updated dependencies for go-colorable and afero packages
  • Various code quality improvements and formatting fixes

Full Changelog: v1.8.0...v1.9.0

Don't miss a new agent release

NewReleases is sending notifications on new releases.