From ed50346851088a13f2af27e067d3f595b900b55f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sun, 1 Apr 2018 00:35:18 +0200 Subject: [PATCH] Version 0.53.0 --- CHANGELOG.md | 16 +++-- composer.json | 2 +- composer.lock | 60 +++++++++---------- src/Telegram.php | 2 +- ....52.0-unreleased.sql => 0.52.0-0.53.0.sql} | 0 5 files changed, 43 insertions(+), 37 deletions(-) rename utils/db-schema-update/{0.52.0-unreleased.sql => 0.52.0-0.53.0.sql} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34ad57cc6..f654f2a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p Exclamation symbols (:exclamation:) note something of importance e.g. breaking changes. Click them to learn more. ## [Unreleased] -:exclamation: After updating to this version, you will need to execute the [SQL migration script][unreleased-sql-migration] on your database. +### Added +### Changed +### Deprecated +### Removed +### Fixed +### Security + +## [0.53.0] - 2018-04-01 +:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.53.0-sql-migration] on your database. ### Added - Implemented new changes for Bot API 3.6 (streamable InputMediaVideo, connected website). - `Telegram::getLastUpdateId()` method, returns ID of the last update that was processed. @@ -14,12 +22,9 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c - Add debug log entry instead of throwing an exception for duplicate updates. - `Telegram::handleGetUpdates()` can now work without a database connection (not enabled by default). - Improved `/sendtochannel` and `/sendtoall` commands, using new message helpers. -### Deprecated -### Removed ### Fixed - PHPCS fixes for updated CodeSniffer dependency. - Send messages correctly via `/sendtochannel`. -### Security ## [0.52.0] - 2018-01-07 ### Fixed @@ -199,7 +204,7 @@ 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.52.0-unreleased.sql +[0.53.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.52.0-0.53.0.sql [0.51.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.50.0-0.51.0.sql [0.50.0-bc-messagegetcommand-return-value]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#messagegetcommand-return-value [0.48.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.47.1-0.48.0.sql @@ -214,6 +219,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c [example-bot]: https://github.com/php-telegram-bot/example-bot [Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop +[0.53.0]: https://github.com/php-telegram-bot/core/compare/0.52.0...0.53.0 [0.52.0]: https://github.com/php-telegram-bot/core/compare/0.51.0...0.52.0 [0.51.0]: https://github.com/php-telegram-bot/core/compare/0.50.0...0.51.0 [0.50.0]: https://github.com/php-telegram-bot/core/compare/0.49.0...0.50.0 diff --git a/composer.json b/composer.json index 01cf240b4..bc8055478 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "guzzlehttp/guzzle": "^6.3" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.7|^6.5", + "phpunit/phpunit": "^4.8|^5.7|^6.5|^7.0", "squizlabs/php_codesniffer": "^3.2" }, "autoload": { diff --git a/composer.lock b/composer.lock index d85a2c0c2..f58e0d2cb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "1fd4b486f04a942aca0767e94431f284", + "content-hash": "c7d1725771953f0ab9ce92df1e3cc9b3", "packages": [ { "name": "guzzlehttp/guzzle", - "version": "6.3.0", + "version": "6.3.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699" + "reference": "68d0ea14d5a3f42a20e87632a5f84931e2709c90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699", - "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/68d0ea14d5a3f42a20e87632a5f84931e2709c90", + "reference": "68d0ea14d5a3f42a20e87632a5f84931e2709c90", "shasum": "" }, "require": { @@ -27,7 +27,7 @@ }, "require-dev": { "ext-curl": "*", - "phpunit/phpunit": "^4.0 || ^5.0", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4", "psr/log": "^1.0" }, "suggest": { @@ -36,7 +36,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.2-dev" + "dev-master": "6.3-dev" } }, "autoload": { @@ -69,7 +69,7 @@ "rest", "web service" ], - "time": "2017-06-22T18:50:49+00:00" + "time": "2018-03-26T16:33:04+00:00" }, { "name": "guzzlehttp/promises", @@ -566,16 +566,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.3", + "version": "1.7.5", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", "shasum": "" }, "require": { @@ -587,7 +587,7 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" }, "type": "library", "extra": { @@ -625,7 +625,7 @@ "spy", "stub" ], - "time": "2017-11-24T13:59:53+00:00" + "time": "2018-02-19T10:16:54+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1377,16 +1377,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.2.2", + "version": "3.2.3", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "d7c00c3000ac0ce79c96fcbfef86b49a71158cd1" + "reference": "4842476c434e375f9d3182ff7b89059583aa8b27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d7c00c3000ac0ce79c96fcbfef86b49a71158cd1", - "reference": "d7c00c3000ac0ce79c96fcbfef86b49a71158cd1", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/4842476c434e375f9d3182ff7b89059583aa8b27", + "reference": "4842476c434e375f9d3182ff7b89059583aa8b27", "shasum": "" }, "require": { @@ -1396,7 +1396,7 @@ "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "bin": [ "bin/phpcs", @@ -1424,20 +1424,20 @@ "phpcs", "standards" ], - "time": "2017-12-19T21:44:46+00:00" + "time": "2018-02-20T21:35:23+00:00" }, { "name": "symfony/yaml", - "version": "v3.4.3", + "version": "v3.4.6", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "25c192f25721a74084272671f658797d9e0e0146" + "reference": "6af42631dcf89e9c616242c900d6c52bd53bd1bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/25c192f25721a74084272671f658797d9e0e0146", - "reference": "25c192f25721a74084272671f658797d9e0e0146", + "url": "https://api.github.com/repos/symfony/yaml/zipball/6af42631dcf89e9c616242c900d6c52bd53bd1bb", + "reference": "6af42631dcf89e9c616242c900d6c52bd53bd1bb", "shasum": "" }, "require": { @@ -1482,20 +1482,20 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-02-16T09:50:28+00:00" }, { "name": "webmozart/assert", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "reference": "0df1908962e7a3071564e857d86874dad1ef204a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a", "shasum": "" }, "require": { @@ -1532,7 +1532,7 @@ "check", "validate" ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2018-01-29T19:49:41+00:00" } ], "aliases": [], diff --git a/src/Telegram.php b/src/Telegram.php index e827ca14c..625cb16ed 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -30,7 +30,7 @@ class Telegram * * @var string */ - protected $version = '0.52.0'; + protected $version = '0.53.0'; /** * Telegram API key diff --git a/utils/db-schema-update/0.52.0-unreleased.sql b/utils/db-schema-update/0.52.0-0.53.0.sql similarity index 100% rename from utils/db-schema-update/0.52.0-unreleased.sql rename to utils/db-schema-update/0.52.0-0.53.0.sql