Skip to content

Releases: pimalaya/comodoro

v0.1.2

03 Feb 11:41
v0.1.2
3725961
Compare
Choose a tag to compare

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 and completion to return an error when configuration file was not found.

v0.1.1

03 Feb 11:26
v0.1.1
3341e53
Compare
Choose a tag to compare

Release broken, use v0.1.2 instead.

v0.1.0

03 Feb 10:59
v0.1.0
e91531b
Compare
Choose a tag to compare

Release broken, use v0.1.2 instead.

v0.0.10

09 Oct 14:27
v0.0.10
ed6aa16
Compare
Choose a tag to compare

Changed

  • Upgraded nixpkgs channel from 22.11 to 23.05.
  • Upgraded cargo dependencies.
  • Improved documentations.

v0.0.9

24 Jun 21:25
v0.0.9
5517c6c
Compare
Choose a tag to compare

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 a TimerLoop).
  • Replaced the timer iterator by Timer::update(), which updates the inner state of the current timer based on Timer::elapsed().
  • Added Timer::cycles_count (which expects a TimerLoop).
  • Added Timer::started_at (which expects a Option<Instant>) that holds the instant moment where the timer has been started for the last time.
  • Added Timer::elapsed (which expects a usize) 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

18 May 21:26
v0.0.8
d55dbba
Compare
Choose a tag to compare

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 to on-timer-start and so on.

v0.0.7

24 Apr 20:40
v0.0.7
0d37a10
Compare
Choose a tag to compare

Added

  • Add zip archive to releases.

v0.0.6

21 Apr 18:21
v0.0.6
575f929
Compare
Choose a tag to compare

Changed

  • Improved cross compilation.

v0.0.5

20 Apr 10:21
v0.0.5
9cbaee6
Compare
Choose a tag to compare

Changed

  • Replaced pimalaya by pimalaya-pomodoro.

Removed

  • Removed durations and hooks from TcpConfig, since they conflicted
    with the ones from the main config.

v0.0.4

14 Apr 21:58
v0.0.4
d73264b
Compare
Choose a tag to compare

Fixed

  • Fixed hooks not triggered properly.