From 2ee174022853d3de5e3a30fb8ca7746034c81395 Mon Sep 17 00:00:00 2001 From: Andrey Brusnik Date: Sat, 20 Jul 2024 23:53:48 +0400 Subject: [PATCH] Bump supported TBA version to 7.1 --- CHANGELOG.md | 4 ++++ README.md | 2 +- crates/teloxide-core/CHANGELOG.md | 14 ++++++++++++++ crates/teloxide-core/README.md | 2 +- crates/teloxide-core/schema.ron | 2 +- crates/teloxide-core/src/lib.rs | 2 +- crates/teloxide/src/lib.rs | 2 +- 7 files changed, 23 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec039ebe..3b993d45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +### Added + +- Add `filter_boost_added` and `filter_reply_to_story` filters to `MessageFilterExt` trait + ## 0.13.0 - 2024-08-16 ### Added diff --git a/README.md b/README.md index 77b613fa..95999e11 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - + diff --git a/crates/teloxide-core/CHANGELOG.md b/crates/teloxide-core/CHANGELOG.md index 07218555..525b3455 100644 --- a/crates/teloxide-core/CHANGELOG.md +++ b/crates/teloxide-core/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +### Added + +- Support for TBA 7.1 ([#1131](pr1131)) + - Updated docs for `can_post_stories`, `can_edit_stories` and `can_delete_stories` admin privileges + - Add `ChatBoostAdded` and `StoryId` structs + - Add `ChatBoostAdded` variant to `MessageKind` enum + - Add `sender_boost_count` and `reply_to_story` fields to `MessageCommon` struct + - Add `chat` and `id` fields to `Story` struct + - Add `unrestrict_boost_count` and `custom_emoji_sticker_set_name` fields to `PublicChatSupergroup` struct + - Add `boost_added` and `reply_to_story` getters to `Message` struct + - Add `unrestrict_boost_count` and `custom_emoji_sticker_set_name` getters to `Chat` struct + +[pr1131]: https://github.com/teloxide/teloxide/pull/1131 + ## 0.10.1 - 2024-08-17 ### Fixed diff --git a/crates/teloxide-core/README.md b/crates/teloxide-core/README.md index 31886935..d4bd5edc 100644 --- a/crates/teloxide-core/README.md +++ b/crates/teloxide-core/README.md @@ -12,7 +12,7 @@ - + diff --git a/crates/teloxide-core/schema.ron b/crates/teloxide-core/schema.ron index ea0f7234..4a0c41e8 100644 --- a/crates/teloxide-core/schema.ron +++ b/crates/teloxide-core/schema.ron @@ -39,7 +39,7 @@ //! [github]: https://github.com/WaffleLapkin/tg-methods-schema Schema( - api_version: ApiVersion(ver: "7.0", date: "December 29, 2023"), + api_version: ApiVersion(ver: "7.1", date: "February 16, 2024"), methods: [ Method( names: ("getUpdates", "GetUpdates", "get_updates"), diff --git a/crates/teloxide-core/src/lib.rs b/crates/teloxide-core/src/lib.rs index 483a4546..84e1a1a2 100644 --- a/crates/teloxide-core/src/lib.rs +++ b/crates/teloxide-core/src/lib.rs @@ -1,7 +1,7 @@ //! Core part of the [`teloxide`] library. //! //! This library provides tools for making requests to the [Telegram Bot API] -//! (Currently, version `7.0` is supported) with ease. The library is fully +//! (Currently, version `7.1` is supported) with ease. The library is fully //! asynchronous and built using [`tokio`]. //! //!```toml diff --git a/crates/teloxide/src/lib.rs b/crates/teloxide/src/lib.rs index 097643af..f4c9995c 100644 --- a/crates/teloxide/src/lib.rs +++ b/crates/teloxide/src/lib.rs @@ -1,6 +1,6 @@ //! A full-featured framework that empowers you to easily build [Telegram bots] //! using [Rust]. It handles all the difficult stuff so you can focus only on -//! your business logic. Currently, version `7.0` of [Telegram Bot API] is +//! your business logic. Currently, version `7.1` of [Telegram Bot API] is //! supported. //! //! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide).