Version 0.47.0

parent e7e3cd2d
...@@ -6,14 +6,19 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ...@@ -6,14 +6,19 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
## [Unreleased] ## [Unreleased]
### Added ### Added
### Changed ### Changed
- Updated readme to latest state of 0.46.0.
### Deprecated ### Deprecated
### Removed ### Removed
### Fixed ### Fixed
### Security
## [0.47.0] - 2017-08-06
### Changed
- Updated readme to latest state of 0.47.0.
### Fixed
- `Telegram::enableAdmin()` now handles duplicate additions properly. - `Telegram::enableAdmin()` now handles duplicate additions properly.
- `Request::getMe()` failure doesn't break cron execution any more. - `Request::getMe()` failure doesn't break cron execution any more.
### Security ### Security
- [:exclamation:][unreleased-private-only-admin-commands] New command parameter `$private_only` to enforce usage in private chats only (set by default for Admin commands). - [: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).
## [0.46.0] - 2017-07-15 ## [0.46.0] - 2017-07-15
### Added ### Added
...@@ -24,7 +29,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ...@@ -24,7 +29,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
- [:exclamation:][0.46.0-bc-request-class-refactor] Big refactor of the `Request` class, removing most custom method implementations. - [:exclamation:][0.46.0-bc-request-class-refactor] Big refactor of the `Request` class, removing most custom method implementations.
## [0.45.0] - 2017-06-25 ## [0.45.0] - 2017-06-25
**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. **Note:** After updating to this version, you will need to execute the [SQL migration script][0.45.0-sql-migration] on your database.
### Added ### Added
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path). - Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
- Allow setting a custom Guzzle HTTP Client for requests (#511). - 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 ...@@ -51,11 +56,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
## [0.44.0] - 2017-04-25 ## [0.44.0] - 2017-04-25
### Added ### Added
- Proper standalone `scrutinizer.yml` config. - Proper standalone `scrutinizer.yml` config.
- Human-readable last error date for debug command. - Human-readable `last_error_date_string` for debug command.
### Changed ### Changed
- Bot username no longer required for object instantiation. - Bot username no longer required for object instantiation.
### Removed ### Removed
- All examples have been moved to a [dedicated repository](https://github.com/php-telegram-bot/example-bot). - All examples have been moved to a [dedicated repository][example-bot].
### Fixed ### Fixed
- [:exclamation:][0.44.0-bc-update-content-type] Format of Update content type using `$update->getUpdateContent()`. - [:exclamation:][0.44.0-bc-update-content-type] Format of Update content type using `$update->getUpdateContent()`.
...@@ -133,9 +138,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ...@@ -133,9 +138,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Deprecated ### Deprecated
- Move `hideKeyboard` to `removeKeyboard`. - Move `hideKeyboard` to `removeKeyboard`.
[unreleased-private-only-admin-commands]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#private-only-admin-commands [0.47.0-private-only-admin-commands]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#private-only-admin-commands
[0.46.0-bc-request-class-refactor]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#request-class-refactor [0.46.0-bc-request-class-refactor]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#request-class-refactor
[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
[0.45.0-bc-remove-deprecated-methods]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-deprecated-methods [0.45.0-bc-remove-deprecated-methods]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-deprecated-methods
[0.45.0-bc-chats-params-array]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#chats-params-array [0.45.0-bc-chats-params-array]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#chats-params-array
[0.45.0-bc-up-download-directory]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#up-download-directory [0.45.0-bc-up-download-directory]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#up-download-directory
[0.44.0-bc-update-content-type]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#update-getupdatecontent [0.44.0-bc-update-content-type]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#update-getupdatecontent
[example-bot]: https://github.com/php-telegram-bot/example-bot
...@@ -30,7 +30,7 @@ class Telegram ...@@ -30,7 +30,7 @@ class Telegram
* *
* @var string * @var string
*/ */
protected $version = '0.46.0'; protected $version = '0.47.0';
/** /**
* Telegram API key * Telegram API key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment