From 6f0df4d4885e0f5ac094d88b825344ba4df0c501 Mon Sep 17 00:00:00 2001 From: Jens Krause <47693+sectore@users.noreply.github.com> Date: Wed, 26 Feb 2025 12:11:54 +0100 Subject: [PATCH] Prepare v1.2.0 (#69) * prepare v1.2.0 * update README * update justfile --- CHANGELOG.md | 14 +++++++++++--- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 32 ++++++++++++++++++++------------ justfile | 11 +++++++++++ 5 files changed, 44 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d9edee..7df7c83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,20 @@ # Changelog -## [Unreleased] +## v1.2.0 - 2025-02-26 ### Features -- (notification) Blink clock when it reaches its `done` mode. (optional) [#65](https://github.com/sectore/timr-tui/pull/65) -- (notification) Native desktop notification (optional, experimental) [#49](https://github.com/sectore/timr-tui/pull/59) +- (notification) Clock animation (blink) by reaching `done` mode (optional) [#65](https://github.com/sectore/timr-tui/pull/65) +- (notification) Native desktop notification (optional, experimental) [#59](https://github.com/sectore/timr-tui/pull/59) - (notification) Sound notification (optional, experimental, available in local build only) [#62](https://github.com/sectore/timr-tui/pull/62) +- (logging) Add `--log` arg to enable logs [e094d7d](https://github.com/sectore/timr-tui/commit/e094d7d81b99f58f0d3bc50124859a4e1f6dbe4f) + +### Misc. + +- (refactor) Extend event handling for using a `mpsc` channel to send `AppEvent`'s from anywhere. [#61](https://github.com/sectore/timr-tui/pull/61) +- (extension) Use `set_panic_hook` for better error handling [#67](https://github.com/sectore/timr-tui/pull/67) +- (deps) Use latest `Rust 1.85` and `Rust 2024 Edition`. Refactor `flake` to consider `rust-toolchain.toml` etc. [#68](https://github.com/sectore/timr-tui/pull/68) + ## v1.1.0 - 2025-01-22 diff --git a/Cargo.lock b/Cargo.lock index 709f540..72b1061 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2055,7 +2055,7 @@ dependencies = [ [[package]] name = "timr-tui" -version = "1.1.0" +version = "1.2.0" dependencies = [ "clap", "color-eyre", diff --git a/Cargo.toml b/Cargo.toml index 6c790fc..8470954 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "timr-tui" -version = "1.1.0" +version = "1.2.0" description = "TUI to organize your time: Pomodoro, Countdown, Timer." edition = "2024" # Reminder: Always keep `channel` in `rust-toolchain.toml` in sync with `rust-version`. diff --git a/README.md b/README.md index 1f4a1c1..c2fc254 100644 --- a/README.md +++ b/README.md @@ -140,20 +140,26 @@ If you have [`direnv`](https://direnv.net) installed, run `direnv allow` once to ### Commands ```sh -just --list +just Available recipes: - build # build app - b # alias for `build` - default - format # format files - f # alias for `format` - lint # lint - l # alias for `lint` - run # run app - r # alias for `run` - test # run tests - t # alias for `test` + build # build app [alias: b] + default # list commands + demo-blink # build demo: blink animation [alias: db] + demo-countdown # build demo: countdown [alias: dc] + demo-countdown-met # build demo: countdown + met [alias: dcm] + demo-decis # build demo: deciseconds [alias: dd] + demo-local-time # build demo: local time [alias: dlt] + demo-menu # build demo: menu [alias: dm] + demo-pomodoro # build demo: pomodoro [alias: dp] + demo-rocket-countdown # build demo: rocket countdown [alias: drc] + demo-style # build demo: styles [alias: ds] + demo-timer # build demo: timer [alias: dt] + format # format files [alias: f] + lint # lint [alias: l] + run # run app [alias: r] + run-sound path # run app while sound feature is enabled. It expects a path to a sound file. [alias: rs] + test # run tests [alias: t] ``` ### Build @@ -161,6 +167,8 @@ Available recipes: - Linux ```sh nix build +# or for bulding w/ statically linked binaries +nix build .#linuxStatic ``` - Windows (cross-compilation) diff --git a/justfile b/justfile index eac8df2..d344161 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,7 @@ set unstable := true +# list commands default: @just --list @@ -46,50 +47,60 @@ run-sound path: alias dp := demo-pomodoro +# build demo: pomodoro demo-pomodoro: vhs demo/pomodoro.tape alias dt := demo-timer +# build demo: timer demo-timer: vhs demo/timer.tape alias dc := demo-countdown +# build demo: countdown demo-countdown: vhs demo/countdown.tape alias dcm := demo-countdown-met +# build demo: countdown + met demo-countdown-met: vhs demo/countdown-met.tape alias ds := demo-style +# build demo: styles demo-style: vhs demo/style.tape alias dd := demo-decis +# build demo: deciseconds demo-decis: vhs demo/decis.tape alias dm := demo-menu +# build demo: menu demo-menu: vhs demo/menu.tape alias dlt := demo-local-time +# build demo: local time demo-local-time: vhs demo/local-time.tape alias drc := demo-rocket-countdown +# build demo: rocket countdown demo-rocket-countdown: vhs demo/met.tape alias db := demo-blink +# build demo: blink animation demo-blink: vhs demo/blink.tape