2022-01-24 18:33:44 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
|
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
|
|
|
|
<!-- next-header -->
|
|
|
|
|
|
|
|
## [Unreleased]
|
2022-04-03 19:43:50 +00:00
|
|
|
|
2022-04-05 15:06:17 +00:00
|
|
|
## [0.7.2] - 2022-04-05
|
|
|
|
### HotFix
|
|
|
|
- fix upload image from file
|
|
|
|
|
2022-04-04 17:04:49 +00:00
|
|
|
## [0.7.1] - 2022-04-04
|
|
|
|
- fix build on what is not linux
|
|
|
|
|
|
|
|
## [0.7.0] - 2022-04-03
|
2022-04-03 19:01:58 +00:00
|
|
|
### CLI
|
|
|
|
- completions: changed type from String to Shell
|
|
|
|
- removed `&` from `cli.commands` (line 54 in [parse.rs](./src/cli/parse.rs))
|
|
|
|
|
|
|
|
### Library
|
|
|
|
- removed `.map_err(anyhow::Error::new)` when function returns error
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- commands in the code
|
|
|
|
- api functions to `impl` in `ImgurClient`
|
2022-04-03 19:32:42 +00:00
|
|
|
- documentation (example usage)
|
2022-04-03 19:01:58 +00:00
|
|
|
|
|
|
|
### Breaking Changes
|
|
|
|
- lib: moved everything to the main package with api submodules (before `imgurs::api::ImgurClient`, after `imgurs::api::ImgurClient`)
|
2022-03-14 18:31:02 +00:00
|
|
|
|
|
|
|
## [0.6.0] - 2022-03-14
|
2022-03-10 21:02:03 +00:00
|
|
|
### 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
|
2022-03-09 17:40:31 +00:00
|
|
|
|
2022-03-08 21:18:28 +00:00
|
|
|
## [0.5.1] - 2022-03-08
|
2022-03-07 19:19:13 +00:00
|
|
|
### Cli
|
|
|
|
- change webhook to discord-webhook (to use rustls)
|
2022-03-07 18:12:44 +00:00
|
|
|
|
|
|
|
## [0.5.0] - 2022-03-07
|
2022-02-28 22:32:26 +00:00
|
|
|
### CLI
|
|
|
|
- clipboard: add support for xclip and termux
|
2022-03-07 18:12:44 +00:00
|
|
|
- webhook: send webhook to discord if image uploaded ([example](https://i.imgur.com/CPpHEec.png))
|
|
|
|
|
|
|
|
### Library
|
|
|
|
- if body length is greater than 30, return message `body is too length`
|
2022-02-27 11:41:49 +00:00
|
|
|
|
|
|
|
## [0.4.0] - 2022-02-27
|
2022-02-27 10:39:02 +00:00
|
|
|
### CLI
|
|
|
|
- update logger
|
|
|
|
- added clipboard
|
2022-02-27 11:06:02 +00:00
|
|
|
- added manpage
|
|
|
|
- added completion for elvish
|
2022-02-27 11:41:49 +00:00
|
|
|
- if failed to upload image send notify with error message
|
2022-01-28 21:45:58 +00:00
|
|
|
|
2022-02-27 11:32:03 +00:00
|
|
|
### Library
|
|
|
|
- added Clone derive
|
2022-03-02 21:16:44 +00:00
|
|
|
- if body length is > 30 return body is too length
|
2022-02-27 11:32:03 +00:00
|
|
|
|
2022-01-28 21:45:58 +00:00
|
|
|
## [0.3.0] - 2022-01-28
|
2022-01-27 13:14:46 +00:00
|
|
|
### CLI
|
2022-01-27 15:49:47 +00:00
|
|
|
- SimpleLogger init error handling
|
2022-01-27 13:14:46 +00:00
|
|
|
- better panic
|
|
|
|
- panic instead of send log error
|
2022-01-27 15:49:47 +00:00
|
|
|
- add url validate
|
2022-01-27 13:14:46 +00:00
|
|
|
|
2022-01-26 19:57:51 +00:00
|
|
|
### Library
|
|
|
|
- The returned error in the Result is from now on anyhow::Error and not String.
|
2022-01-27 13:14:46 +00:00
|
|
|
- Do not exit program if send_api_request error
|
|
|
|
- rename ImgurHandle -> ImgurClient
|
2022-01-26 19:57:51 +00:00
|
|
|
|
2022-01-25 18:53:51 +00:00
|
|
|
## [0.2.0] - 2022-01-23
|
2022-01-25 16:13:43 +00:00
|
|
|
### Added
|
|
|
|
#### CLI
|
2022-01-24 19:39:33 +00:00
|
|
|
- create default config, if not exits
|
2022-01-24 19:48:24 +00:00
|
|
|
- when the image uploaded, send a notification (can be turn off in config)
|
2022-01-25 18:53:51 +00:00
|
|
|
- shell completions
|
2022-01-24 18:33:44 +00:00
|
|
|
|
2022-01-25 16:13:43 +00:00
|
|
|
#### Library
|
2022-01-24 22:15:55 +00:00
|
|
|
- change OpenSSL to RusTLS
|
2022-01-25 18:47:08 +00:00
|
|
|
- move api request to fn send_api_request
|
2022-01-24 18:33:44 +00:00
|
|
|
|
2022-01-25 16:13:43 +00:00
|
|
|
### Fixed
|
2022-01-27 15:49:47 +00:00
|
|
|
- api rate limit (error decoding response body: invalid value: integer \`200\`, expected i8 at line 1 column 140)
|
2022-01-25 16:13:43 +00:00
|
|
|
|
2022-01-24 19:39:33 +00:00
|
|
|
## [0.1.0] - 2022-01-23
|
2022-01-24 18:33:44 +00:00
|
|
|
### CLI
|
|
|
|
- commands
|
|
|
|
- credits
|
|
|
|
- delete
|
|
|
|
- info
|
|
|
|
- upload
|
|
|
|
- toml config parser
|
|
|
|
|
|
|
|
### Library
|
|
|
|
- image info
|
|
|
|
- rate limit
|
|
|
|
- image info
|
|
|
|
- delete image
|
|
|
|
- upload image
|
|
|
|
|
|
|
|
<!-- next-url -->
|
2022-04-05 15:06:17 +00:00
|
|
|
[Unreleased]: https://github.com/MedzikUser/imgurs/compare/v0.7.2...HEAD
|
|
|
|
[0.7.2]: https://github.com/MedzikUser/imgurs/commits/v0.7.2
|
|
|
|
[0.7.1]: https://github.com/MedzikUser/imgurs/commits/v0.7.1
|
2022-04-03 19:43:50 +00:00
|
|
|
[0.7.0]: https://github.com/MedzikUser/imgurs/commits/v0.7.0
|
2022-03-14 18:31:02 +00:00
|
|
|
[0.6.0]: https://github.com/MedzikUser/imgurs/commits/v0.6.0
|
2022-03-09 17:40:31 +00:00
|
|
|
[0.5.1]: https://github.com/MedzikUser/imgurs/commits/v0.5.1
|
|
|
|
[0.5.0]: https://github.com/MedzikUser/imgurs/commits/v0.5.0
|
2022-02-27 11:41:49 +00:00
|
|
|
[0.4.0]: https://github.com/MedzikUser/imgurs/commits/v0.4.0
|
2022-01-28 21:45:58 +00:00
|
|
|
[0.3.0]: https://github.com/MedzikUser/imgurs/commits/v0.3.0
|
2022-01-25 18:53:51 +00:00
|
|
|
[0.2.0]: https://github.com/MedzikUser/imgurs/commits/v0.2.0
|
2022-01-24 19:39:33 +00:00
|
|
|
[0.1.0]: https://github.com/MedzikUser/imgurs/commits/v0.1.0
|