From 661aac7d67cc6e7befd01dfed1be06e77e790dea Mon Sep 17 00:00:00 2001 From: Jerus Bot <171541392+jerus-bot@users.noreply.github.com> Date: Wed, 8 Oct 2025 16:40:05 +0000 Subject: [PATCH] chore: Release cull-gmail v0.0.5 --- CHANGELOG.md | 66 ++++++++++++++++++++++++++++++++++++++++++++++++---- Cargo.lock | 2 +- Cargo.toml | 2 +- PRLOG.md | 4 ++-- README.md | 2 +- docs/lib.md | 2 +- 6 files changed, 68 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 783c5e5..3b34166 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,72 @@ 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/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.5] - 2025-10-08 + +Summary: Added[28], Build[1], Changed[6], Chore[15], Documentation[5], Fixed[10] + +### Added + + - ✨ feat(cli): implement trace logging for configuration + - ✨ feat(rules_cli): implement rm_cli subcommand + - ✨ feat(rules_cli): add remove command to rules cli + - ✨ feat(rules_cli): implement rule removal + - ✨ feat(lib): introduce Result type alias for error handling + - ✨ feat(error): add custom error types for rule selection + - ✨ feat(config): enhance rule management and label handling + - ✨ feat(rules_cli): add option to immediately delete rules + - ✨ feat(config): add delete flag for retention rules + - ✨ feat(rules_cli): add optional label for retention rules + - ✨ feat(config): add labels method to EolRule + - ✨ feat(config): add support for labels to retention rules + - ✨ feat(config): add retention attribute to EolRule + - ✨ feat(config): enhance rule management with BTreeMap + - ✨ feat(rules_cli): implement add command + - ✨ feat(retention): add message age enum creation + - ✨ feat(rules): add subcommand for rule management + - ✨ feat(config): add result type to list_rules function + - ✨ feat(config): implement display for eolrule struct + - ✨ feat(config): add function to list rules + - ✨ feat(config): add EolRule struct for managing end-of-life rules + - ✨ feat(eol_cmd): introduce EolCmd enum for message disposal + - ✨ feat(retention): introduce message age enum + - ✨ feat(lib): add config and retention modules + - ✨ feat(build): add toml dependency + - ✨ feat(cli): load configuration for message command + - ✨ feat(retention): implement data retention policy + - ✨ feat(config): implement configuration file management + +### Fixed + + - 🐛 fix(rm_cli): rule removal save + - 🐛 fix(error): improve error message for missing labels + - 🐛 fix(config): improve rule removal and logging + - 🐛 fix(error): refine error message for rule selector + - 🐛 fix(eol_rule): correct rule description in to_string method + - 🐛 fix(rules): fix config_cli.run to return a Result + - 🐛 fix(config): correct pluralization of time periods in EolRule display + - 🐛 fix(message_age): correct retention label formatting + - 🐛 fix(ui): correct grammar errors in eol command and trash messages + - 🐛 fix(error): refine error handling with granular variants + +### Changed + + - ♻️ refactor(config): use string keys for rules in config + - ♻️ refactor(config): enhance EolRule for label management + - ♻️ refactor(config): rename EolCmd to EolAction for clarity + - ♻️ refactor(core): rename EolCmd to EolAction + - ♻️ refactor(cli): restructure cli commands and config handling + - ♻️ refactor(cli): rename config_cli to rules_cli + ## [0.0.4] - 2025-10-07 -Summary: Added[9], Changed[7], Chore[7] +Summary: Added[9], Changed[7], Chore[8] ### Added - ✨ feat(message_list): create message summary struct - - ✨ feat(message_list): improve message handling and logging - ✨ feat(utils): implement string elision trait + - ✨ feat(message_list): improve message handling and logging - ✨ feat(trash): implement trash functionality - ✨ feat(trash): add trash cli - ✨ feat(cli): add trash command @@ -24,9 +81,9 @@ Summary: Added[9], Changed[7], Chore[7] ### Changed - ♻️ refactor(trash): improve trash operation logging - - ♻️ refactor(message): rename message to message_list - ♻️ refactor(message): rename Message to MessageList - ♻️ refactor(core): rename message module to message_list + - ♻️ refactor(message): rename message to message_list - ♻️ refactor(labels): remove unused code - ♻️ refactor(labels): improve label listing and mapping - ♻️ refactor(message): improve subject logging with early returns @@ -121,7 +178,8 @@ Summary: Added[4], Build[3], Chore[21], Continuous Integration[4], Documentation - ✨ feat(vscode): add custom dictionary entry for ltex - ✨ feat(project): add initial Cargo.toml for cull-gmail tool -[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.3...HEAD +[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.4...HEAD +[0.0.4]: https://github.com/jerus-org/cull-gmail/compare/v0.0.3...v0.0.4 [0.0.3]: https://github.com/jerus-org/cull-gmail/compare/v0.0.2...v0.0.3 [0.0.2]: https://github.com/jerus-org/cull-gmail/compare/v0.0.1...v0.0.2 [0.0.1]: https://github.com/jerus-org/cull-gmail/releases/tag/v0.0.1 diff --git a/Cargo.lock b/Cargo.lock index fa400da..eec382f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -256,7 +256,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cull-gmail" -version = "0.0.4" +version = "0.0.5" dependencies = [ "clap", "clap-verbosity-flag", diff --git a/Cargo.toml b/Cargo.toml index cb89ea2..afbfeb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cull-gmail" description = "Cull emails from a gmail account using the gmail API" -version = "0.0.4" +version = "0.0.5" authors = ["Jeremiah Russell "] edition = "2024" rust-version = "1.87" diff --git a/PRLOG.md b/PRLOG.md index 0a63e54..7a660a5 100644 --- a/PRLOG.md +++ b/PRLOG.md @@ -5,7 +5,7 @@ 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/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.0.5] - 2025-10-08 ### Added @@ -131,7 +131,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#45]: https://github.com/jerus-org/cull-gmail/pull/45 [#46]: https://github.com/jerus-org/cull-gmail/pull/46 [#47]: https://github.com/jerus-org/cull-gmail/pull/47 -[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.4...HEAD +[0.0.5]: https://github.com/jerus-org/cull-gmail/compare/v0.0.4...v0.0.5 [0.0.4]: https://github.com/jerus-org/cull-gmail/compare/v0.0.3...v0.0.4 [0.0.3]: https://github.com/jerus-org/cull-gmail/compare/v0.0.2...v0.0.3 [0.0.2]: https://github.com/jerus-org/cull-gmail/compare/v0.0.1...v0.0.2 diff --git a/README.md b/README.md index 1230a67..704db92 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Or by configuring the dependencies manually in `Cargo.toml`: ```toml [dependencies] -cull-gmail = "0.0.4" +cull-gmail = "0.0.5" ``` ## cull-gmail CLI diff --git a/docs/lib.md b/docs/lib.md index a6961c5..79aad0c 100644 --- a/docs/lib.md +++ b/docs/lib.md @@ -18,6 +18,6 @@ Or by configuring the dependencies manually in `Cargo.toml`: ```toml [dependencies] -cull-gmail = "0.0.4" +cull-gmail = "0.0.5" ```