Releases: pimalaya/comodoro
Releases · pimalaya/comodoro
v0.1.2
Added
- Added hook support for system notifications. A hook can now either execute a shell command, send a system notification or both.
- Added cargo feature
hook-command
to enable hook based on shell commands (enabled by default). - Added cargo feature
hook-notify
to enable hook based on system notifications (enabled by default). - Added
config.sample.toml
at https://github.com/soywod/comodoro/blob/master/config.sample.toml.
Changed
-
Moved top-level commands related to client to the
timer
subcommand. -
Improved configuration API:
Before After [example]
[presets.example]
tcp-host
tcp.host
tcp-port
tcp.port
on-time-begin = "cmd"
hooks.on-timer-begin.cmd = "cmd"
The main purpose is to improve error diagnostic line numbers, see toml-rs/toml#589.
Fixed
- Fixed unix release builds.
- Prevented commands
manual
andcompletion
to return an error when configuration file was not found.
v0.1.1
v0.1.0
v0.0.10
Changed
- Upgraded nixpkgs channel from
22.11
to23.05
. - Upgraded cargo dependencies.
- Improved documentations.
v0.0.9
Added
- Added preset option
preset
to get preconfigured timer. Available options:pomodoro
,52/17
. - Added preset option
cycles-count
to control how the timer loops.0
means infinite, whereas any integer makes the timer stop automatically after n loops. - Added preset option
timer-precision
to customize the timer format. Available options:second
,minute
(default),hour
.
pimalaya-time v0.0.2
Added
- Added ability to customize the number of cycles the timer should do via the enum
TimerLoop
.TimerLoop::Infinite
loops indefinitely (same behaviour as before, and it is the default),TimerLoop::Fixed(usize)
loops n times before stopping by itself. - Added
Timer::elapsed()
that returns the amount of time the timer was running, in seconds.
Change
- Added
TimerConfig::cycles_count
(which expects aTimerLoop
). - Replaced the timer iterator by
Timer::update()
, which updates the inner state of the current timer based onTimer::elapsed()
. - Added
Timer::cycles_count
(which expects aTimerLoop
). - Added
Timer::started_at
(which expects aOption<Instant>
) that holds the instant moment where the timer has been started for the last time. - Added
Timer::elapsed
(which expects ausize
) that holds the elapsed time, in seconds, from the first start till the last start.
Fixed
- Fixed timer accuracy. Over time, the timer was slower and slower, loosing accuracy. Now the timer is not an iterator anymore and uses
std::time::Instant
instead to make sure the elapsed time and cycle are correct [#91].
v0.0.8
Added
- Added option
preset
to get preconfigured timer. Available options:pomodoro
,52/17
.
Changed
- Changed the aim of the project. The timer is not Pomodoro-specific anymore, it became generic (which allows you to turn it into a Pomodoro timer, or whatever).
- Changed hooks name from
timer-started-hook
toon-timer-start
and so on.
v0.0.7
Added
- Add
zip
archive to releases.
v0.0.6
Changed
- Improved cross compilation.
v0.0.5
Changed
- Replaced
pimalaya
bypimalaya-pomodoro
.
Removed
- Removed durations and hooks from
TcpConfig
, since they conflicted
with the ones from the main config.
v0.0.4
Fixed
- Fixed hooks not triggered properly.