mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Fix typos in changelog
This commit is contained in:
parent
8bbe0ecf1a
commit
e4f3ec78a2
2 changed files with 14 additions and 17 deletions
|
@ -49,7 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Use `UserId` instead of `i64` for `user_id` in `html::user_mention` and `markdown::user_mention` ([PR 896](https://github.com/teloxide/teloxide/pull/896))
|
- Use `UserId` instead of `i64` for `user_id` in `html::user_mention` and `markdown::user_mention` ([PR 896](https://github.com/teloxide/teloxide/pull/896))
|
||||||
- Greatly improved the speed of graceful shutdown (`^C`) ([PR 938](https://github.com/teloxide/teloxide/pull/938))
|
- Greatly improved the speed of graceful shutdown (`^C`) ([PR 938](https://github.com/teloxide/teloxide/pull/938))
|
||||||
- Fix typos in docstrings ([PR 953](https://github.com/teloxide/teloxide/pull/953))
|
- Fix typos in documentation ([PR 953](https://github.com/teloxide/teloxide/pull/953))
|
||||||
- Use `Seconds` instead of `String` in `InlineQueryResultAudio` for `audio_duration` ([PR 994](https://github.com/teloxide/teloxide/pull/994))
|
- Use `Seconds` instead of `String` in `InlineQueryResultAudio` for `audio_duration` ([PR 994](https://github.com/teloxide/teloxide/pull/994))
|
||||||
- High CPU usage on network errors ([PR 1002](https://github.com/teloxide/teloxide/pull/1002), [Issue 780](https://github.com/teloxide/teloxide/issues/780))
|
- High CPU usage on network errors ([PR 1002](https://github.com/teloxide/teloxide/pull/1002), [Issue 780](https://github.com/teloxide/teloxide/issues/780))
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Remove `latitude` and `longitude` parameters from `stop_message_live_location` and `stop_message_live_location_inline` ([#854][pr854])
|
- Remove `latitude` and `longitude` parameters from `stop_message_live_location` and `stop_message_live_location_inline` ([#854][pr854])
|
||||||
- Fix the type of `photo_size`,`photo_width` and `photo_height` in the `send_invoice` method ([#936][pr936])
|
- Fix the type of `photo_size`,`photo_width` and `photo_height` in the `send_invoice` method ([#936][pr936])
|
||||||
- Fix roundtrip de/serialization of `InlineQueryResult` ([#990][pr990])
|
- Fix roundtrip de/serialization of `InlineQueryResult` ([#990][pr990])
|
||||||
|
- Deserialization of `ApiError::CantParseEntities` ([#839][pr839])
|
||||||
|
- Deserialization of empty (content-less) messages that can sometimes appear as a part of callback query ([#850][pr850], issue [#873][issue873])
|
||||||
|
|
||||||
|
[pr839]: https://github.com/teloxide/teloxide/pull/839
|
||||||
|
[pr879]: https://github.com/teloxide/teloxide/pull/879
|
||||||
|
[issue873]: https://github.com/teloxide/teloxide/issues/873
|
||||||
[pr854]: https://github.com/teloxide/teloxide/pull/854
|
[pr854]: https://github.com/teloxide/teloxide/pull/854
|
||||||
[pr936]: https://github.com/teloxide/teloxide/pull/936
|
[pr936]: https://github.com/teloxide/teloxide/pull/936
|
||||||
[pr990]: https://github.com/teloxide/teloxide/pull/990
|
[pr990]: https://github.com/teloxide/teloxide/pull/990
|
||||||
|
@ -88,7 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- `message_thread_id` method parameters now use `ThreadId` instead of `i32` ([#887][pr887])
|
- `message_thread_id` method parameters now use `ThreadId` instead of `i32` ([#887][pr887])
|
||||||
- `DiceEmoji` variant order ([#887][pr887])
|
- `DiceEmoji` variant order ([#887][pr887])
|
||||||
- `Dice::value` now use `u8`, instead of `i32` ([#887][pr887])
|
- `Dice::value` now use `u8`, instead of `i32` ([#887][pr887])
|
||||||
- `Invoice::total_amount`, `LabeledPrice::amount`, `PreCheckoutQuery::total_amount`, `SuccessfulPayment::total_amout` now use `u32`, instead of `i32` ([#887][pr887])
|
- `Invoice::total_amount`, `LabeledPrice::amount`, `PreCheckoutQuery::total_amount`, `SuccessfulPayment::total_amount` now use `u32`, instead of `i32` ([#887][pr887])
|
||||||
- `Forward::message_id` and `Message::forward_from_message_id` now use `MessageId` instead of `i32` ([#887][pr887])
|
- `Forward::message_id` and `Message::forward_from_message_id` now use `MessageId` instead of `i32` ([#887][pr887])
|
||||||
- `Poll::total_voter_count` and `PollOption::voter_count` now use `u32` instead of `i32` ([#887][pr887])
|
- `Poll::total_voter_count` and `PollOption::voter_count` now use `u32` instead of `i32` ([#887][pr887])
|
||||||
- `PollAnswer::option_ids` now use `u8` instead of `i32` ([#887][pr887])
|
- `PollAnswer::option_ids` now use `u8` instead of `i32` ([#887][pr887])
|
||||||
|
@ -126,14 +131,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
[pr954]: https://github.com/teloxide/teloxide/pull/954
|
[pr954]: https://github.com/teloxide/teloxide/pull/954
|
||||||
[pr1013]: https://github.com/teloxide/teloxide/pull/1013
|
[pr1013]: https://github.com/teloxide/teloxide/pull/1013
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- Deserialization of `ApiError::CantParseEntities` ([#839][pr839])
|
|
||||||
- Deserialization of empty (content-less) messages that can sometimes appear as a part of callback query ([#850][pr850], issue [#873][issue873])
|
|
||||||
|
|
||||||
[pr839]: https://github.com/teloxide/teloxide/pull/839
|
|
||||||
[pr879]: https://github.com/teloxide/teloxide/pull/879
|
|
||||||
[issue873]: https://github.com/teloxide/teloxide/issues/873
|
|
||||||
|
|
||||||
## 0.9.1 - 2023-02-15
|
## 0.9.1 - 2023-02-15
|
||||||
|
|
||||||
|
@ -388,7 +385,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `user.id` now uses `UserId` type, `ChatId` now represents only _chat id_, not channel username, all `chat_id` function parameters now accept `Recipient` [**BC**]
|
- `user.id` now uses `UserId` type, `ChatId` now represents only _chat id_, not channel username, all `chat_id` function parameters now accept `Recipient` [**BC**]
|
||||||
- Improve `Throttling` adoptor ([#130][pr130])
|
- Improve `Throttling` adaptor ([#130][pr130])
|
||||||
- Freeze when getting `RetryAfter(_)` error
|
- Freeze when getting `RetryAfter(_)` error
|
||||||
- Retry requests that previously returned `RetryAfter(_)` error
|
- Retry requests that previously returned `RetryAfter(_)` error
|
||||||
- `RequestError::RetryAfter` now has a `Duration` field instead of `i32`
|
- `RequestError::RetryAfter` now has a `Duration` field instead of `i32`
|
||||||
|
@ -514,7 +511,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Mark `ApiError` as `non_exhaustive` ([#125][pr125])
|
- Mark `ApiError` as `non_exhaustive` ([#125][pr125])
|
||||||
- `InputFile` and related structures now do **not** implement `PartialEq`, `Eq` and `Hash` ([#133][pr133])
|
- `InputFile` and related structures now do **not** implement `PartialEq`, `Eq` and `Hash` ([#133][pr133])
|
||||||
- How forwarded messages are represented ([#151][pr151])
|
- How forwarded messages are represented ([#151][pr151])
|
||||||
- `RequestError::InvalidJson` now has a `raw` field with raw json for easier debugability ([#150][pr150])
|
- `RequestError::InvalidJson` now has a `raw` field with raw json for easier debuggability ([#150][pr150])
|
||||||
- `ChatPermissions` is now bitflags ([#157][pr157])
|
- `ChatPermissions` is now bitflags ([#157][pr157])
|
||||||
- Type of `WebhookInfo::ip_address` from `Option<String>` to `Option<std::net::IpAddr>` ([#172][pr172])
|
- Type of `WebhookInfo::ip_address` from `Option<String>` to `Option<std::net::IpAddr>` ([#172][pr172])
|
||||||
- Type of `WebhookInfo::allowed_updates` from `Option<Vec<String>>` to `Option<Vec<AllowedUpdate>>` ([#174][pr174])
|
- Type of `WebhookInfo::allowed_updates` from `Option<Vec<String>>` to `Option<Vec<AllowedUpdate>>` ([#174][pr174])
|
||||||
|
@ -592,7 +589,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- `impl Clone` for {`CacheMe`, `DefaultParseMode`, `Throttle`} ([#76][pr76])
|
- `impl Clone` for {`CacheMe`, `DefaultParseMode`, `Throttle`} ([#76][pr76])
|
||||||
- `DefaultParseMode::parse_mode` which allows to get currently used default parse mode ([#77][pr77])
|
- `DefaultParseMode::parse_mode` which allows to get currently used default parse mode ([#77][pr77])
|
||||||
- `Thrrotle::{limits,set_limits}` functions ([#77][pr77])
|
- `Throttle::{limits,set_limits}` functions ([#77][pr77])
|
||||||
- `Throttle::{with_settings,spawn_with_settings}` and `throttle::Settings` ([#96][pr96])
|
- `Throttle::{with_settings,spawn_with_settings}` and `throttle::Settings` ([#96][pr96])
|
||||||
- Getters for fields nested in `Chat` ([#80][pr80])
|
- Getters for fields nested in `Chat` ([#80][pr80])
|
||||||
- API errors: `ApiError::NotEnoughRightsToManagePins`, `ApiError::BotKickedFromSupergroup` ([#84][pr84])
|
- API errors: `ApiError::NotEnoughRightsToManagePins`, `ApiError::BotKickedFromSupergroup` ([#84][pr84])
|
||||||
|
@ -669,7 +666,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Refactor `ReplyMarkup` ([#pr65][pr65]) (**BC**)
|
- Refactor `ReplyMarkup` ([#pr65][pr65]) (**BC**)
|
||||||
- Rename `ReplyMarkup::{InlineKeyboardMarkup => InlineKeyboard, ReplyKeyboardMarkup => Keyboard, ReplyKeyboardRemove => KeyboardRemove}`
|
- Rename `ReplyMarkup::{InlineKeyboardMarkup => InlineKeyboard, ReplyKeyboardMarkup => Keyboard, ReplyKeyboardRemove => KeyboardRemove}`
|
||||||
- Add `inline_kb`, `keyboad`, `kb_remove` and `force_reply` `ReplyMarkup` consructors
|
- Add `inline_kb`, `keyboad`, `kb_remove` and `force_reply` `ReplyMarkup` constructors
|
||||||
- Rename `ReplyKeyboardMarkup` => `KeyboardMarkup`
|
- Rename `ReplyKeyboardMarkup` => `KeyboardMarkup`
|
||||||
- Rename `ReplyKeyboardRemove` => `KeyboardRemove`
|
- Rename `ReplyKeyboardRemove` => `KeyboardRemove`
|
||||||
- Remove useless generic param from `ReplyKeyboardMarkup::new` and `InlineKeyboardMarkup::new`
|
- Remove useless generic param from `ReplyKeyboardMarkup::new` and `InlineKeyboardMarkup::new`
|
||||||
|
@ -683,7 +680,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `GetUpdatesFaultTolerant` - fault toletant version of `GetUpdates` ([#58][pr58]) (**BC**)
|
- `GetUpdatesFaultTolerant` - fault tolerant version of `GetUpdates` ([#58][pr58]) (**BC**)
|
||||||
- Derive `Clone` for `AutoSend`.
|
- Derive `Clone` for `AutoSend`.
|
||||||
|
|
||||||
[pr58]: https://github.com/teloxide/teloxide-core/pull/58
|
[pr58]: https://github.com/teloxide/teloxide-core/pull/58
|
||||||
|
@ -785,7 +782,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Make `net::{TELEGRAM_API_URL, download_file{,_stream}}` pub
|
- Make `net::{TELEGRAM_API_URL, download_file{,_stream}}` pub
|
||||||
- Refactor `Bot` ([#29][pr29]):
|
- Refactor `Bot` ([#29][pr29]):
|
||||||
- Move default parse mode to an adaptor (`DefaultParseMode`)
|
- Move default parse mode to an adaptor (`DefaultParseMode`)
|
||||||
- Remove bot builder (it's not usefull anymore, since parse_mode is moved away)
|
- Remove bot builder (it's not useful anymore, since parse_mode is moved away)
|
||||||
- Undeprecate bot constructors (`Bot::{new, with_client, from_env_with_client}`)
|
- Undeprecate bot constructors (`Bot::{new, with_client, from_env_with_client}`)
|
||||||
- Rename `StickerType` => `InputSticker`, `{CreateNewStickerSet,AddStickerToSet}::sticker_type}` => `sticker` ([#23][pr23], [#43][pr43])
|
- Rename `StickerType` => `InputSticker`, `{CreateNewStickerSet,AddStickerToSet}::sticker_type}` => `sticker` ([#23][pr23], [#43][pr43])
|
||||||
- Use `_: IntoIterator<Item = T>` bound instead of `_: Into<Vec<T>>` in telegram methods which accept collections ([#21][pr21])
|
- Use `_: IntoIterator<Item = T>` bound instead of `_: Into<Vec<T>>` in telegram methods which accept collections ([#21][pr21])
|
||||||
|
@ -813,7 +810,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- `unstable-stream` feature (now `Bot::download_file_stream` is accesable by default)
|
- `unstable-stream` feature (now `Bot::download_file_stream` is accessible by default)
|
||||||
- old `Request` trait
|
- old `Request` trait
|
||||||
- `RequestWithFile`, now multipart requests use `Request`
|
- `RequestWithFile`, now multipart requests use `Request`
|
||||||
- Remove all `#[non_exhaustive]` annotations ([#4][pr4])
|
- Remove all `#[non_exhaustive]` annotations ([#4][pr4])
|
||||||
|
|
Loading…
Reference in a new issue