Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:33
v3.0.0
5a2e03f

Comodoro joins the standard the Pimalaya CLIs share. MIGRATION.md lists what to act on when upgrading from 2.x, and from 1.x.

Added

  • Added the first-run welcome, printing the commands that create a configuration from config.sample.toml.
  • Added config.sample.toml to the Nix package, the release archives and install.sh, as share/doc/comodoro/config.sample.toml.
  • Added account list and account check, the account group every Pimalaya CLI carries.
  • Added repl, running commands over one account, one per stdin line.
  • Added mcp, a Model Context Protocol server exposing get, and the timer controls with --allow-write.
  • Added the hook variables cycleName and cycleDuration, for notifications and commands alike.
  • Added a stable code to the --json failure object, described by comodoro-error.
  • Added the hidden plural aliases completions, manuals and json-schemas.
  • Added cmd as the alias of a hook's command.

Changed

  • Changed the pimalaya-cli dependency to 0.8.0 and pimalaya-config to 0.6.
  • Breaking: changed the timer's values to kebab-case, in the --json output and on the wire.
  • Breaking: renamed started_at to startedAt, an RFC 3339 instant in UTC instead of epoch seconds.
  • Breaking: renamed the timer.running notification to timer.ticked, and the on-<cycle>-running hook to on-<cycle>-tick.
  • Breaking: changed the wire objects to refuse unknown keys, a client reading one as another Comodoro version.
  • Breaking: changed server start and watch to stop cleanly on a termination signal, printing their result and exiting 0.
  • Breaking: changed watch --json to stream timer-changed events, one per line.
  • Breaking: changed start, pause, resume, stop and set to print the timer, as get does.
  • Breaking: changed -c to take one path per flag, repeated to merge files, and removed COMODORO_CONFIG.
  • Breaking: changed -a default to name the account called default, as any other name.
  • Breaking: changed the account resolution to refuse hooks no event fires, empty hooks, unfilled variables, empty cycles and unknown cycle keys.
  • Breaking: changed a hook notification into a template, a literal $ being written $$.
  • Breaking: changed a refused command line under --json, a bare comodoro --json included, to print a usage-invalid failure object, exit 2.
  • Breaking: changed the remaining duration to jiff's friendly form (25m, 1h 30m 5s).
  • Changed config.sample.toml to one [accounts.example] table, every key commented at its default or an example, its cycle presets to uncomment.
  • Changed piped --json output to one flushed value per line.
  • Changed the srv alias of server to a hidden one.

Fixed

  • Fixed a hook notification value being read as markup by the notification daemon.

  • Fixed error reports printing raw control characters, a refused secret, a secret command's output or a configuration source line.

  • Fixed --log-file creating the file under the umask and following symbolic links.

  • Fixed the manual pages printing vv<version>.

  • Fixed install.sh saving an HTTP error page as the archive.

  • Breaking: fixed several accounts marked default = true resolving to the first one: they are refused.

  • Breaking: fixed completion writing files instead of printing to stdout.

    manual and json-schema share its shape: print to stdout, or write under --dir.

Removed

  • Breaking: removed the library, with the client, server, cli and schemars features and the examples.
  • Breaking: removed the setup wizard and the configure command.
  • Removed the humantime dependency, unmaintained (RUSTSEC-2026-0542).