cargo pueue 0.10.0

latest releases: 3.4.1, 3.4.0, 3.3.3...
3 years ago

[0.10.0] - 29-12-2020

This release adds a lot of breaking changes!
I tried to clean up, refactor and streamline as much code as possible.

v0.10.0 aims to be the last release before hitting v1.0.0.
From that point on I'll try to maintain backward compatibility for as long as possible (v2.0.0).
Please read this changelog carefully.

Changed

  • Use TLS encryption for all TCP communication.
  • Updated Crossterm and thereby bump the required rust version to 1.48.
  • Extract the shared secret into a separate file.
    This will allow users to publicly sync their config directory between machines.
  • Change default secret length from 20 to 512 chars.
  • Any unix socket code or configuration stuff has been removed, when building for Windows.
  • Lots of internal code cleanup/refactoring/restructuring.
  • Exit client with non-zero exit code when getting a failure message from the daemon.
  • The group list output has been properly styled.
  • Use unix sockets by default on unix systems.

Added

  • Add the shared.host configuration variable.
    This finally allows to accept outside connections, but comes with some security implications.
  • Create a self-signed ECDSA cert/key for TLS crypto with rcgen.
  • Error messages have been improved in many places.
  • daemon.pause_all_on_failure config, which actually pauses all groups as soon as a task fails.
  • daemon.pause_group_on_failure config, which only pauses the group of the affected task instead of everything.
  • Users can add some additional information to tasks with the task add --label $LABEL option, which will be displayed when calling pueue status.
  • --escape flag on the add subcommand, which takes all given Parameter strings and escapes special characters.
  • Remove --task-ids for wait. Now it's used the same way as start/kill/pause etc.

Removed

  • Removed the daemon.pause_on_failure configuration variable in favor of the other two previously mentioned options.
  • Removed the --port and --unix-socket-path cli flags on client in favor of the --config flag.
  • Removed the --port flag on the daemon in favor of the --config flag.

Fixed

  • Properly pass --config CLI argument to daemonized pueued instance.
  • The --default flag on the kill command has been removed, since this was the default anyway.
    That makes this command's behavior consistent with the start and pause command.
  • Allow the old kill [task_ids...] behavior.
    You no longer need the -t flag to kill a tasks.
    This broke in one of the previous refactorings.

Internal

  • The default group is now an actual group.

Don't miss a new pueue release

NewReleases is sending notifications on new releases.