Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

## [Unreleased]

## [2.4.1]

### Changed
- `list` command output now marks copy/symlink commands that use sudo with a `(sudo)` annotation, matching what the TUI already showed

### Performance
- Pipe shell scripts directly to bash/zsh stdin instead of writing, reading, and executing a temp file (PowerShell still uses `-File` and a temp file)
- Avoid allocating a `HashSet<usize>` per TUI frame in the task list render
- Borrow task names on the no-dependency fast path of `topological_sort` instead of cloning
- Skip cloning `AppConfig` into `TaskRunner`; move ownership instead
- Use `mem::take` in interactive task selection to avoid re-cloning selected names
- Return an iterator from `RunArgs::all_command_strings`; callers no longer force a `Vec<&str>` allocation
- Use a `HashSet` for selected-task lookup in `requires_sudo`

### Refactored
- Extract `config::resolve_config_dir`, `utils::process::stream_and_wait`, and `utils::path::walk_relative` helpers, removing duplicated logic across `main.rs`, `setup.rs`, `run.rs`, `clone.rs`, `copy.rs`, and `symlink.rs`
- Unify `CommandEntry::Display` with each executor's `description()` via per-args `Display` impls

## [2.4.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "machine_setup"
version = "2.4.0"
version = "2.4.1"
edition = "2021"
description = "A CLI tool with TUI for automating machine configuration and setup tasks"
license = "MIT OR Apache-2.0"
Expand Down
Loading