Render changelog

This commit is contained in:
Alex Root Junior 2023-07-17 23:02:10 +03:00
parent 71e7e62e36
commit ea0ecbcd50
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
24 changed files with 130 additions and 79 deletions

View file

@ -1 +0,0 @@
Changed small grammar typos for :code:`upload_file`

View file

@ -1,7 +0,0 @@
Added full support of `Bot API 6.6 <https://core.telegram.org/bots/api-changelog#march-9-2023>`_
.. danger::
Note that this issue has breaking changes described in in the Bot API changelog,
this changes is not breaking in the API but breaking inside aiogram because
Beta stage is not finished.

View file

@ -1,2 +0,0 @@
Added global defaults :code:`disable_web_page_preview` and :code:`protect_content` in addition to :code:`parse_mode` to the Bot instance,
reworked internal request builder mechanism.

View file

@ -1 +0,0 @@
Removed bot parameters from storages

View file

@ -1,4 +0,0 @@
Change type of result in InlineQueryResult enum for :code:`InlineQueryResultCachedMpeg4Gif`
and :code:`InlineQueryResultMpeg4Gif` to more correct according to documentation.
Change regexp for entities parsing to more correct (:code:`InlineQueryResultType.yml`).

View file

@ -1 +0,0 @@
If router does not support custom event it does not break and passes it to included routers

View file

@ -1 +0,0 @@
Fixed signature of startup/shutdown events to include the :code:`**dispatcher.workflow_data` as the handler arguments.

View file

@ -1 +0,0 @@
Added missing :code:`FORUM_TOPIC_EDITED` value to content_type property

View file

@ -1,17 +0,0 @@
Added support for FSM in Forum topics.
The strategy can be changed in dispatcher:
.. code-block:: python
from aiogram.fsm.strategy import FSMStrategy
...
dispatcher = Dispatcher(
fsm_strategy=FSMStrategy.USER_IN_TOPIC,
storage=..., # Any persistent storage
)
.. note::
If you have implemented you own storages you should extend record key generation
with new one attribute - :code:`thread_id`

View file

@ -1 +0,0 @@
Fixed compatibility with Python 3.8-3.9

View file

@ -1,4 +0,0 @@
Improved CallbackData serialization.
- Minimized UUID (hex without dashes)
- Replaced bool values with int (true=1, false=0)

View file

@ -1,6 +0,0 @@
Added full support of `Bot API 6.7 <https://core.telegram.org/bots/api-changelog#april-21-2023>`_
.. warning::
Note that arguments *switch_pm_parameter* and *switch_pm_text* was deprecated
and should be changed to *button* argument as described in API docs.

View file

@ -1,3 +0,0 @@
Removed text filter in due to is planned to remove this filter few versions ago.
Use :code:`F.text` instead

View file

@ -1,2 +0,0 @@
Added a tool to make text formatting flexible and easy.
More details on the :ref:`corresponding documentation page <formatting-tool>`

View file

@ -1 +0,0 @@
Added :code:`X-Telegram-Bot-Api-Secret-Token` header check

View file

@ -1 +0,0 @@
Fixed the markdown spoiler parser.

View file

@ -1 +0,0 @@
Made allowed_updates list to revolve automatically in start_polling method if not set explicitly.

View file

@ -1 +0,0 @@
Added possibility to pass custom headers to :class:`URLInputFile` object

View file

@ -1 +0,0 @@
Fixed workflow data propagation

View file

@ -1,6 +0,0 @@
Updated `Pydantic to V2 <https://docs.pydantic.dev/2.0/migration/>`_
.. warning::
Be careful, not all libraries is already updated to using V2
(for example at the time, when this warning was added FastAPI still not support V2)

View file

@ -1,6 +0,0 @@
Replaced ContextVar's with a new feature called `Validation Context <https://docs.pydantic.dev/latest/usage/validators/#validation-context>`_
in Pydantic to improve the clarity, usability, and versatility of handling the Bot instance within method shortcuts.
.. danger::
**Breaking**: The 'bot' argument now is required in `URLInputFile`

View file

@ -1,7 +0,0 @@
Fixed the serialization error associated with nested subtypes
like InputMedia, ChatMember, etc.
The previously generated code resulted in an invalid schema under pydantic v2,
which has stricter type parsing.
Hence, subtypes without the specification of all subtype unions were generating
an empty object. This has been rectified now.

View file

@ -1,4 +0,0 @@
Updated magic-filter with new features
- Added hint for :code:`len(F)` error
- Added not in operation