pueue/CHANGELOG.md

95 lines
3.8 KiB
Markdown
Raw Normal View History

# v0.5.0
**Features:**
2020-05-12 18:25:08 +00:00
- Groups! Tasks can now be assigned to a group.
Each group acts as their own queue and each group has their own setting for parallel task execution.
2020-05-13 18:06:12 +00:00
Groups can also be paused/resumed individually.
2020-05-13 20:54:59 +00:00
- Users can now specify a custom callback that'll be called whenever tasks finish.
**Changes:**
- `log` now also works on running and paused tasks. It thereby replaces some of `show`'s functionality.
- Rename `show` to `follow`. The `follow` is now only for actually following the output of a single command.
**Improvements:**
2020-05-13 20:54:59 +00:00
- Environment variable capture. Tasks will now start with the variables of the environment `pueue add` is being called in.
- `follow` (previously `show`) now also reads directly from disk, if `read_local_logs` is set to `true`.
- The `--all` flag now affects all groups AND the default queue for `kill`, `start` and `pause`.
- Added `--group` flag for `status`. This will only print tasks of a specific group
2020-05-14 12:54:28 +00:00
- Add new flags `--default` to `kill`. With this flag only tasks in the default queue will be affected.
2020-04-30 19:09:24 +00:00
# v0.4.0
**Features:**
2020-05-12 18:25:08 +00:00
- Dependencies! This adds the `--after [ids]` option.
Task with this option will only be started, if all specified dependencies successfully finish.
2020-04-30 19:09:24 +00:00
Tasks with failed dependencies will fail as well.
2020-05-01 14:25:42 +00:00
- New state `FailedToStart`. Used if the process cannot be started.
2020-04-30 19:09:24 +00:00
- New state `DependencyFailed`. Used if any dependency of a task fails.
- New config option `read_local_logs`. Default: `true`
We assume that the daemon and client run on the same machine by default.
This removes the need to send logs via socket, since the client can directly read the log files.
Set to `false` if you, for instance, use Pueue in combination with SSH port forwarding.
2020-04-30 19:09:24 +00:00
**Improvements:**
2020-05-01 14:25:42 +00:00
- Process log output is no longer permanently stored in memory. This significantly reduced RAM usage for large log outputs.
2020-04-30 19:09:24 +00:00
- Process log output is compressed in-memory on read from disk. This leads to reduced bandwidth and RAM usage.
**Changes:**
2020-05-01 14:25:42 +00:00
- Pueue no longer stores log output in its backup files.
2020-04-30 19:09:24 +00:00
# v0.3.1
2020-04-10 11:37:13 +00:00
**Fixes:**
- Set `start` for processes. (Seems to have broken in 0.2.0)
2020-03-28 00:29:02 +00:00
# v0.3.0
2020-03-27 23:59:16 +00:00
**Features:**
- `pause_on_failure` configuration flag. Set this to true to pause the daemon as soon as a task fails.
2020-05-01 14:25:42 +00:00
- Add `--stashed` flag to `restart`.
- Add `-p/--path` flag to allow editing of a stashed/queued task's path.
- Better network utilization for `pueue log`.
2020-03-27 23:59:16 +00:00
2020-03-27 12:36:05 +00:00
**Fixes:**
- Respect `Killed` tasks on `pueue clean`.
2020-04-03 14:56:00 +00:00
- Show `Killed` status in `pueue log`.
- Fix `pueue log` formatting.
2020-05-01 14:25:42 +00:00
- Show daemon status if no tasks exist.
- Better error messages when daemon isn't running.
2020-03-27 12:36:05 +00:00
# v0.2.0
**Features:**
- New `--delay` flag, which delays enqueueing of a task. Can be used on `start` and `enqueue`.
- `--stashed` flag for `pueue add` to add a task in stashed mode.
**For Packager:**
- Generating completion files moved away from build.rs to the new `pueue completions {shell} {output_dir}` subcommand.
This seems to be the proper way to generate completion files with clap.
There is a `build_completions.sh` script to build all completion files to the known location for your convenience.
**Bug fixes:**
2020-05-01 14:25:42 +00:00
- Fix `edit` command.
- Several wrong state restorations after restarting pueue.
2020-02-05 21:26:15 +00:00
# v0.1.6
2020-05-01 14:25:42 +00:00
- [BUG] Fix wrong TCP receiving logic.
- Automatically create config directory.
- Fix and reword cli help texts.
2020-02-05 21:26:15 +00:00
2020-02-02 21:47:11 +00:00
# v0.1.5
2020-05-01 14:25:42 +00:00
- Basic Windows support.
- Integrate completion script build in `build.rs`.
2020-02-02 21:47:11 +00:00
# v0.1.4
- Dependency updates
2020-01-29 19:35:31 +00:00
# v0.1.3
2020-05-01 14:25:42 +00:00
- Change table design of `pueue status`.
2020-01-29 19:35:31 +00:00
# v0.1.2
2020-01-28 20:14:02 +00:00
- Handle broken UTF8 in `show` with `-f` and `-e` flags.
2020-05-01 14:25:42 +00:00
- Allow restart of `Killed` processes.
2020-01-28 20:14:02 +00:00
2020-01-27 23:02:07 +00:00
# v0.1.1
2020-05-01 14:25:42 +00:00
- Replace prettytables-rs with comfy-table.
- Replace termion with crossterm.
- Add --daemonize flag for daemon to daemonize pueued without using a service manager.
2020-01-27 23:02:07 +00:00
- Add daemon-shutdown subcommand for client for killing a manually daemonized pueued.