Skip to content

Commit 75d992c

Browse files
committed
Version 0.47.0
1 parent e7e3cd2 commit 75d992c

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
66
## [Unreleased]
77
### Added
88
### Changed
9-
- Updated readme to latest state of 0.46.0.
109
### Deprecated
1110
### Removed
1211
### Fixed
12+
### Security
13+
14+
## [0.47.0] - 2017-08-06
15+
### Changed
16+
- Updated readme to latest state of 0.47.0.
17+
### Fixed
1318
- `Telegram::enableAdmin()` now handles duplicate additions properly.
1419
- `Request::getMe()` failure doesn't break cron execution any more.
1520
### Security
16-
- [:exclamation:][unreleased-private-only-admin-commands] New command parameter `$private_only` to enforce usage in private chats only (set by default for Admin commands).
21+
- [:exclamation:][0.47.0-private-only-admin-commands] New command parameter `$private_only` to enforce usage in private chats only (set by default for Admin commands).
1722

1823
## [0.46.0] - 2017-07-15
1924
### Added
@@ -24,7 +29,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
2429
- [:exclamation:][0.46.0-bc-request-class-refactor] Big refactor of the `Request` class, removing most custom method implementations.
2530

2631
## [0.45.0] - 2017-06-25
27-
**Note:** After updating to this version, you will need to execute the [SQL migration script](https://github.com/php-telegram-bot/core/tree/0.45.0/utils/db-schema-update/0.44.1-0.45.0.sql) on your database.
32+
**Note:** After updating to this version, you will need to execute the [SQL migration script][0.45.0-sql-migration] on your database.
2833
### Added
2934
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
3035
- Allow setting a custom Guzzle HTTP Client for requests (#511).
@@ -51,11 +56,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
5156
## [0.44.0] - 2017-04-25
5257
### Added
5358
- Proper standalone `scrutinizer.yml` config.
54-
- Human-readable last error date for debug command.
59+
- Human-readable `last_error_date_string` for debug command.
5560
### Changed
5661
- Bot username no longer required for object instantiation.
5762
### Removed
58-
- All examples have been moved to a [dedicated repository](https://github.com/php-telegram-bot/example-bot).
63+
- All examples have been moved to a [dedicated repository][example-bot].
5964
### Fixed
6065
- [:exclamation:][0.44.0-bc-update-content-type] Format of Update content type using `$update->getUpdateContent()`.
6166

@@ -133,9 +138,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
133138
### Deprecated
134139
- Move `hideKeyboard` to `removeKeyboard`.
135140

136-
[unreleased-private-only-admin-commands]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#private-only-admin-commands
141+
[0.47.0-private-only-admin-commands]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#private-only-admin-commands
137142
[0.46.0-bc-request-class-refactor]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#request-class-refactor
143+
[0.46.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/0.45.0/utils/db-schema-update/0.44.1-0.45.0.sql
138144
[0.45.0-bc-remove-deprecated-methods]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-deprecated-methods
139145
[0.45.0-bc-chats-params-array]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#chats-params-array
140146
[0.45.0-bc-up-download-directory]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#up-download-directory
141147
[0.44.0-bc-update-content-type]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#update-getupdatecontent
148+
[example-bot]: https://github.com/php-telegram-bot/example-bot

src/Telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Telegram
3030
*
3131
* @var string
3232
*/
33-
protected $version = '0.46.0';
33+
protected $version = '0.47.0';
3434

3535
/**
3636
* Telegram API key

0 commit comments

Comments
 (0)