Skip to content

fix(deps): update dependency aiogram to ~2.22 - autoclosed

Oleg A. requested to merge renovate/aiogram-2-x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
aiogram ~2.14 -> ~2.22 age adoption passing confidence

Release Notes

aiogram/aiogram

v2.22.2

Compare Source

  • Bugfix: Added field can_manage_video_chats to ChatMemberOwner (#​1003)
  • Fixed get_custom_emoji_stickers method (#​1002)
  • Added IDFilter support for ChatJoinRequest events (#​983)

v2.22.1

Compare Source

  • Fixed LifetimeControllerMiddleware:
...  venv\lib\site-packages\aiogram\dispatcher\middlewares.py", line 121, in skip_actions
f"pre_process_{item}",
NameError: name 'item' is not defined

v2.22

Compare Source

  • Added full support of Bot API 6.2
  • Fixed filtering skip_patterns (#​868)
  • Fixed RedisStorage2.get_states_list method (#​857)
  • Added global default value of protect content property (#​917)
  • Command filter now can be sets with BotCommand object (#​935)
  • Added constructor for ChatAdministratorRights (#​964)
  • Fixed FSM Storage reset_bucket method (#​970, #​971)
  • Improved issue and pull request templates and labels automation (#​947, #​962, #​939)

v2.21

Compare Source

  • Added full support of Telegram Bot API 6.1
  • Ported web-app utils from 3.0 beta (docs)
  • Deprecated emoji module until 2.22 version
  • Added from_id property to Message (#​899)
  • Now ChatTypeFilter works with inline queries (#​915)
  • Fixed unregistering handlers from dispatcher (#​932)
  • Rework warning for not defined fields in TelegramType (#​931)
  • Add protect_content to webhook responses (#​804)
  • Fixed Dispatcher.release_key (#​908)
  • Fixed datetime serialization error on Windows (#​880) (crutches with platform-specific code)

v2.20

Compare Source

  • Added support of Telegram Bot API 6.0
  • Fixed indentation for ban_chat_member function doc string (#​867)
  • InputTextMessageContent must have "entities" field, not "caption_entities" (#​812)
  • Changed skip updates method (#​842)
  • Added support for custom kwargs for AsyncIOMotorClient in MongoStorage (#​831)
  • Fixed default parent for __setitem__ in fields (#​806)
  • Added status code check in files download method to prevent to download error as file (#​813)
  • Deleted deprecated CHOSEN_INLINE_QUERY (#​805)

v2.19

Compare Source

v2.18

Compare Source

v2.17.1

Compare Source

  • Fixed unnecessary until_date argument in banChatSenderChat method, in due to Bot API docs has an bug (already fixed by Telegram devs) (#​772)

v2.17

Compare Source

  • 🚀 Added full support of Bot API 5.5 (#​768)
  • Fixed webhook response header Retry-After (#​765)
  • Fixed FSMContextProxy.update method (#​755)
  • Fixed some of typos in documentation (#​691)
  • Added new example for filters factory (#​688)

v2.16

Compare Source

  • Added full support of Telegram Bot API 5.4 (#​741)
  • Fixed compatibility with Python 3.10 and aiohttp 3.8 (#​741)
  • Added to Bot.download_file aliases ability to save files to a directory and automatically create directories (#​694)
  • Changed invisible symbol in hide_link (#​738)
  • Removed unnecessarily strict condition in send_media_group (#​742)
  • Fixed send_copy - added caption to send_voice (#​722)
  • Reuse json util in files storage #​712 (#​713)
  • Show callback_query.data in logging (#​714)

BREAKING! If you use bot.session, dispatcher.loop or bot.loop pleas don't to that anymore, you should create you're own client session and or already running event loop from asyncio instead of using internally created session and loop.

v2.15

Compare Source

  • Fixed saving files (#​665), added separate parameters for saving to directory and file (by #​677)
  • Fixed compatibility with aioredis v2 (#​649, #​675, #​676)
  • Added type hints to url & get_mention in User (#​679)
  • Fixed IP filter for multiple IP's in X-Forwarded-For header (#​673)
  • Fixed method Chat.get_member_count usage without argument (#​643)
  • Allow empty and zero parts in CallbackData (#​646)
  • Added new default fields to ChatMemberOwner (#​645)
  • Fixed condition in send_media_group method (#​642)
  • Fixed missed ChatMember{x} methods (#​636)
  • Other code improvements (#​629, #​631, (#​632)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports