Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Releases: Nukesor/pueue-lib

v0.18.1

15 Sep 17:59
8095d7b
Compare
Choose a tag to compare

[0.18.1] - 2021-09-15

Added

  • Add the PUEUE_DEFAULT_GROUP constant, which provides a consistent way of working with the "default" group.

Fix

  • Always insert the "default" group into settings.daemon.group on read.

v0.18.0

27 Jul 10:30
9c41273
Compare
Choose a tag to compare

[0.18.0] - 2021-07-27

Change

  • Make GroupMessage an enum to prevent impossible states.
  • Introduce TaskSelection enum to prevent impossible states in Kill-/Start-/PauseMessage structs.

v0.17.2

09 Jul 07:22
f3b1424
Compare
Choose a tag to compare

[0.17.2] - 2021-07-09

Fix

  • Fix default for client.restart_in_place to previous default.

v0.17.1

08 Jul 16:39
609cbdd
Compare
Choose a tag to compare

[0.17.1] - 2021-07-08

Fix

  • Add missing config default for client.status_time_format and client.status_datetime_format

v0.17.0

08 Jul 14:45
58c45fa
Compare
Choose a tag to compare

[0.17.0] - 2021-07-08

Added

  • Add config option to restart tasks with in_place by default.

Changed

Remove defaults for backward compatibility.
We broke that in the last version anyway, so we can use this opportunity and clean up a little.

v0.16.0

08 Jul 14:44
5569d83
Compare
Choose a tag to compare

[0.16.0] - 2021-07-05

This release aims to remove non-generic logic from State, that should be moved to the Pueue project.

Added

  • Add config option for datetime/time formatting in pueue status.

Changed

  • Make State::config_path public.

Removed

  • State::handle_task_failure
  • State::is_task_removable
  • State::task_ids_in_group_with_stati in favor of State::filter_tasks_of_group
  • State::save, State::backup, State::restore and all related functions.
  • State related errors from the custom Error type.

v0.15.0

03 Jul 22:00
fdc269a
Compare
Choose a tag to compare

[0.15.0] - 2021-07-03

Several non-backward compatible breaking API changes.

Changed

  • Remove tasks_of_group_in_statuses and tasks_in_statuses in favor of generic filter functions filter_tasks_of_group and filter_tasks.
  • Move TaskResult into TaskStatus::Done(TaskResult) to prevent impossible states.
  • Move enqueue_at into TaskStatus::Stashed{enqueue_at: Option<DateTime<Local>>} for better contextual data structure.

v0.14.1

28 Jun 16:59
c7712d3
Compare
Choose a tag to compare

[0.14.1] - 2021-06-21

Added

  • Messages now have PartialEq for better testability

v0.14.0

28 Jun 16:59
f2de71c
Compare
Choose a tag to compare

[0.14.0] - 2021-06-15

Changed

  • Add ShutdownType to DaemonShutdownMessage

v0.13.1

28 Jun 16:59
9e08df7
Compare
Choose a tag to compare

[0.13.1] - 2021-06-04

  • Add State::tasks_of_group_in_statuses