Skip to content

Commit 8588b97

Browse files
committed
Version 0.61.0
1 parent f21af3b commit 8588b97

File tree

3 files changed

+29
-19
lines changed

3 files changed

+29
-19
lines changed

CHANGELOG.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,36 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
66
## [Unreleased]
77
### Notes
88
- [:ledger: View file changes][Unreleased]
9-
- :exclamation: Built-in logging (Monolog) has been removed, a custom PSR-3 logger must be used now! (see #964 for more info)
109
### Added
11-
- Code snippet in `GenericmessageCommand` to keep obsolete service message system commands working.
12-
- Static boolean property `SystemCommand::$execute_deprecated` (must be assigned before handling the request) to try and execute any deprecated system command.
13-
- Improved MySQL DB index for `message` table, making the clean much faster on bigger databases. (Thanks to @damianperez)
14-
- `/cleanup` command now supports dry run which simply outputs all queries that would be run.
1510
### Changed
16-
- Small readme and code fixes / simplifications.
17-
- Upgrade PHPUnit to 8.x and PHPCS to 3.5. For tests now minimum PHP version is 7.2.
18-
- Updated updates log importer (requires PHP7+).
1911
### Deprecated
2012
### Removed
21-
- Service message system commands, which are now handled by `GenericmessageCommand`.
22-
- [:exclamation:][unreleased-bc-remove-monolog-from-core] Monolog has been removed as built-in logging engine.
23-
- Assets have been moved to a dedicated repository.
2413
### Fixed
25-
- Boolean value for Polls gets saved correctly in MySQL DB.
26-
- Correctly use `Request::answerInlineQuery` in `InlineQuery::answer`.
27-
- PSR-12 incompatibilities in the codebase.
28-
- Improved and corrected `/cleanup` command.
2914
### Security
3015

16+
## [0.61.0] - 2019-11-02
17+
### Notes
18+
- [:ledger: View file changes][0.61.0][:page_with_curl: DB migration script][0.61.0-sql-migration]
19+
- :exclamation: Built-in logging (Monolog) has been removed, a custom PSR-3 logger must be used now! (see #964 for more info)
20+
### Added
21+
- Code snippet in `GenericmessageCommand` to keep obsolete service message system commands working. (#999)
22+
- Static boolean property `SystemCommand::$execute_deprecated` (must be assigned before handling the request) to try and execute any deprecated system command. (#999)
23+
- Improved MySQL DB index for `message` table, making the cleanup much faster on bigger databases. (Thanks to @damianperez) (#1015)
24+
- `/cleanup` command now supports dry run which simply outputs all queries that would be run. (#1015)
25+
### Changed
26+
- Small readme and code fixes / simplifications. (#1001)
27+
- Upgrade PHPUnit to 8.x and PHPCS to 3.5. For tests now minimum PHP version is 7.2. (#1008)
28+
- Updated updates log importer (requires PHP7+). (#1009)
29+
### Removed
30+
- Service message system commands, which are now handled by `GenericmessageCommand`. (#999)
31+
- [:exclamation:][0.61.0-bc-remove-monolog-from-core] Monolog has been removed as built-in logging engine. (#1009)
32+
- Assets have been moved to a dedicated repository. (#1012)
33+
### Fixed
34+
- Boolean value for Polls gets saved correctly in MySQL DB. (#996)
35+
- Correctly use `Request::answerInlineQuery` in `InlineQuery::answer`. (#1001)
36+
- PSR-12 incompatibilities in the codebase. (#1008)
37+
- Improved and corrected `/cleanup` command. (#1015)
38+
3139
## [0.60.0] - 2019-08-16
3240
### Notes
3341
- [:ledger: View file changes][0.60.0]
@@ -88,7 +96,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
8896

8997
## [0.57.0] - 2019-06-01
9098
### Notes
91-
- [:ledger: View file changes][0.57.0][:page_with_curl: DB migration script][0.57.0-sql-migration]
99+
- [:ledger: View file changes][0.57.0][:page_with_curl: DB migration script][0.57.0-sql-migration]
92100
- :grey_exclamation: This is a big update and involves a bunch of MySQL database updates, so please *review the changelog carefully*.
93101

94102
### Added
@@ -232,7 +240,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
232240
### Notes
233241
- [:ledger: View file changes][0.47.1]
234242
### Added
235-
- Linked version numbers in changelog for easy verification of code changes.
243+
- Linked version numbers in changelog for easy verification of code changes.
236244
### Fixed
237245
- Private-only commands work with edited messages now too.
238246

@@ -392,7 +400,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
392400
### Deprecated
393401
- Move `hideKeyboard` to `removeKeyboard`.
394402

395-
[unreleased-bc-remove-monolog-from-core]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-monolog-from-core
403+
[0.61.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.60.0-0.61.0.sql
404+
[0.61.0-bc-remove-monolog-from-core]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-monolog-from-core
396405
[0.58.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.57.0-0.58.0.sql
397406
[0.58.0-bc-return-value-of-empty-entity-properties]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#return-value-of-empty-entity-properties
398407
[0.58.0-bc-startcommand-is-now-a-usercommand]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#startcommand-is-now-a-usercommand
@@ -418,6 +427,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
418427
[Tidelift]: https://tidelift.com/subscription/pkg/packagist-longman-telegram-bot?utm_source=packagist-longman-telegram-bot&utm_medium=referral&utm_campaign=changelog
419428

420429
[Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop
430+
[0.61.0]: https://github.com/php-telegram-bot/core/compare/0.60.0...0.61.0
421431
[0.60.0]: https://github.com/php-telegram-bot/core/compare/0.59.1...0.60.0
422432
[0.59.1]: https://github.com/php-telegram-bot/core/compare/0.59.0...0.59.1
423433
[0.59.0]: https://github.com/php-telegram-bot/core/compare/0.58.0...0.59.0

src/Telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Telegram
3131
*
3232
* @var string
3333
*/
34-
protected $version = '0.60.0';
34+
protected $version = '0.61.0';
3535

3636
/**
3737
* Telegram API key

0 commit comments

Comments
 (0)