aiogram/CHANGES
Alex Root Junior 4729978c60
Add context manager support for bot client (#1468)
* Add context manager support for bot client

The bot client now supports the context manager protocol, providing automatic resource management. This enhancement helps to automatically close the session when leaving the context, which cleans up resources better. The documentation and tests have been updated accordingly to illustrate this new feature. Moreover, an example of usage without a dispatcher has been provided to clarify its use in simple cases.

* Added changelog
2024-04-22 23:42:47 +03:00
..
.template.rst.jinja2 Update towncrier config 2021-08-03 23:50:10 +03:00
1424.bugfix.rst Add missing Telegram WebApp API classes and fields (#1424) (#1425) 2024-02-26 02:13:32 +02:00
1433.doc.rst doc updated for WebApp (#1433) 2024-03-06 01:37:37 +02:00
1436.bugfix.rst Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00
1437.feature.rst Added message_thread_id parameter to ChatActionSender class methods (#1437) 2024-03-11 21:53:17 +02:00
1444.misc.rst Added full support of Bot API 7.2 (#1444) 2024-04-22 13:48:49 +03:00
1460.misc.rst loosened pydantic upper bound to <2.8 (#1460) 2024-04-22 13:49:34 +03:00
1468.feature.rst Add context manager support for bot client (#1468) 2024-04-22 23:42:47 +03:00