Merge branch 'dev-3.x' into dev-3.x

This commit is contained in:
Evgen Fil 2022-07-03 22:29:18 +05:00 committed by GitHub
commit 2da987daef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
318 changed files with 6312 additions and 2419 deletions

View file

@ -1,2 +0,0 @@
Added possibility to pass additional arguments into the aiohttp webhook handler to use this
arguments inside handlers as the same as it possible in polling mode.

View file

@ -1 +0,0 @@
Fixed unexpected behavior of sequences in the StateFilter.

7
CHANGES/894.feature.rst Normal file
View file

@ -0,0 +1,7 @@
Added possibility to combine filters or invert result
Example:
.. code-block:: python
Text(text="demo") | Command(commands=["demo"])
MyFilter() & AnotherFilter()
~StateFilter(state='my-state')

1
CHANGES/896.misc.rst Normal file
View file

@ -0,0 +1 @@
Restrict including routers with strings

1
CHANGES/901.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Fixed false-positive coercing of Union types in API methods

5
CHANGES/906.bugfix.rst Normal file
View file

@ -0,0 +1,5 @@
Added 3 missing content types:
* proximity_alert_triggered
* supergroup_chat_created
* channel_chat_created

1
CHANGES/907.misc.rst Normal file
View file

@ -0,0 +1 @@
Changed CommandPatterType to CommandPatternType in `aiogram/dispatcher/filters/command.py`

1
CHANGES/922.feature.rst Normal file
View file

@ -0,0 +1 @@
Fixed type hints for redis TTL params.

1
CHANGES/929.feature.rst Normal file
View file

@ -0,0 +1 @@
Added `full_name` shortcut for `Chat` object

1
CHANGES/936.misc.rst Normal file
View file

@ -0,0 +1 @@
Added full support of `Bot API 6.1 <https://core.telegram.org/bots/api-changelog#june-20-2022>`_

1
CHANGES/941.misc.rst Normal file
View file

@ -0,0 +1 @@
Removed deprecated :code:`router.<event>_handler` and :code:`router.register_<event>_handler` methods.

1
CHANGES/944.misc.rst Normal file
View file

@ -0,0 +1 @@
`MessageEntity` method `get_text` was removed and `extract` was renamed to `extract_from`