pueue-lib-v0.19.0
Nukesor
released this
30 Jan 14:43
·
716 commits
to main
since this release
[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 theState
. - 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 thepueue_directory
config isn't explicitly set #243.XDG_RUNTIME_DIR
is used if the newruntime_directory
config isn't explicitly set #243.- Add
lines
toLogRequestMessage
#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 fromPathBuf
toOption<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 fromBTreeMap<String, GroupStatus>
to the newBTreeMap<String, Group>
struct. - Breaking: The
GroupResponseMessage
now also uses the newGroup
struct.