Skip to content

Releases: M3DZIK/imgurs

v0.7.3

18 May 19:06
Compare
Choose a tag to compare

Library

  • add code comments and tests
  • change String to &str in ImgurClient functions

Other

  • bump deps
  • use anyhow::Result<...> instead Result<..., Error>

v0.7.2

05 Apr 15:10
Compare
Choose a tag to compare

HotFix

  • fix upload image from file

v0.7.1

04 Apr 17:09
Compare
Choose a tag to compare
  • fix build on what is not linux

v0.7.0

03 Apr 19:54
Compare
Choose a tag to compare

CLI

  • completions: changed type from String to Shell
  • removed & from cli.commands (line 54 in parse.rs)

Library

  • removed .map_err(anyhow::Error::new) when function returns error

Added

  • commands in the code
  • api functions to impl in ImgurClient
  • documentation (example usage)

Breaking Changes

  • lib: moved everything to the main package with api submodules (before imgurs::api::ImgurClient, after imgurs::api::ImgurClient)

v0.6.0

14 Mar 18:35
Compare
Choose a tag to compare

CLI

  • webhook: added url in title
  • cli: change image domain to your own (set in config)
  • if the configuration file cannot be open, ask the user whether to overwrite the file instead of overwriting it without asking
  • logger: set max_level_debug in debug binary

v0.5.1

08 Mar 21:23
Compare
Choose a tag to compare

Cli

  • change webhook to discord-webhook (to use rustls)

v0.5.0

07 Mar 18:22
Compare
Choose a tag to compare

CLI

  • clipboard: add support for xclip and termux
  • webhook: send webhook to discord if image uploaded (example)

Library

  • if body length is greater than 30, return message body is too length

v0.4.0

27 Feb 11:47
Compare
Choose a tag to compare

CLI

  • update logger
  • added clipboard
  • added manpage
  • added completion for elvish
  • if failed to upload image send notify with error message

Library

  • added Clone derive

v0.3.0

28 Jan 21:57
Compare
Choose a tag to compare

CLI

  • SimpleLogger init error handling
  • better panic
  • panic instead of send log error
  • add url validate

Library

  • The returned error in the Result is from now on anyhow::Error and not String.
  • Do not exit program if send_api_request error
  • rename ImgurHandle -> ImgurClient

v0.2.0

25 Jan 19:01
Compare
Choose a tag to compare

Added

CLI

  • create default config, if not exits
  • when the image uploaded, send a notification (can be turn off in config)
  • shell completions

Library

  • change OpenSSL to RusTLS
  • move api request to fn send_api_request

Fixed

  • api rate limit (error decoding response body: invalid value: integer `200`, expected i8 at line 1 column 140)