You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,15 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
14
14
-`TelegramLog` now adheres to [PSR-3]`LoggerInterface` and allows custom logger implementations.
15
15
### Deprecated
16
16
- Old logging that uses Monolog still works but will be removed in the near future. Use `TelegramLog::initialize($logger, $update_logger);` from now on.
17
+
-[:exclamation:][unreleased-bc-startcommand-is-now-a-usercommand]`StartCommand` is now a `UserCommand` (not `SystemCommand` any more).
17
18
### Removed
18
19
- Botan.io integration completely removed.
19
20
### Fixed
20
21
-`forward_date` is now correctly saved to the DB.
21
22
- Broken `StickerSet::getStickers()` method.
22
23
### Security
23
24
- Security disclosure managed by Tidelift.
25
+
- Don't allow a user to call system commands directly.
24
26
25
27
## [0.57.0] - 2019-06-01
26
28
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.57.0-sql-migration] on your database.
@@ -273,7 +275,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
@@ -37,21 +37,20 @@ class StartCommand extends SystemCommand
37
37
/**
38
38
* @var string
39
39
*/
40
-
protected$version = '1.0.0';
40
+
protected$version = '1.1.0';
41
41
42
42
/**
43
43
* Command execute method
44
44
*
45
-
* @return mixed
45
+
* @return ServerResponse
46
+
* @throws TelegramException
46
47
*/
47
48
publicfunctionexecute()
48
49
{
49
50
//$message = $this->getMessage();
50
51
//$chat_id = $message->getChat()->getId();
51
52
//$user_id = $message->getFrom()->getId();
52
53
53
-
trigger_error(__CLASS__ . ' is deprecated and will be removed and handled by ' . GenericmessageCommand::class . ' by default in a future release.', E_USER_DEPRECATED);
0 commit comments