From 973042ce7db93e4ad5a70614b0ea1c037e2a4ffa Mon Sep 17 00:00:00 2001 From: cinco euzebio Date: Sun, 1 Mar 2026 04:07:41 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20chore:=20bump=20version=20to=200?= =?UTF-8?q?.6.0=20and=20update=20CHANGELOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 11 +++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c2446..26d6b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.6.0] - 2026-03-01 + +### Added +- Periodic update check: on startup, if `update_check_interval_hours` have elapsed since + the last check, tmuxido fetches the latest release tag from the Gitea API and prints a + notice when a newer version is available (silent on network failure or no update found) +- New `update_check` module (`src/update_check.rs`) with injected fetcher for testability +- `update_check_interval_hours` config field (default 24, set to 0 to disable) +- Cache file `~/.cache/tmuxido/update_check.json` tracks last-checked timestamp and + latest known version across runs + ## [0.5.2] - 2026-03-01 ### Added diff --git a/Cargo.lock b/Cargo.lock index ea73ee6..76442d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -864,7 +864,7 @@ dependencies = [ [[package]] name = "tmuxido" -version = "0.5.2" +version = "0.6.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 5f070e2..1d96e40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tmuxido" -version = "0.5.2" +version = "0.6.0" edition = "2024" [dev-dependencies]