Prepare v1.2.0 (#69)

* prepare v1.2.0

* update README

* update justfile
This commit is contained in:
Jens Krause 2025-02-26 12:11:54 +01:00 committed by GitHub
parent 3d9b235f12
commit 6f0df4d488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 44 additions and 17 deletions

View File

@ -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

2
Cargo.lock generated
View File

@ -2055,7 +2055,7 @@ dependencies = [
[[package]]
name = "timr-tui"
version = "1.1.0"
version = "1.2.0"
dependencies = [
"clap",
"color-eyre",

View File

@ -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`.

View File

@ -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)

View File

@ -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