- Log warnings about unknown fields when deserializing the config, letting the user know immediately that the field is invalid. (@0xangelo)
- Automatically reap zombie(terminated) processes of spawned commands by ourselves, as it may not be reaped in some environments
- stdin, stdout and stderr of the parent process(
uair
) are no longer inherited by the spawned commands
- New
uairctl
flag forlisten
subcommand:-e
or--exit
. Allows to output remaining time and exit the listening instance immediately.
uair
now returns exit code 1 on failure.- Fixed building with rust version >= 1.8.0.
Fixed version mismatch in Cargo.lock.
- New
uairctl
subcommand:listen
. Allows to output time in the same manner as that ofuair
and hence allowing multiple synchronized timers. - New
uair
config session property:overrides
. Allows to create named overrides which can be optionally specified during invocation oflisten
. Overrides allow the listening instance to output time in a different format than that of the main instance. - New
uairctl
flag forlisten
subcommand:-o
or--override
. Allows to specify a named override created inuair
config. - New
uair
config session propery:id
. Allows to uniquely identify each session. - New
uairctl
subcommand:jump
. Allows to directly jump to a session with a given id. - New
uairctl
subcommand:reload
. Allows to reload the config file. - New
uair
flag:-l
or--log
. Specifies the path for a log file. - New
uair
flag:-q
or--quiet
. Allows to runuair
without writing to standard output. - New
uair
flag:-v
or--version
. Displays version number.
startup_text
key inuair
config.
after
andbefore
session properties foruair
config. Useformat
session property instead.
- Fixed
uair(5)
man page build error.
- New
uair
format specifier{state}
and session propertiespaused_state_text
andresumed_state_text
. Allows to display different text depending on the state (paused/resumed) of the timer. - New
uair
config key:iterations
. Allows to specify a finite amount of iterations of all sessions. - New
uairctl
subcommand:fetch
, to fetch information from the timer and display it in a specified format. - New
uairctl
subcommand:finish
, to instantly finish the current session, invoking the session's specified command. - New
uair
config session property:time_format
. Specifies the format in which{time}
format specifier prints time.
- Improve error message by indicating a missing config file. (@thled)
-p
and-r
uairctl
flags. Usepause
,resume
andtoggle
subcommands instead.-h
flag inuair
anduairctl
. Use--help
to display the help message. This is due to a limitation inargh
, the new argument-parsing libraryuair
depends on.
- New
uair
config session property:format
and format specifiers:{name}
,{percent}
,{time}
,{total}
,{black}
,{red}
,{green}
,{yellow}
,{blue}
,{purple}
,{cyan}
,{white}
,{end}
. - New
uair
session command environment variables:$name
and$duration
.
after
andbefore
session properties inuair
config. Useformat
property instead.
uair
performance improvement: prevent allocation of buffer each time a command is received.
- Config file and socket file now follow XDG Base Directory Specification.
- New
uair
anduairctl
command-line flag: -s or --socket. It specifiesuair
server socket path. - New config file options:
loop_on_end
,pause_at_start
andstartup_text
. - Bug Fix: resuming while timer is running should now be a no-op.
- New
uairctl
subcommands:pause
,resume
andtoggle
. - New
uairctl
subcommands:next
andprev
, to jump to next and previous sessions.
-p
and-r
uairctl
flags. Usepause
,resume
andtoggle
subcommands instead.
- Default properties for sessions can now be configured.
- New config file option: autostart. It controls whether a particular session starts automatically.
- Command mentioned in the config for a session should now run as intended.
- Changed configuration file format from RON to TOML.
First public release