From ed2df605b2f7fa77db527ef70dc5cec7cd4fdf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Mon, 14 Jun 2021 15:44:45 +0200 Subject: [PATCH] Version 0.73.0 --- CHANGELOG.md | 20 ++++++++++++++----- src/Telegram.php | 7 +++---- ....72.0-unreleased.sql => 0.72.0-0.73.0.sql} | 0 3 files changed, 18 insertions(+), 9 deletions(-) rename utils/db-schema-update/{0.72.0-unreleased.sql => 0.72.0-0.73.0.sql} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index d33cddd5..23d72741 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,16 +7,24 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ### Notes - [:ledger: View file changes][Unreleased] ∙ [:page_with_curl: DB migration script][unreleased-sql-migration] ### Added -- Bot API 5.2 (Payments 2.0). ### Changed -- `Telegram::runCommands` returns array of `ServerResponse` objects of executed commands. ### Deprecated ### Removed ### Fixed -- Regex for namespace extraction from custom command classes. -- Nested and user-triggered `Telegram::runCommands`. ### Security +## [0.73.0] - 2021-06-14 +### Notes +- [:ledger: View file changes][0.73.0] ∙ [:page_with_curl: DB migration script][0.73.0-sql-migration] +### Added +- Bot API 5.2 (Payments 2.0). (#1216) +- Possibility to connect to MySQL DB with unix socket. (#1220) +### Changed +- `Telegram::runCommands` returns array of `ServerResponse` objects of executed commands. (#1223) +### Fixed +- Regex for namespace extraction from custom command classes. +- Nested and user-triggered `Telegram::runCommands`. (#1223) + ## [0.72.0] - 2021-04-16 ### Notes - [:ledger: View file changes][0.72.0] ∙ [:page_with_curl: DB migration script][0.72.0-sql-migration] @@ -517,7 +525,8 @@ 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.72.0-unreleased.sql +[unreleased-sql-migration]: # +[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 [0.72.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.71.0-0.72.0.sql [0.70.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.64.0-0.70.0.sql [0.70.0-bc-minimum-php-73]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#minimum-php-73 @@ -551,6 +560,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.73.0]: https://github.com/php-telegram-bot/core/compare/0.72.0...0.73.0 [0.72.0]: https://github.com/php-telegram-bot/core/compare/0.71.0...0.72.0 [0.71.0]: https://github.com/php-telegram-bot/core/compare/0.70.1...0.71.0 [0.70.1]: https://github.com/php-telegram-bot/core/compare/0.70.0...0.70.1 diff --git a/src/Telegram.php b/src/Telegram.php index 9d8a70a8..90b47ec6 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -37,7 +37,7 @@ class Telegram * * @var string */ - protected $version = '0.72.0'; + protected $version = '0.73.0'; /** * Telegram API key @@ -190,10 +190,9 @@ class Telegram public const GENERIC_COMMAND = 'generic'; /** - * Update filter - * Filter updates + * Update filter method * - * @var callback + * @var callable */ protected $update_filter; diff --git a/utils/db-schema-update/0.72.0-unreleased.sql b/utils/db-schema-update/0.72.0-0.73.0.sql similarity index 100% rename from utils/db-schema-update/0.72.0-unreleased.sql rename to utils/db-schema-update/0.72.0-0.73.0.sql