Skip to content

v0.28.0

Choose a tag to compare

@github-actions github-actions released this 01 Apr 18:39
· 29 commits to release since this release
540445c

Changes

New Features

support tilde expansion in config file paths #214 a4aa1c9
  • Add ExpandTilde extension trait on Path and PathBuf
  • Add getter methods on CacheOptions, ConfigOptions, and
    SharedOptions that return paths with tilde expansion applied
  • Apply expansion in PathManager, SourceProvider, and config
    file resolution
  • Update validation tests to verify tilde paths are expanded
version: check for updates in the version command e8d9489

Query the GitHub releases API and notify the user if a newer version
is available, with a human-friendly age and link to the releases page.

Bug Fixes

upload: decode HTML entities in `remaster_record_label` #131 dba5661

The Gazelle API returns remasterRecordLabel with HTML-encoded entities
(e.g. 上海...). The encoded string exceeds the 80-character
API limit even though the decoded text is within bounds.

verify: separate infrastructure failures from source issues in `hash_check` b2a68f7

Addresses #213.

  • Propagate infrastructure failures as Failure<VerifyAction> instead
    of silently swallowing or flattening into SourceIssue::Error
  • Skip caching infrastructure failures in batch queue so sources are
    retried on subsequent runs
  • Extract get_source_torrent to handle torrent file retrieval
    (cache check + download) separately from hash_check
  • Move torrent cache directory creation from PathManager to
    VerifyCommand where the side effect belongs
  • Simplify VerifyStatus::new to accept VerifySuccess directly
  • Remove unused deprecated SourceIssue::api() constructor
  • Derive PartialEq on SourceIssue and IdProviderError
verify: add `CacheOptions` to `verify` command and test path validation acd2620

Partially addresses #213, confirms #214.

  • Add CacheOptions to Verify command's #[options(...)] so cache
    directory validation runs instead of being silently skipped
  • Add tests confirming $HOME and ~ in config paths fail validation
    for cache, output, content, and config options
  • Extract validation labels as constants in source files
  • Derive Eq and PartialEq on OptionRule for exact assertions

verify: correct "occured" typo in SourceIssue error message 4840f5c

Dependencies

update dependencies, pin sha1 and sha2 to 0.10 540445c

Refactor

log version at trace level on startup 3d2fbb4

Chores

add GitHub issue and discussion templates d696acf
  • Bug report issue template with version, config, logs, and reproduction fields
  • Support discussion template with similar fields
  • Issue template chooser redirecting support and feature requests to discussions
  • Add negation pattern to .gitignore for .github/**/config.yml