Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.39 KB

File metadata and controls

46 lines (36 loc) · 1.39 KB

Changelog

[0.2.2] - 2026-04-23

Added

  • Load .env from $XDG_CONFIG_HOME/reddit-cli/ (defaults to ~/.config/reddit-cli/) as a fallback for globally-installed users (#1, thanks @josephyooo)
  • README cargo install reddit-cli instructions

[0.2.1] - 2026-03-15

Removed

  • submit command and post_form client method

Changed

  • Centered shields.io badges in README
  • Removed project structure section from README

[0.1.1] - 2026-03-15

Security

  • Complete terminal escape sanitization (CSI, OSC, DCS, 8-bit CSI sequences)
  • Credential and token zeroization with zeroize crate
  • Strict CLI argument validation with clap value parsers
  • Response size limit (10MB) and HTTP timeout (10s)
  • Redirect policy limited to 3 hops
  • Error response body truncated to 1KB
  • Input validation for subreddit names, usernames, and post IDs
  • User-Agent header sanitization
  • Custom Debug impl to mask secrets

Added

  • Shields.io badges in README
  • Crate metadata for crates.io publishing
  • #[serde(default)] on API response types for resilience

[0.1.0] - 2026-03-14

Added

  • Initial release
  • Browse subreddit posts with sort and time filters
  • Search Reddit with subreddit filtering
  • View post details with nested comment trees
  • View user profiles with recent posts and comments
  • View comments with sort options
  • Colored terminal output
  • OAuth2 authentication with token caching