From f3fe5ed3b62995ac6ee282cbdd670634329961f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sun, 3 Jul 2022 14:23:17 +0200 Subject: [PATCH] Version 0.78.0 --- CHANGELOG.md | 13 ++++++++++--- README.md | 10 +++++----- src/Telegram.php | 2 +- .../{0.77.1-unreleased.sql => 0.77.1-0.78.0.sql} | 0 4 files changed, 16 insertions(+), 9 deletions(-) rename utils/db-schema-update/{0.77.1-unreleased.sql => 0.77.1-0.78.0.sql} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index efef9610..53a3cb4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,21 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ## [Unreleased] ### Notes - [:ledger: View file changes][Unreleased] -- 64 bit PHP installs are required to handle files larger than 2GB! ### Added -- Bot API 6.1 (@jyxjjj, @OxMohsen, @noplanman) (#1333, #1338, #1339) -- New Update field helpers for Command class. ### Changed ### Deprecated ### Removed ### Fixed ### Security +## [0.78.0] - 2022-07-03 +### Notes +- [:ledger: View file changes][0.78.0] ∙ [:page_with_curl: DB migration script][0.78.0-sql-migration] +- 64 bit PHP install required to handle files larger than 2GB! +### Added +- Bot API 6.1 (@jyxjjj, @OxMohsen, @noplanman) (#1333, #1338, #1339) +- New Update field helpers for Command class. + ## [0.77.1] - 2022-04-24 ### Notes - [:ledger: View file changes][0.77.1] @@ -587,6 +592,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ### Deprecated - Move `hideKeyboard` to `removeKeyboard`. +[0.78.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.77.1-0.78.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 @@ -625,6 +631,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.78.0]: https://github.com/php-telegram-bot/core/compare/0.77.1...0.78.0 [0.77.1]: https://github.com/php-telegram-bot/core/compare/0.77.0...0.77.1 [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 diff --git a/README.md b/README.md index ab1874b9..9c382971 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A Telegram Bot based on the official [Telegram Bot API] -[![API Version](https://img.shields.io/badge/Bot%20API-6.0%20%28April%202022%29-32a2da.svg)](https://core.telegram.org/bots/api#april-16-2022) +[![API Version](https://img.shields.io/badge/Bot%20API-6.1%20%28June%202022%29-32a2da.svg)](https://core.telegram.org/bots/api#june-20-2022) [![Join the bot support group on Telegram](https://img.shields.io/badge/telegram-@PHP__Telegram__Bot__Support-64659d.svg)](https://telegram.me/PHP_Telegram_Bot_Support) [![Donate](https://img.shields.io/badge/%F0%9F%92%99-Donate%20%2F%20Support%20Us-blue.svg)](#donate) @@ -78,7 +78,7 @@ This Bot aims to provide a platform where one can simply write a bot and have in The Bot can: - Retrieve updates with [webhook](#webhook-installation) and [getUpdates](#getupdates-installation) methods. -- Supports all types and methods according to Telegram Bot API 6.0 (April 2022). +- Supports all types and methods according to Telegram Bot API 6.1 (June 2022). - Supports supergroups. - Handle commands in chat with other bots. - Manage Channel from the bot admin interface. @@ -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 6.0 (April 2022). +All types are implemented according to Telegram API 6.1 (June 2022). ### Inline Query -Full support for inline query according to Telegram API 6.0 (April 2022). +Full support for inline query according to Telegram API 6.1 (June 2022). ### Methods -All methods are implemented according to Telegram API 6.0 (April 2022). +All methods are implemented according to Telegram API 6.1 (June 2022). #### Send Message diff --git a/src/Telegram.php b/src/Telegram.php index 91ca4ef9..b671cbbe 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -37,7 +37,7 @@ class Telegram * * @var string */ - protected $version = '0.77.1'; + protected $version = '0.78.0'; /** * Telegram API key diff --git a/utils/db-schema-update/0.77.1-unreleased.sql b/utils/db-schema-update/0.77.1-0.78.0.sql similarity index 100% rename from utils/db-schema-update/0.77.1-unreleased.sql rename to utils/db-schema-update/0.77.1-0.78.0.sql