From 0eea94ea6f038b2ba62f4c499949179e7916cfce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sun, 24 Apr 2022 17:41:45 +0200 Subject: [PATCH] Version 0.77.0 --- CHANGELOG.md | 17 +++++++++++++---- README.md | 6 +++--- src/Telegram.php | 2 +- .../{0.76.1-pending.sql => 0.76.1-0.77.0.sql} | 0 4 files changed, 17 insertions(+), 8 deletions(-) rename utils/db-schema-update/{0.76.1-pending.sql => 0.76.1-0.77.0.sql} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 398bf898..21b33d2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,15 +7,22 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ### Notes - [:ledger: View file changes][Unreleased] ### Added -- Bot API 6.0 See https://core.telegram.org/bots/api#april-16-2022 (@TiiFuchs) ### Changed ### Deprecated -- Telegram changed voice_chat_scheduled, voice_chat_started, voice_chat_ended and voice_chat_participants_invited to video_chat_scheduled, video_chat_started, video_chat_ended and video_chat_participants_invited. -To reflect that change we marked the corresponding VoiceChat classes as deprecated and created new classes for the VideoChat events. ### Removed ### Fixed ### Security +## [0.77.0] - 2022-04-24 +### Notes +- [:ledger: View file changes][0.77.0] ∙ [:page_with_curl: DB migration script][0.77.0-sql-migration] +### Added +- Bot API 6.0 (@TiiFuchs) (#1318) +### Deprecated +- Telegram changed `voice_chat_X` to `video_chat_X`. `VoiceChatX` event classes are deprecated, use new `VideoChatX` event classes instead. +### Fixed +- Return correct data in `Entity::jsonSerialize` (@TiiFuchs) + ## [0.76.1] - 2022-03-30 ### Notes - [:ledger: View file changes][0.76.1] @@ -571,7 +578,8 @@ To reflect that change we marked the corresponding VoiceChat classes as deprecat ### Deprecated - Move `hideKeyboard` to `removeKeyboard`. -[0.75.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.74.0-0.75.0.sql +[0.77.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.76.1-0.77.0.sql +[0.75.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.74.0-0.75.0.sql [0.75.0-bc-removed-chatactions]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#removed-deprecated-chatactions [0.74.0-bc-chatmember-subentities]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#chatmember-subentities [0.73.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.72.0-0.73.0.sql @@ -608,6 +616,7 @@ To reflect that change we marked the corresponding VoiceChat classes as deprecat [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.77.0]: https://github.com/php-telegram-bot/core/compare/0.76.1...0.77.0 [0.76.1]: https://github.com/php-telegram-bot/core/compare/0.76.0...0.76.1 [0.76.0]: https://github.com/php-telegram-bot/core/compare/0.75.0...0.76.0 [0.75.0]: https://github.com/php-telegram-bot/core/compare/0.74.0...0.75.0 diff --git a/README.md b/README.md index ab8faa47..5205c44a 100644 --- a/README.md +++ b/README.md @@ -389,15 +389,15 @@ The reason for denying an update can be defined with the `$reason` parameter. Th ### Types -All types are implemented according to Telegram API 5.7 (January 2022). +All types are implemented according to Telegram API 6.0 (April 2022). ### Inline Query -Full support for inline query according to Telegram API 5.7 (January 2022). +Full support for inline query according to Telegram API 6.0 (April 2022). ### Methods -All methods are implemented according to Telegram API 5.7 (January 2022). +All methods are implemented according to Telegram API 6.0 (April 2022). #### Send Message diff --git a/src/Telegram.php b/src/Telegram.php index e94bc0d1..4ea16696 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -37,7 +37,7 @@ class Telegram * * @var string */ - protected $version = '0.76.1'; + protected $version = '0.77.0'; /** * Telegram API key diff --git a/utils/db-schema-update/0.76.1-pending.sql b/utils/db-schema-update/0.76.1-0.77.0.sql similarity index 100% rename from utils/db-schema-update/0.76.1-pending.sql rename to utils/db-schema-update/0.76.1-0.77.0.sql