Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/releases/v0.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## `things-cli` v0.4.2 — fix `--when` rejecting weekday names

Patch release. `things add --when monday` was incorrectly rejected with
"did you mean today?". The `--when` typo detector flags any value within
Levenshtein distance 2 of a keyword, and `monday` is exactly distance 2
from `today` — so it was mistaken for a typo despite being a valid
natural-language date Things accepts.

### Fix

- Weekday names and their abbreviations (`monday`…`sunday`, plus `mon`,
`tue`, `wed`, `thu`, `fri`, `sat`, `sun` and common variants) now bypass
the typo detector and pass through to Things verbatim. Verified against
Things3 that each resolves to the correct upcoming scheduled date.
- Genuine typos (`tommorrow`, `evning`, …) are still rejected as before.

### Requirements

macOS with Things3 installed. Binaries for Apple Silicon (`darwin_arm64`)
and Intel (`darwin_amd64`).