All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bumped major dependencies.
- Renamed cargo feature
hook-command
intocommand
. - Renamed cargo feature
hook-notify
intonotify
. - Prefixed preset configs with
presets.
, see./config.sample.toml
.
- Removed
hooks
cargo features.
- Prevented commands
manual
andcompletion
to return an error when configuration file was not found.
- Fixed unix release builds.
- 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.
-
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.
0.0.10 - 2023-10-09
- Upgraded nixpkgs channel from
22.11
to23.05
. - Upgraded cargo dependencies.
- Improved documentations.
0.0.9 - 2023-06-24
- 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
.
0.0.8 - 2023-05-18
- 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.
0.0.7 - 2023-04-24
- Add
zip
archive to releases.
0.0.6 - 2023-04-21
- Improved cross compilation.
0.0.5 - 2023-04-20
- Replaced
pimalaya
bypimalaya-pomodoro
.
- Removed durations and hooks from
TcpConfig
, since they conflicted with the ones from the main config.
0.0.4 - 2023-04-14
- Fixed hooks not triggered properly.
0.0.3 - 2023-04-14
- Added hooks support (check https://docs.rs/comodoro/0.0.3/comodoro/config/struct.HooksConfig.html for the list of available hooks).
- Improve the way the timer is displayed via the
get
command.
0.0.2 - 2023-04-10
- Rewrote the project in Rust, using the Pimalaya library.
0.0.1 - 2020-12-15
- Added installation script.
- Added
.mli
files #2.