|
2 | 2 |
|
3 | 3 | > Upcoming in v2: Support for PostegreSQL and TTL in Conversations |
4 | 4 |
|
5 | | -## v1.9 - [Not Released yet](https://github.com/skrtdev/NovaGram/releases/tag/v1.9) |
| 5 | +## v1.9 - [Source Code](https://github.com/skrtdev/NovaGram/releases/tag/v1.9) |
6 | 6 | - New **User mode**: you can now run userbots with NovaGram using [tdlight-telegram-bot-api](https://github.com/tdlight-team/tdlight-telegram-bot-api). (**Webhooks too!**) Check out [this example](https://github.com/skrtdev/NovaGram/blob/master/examples/userbot.php). |
7 | 7 | - **Bot API v5.1**: |
8 | 8 | > Check [full changelog](https://core.telegram.org/bots/api#march-9-2021) for more info |
|
21 | 21 | - Added `ObjectsList::getLast()`, useful if you work with photos, which are arrays of `PhotoSize`s |
22 | 22 | - Added autoload of class handlers: it will include and fire all handlers found by searching for files that ends with `Handler.php`, `Command.php` and `Callback.php`. Class names must be the same as file names. It won't look inside `vendor`. |
23 | 23 | - Now `Message::editText()` will not delete `reply_markup` by default. Use `reply_markup: null` to force deleting it. |
24 | | - - Added `Dispatcher::stopHandling()` or simply `stop_handling()`, which stop other handlers from being executed (previously, `exit()` was needed) |
| 24 | + - Added `Dispatcher::stopHandling()` or simply `stop_handling()`, which stop other handlers from being executed (previously, `exit()` was needed) |
| 25 | + - Added `Database::getConversationsByName()` |
25 | 26 | - New Bot settings: |
26 | 27 | - `username`: Bot username, needed to avoid that other bot's commands are recognized in groups when using command handlers and webhook. |
27 | 28 | - `export_commands`: Whether to call `Bot::exportCommands()` when idling on CLI. Default to `true` |
|
33 | 34 | - `MethodNotAllowedException` (405) |
34 | 35 | - `RequestEntityTooLargeException` (413) |
35 | 36 | - Fixes: |
36 | | - - Bot won't crash on uncaught internal exceptions. |
| 37 | + - Bot won't crash on uncaught internal exceptions. |
| 38 | + - Conversations are now updated instead of deleted and reinserted. |
37 | 39 | - Classes `MessageId`, `ProximityAlertTriggered` didn't work properly |
38 | 40 | - Bot will now process queued updates before retrieving other ones |
39 | 41 | - Fixed wrong behaviour when serializing false |
|
0 commit comments