Skip to content

Version 2.1.0

Choose a tag to compare

@swaritnarang swaritnarang released this 23 Jul 20:53
· 28 commits to main since this release

New Features

  • Top Process Monitoring in Dashboard - The live dashboard now displays real-time top CPU and memory processes alongside system usage metrics
  • File Comparison System - Compare system specifications between JSON and CSV export files to track hardware changes over time
  • Dedicated File Module - File operations (export and comparison) moved to a separate statz.file module for better organization

Improvements

  • Enhanced Security - Internal platform-specific files moved to internal/ folder to reduce direct access
  • Fixed CLI Issues - Resolved broken CLI behavior for statz --specs and statz --usage commands when used without component flags
  • Better Error Handling - Improved error handling and graceful failure management across all functions

Architecture Changes

  • Modular Structure - File export and comparison functionality separated into dedicated file.py module
  • Dashboard Enhancement - Live dashboard now shows three side-by-side tables: system usage, top CPU processes, and top memory processes
  • CLI Robustness - Fixed import errors and function references that caused CLI crashes

Technical Details

  • Export functions moved from stats.py to file.py
  • New compare() function supports JSON-to-CSV and CSV-to-JSON comparisons
  • Dashboard layout improved with Rich Columns for better visualization
  • Internal cross-platform modules reorganized for security

Breaking Changes

  • export_into_file() moved from statz.stats to statz.file
  • Import statements for file operations need to be updated

Full Changelog: v2.0.1...v2.1.0