From 596cc9cdecfe620ac9df21fb46778c8604b2f0e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sat, 25 May 2024 21:53:27 +0200 Subject: [PATCH] Version 0.83.0 --- CHANGELOG.md | 26 ++++++++++++++----- src/Entities/Message.php | 3 +-- src/Telegram.php | 2 +- ....82.0-unreleased.sql => 0.82.0-0.83.0.sql} | 0 4 files changed, 21 insertions(+), 10 deletions(-) rename utils/db-schema-update/{0.82.0-unreleased.sql => 0.82.0-0.83.0.sql} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecc1ff70..bb98e515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,24 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ## [Unreleased] ### Notes -- [:ledger: View file changes][Unreleased] ∙ [:page_with_curl: DB migration script][unreleased-sql-migration] -- [:exclamation:][unreleased-bc-minimum-php-81] PHP 8.1+ required! +- [:ledger: View file changes][Unreleased] +### Added +### Changed +### Deprecated +### Removed +### Fixed +### Security + +## [0.83.0] - 2024-05-25 +### Notes +- [:ledger: View file changes][0.83.0] ∙ [:page_with_curl: DB migration script][0.83.0-sql-migration] +- [:exclamation:][0.83.0-bc-minimum-php-81] PHP 8.1+ required! +- Last version with database support built in to the core. ### Added - Bot API 7.0 (@noplanman, @TiiFuchs) (#1459) -- Bot API 7.1 (@noplanman) +- Bot API 7.1 (@noplanman) (#1465) ### Changed -- [:exclamation:][unreleased-bc-user-to-users] Various fields have been pluralised from "user" to "users". +- [:exclamation:][0.83.0-bc-user-to-users] Various fields have been pluralised from "user" to "users". ### Deprecated ### Removed ### Fixed @@ -638,9 +649,9 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ### Deprecated - Move `hideKeyboard` to `removeKeyboard`. -[unreleased-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.82.0-unreleased.sql -[unreleased-bc-unreleased-bc-minimum-php-81]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#minimum-php-81 -[unreleased-bc-unreleased-bc-user-to-users]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#user-to-users +[0.83.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.82.0-0.83.0.sql +[0.83.0-bc-minimum-php-81]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#minimum-php-81 +[0.83.0-bc-user-to-users]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#user-to-users [0.82.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.81.0-0.82.0.sql [0.81.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.80.0-0.81.0.sql [0.80.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.79.0-0.80.0.sql @@ -684,6 +695,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c [Tidelift]: https://tidelift.com/subscription/pkg/packagist-longman-telegram-bot?utm_source=packagist-longman-telegram-bot&utm_medium=referral&utm_campaign=changelog [Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop +[0.83.0]: https://github.com/php-telegram-bot/core/compare/0.82.0...0.83.0 [0.82.0]: https://github.com/php-telegram-bot/core/compare/0.81.0...0.82.0 [0.81.0]: https://github.com/php-telegram-bot/core/compare/0.80.0...0.81.0 [0.80.0]: https://github.com/php-telegram-bot/core/compare/0.79.0...0.80.0 diff --git a/src/Entities/Message.php b/src/Entities/Message.php index 05231220..f8baa984 100644 --- a/src/Entities/Message.php +++ b/src/Entities/Message.php @@ -38,8 +38,7 @@ * @link https://core.telegram.org/bots/api#message * * @method int getMessageId() Unique message identifier - * @method int getMessageThreadId() Optional. Unique identifier of a message thread to which the message belongs; -for supergroups only + * @method int getMessageThreadId() Optional. Unique identifier of a message thread to which the message belongs; for supergroups only * @method User getFrom() Optional. Sender, can be empty for messages sent to channels * @method Chat getSenderChat() Optional. Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group * @method int getSenderBoostCount() Optional. If the sender of the message boosted the chat, the number of boosts added by the user diff --git a/src/Telegram.php b/src/Telegram.php index bbc94805..506af69f 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -37,7 +37,7 @@ class Telegram * * @var string */ - protected $version = '0.82.0'; + protected $version = '0.83.0'; /** * Telegram API key diff --git a/utils/db-schema-update/0.82.0-unreleased.sql b/utils/db-schema-update/0.82.0-0.83.0.sql similarity index 100% rename from utils/db-schema-update/0.82.0-unreleased.sql rename to utils/db-schema-update/0.82.0-0.83.0.sql