Update changelogs

This commit is contained in:
Сырцев Вадим Игоревич 2024-01-05 18:28:32 +03:00
parent f3ade10d00
commit 2d515312d2
2 changed files with 49 additions and 5 deletions

View file

@ -10,6 +10,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `MessageToCopyNotFound` error to `teloxide::errors::ApiError` ([PR 917](https://github.com/teloxide/teloxide/pull/917))
- `Dispatcher::try_dispatch_with_listener` ([PR 913](https://github.com/teloxide/teloxide/pull/913))
- Missing Message::filter_* functions ([PR 982](https://github.com/teloxide/teloxide/pull/982)):
- `filter_game`
- `filter_venue`
- `filter_video`
- `filter_video_note`
- `filter_voice`
- `filter_migration`
- `filter_migration_from`
- `filter_migration_to`
- `filter_new_chat_title`
- `filter_new_chat_photo`
- `filter_delete_chat_photo`
- `filter_group_chat_created`
- `filter_supergroup_chat_created`
- `filter_channel_chat_created`
- `filter_message_auto_delete_timer_changed`
- `filter_invoice`
- `filter_successful_payment`
- `filter_connected_website`
- `filter_write_access_allowed`
- `filter_passport_data`
- `filter_proximity_alert_triggered`
- `filter_forum_topic_created`
- `filter_forum_topic_edited`
- `filter_forum_topic_closed`
- `filter_forum_topic_reopened`
- `filter_general_forum_topic_hidden`
- `filter_general_forum_topic_unhidden`
- `filter_video_chat_scheduled`
- `filter_video_chat_started`
- `filter_video_chat_ended`
- `filter_video_chat_participants_invited`
- `filter_web_app_data`
### Fixed

View file

@ -19,8 +19,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `ChatId::as_user` ([#905][pr905])
- Implement `PartialEq<ChatId> for UserId` and `PartialEq<UserId> for ChatId` ([#905][pr905])
- `ChatId::{MIN, MAX}` ([#905][pr905])
- Add missing Message::filter_* functions: `filter_game`, `filter_venue`, `filter_video`, `filter_video_note`, `filter_voice`, `filter_migration`, `filter_migration_from`, `filter_migration_to`, `filter_new_chat_title`, `filter_new_chat_photo`, `filter_delete_chat_photo`, `filter_group_chat_created`, `filter_supergroup_chat_created`, `filter_channel_chat_created`, `filter_message_auto_delete_timer_changed`, `filter_invoice`, `filter_successful_payment`, `filter_connected_website`, `filter_write_access_allowed`, `filter_passport_data`, `filter_proximity_alert_triggered`, `filter_forum_topic_created`, `filter_forum_topic_edited`, `filter_forum_topic_closed`, `filter_forum_topic_reopened`, `filter_general_forum_topic_hidden`, `filter_general_forum_topic_unhidden`, `filter_video_chat_scheduled`, `filter_video_chat_started`, `filter_video_chat_ended`, `filter_video_chat_participants_invited`, `filter_web_app_data` and getters: `message_auto_delete_timer_changed`, `write_access_allowed`, `forum_topic_created`, `forum_topic_edited`, `forum_topic_closed`, `forum_topic_reopened`, `general_forum_topic_hidden`, `general_forum_topic_unhidden`, `video_chat_scheduled`, `video_chat_started`, `video_chat_ended`, `web_app_data` ([#982][pr982])
- Add `is_delete_chat_photo`, `is_group_chat_created`, `is_super_group_chat_created`, `is_channel_chat_created` to `Message` getters ([#982][pr982])
- Missing `Message` getters ([#982][pr982]):
- `message_auto_delete_timer_changed`
- `write_access_allowed`
- `forum_topic_created`
- `forum_topic_edited`
- `forum_topic_closed`
- `forum_topic_reopened`
- `general_forum_topic_hidden`
- `general_forum_topic_unhidden`
- `video_chat_scheduled`
- `video_chat_started`
- `video_chat_ended`
- `web_app_data`
- `is_delete_chat_photo`, `is_group_chat_created`, `is_super_group_chat_created`, `is_channel_chat_created` functions to `Message` ([#982][pr982])
[pr851]: https://github.com/teloxide/teloxide/pull/851
[pr887]: https://github.com/teloxide/teloxide/pull/887
@ -73,8 +85,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add proper support for `edit_message_caption_inline`, `copy_message`, `answer_inline_query`, `answer_web_app_query`, `send_media_group`, `edit_message_media`, and `edit_message_media_inline` to `DefaultParseMode` adaptor ([#961][pr961])
- Note that now `DefaultParseMode` sets the default on `send`, instead of request creation
- `DefaultParseMode` now also requires that the supported requests implement `Clone` (as a user you should not notice anything changing)
- Methods of the Message type: `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created`, `chat_migration`, `migrate_to_chat_id`, `migrate_from_chat_id` now return shared reference instead of owned value inside Option ([#982][pr982])
- Methods `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created` now return appropriate structs not Option<True> ([#982][pr982])
- Methods of the Message type: `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created`, `chat_migration`, `migrate_to_chat_id`, `migrate_from_chat_id` now return shared reference instead of owned value inside `Option` ([#982][pr982])
- Methods `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created` now return appropriate structs not `Option<True>` ([#982][pr982])
[pr852]: https://github.com/teloxide/teloxide/pull/853
[pr859]: https://github.com/teloxide/teloxide/pull/859
@ -83,7 +95,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[pr892]: https://github.com/teloxide/teloxide/pull/892
[pr950]: https://github.com/teloxide/teloxide/pull/950
[pr961]: https://github.com/teloxide/teloxide/pull/961
[pr982]: https://github.com/teloxide/teloxide/pull/982
### Deprecated