mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Bump version to 3.21.0 and update changelog
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
f060c08d16
commit
7a517f1eba
11 changed files with 83 additions and 51 deletions
|
|
@ -1 +0,0 @@
|
|||
Added documentation for changing state of another user in FSM
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Fixed an issue where the scene entry handler (:code:`enter`) was not receiving data
|
||||
passed to the context by middleware, which could result in a :code:`TypeError`.
|
||||
|
||||
Also updated the documentation to clarify how to enter the scene.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Fixed MyPy [return-value] error in `InlineKeyboardBuilder().as_markup()`.
|
||||
`as_markup` method now overloads parent class method and uses `super()`, to call parent's
|
||||
`as_markup` method.
|
||||
Also added correct type hint to `as_markup`'s return in `InlineKeyboardBuilder` and
|
||||
`ReplyKeyboardBuilder` classes.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Changed Babel's pinned version from minor to major.
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
Refactor methods input types to calm down MyPy. #1682
|
||||
|
||||
`Dict[str, Any]` is replaced with `Mapping[str, Any]` in the following methods:
|
||||
|
||||
- `FSMContext.set_data`
|
||||
- `FSMContext.update_data`
|
||||
- `BaseStorage.set_data`
|
||||
- `BaseStorage.update_data`
|
||||
- `BaseStorage's child methods`
|
||||
- `SceneWizard.set_data`
|
||||
- `SceneWizard.update_data`
|
||||
|
|
@ -1 +0,0 @@
|
|||
Add support for `State` type in scenes methods like `goto`, `enter`, `get`
|
||||
|
|
@ -1 +0,0 @@
|
|||
Correctly pass error message in TelegramMigrateToChat.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Increased max :code:`aiohttp` version support from “<3.12” to “<3.13”
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
Added full support for the `Bot API 9.1 <https://core.telegram.org/bots/api-changelog#july-3-2025>`_:
|
||||
|
||||
**Checklists**
|
||||
|
||||
- Added the class :class:`aiogram.types.checklist_task.ChecklistTask` representing a task in a checklist.
|
||||
- Added the class :class:`aiogram.types.checklist.Checklist` representing a checklist.
|
||||
- Added the class :class:`aiogram.types.input_checklist_task.InputChecklistTask` representing a task to add to a checklist.
|
||||
- Added the class :class:`aiogram.types.input_checklist.InputChecklist` representing a checklist to create.
|
||||
- Added the field :code:`checklist` to the classes :class:`aiogram.types.message.Message` and :class:`aiogram.types.external_reply_info.ExternalReplyInfo`, describing a checklist in a message.
|
||||
- Added the class :class:`aiogram.types.checklist_tasks_done.ChecklistTasksDone` and the field :code:`checklist_tasks_done` to the class :class:`aiogram.types.message.Message`, describing a service message about status changes for tasks in a checklist (i.e., marked as done/not done).
|
||||
- Added the class :class:`aiogram.types.checklist_tasks_added.ChecklistTasksAdded` and the field :code:`checklist_tasks_added` to the class :class:`aiogram.types.message.Message`, describing a service message about the addition of new tasks to a checklist.
|
||||
- Added the method :class:`aiogram.methods.send_checklist.SendChecklist`, allowing bots to send a checklist on behalf of a business account.
|
||||
- Added the method :class:`aiogram.methods.edit_message_checklist.EditMessageChecklist`, allowing bots to edit a checklist on behalf of a business account.
|
||||
|
||||
**Gifts**
|
||||
|
||||
- Added the field :code:`next_transfer_date` to the classes :class:`aiogram.types.owned_gift_unique.OwnedGiftUnique` and :class:`aiogram.types.unique_gift_info.UniqueGiftInfo`.
|
||||
- Added the field :code:`last_resale_star_count` to the class :class:`aiogram.types.unique_gift_info.UniqueGiftInfo`.
|
||||
- Added "resale" as the possible value of the field :code:`origin` in the class :class:`aiogram.types.unique_gift_info.UniqueGiftInfo`.
|
||||
|
||||
**General**
|
||||
|
||||
- Increased the maximum number of options in a poll to 12.
|
||||
- Added the method :class:`aiogram.methods.get_my_star_balance.GetMyStarBalance`, allowing bots to get their current balance of Telegram Stars.
|
||||
- Added the class :class:`aiogram.types.direct_message_price_changed.DirectMessagePriceChanged` and the field :code:`direct_message_price_changed` to the class :class:`aiogram.types.message.Message`, describing a service message about a price change for direct messages sent to the channel chat.
|
||||
Loading…
Add table
Add a link
Reference in a new issue