Skip to content

Commit fb55e78

Browse files
committed
Version 0.64.0
1 parent a8f90be commit fb55e78

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
44
Exclamation symbols (:exclamation:) note something of importance e.g. breaking changes. Click them to learn more.
55

66
## [Unreleased]
7-
- [:ledger: View file changes][Unreleased]
87
### Notes
8+
- [:ledger: View file changes][Unreleased]
99
### Added
1010
### Changed
1111
### Deprecated
1212
### Removed
1313
### Fixed
14-
- Correct SQL migration script for older versions of MySQL.
1514
### Security
1615

16+
## [0.64.0] - 2020-10-04
17+
### Notes
18+
- [:ledger: View file changes][0.64.0]
19+
### Added
20+
- Support for Guzzle 7. (@KristobalJunta) (#1133)
21+
### Fixed
22+
- Correct SQL migration script for older versions of MySQL. (#1135)
23+
1724
## [0.63.1] - 2020-06-24
1825
### Notes
1926
- [:ledger: View file changes][0.63.1]
@@ -489,6 +496,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
489496
[Tidelift]: https://tidelift.com/subscription/pkg/packagist-longman-telegram-bot?utm_source=packagist-longman-telegram-bot&utm_medium=referral&utm_campaign=changelog
490497

491498
[Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop
499+
[0.64.0]: https://github.com/php-telegram-bot/core/compare/0.63.1...0.64.0
492500
[0.63.1]: https://github.com/php-telegram-bot/core/compare/0.63.0...0.63.1
493501
[0.63.0]: https://github.com/php-telegram-bot/core/compare/0.62.0...0.63.0
494502
[0.62.0]: https://github.com/php-telegram-bot/core/compare/0.61.1...0.62.0

doc/01-utils.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ use Monolog\Logger;
2323
TelegramLog::initialize(
2424
// Main logger that handles all 'debug' and 'error' logs.
2525
new Logger('telegram_bot', [
26-
(new StreamHandler($path_to_debug_log_file, Logger::DEBUG))->setFormatter(new LineFormatter(null, null, true)),
27-
(new StreamHandler($path_to_error_log_file, Logger::ERROR))->setFormatter(new LineFormatter(null, null, true)),
26+
(new StreamHandler('/path/to/debug_log_file', Logger::DEBUG))->setFormatter(new LineFormatter(null, null, true)),
27+
(new StreamHandler('/path/to/error_log_file', Logger::ERROR))->setFormatter(new LineFormatter(null, null, true)),
2828
]),
2929
// Updates logger for raw updates.
3030
new Logger('telegram_bot_updates', [
31-
(new StreamHandler($path_to_updates_log_file, Logger::INFO))->setFormatter(new LineFormatter('%message%' . PHP_EOL)),
31+
(new StreamHandler('/path/to/updates_log_file', Logger::INFO))->setFormatter(new LineFormatter('%message%' . PHP_EOL)),
3232
])
3333
);
3434
```
@@ -41,15 +41,15 @@ If you store the raw data you can import all updates on the newest table schema
4141
Remember to always backup first!!
4242

4343
### Always log request and response data
44-
If you's like to always log the request and response data to the debug log, also for successful requests, you can set the appropriate variable:
44+
If you'd like to always log the request and response data to the debug log, even for successful requests, you can set the appropriate variable:
4545
```php
4646
\Longman\TelegramBot\TelegramLog::$always_log_request_and_response = true;
4747
```
4848

4949
### Hiding API token from the log
5050
By default, the API token is removed from the log, to prevent any mistaken leakage when posting logs online.
5151
This behaviour can be changed by setting the appropriate variable:
52-
``php
52+
```php
5353
\Longman\TelegramBot\TelegramLog::$remove_bot_token = false;
5454
```
5555

src/Telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Telegram
3434
*
3535
* @var string
3636
*/
37-
protected $version = '0.63.1';
37+
protected $version = '0.64.0';
3838

3939
/**
4040
* Telegram API key

0 commit comments

Comments
 (0)