chore: Release cull-gmail v0.0.11

This commit is contained in:
Jerus Bot
2025-10-20 21:30:32 +00:00
parent b96286d9b5
commit 6334ba6c13
6 changed files with 968 additions and 34 deletions

View File

@@ -5,22 +5,56 @@ 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.11] - 2025-10-20
Summary: Added[7], Changed[7], Chore[12], Continuous Integration[5], Documentation[24], Fixed[7], Testing[12]
### Added
- ✨ feat(test): add junit report
- ✨ feat(ci): introduce nextest test runner
- ✨ feat(retention): implement retention policy configuration
- ✨ feat(error): add invalid message age error
- ✨ feat(retention): enhance message age with parsing and validation
- ✨ feat(retention): introduce message age specification
- ✨ feat(retention): enhance retention policy configuration
### Fixed
- 🐛 fix(rule_processor): correct spelling of "behaviour"
- ✅ fix(message-list): improve idioms (avoid redundant clone, extend labels, safer message extraction)
- ✅ fix(clippy): move tests module to file end to satisfy items_after_test_module lint
- 🐛 fix(retention): fix debug string formatting in retention struct
- 🐛 fix(cli): correct error mapping in add_cli
- 🐛 fix(rules): handle message age creation error
- 🐛 fix(build): correct readme generation script
### Changed
- ♻️ refactor: remove redundant credential module
- ♻️ refactor(message-list): introduce GmailService abstraction and refactor to use it; fix borrows and lifetimes
- ♻️ refactor(message-list): extract helper to append messages from ListMessagesResponse and add unit test
- ♻️ refactor(rule_processor): extract process_label and add internal ops trait for unit testing
- ♻️ refactor(rule_processor): add TRASH_LABEL, correct Gmail scopes, early returns, and improve idioms
- refactor(rules): replace unwrap() with explicit error handling and propagate errors safely
- refactor(rules): apply idiomatic patterns and resolve clippy warnings
## [0.0.10] - 2025-10-16
Summary: Added[11], Changed[15], Chore[11], Fixed[3]
Summary: Added[11], Changed[15], Chore[12], Fixed[3]
### Added
- ✨ feat(cli): add default subcommand for rule execution
- ✨ feat(config): implement config builder pattern for ClientConfig
- ✨ feat(cli): load configurations from toml file
- ✨ feat(client_config): add config root parsing with regex
- ✨ feat(utils): add test utils module
- ✨ feat(deps): add lazy-regex crate
- ✨ feat(dependencies): add lazy-regex dependency
- ✨ feat(config): add ConfigRoot enum for flexible path handling
- ✨ feat(core): add client config
- ✨ feat(config): introduce client configuration
- ✨ feat(cli): load configurations from toml file
- ✨ feat(client_config): add config root parsing with regex
- ✨ feat(cli): add config file support
### Fixed
@@ -32,12 +66,12 @@ Summary: Added[11], Changed[15], Chore[11], Fixed[3]
### Changed
- ♻️ refactor(cli): extract action execution into a function
- ♻️ refactor(cli): extract rule execution to separate function
- ♻️ refactor(cli): rename get_config to get_rules
- ♻️ refactor(cli): extract rule execution to separate function
- ♻️ refactor(config): improve ConfigRoot to handle different root types
- ♻️ refactor(utils): improve config directory creation
- ♻️ refactor(cli): use ClientConfig struct for gmail client
- ♻️ refactor(gmail): use client config for gmail client
- ♻️ refactor(utils): improve config directory creation
- ♻️ refactor(rules): remove credentials config
- ♻️ refactor(cli): remove config from run args
- ♻️ refactor(eol_rule): improve labels handling
@@ -440,7 +474,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.9...HEAD
[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.10...HEAD
[0.0.10]: https://github.com/jerus-org/cull-gmail/compare/v0.0.9...v0.0.10
[0.0.9]: https://github.com/jerus-org/cull-gmail/compare/v0.0.8...v0.0.9
[0.0.8]: https://github.com/jerus-org/cull-gmail/compare/v0.0.7...v0.0.8
[0.0.7]: https://github.com/jerus-org/cull-gmail/compare/v0.0.6...v0.0.7