Skip to content

pueue-lib-v0.19.0

Compare
Choose a tag to compare
@Nukesor Nukesor released this 30 Jan 14:43
· 716 commits to main since this release
700943a

[0.19.0] - 2022-01-30

Added

  • Add optional group field to CleanMessage.
  • Add optional parallel_tasks field to Group create message.
  • Introduced a Group struct, which is used to store information about groups in the State.
  • Added the shared.runtime_directory config variable for any runtime related files, such as sockets.
  • XDG_CONFIG_HOME is respected for Pueue's config directory #243.
  • XDG_DATA_HOME is used if the pueue_directory config isn't explicitly set #243.
  • XDG_RUNTIME_DIR is used if the new runtime_directory config isn't explicitly set #243.
  • Add lines to LogRequestMessage #270.
  • Add a new message type Message::EditRestore, which is used to notify the daemon of a failed editing process.

Removed

  • Remove the settings.daemon.default_parallel_tasks setting, as it doesn't have any effect.

Changed

  • Switch from async-std to tokio.
  • Update to rustls 0.20
  • Breaking: Logs are now no longer split into two files, for stderr and stdout respectively, but rather a single file for both.
  • Breaking: The unix socket is now located in the runtime_directory by default #243.
  • Breaking: Shared::pueue_directory changed from PathBuf to Option<PathBuf>.
  • Breaking: Settings::read_with_defaults no longer a boolean as first parameter.
    Instead, it returns a tuple of (Settings, bool) with the boolean indicating whether a config file has been found.
  • Breaking: The type of State.group changed from BTreeMap<String, GroupStatus> to the new BTreeMap<String, Group> struct.
  • Breaking: The GroupResponseMessage now also uses the new Group struct.