mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update deep linking documentation and bump version to 3.19.0
Some checks failed
Tests / tests (macos-latest, 3.10) (push) Has been cancelled
Tests / tests (macos-latest, 3.11) (push) Has been cancelled
Tests / tests (macos-latest, 3.12) (push) Has been cancelled
Tests / tests (macos-latest, 3.13) (push) Has been cancelled
Tests / tests (macos-latest, 3.9) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.9) (push) Has been cancelled
Tests / tests (windows-latest, 3.10) (push) Has been cancelled
Tests / tests (windows-latest, 3.11) (push) Has been cancelled
Tests / tests (windows-latest, 3.12) (push) Has been cancelled
Tests / tests (windows-latest, 3.13) (push) Has been cancelled
Tests / tests (windows-latest, 3.9) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.9) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.9) (push) Has been cancelled
Some checks failed
Tests / tests (macos-latest, 3.10) (push) Has been cancelled
Tests / tests (macos-latest, 3.11) (push) Has been cancelled
Tests / tests (macos-latest, 3.12) (push) Has been cancelled
Tests / tests (macos-latest, 3.13) (push) Has been cancelled
Tests / tests (macos-latest, 3.9) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.9) (push) Has been cancelled
Tests / tests (windows-latest, 3.10) (push) Has been cancelled
Tests / tests (windows-latest, 3.11) (push) Has been cancelled
Tests / tests (windows-latest, 3.12) (push) Has been cancelled
Tests / tests (windows-latest, 3.13) (push) Has been cancelled
Tests / tests (windows-latest, 3.9) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.9) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.9) (push) Has been cancelled
This commit is contained in:
parent
658f1fc082
commit
78748d36fd
11 changed files with 76 additions and 42 deletions
|
|
@ -1 +0,0 @@
|
|||
Fix handling of default empty string ("") in CallbackData filter
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Introduce Union types for streamlined type handling.
|
||||
|
||||
Implemented Union types across various modules to consolidate and simplify type annotations.
|
||||
This change replaces repetitive union declarations with reusable Union aliases,
|
||||
improving code readability and maintainability.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Add TypedDict definitions for middleware context data to the dispatcher dependency injection docs.
|
||||
|
||||
So, now you can use :class:`aiogram.dispatcher.middleware.data.MiddlewareData` directly or
|
||||
extend it with your own data in the middlewares.
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
Resolved incorrect ordering of registered handlers in the :class:`aiogram.fsm.scene.Scene`
|
||||
object caused by :code:`inspect.getmembers` returning sorted members.
|
||||
Handlers are now registered in the order of their definition within the class,
|
||||
ensuring proper execution sequence, especially when handling filters with different
|
||||
levels of specificity.
|
||||
|
||||
For backward compatibility, the old behavior can be restored by setting the
|
||||
:code:`attrs_resolver=inspect_members_resolver` parameter in the :class:`aiogram.fsm.scene.Scene`:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from aiogram.utils.class_attrs_resolver import inspect_members_resolver
|
||||
|
||||
|
||||
class MyScene(Scene, attrs_resolver=inspect_members_resolver):
|
||||
|
||||
In this case, the handlers will be registered in the order returned by :code:`inspect.getmembers`.
|
||||
|
||||
By default, the :code:`attrs_resolver` parameter is set to :code:`get_sorted_mro_attrs_resolver` now,
|
||||
so you **don't need** to specify it explicitly.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Added new method to utils/deep_linking.py module to creating "startapp" deep links, see also
|
||||
https://core.telegram.org/api/links#main-mini-app-links
|
||||
|
|
@ -1 +0,0 @@
|
|||
Updated 🇺🇦Ukrainian docs translation
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Updated "create_startapp_link" method, added app_name param for support direct mini app links, see
|
||||
also https://core.telegram.org/api/links#direct-mini-app-links
|
||||
Loading…
Add table
Add a link
Reference in a new issue