2020-08-12 18:39:40 +02:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
## [unreleased]
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Move core code here from the [`teloxide`] main repo, for older changes see it's [`CHANGELOG.md`].
|
|
|
|
- Following modules were moved:
|
|
|
|
- `bot`
|
|
|
|
- `requests` [except `requests::respond` function]
|
|
|
|
- `types`
|
|
|
|
- `errors`
|
|
|
|
- `net` [private]
|
|
|
|
- `client_from_env` was moved from `teloxide::utils` to crate root of `teloxide-core`
|
|
|
|
- To simplify `GetUpdates` request it was changed to simply return `Vec<Update>`
|
|
|
|
(instead of `Vec<Result<Update, (Value, serde_json::Error)>>`)
|
2020-08-16 19:02:12 +02:00
|
|
|
- `GetUpdatesNonStrict` 'telegram' method, that behaves just like `GetUpdates` but doesn't
|
|
|
|
fail if one of updates fails to be deserialized
|
2020-08-16 10:06:50 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Changed internal mechanism of sending multipart requests
|
|
|
|
- Added `RequestError::Io(io::Error)` to wrap I/O error those can happen while sending files to telegram
|
|
|
|
- Change `StickerType`: instead of newtypes (`Png(InputFile)`) use structs (`Png { png_sticker: InputFile }`), add
|
|
|
|
`StickerType::{png,tgs}` constructors
|
2020-08-16 20:31:55 +02:00
|
|
|
- Make all fields of all methods `pub`
|
2020-08-16 10:06:50 +02:00
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
|
|
|
- `RequestWithFile`, now multipart requests use `Request`
|
2020-08-16 20:30:33 +02:00
|
|
|
- Remove all `#[non_exhaustive]` annotations
|
2020-08-12 18:39:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
[`teloxide`]: https://github.com/teloxide/teloxide
|
|
|
|
[`CHANGELOG.md`]: https://github.com/teloxide/teloxide/blob/master/CHANGELOG.md
|