Skip to content

Commit 6d10752

Browse files
committed
Version 0.45.0
Update changelog to include (hopefully) all changes.
1 parent 067bc61 commit 6d10752

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,32 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
55

66
## [Unreleased]
77
### Added
8+
### Changed
9+
### Deprecated
10+
### Removed
11+
### Fixed
12+
### Security
13+
14+
## [0.45.0] - 2017-06-25
15+
**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.
16+
### Added
817
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
918
- Allow setting a custom Guzzle HTTP Client for requests (#511).
1019
- First implementations towards Bots API 3.0.
1120
### Changed
12-
- [:exclamation:][unreleased-bc-chats-params-array] `Request::sendToActiveChats` and `DB::selectChats` now accept parameters as an options array.
21+
- [:exclamation:][0.45.0-bc-chats-params-array] `Request::sendToActiveChats` and `DB::selectChats` now accept parameters as an options array and allow selecting of channels.
1322
### Deprecated
23+
- Deprecated `Message::getNewChatMember()` (Use `Message::getNewChatMembers()` instead to get an array of all newly added members).
1424
### Removed
15-
- [:exclamation:][unreleased-bc-up-download-directory] Upload and download directories are not set any more by default and must be set manually.
25+
- [:exclamation:][0.45.0-bc-up-download-directory] Upload and download directories are not set any more by default and must be set manually.
26+
- [:exclamation:][0.45.0-bc-remove-deprecated-methods] Completely removed `Telegram::getBotName()` and `Entity::getBotName()` (Use `::getBotUsername()` instead).
27+
- [:exclamation:][0.45.0-bc-remove-deprecated-methods] Completely removed deprecated `Telegram::unsetWebhook()` (Use `Telegram::deleteWebhook()` instead).
1628
### Fixed
1729
- ID fields are now typed with `PARAM_STR` PDO data type, to allow huge numbers.
1830
- Message type data type for PDO corrected.
1931
- Indexed table columns now have a fitting length.
2032
- Take `custom_input` into account when using getUpdates method (mainly for testing).
21-
### Security
33+
- Request limiter has been fixed to correctly support channels.
2234

2335
## [0.44.1] - 2017-04-25
2436
### Fixed
@@ -54,7 +66,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
5466
### Changed
5567
- Rename `bot_name` to `bot_username` everywhere.
5668
### Deprecated
57-
- Deprecated `getBotName()` (Use `getBotUsername()` instead).
69+
- Deprecated `Telegram::getBotName()` (Use `Telegram::getBotUsername()` instead).
5870
### Fixed
5971
- Tests are more reliable now, using a properly formatted API key.
6072

@@ -109,6 +121,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
109121
### Deprecated
110122
- Move `hideKeyboard` to `removeKeyboard`.
111123

112-
[unreleased-bc-chats-params-array]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#unreleased
113-
[unreleased-bc-up-download-directory]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#unreleased
124+
[0.45.0-bc-remove-deprecated-methods]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#remove-deprecated-methods
125+
[0.45.0-bc-chats-params-array]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#chats-params-array
126+
[0.45.0-bc-up-download-directory]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#up-download-directory
114127
[0.44.0-bc-update-content-type]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#update-getupdatecontent

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.44.1';
33+
protected $version = '0.45.0';
3434

3535
/**
3636
* Telegram API key

0 commit comments

Comments
 (0)