Internal:
- Make stable releases for macOS more seamless (#25)
Bug fixes:
- Fix risk of data loss due to db migrations (#24)
Internal:
- Add logging with slog.
Bug fixes:
- Fix countdown timer rendering in macOS default terminal (#21).
- Fix description of
--since
flag. - Fix bug where the recorded session end time exceeds the actual elapsed time due to real and monotonic time differences. This made resuming an interrupted session behave weirdly (#22).
Features and enhancements:
- Add new strict mode to prevent session resumption.
- Use zip format for Windows release archives.
- Add status reporting feature (
focus status
). - Statistics are now displayed using a web server (
focus stats
) - Running timers are persisted to the data store every minute.
- Improve notification sounds for work and break sessions (
--work-sound
and--break-sound
). - Add ability to start timers in the past (
focus --since
). - Specifying session duration is more flexible.
- Timers can be reset on resumption (
focus resume --reset
). - Ambient sound can be changed on session resumption (
focus resume --sound
). - Improve session resumption table presentation.
Features and enhancements:
- Notify user when exiting focus on reaching max sessions.
- Add
edit-config
command for editing the config file. - Add
session_cmd
config option and--session-cmd/-cmd
CLI options for executing arbitrary commands after each session. - Add ability to track and resume different timers.
- Display session tag in output.
- You can now launch a new instance of
focus
without quitting an existing instance as long as the countdown isn't actively running. - Change
focus stats --list
tofocus list
. - Change
focus stats --delete
tofocus delete
. - Change
focus stats --tag
tofocus edit-tag
. - Add ability to choose light or dark theme in config file.
- Support several other time formats for stats filtering.
Features and enhancements:
- Add ability to tag sessions.
- Make it possible to disable sound when resuming a session.
Fixes and enhancements:
- Fix issue where timer would start on Windows despite using Ctrl-C.
focus resume
now supports the--sound
,--sound-on-break
, and--disable-notification
flags.- Make statistics output more compact.
- Fix timer not skipping to next work session after interrupting a break session.
Enhancements:
- Session deletion is more reliable now.
- Notify user if interrupted session is not found instead of starting a new session straightaway.
Initial release