Releases: pimalaya/comodoro
Releases · pimalaya/comodoro
v1.0.0
Changed
- Bumped major dependencies.
- Renamed cargo feature
hook-commandintocommand. - Renamed cargo feature
hook-notifyintonotify. - Prefixed preset configs with
presets., see./config.sample.toml. - Used
dbusinstead ofzbusfornotify-rust.
Fixed
- Fixed Windows build with
dbus.
Removed
- Removed
hooksandtcpcargo features.
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-commandto enable hook based on shell commands (enabled by default). - Added cargo feature
hook-notifyto enable hook based on system notifications (enabled by default). - Added
config.sample.tomlat https://github.com/soywod/comodoro/blob/master/config.sample.toml.
Changed
-
Moved top-level commands related to client to the
timersubcommand. -
Improved configuration API:
Before After [example][presets.example]tcp-hosttcp.hosttcp-porttcp.porton-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
manualandcompletionto return an error when configuration file was not found.
v0.1.1
v0.1.0
v0.0.10
Changed
- Upgraded nixpkgs channel from
22.11to23.05. - Upgraded cargo dependencies.
- Improved documentations.
v0.0.9
Added
- Added preset option
presetto get preconfigured timer. Available options:pomodoro,52/17. - Added preset option
cycles-countto control how the timer loops.0means infinite, whereas any integer makes the timer stop automatically after n loops. - Added preset option
timer-precisionto 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::Infiniteloops 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::Instantinstead to make sure the elapsed time and cycle are correct [#91].
v0.0.8
Added
- Added option
presetto 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-hooktoon-timer-startand so on.
v0.0.7
Added
- Add
ziparchive to releases.
v0.0.6
Changed
- Improved cross compilation.
v0.0.5
Changed
- Replaced
pimalayabypimalaya-pomodoro.
Removed
- Removed durations and hooks from
TcpConfig, since they conflicted
with the ones from the main config.