mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bump changelog
This commit is contained in:
parent
f1c9fc50f0
commit
6ad287c329
9 changed files with 55 additions and 25 deletions
55
CHANGES.rst
55
CHANGES.rst
|
|
@ -16,6 +16,61 @@ Changelog
|
|||
|
||||
.. towncrier release notes start
|
||||
|
||||
3.5.0 (2024-04-23)
|
||||
===================
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
- Added **message_thread_id** parameter to **ChatActionSender** class methods.
|
||||
`#1437 <https://github.com/aiogram/aiogram/issues/1437>`_
|
||||
- Added context manager interface to Bot instance, from now you can use:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...) as bot:
|
||||
...
|
||||
|
||||
instead of
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...).context() as bot:
|
||||
...
|
||||
`#1468 <https://github.com/aiogram/aiogram/issues/1468>`_
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- - **WebAppUser Class Fields**: Added missing `is_premium`, `added_to_attachment_menu`, and `allows_write_to_pm` fields to `WebAppUser` class to align with the Telegram API.
|
||||
|
||||
- **WebAppChat Class Implementation**: Introduced the `WebAppChat` class with all its fields (`id`, `type`, `title`, `username`, and `photo_url`) as specified in the Telegram API, which was previously missing from the library.
|
||||
|
||||
- **WebAppInitData Class Fields**: Included previously omitted fields in the `WebAppInitData` class: `chat`, `chat_type`, `chat_instance`, to match the official documentation for a complete Telegram Web Apps support.
|
||||
`#1424 <https://github.com/aiogram/aiogram/issues/1424>`_
|
||||
- Fixed poll answer FSM context by handling :code:`voter_chat` for :code:`poll_answer` event
|
||||
`#1436 <https://github.com/aiogram/aiogram/issues/1436>`_
|
||||
- Added missing error handling to :code:`_background_feed_update` (when in :code:`handle_in_background=True` webhook mode)
|
||||
`#1458 <https://github.com/aiogram/aiogram/issues/1458>`_
|
||||
|
||||
|
||||
Improved Documentation
|
||||
----------------------
|
||||
|
||||
- Added WebAppChat class to WebApp docs, updated uk_UA localisation of WebApp docs.
|
||||
`#1433 <https://github.com/aiogram/aiogram/issues/1433>`_
|
||||
|
||||
|
||||
Misc
|
||||
----
|
||||
|
||||
- Added full support of `Bot API 7.2 <https://core.telegram.org/bots/api-changelog#march-31-2024>`_
|
||||
`#1444 <https://github.com/aiogram/aiogram/issues/1444>`_
|
||||
- Loosened pydantic version upper restriction from ``<2.7`` to ``<2.8``
|
||||
`#1460 <https://github.com/aiogram/aiogram/issues/1460>`_
|
||||
|
||||
|
||||
3.4.1 (2024-02-17)
|
||||
===================
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
- **WebAppUser Class Fields**: Added missing `is_premium`, `added_to_attachment_menu`, and `allows_write_to_pm` fields to `WebAppUser` class to align with the Telegram API.
|
||||
|
||||
- **WebAppChat Class Implementation**: Introduced the `WebAppChat` class with all its fields (`id`, `type`, `title`, `username`, and `photo_url`) as specified in the Telegram API, which was previously missing from the library.
|
||||
|
||||
- **WebAppInitData Class Fields**: Included previously omitted fields in the `WebAppInitData` class: `chat`, `chat_type`, `chat_instance`, to match the official documentation for a complete Telegram Web Apps support.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added WebAppChat class to WebApp docs, updated uk_UA localisation of WebApp docs.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed poll answer FSM context by handling :code:`voter_chat` for :code:`poll_answer` event
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added **message_thread_id** parameter to **ChatActionSender** class methods.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added full support of `Bot API 7.2 <https://core.telegram.org/bots/api-changelog#march-31-2024>`_
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Added missing error handling to :code:`_background_feed_update` (when in :code:`handle_in_background=True` webhook mode)
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
Loosened pydantic version upper restriction from ``<2.7`` to ``<2.8``4.4
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Added context manager interface to Bot instance, from now you can use:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...) as bot:
|
||||
...
|
||||
|
||||
instead of
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...).context():
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue