Added utility to safely deserialize any Telegram object or method to a JSON-compatible object (dict).
(:ref:>> Read more <serialization-tool>)
[#1450](https://github.com/aiogram/aiogram/issues/1450) <https://github.com/aiogram/aiogram/issues/1450>_
Added full support of Bot API 7.5 <https://core.telegram.org/bots/api-changelog#june-18-2024>_
Added the classes :class:aiogram.types.star_transactions.StarTransactions,
:class:aiogram.types.star_transaction.StarTransaction,
:class:aiogram.types.transaction_partner.TransactionPartner
and :class:aiogram.types.revenue_withdrawal_state.RevenueWithdrawalState,
containing information about Telegram Star transactions involving the bot.
Added the method :class:aiogram.methods.get_star_transactions.GetStarTransactions
that can be used to get the list of all Telegram Star transactions for the bot.
Added support for callback buttons in
:class:aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup
for messages sent on behalf of a business account.
Added support for callback queries originating from a message sent
on behalf of a business account.
Added the parameter :code:business_connection_id to the methods
:class:aiogram.methods.edit_message_text.EditMessageText,
:class:aiogram.methods.edit_message_media.EditMessageMedia,
:class:aiogram.methods.edit_message_caption.EditMessageCaption,
:class:aiogram.methods.edit_message_live_location.EditMessageLiveLocation,
:class:aiogram.methods.stop_message_live_location.StopMessageLiveLocation
and :class:aiogram.methods.edit_message_reply_markup.EditMessageReplyMarkup,
allowing the bot to edit business messages.
Added the parameter :code:business_connection_id to the method
:class:aiogram.methods.stop_poll.StopPoll,
allowing the bot to stop polls it sent on behalf of a business account.
[#1518](https://github.com/aiogram/aiogram/issues/1518) <https://github.com/aiogram/aiogram/issues/1518>_
Bugfixes
Increased DNS cache ttl setting to aiohttp session as a workaround for DNS resolution issues in aiohttp.
[#1500](https://github.com/aiogram/aiogram/issues/1500) <https://github.com/aiogram/aiogram/issues/1500>_
Improved Documentation
Fixed MongoStorage section in the documentation by adding extra dependency to ReadTheDocs configuration.
[#1501](https://github.com/aiogram/aiogram/issues/1501) <https://github.com/aiogram/aiogram/issues/1501>_
Added information about dependency changes to the :code:2.x --> 3.x migration guide.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps aiogram from 3.4.1 to 3.8.0.
Release notes
Sourced from aiogram's releases.
Changelog
Sourced from aiogram's changelog.
... (truncated)
Commits
f288a66
Bump version1888039
Add serialization utilities and update documentation (#1515)1f7bbeb
Added full support of Bot API 7.5 (#1518)dcfc963
Add DNS cache ttl setting to aiohttp session. (#1514)835813c
Update chagenlogf568ef0
InputFile
reuse recommendations update (#1506)1df3ada
Fail redis and mongo tests if incorrect URI provided + some storages tests re...7760ab1
Bump dev dependencies (#1512)0df95a0
Apply isort (#1508)69c359d
Add Dependencies to migrations guide (#1504)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show