Repository navigation
v1.1.1
Added
- Upgrade Executor: New
execute_upgrade()function for safely executing upgrade commands- Automatic handling of compound commands with
&&(e.g.,brew update && brew upgrade pkg) - Proper command parsing using
shlex.split()to prevent shell injection - Configurable output display and timeout settings
- Returns (success, error_message) tuple for easy error handling
- Automatic handling of compound commands with
- UpgradeError: New exception class for upgrade failures with command details
- execute_upgrade_raise(): Convenience wrapper that raises exceptions instead of returning tuples
Changed
- Exported upgrade utilities from main package:
execute_upgrade,execute_upgrade_raise,UpgradeError
Full changelog: https://github.com/HenriquesLab/henriqueslab-updater/blob/main/CHANGELOG.md