chore: Release cull-gmail v0.0.6

This commit is contained in:
Jerus Bot
2025-10-09 21:55:06 +00:00
parent a3645a5b14
commit 1c148f8d31
6 changed files with 88 additions and 18 deletions

View File

@@ -5,19 +5,88 @@ 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). 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.6] - 2025-10-09
Summary: Added[23], Changed[26], Chore[11], Fixed[7]
### Added
- ✨ feat(gh-release): add delete module
- ✨ feat(delete): implement batch delete functionality
- ✨ feat(cli): add delete subcommand
- ✨ feat(cli): add delete subcommand
- ✨ feat(rules_cli): implement add command for managing retention rules
- ✨ feat(cli): add remove label subcommand
- ✨ feat(cli): add list labels subcommand
- ✨ feat(label): implement add label command
- ✨ feat(message_list): add label support
- ✨ feat(message): add label support to message listing
- ✨ feat(config): add functionality to set action on rule
- ✨ feat(config_cli): implement action subcommand
- ✨ feat(cli): add action subcommand
- ✨ feat(config): add remove label from rule
- ✨ feat(config): add label functionality to rules
- ✨ feat(error): add RuleNotFound error
- ✨ feat(config): add get_rule function to retrieve existing rules
- ✨ feat(cli): implement commands dispatching
- ✨ feat(label_cli): implement label listing subcommand
- ✨ feat(cli): implement label subcommand
- ✨ feat(config): add cli config - introduce cli config with clap - add subcommand rules and label
- ✨ feat(label): implement add label subcommand
- ✨ feat(label_cli): implement remove label subcommand
### Fixed
- 🐛 fix(config): correct typo in eol_cmd module name
- 🐛 fix(eol_rule): correct grammar in rule descriptions
- 🐛 fix(config): correct grammar in EolRule display
- 🐛 fix(remove_cli): handle rule not found when removing label
- 🐛 fix(cli): correct output format for label list
- 🐛 fix(label_cli): fix add label logic
- 🐛 fix(label_cli): display labels by rule id
### Changed
- ♻️ refactor(trash): encapsulate message list operations
- ♻️ refactor(cli): improve delete command structure
- ♻️ refactor(delete): rename struct and methods for deleting messages
- ♻️ refactor(trash): encapsulate message list
- ♻️ refactor(cli): move rm_cli to new directory
- ♻️ refactor(trash): streamline label handling in trash listing
- ♻️ refactor(utils): improve config directory handling
- ♻️ refactor(cli): move rules_cli to config_cli
- ♻️ refactor(labels): simplify error handling in labels module
- ♻️ refactor(cli): rename label_cli module
- ♻️ refactor(cli): rename action_cli module
- ♻️ refactor(cli): rename trash_cli to cli
- ♻️ refactor(cli): rename message_cli to cli
- ♻️ refactor(trash): simplify error handling and label management
- ♻️ refactor(cli): move label_cli to cli directory
- ♻️ refactor(cli): move config_cli to cli directory
- ♻️ refactor(cli): move main.rs to cli folder - move main.rs to cli folder for better structure
- ♻️ refactor(project): move main.rs to cli directory
- ♻️ refactor(cli): rename command to sub_command for clarity
- ♻️ refactor(core): rename eol_cmd module to eol_action
- ♻️ refactor(core): rename eol_cmd to eol_action - clarifies the file's purpose as defining actions related to EOL handling rather than just commands
- ♻️ refactor(config): make EolRule fields public
- ♻️ refactor(cli): consolidate rules and labels under config subcommand
- ♻️ refactor(cli): rename add_cli to rules_cli
- ♻️ refactor(cli): rename rm_cli to rules_cli
- ♻️ refactor(cli): restructure rules CLI
## [0.0.5] - 2025-10-08 ## [0.0.5] - 2025-10-08
Summary: Added[28], Build[1], Changed[6], Chore[15], Documentation[5], Fixed[10] Summary: Added[28], Build[1], Changed[6], Chore[16], Documentation[5], Fixed[10]
### Added ### Added
- ✨ feat(cli): implement trace logging for configuration - ✨ 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(rules_cli): implement rule removal
- ✨ feat(lib): introduce Result type alias for error handling - ✨ feat(lib): introduce Result type alias for error handling
- ✨ feat(error): add custom error types for rule selection - ✨ feat(error): add custom error types for rule selection
- ✨ feat(config): enhance rule management and label handling - ✨ feat(config): enhance rule management and label handling
- ✨ feat(rules_cli): implement rm_cli subcommand
- ✨ feat(rules_cli): add remove command to rules cli
- ✨ feat(rules_cli): add option to immediately delete rules - ✨ feat(rules_cli): add option to immediately delete rules
- ✨ feat(config): add delete flag for retention rules - ✨ feat(config): add delete flag for retention rules
- ✨ feat(rules_cli): add optional label for retention rules - ✨ feat(rules_cli): add optional label for retention rules
@@ -31,20 +100,20 @@ Summary: Added[28], Build[1], Changed[6], Chore[15], Documentation[5], Fixed[10]
- ✨ feat(config): add result type to list_rules function - ✨ feat(config): add result type to list_rules function
- ✨ feat(config): implement display for eolrule struct - ✨ feat(config): implement display for eolrule struct
- ✨ feat(config): add function to list rules - ✨ 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 - ✨ feat(config): implement configuration file management
- ✨ feat(retention): introduce message age enum
- ✨ feat(config): add EolRule struct for managing end-of-life rules
- ✨ feat(retention): implement data retention policy
- ✨ feat(cli): load configuration for message command
- ✨ feat(lib): add config and retention modules
- ✨ feat(eol_cmd): introduce EolCmd enum for message disposal
- ✨ feat(build): add toml dependency
### Fixed ### Fixed
- 🐛 fix(rm_cli): rule removal save - 🐛 fix(rm_cli): rule removal save
- 🐛 fix(error): improve error message for missing labels
- 🐛 fix(config): improve rule removal and logging - 🐛 fix(config): improve rule removal and logging
- 🐛 fix(error): improve error message for missing labels
- 🐛 fix(error): refine error message for rule selector - 🐛 fix(error): refine error message for rule selector
- 🐛 fix(eol_rule): correct rule description in to_string method - 🐛 fix(eol_rule): correct rule description in to_string method
- 🐛 fix(rules): fix config_cli.run to return a Result - 🐛 fix(rules): fix config_cli.run to return a Result
@@ -178,7 +247,8 @@ Summary: Added[4], Build[3], Chore[21], Continuous Integration[4], Documentation
- ✨ feat(vscode): add custom dictionary entry for ltex - ✨ feat(vscode): add custom dictionary entry for ltex
- ✨ feat(project): add initial Cargo.toml for cull-gmail tool - ✨ feat(project): add initial Cargo.toml for cull-gmail tool
[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.4...HEAD [Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.5...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.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.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.2]: https://github.com/jerus-org/cull-gmail/compare/v0.0.1...v0.0.2

2
Cargo.lock generated
View File

@@ -256,7 +256,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]] [[package]]
name = "cull-gmail" name = "cull-gmail"
version = "0.0.5" version = "0.0.6"
dependencies = [ dependencies = [
"clap", "clap",
"clap-verbosity-flag", "clap-verbosity-flag",

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "cull-gmail" name = "cull-gmail"
description = "Cull emails from a gmail account using the gmail API" description = "Cull emails from a gmail account using the gmail API"
version = "0.0.5" version = "0.0.6"
authors = ["Jeremiah Russell <jrussell@jerus.ie>"] authors = ["Jeremiah Russell <jrussell@jerus.ie>"]
edition = "2024" edition = "2024"
rust-version = "1.87" rust-version = "1.87"

View File

@@ -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/) 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [0.0.6] - 2025-10-09
### Added ### Added
@@ -162,7 +162,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#55]: https://github.com/jerus-org/cull-gmail/pull/55 [#55]: https://github.com/jerus-org/cull-gmail/pull/55
[#56]: https://github.com/jerus-org/cull-gmail/pull/56 [#56]: https://github.com/jerus-org/cull-gmail/pull/56
[#57]: https://github.com/jerus-org/cull-gmail/pull/57 [#57]: https://github.com/jerus-org/cull-gmail/pull/57
[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.5...HEAD [0.0.6]: https://github.com/jerus-org/cull-gmail/compare/v0.0.5...v0.0.6
[0.0.5]: https://github.com/jerus-org/cull-gmail/compare/v0.0.4...v0.0.5 [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.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.3]: https://github.com/jerus-org/cull-gmail/compare/v0.0.2...v0.0.3

View File

@@ -55,7 +55,7 @@ Or by configuring the dependencies manually in `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
cull-gmail = "0.0.5" cull-gmail = "0.0.6"
``` ```
## cull-gmail CLI ## cull-gmail CLI

View File

@@ -18,6 +18,6 @@ Or by configuring the dependencies manually in `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
cull-gmail = "0.0.5" cull-gmail = "0.0.6"
``` ```