Recent Releases of aiogram
aiogram - v3.22.0
What's Changed
- use hmac.compare_digest for secure WebApp signature valid… by @iSlavok in https://github.com/aiogram/aiogram/pull/1710
- Added full support for the Bot API 9.2 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1720
- Support validating init data using only bot id. by @sheldygg in https://github.com/aiogram/aiogram/pull/1715
- Migrate motor to pymongo by @kievzenit in https://github.com/aiogram/aiogram/pull/1705
New Contributors
- @iSlavok made their first contribution in https://github.com/aiogram/aiogram/pull/1710
- @kievzenit made their first contribution in https://github.com/aiogram/aiogram/pull/1705
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.21.0...v3.22.0
- Python
Published by JrooTJunior 7 months ago
aiogram - Bot API 9.1
What's Changed
- fix: ensure middleware data is passed to scene entry handler by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1674
- Add documentation for changing state of another user in FSM by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1676
- Fix for #1677 by @andrew000 in https://github.com/aiogram/aiogram/pull/1678
- fix: resolve warning "Expected type 'None', got 'Application' instead" by @jzr-supove in https://github.com/aiogram/aiogram/pull/1689
- Add support for
Statetype in scenes methods by @andrew000 in https://github.com/aiogram/aiogram/pull/1685 - Pin Babel's major version by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1686
- Refactor FSM Storage methods input types to calm down MyPy. by @andrew000 in https://github.com/aiogram/aiogram/pull/1683
- Correctly pass error message in
TelegramMigrateToChatby @sheldygg in https://github.com/aiogram/aiogram/pull/1694 - Relax aiohttp versions range by @Smertig in https://github.com/aiogram/aiogram/pull/1700
- Add support for Telegram Bot API 9.1 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1704
New Contributors
- @Smertig made their first contribution in https://github.com/aiogram/aiogram/pull/1700
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.20.0...v3.21.0
- Python
Published by JrooTJunior 8 months ago
aiogram - Update documentation
Small documentation update (corrected changelog)
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.20.0...v3.20.0.post0
- Python
Published by JrooTJunior 11 months ago
aiogram - v3.20.0
What's Changed
- chore: bump
pydanticupper bound from <2.11 to <2.12 by @chirizxc in https://github.com/aiogram/aiogram/pull/1659 - Add different shortcut methods for Text.as_kwargs() by @antos07 in https://github.com/aiogram/aiogram/pull/1657
- misc: simplify running non-async callback using asyncio.to_thread by @loRes228 in https://github.com/aiogram/aiogram/pull/1661
- fix empty response into webhook by @mahenzon in https://github.com/aiogram/aiogram/pull/1665
- [#1653, #1654] docs: fix code block formatting in router.rst by @Vadim-Khristenko in https://github.com/aiogram/aiogram/pull/1666
- Added full support for the Bot API 9.0 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1671
- Add semaphore support for limiting concurrent updates by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1670
New Contributors
- @loRes228 made their first contribution in https://github.com/aiogram/aiogram/pull/1661
- @Vadim-Khristenko made their first contribution in https://github.com/aiogram/aiogram/pull/1666
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.19.0...v3.20.0
- Python
Published by JrooTJunior 11 months ago
aiogram - v3.19.0
What's Changed
- Fix handler registration order in
Sceneby @JrooTJunior in https://github.com/aiogram/aiogram/pull/1642 - Typed data by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1647
- Refactor: Introduce Union types for streamlined type handling by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1649
- Added support of "startapp" deep links by @welaskez in https://github.com/aiogram/aiogram/pull/1648
- Update Ukrainian translation files to match latest API changes by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1650
- Added support of "startapp" deep links with "appname" param by @welaskez in https://github.com/aiogram/aiogram/pull/1651
- Fix handling of default empty string ("") in CallbackData filter by @m-xim in https://github.com/aiogram/aiogram/pull/1493
New Contributors
- @welaskez made their first contribution in https://github.com/aiogram/aiogram/pull/1648
- @m-xim made their first contribution in https://github.com/aiogram/aiogram/pull/1493
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.18.0...v3.19.0
- Python
Published by JrooTJunior 12 months ago
aiogram - v3.18.0
What's Changed
- Remove path to string convertion by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1612
- fix typo in ukrainian docs by @vovchic17 in https://github.com/aiogram/aiogram/pull/1629
- Bump redis max version to <5.3.0 by @antos07 in https://github.com/aiogram/aiogram/pull/1631
- Fix
BAD_PATTERNregex in deeplinking process. by @amirsoroush in https://github.com/aiogram/aiogram/pull/1630 - fix: change the
Downloadableprotocol to be non-writable to shut up type checking that checks code that uses thebot.download(...)method by @monosans in https://github.com/aiogram/aiogram/pull/1628 - Update scene.rst by @OneHandedPirate in https://github.com/aiogram/aiogram/pull/1640
- Added full support for the Bot API 8.3 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1638
- Docs: Fix annotations by @ames0k0 in https://github.com/aiogram/aiogram/pull/1634
- Prevent endless loop with buttons by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1626
New Contributors
- @vovchic17 made their first contribution in https://github.com/aiogram/aiogram/pull/1629
- @antos07 made their first contribution in https://github.com/aiogram/aiogram/pull/1631
- @amirsoroush made their first contribution in https://github.com/aiogram/aiogram/pull/1630
- @OneHandedPirate made their first contribution in https://github.com/aiogram/aiogram/pull/1640
- @ames0k0 made their first contribution in https://github.com/aiogram/aiogram/pull/1634
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.17.0...v3.18.0
- Python
Published by JrooTJunior about 1 year ago
aiogram - v3.17.0
What's Changed
- Fix link formatting by @Soda-Na in https://github.com/aiogram/aiogram/pull/1619
- Added full support of Bot API 8.2 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1623
New Contributors
- @Soda-Na made their first contribution in https://github.com/aiogram/aiogram/pull/1619
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.16.0...v3.17.0
- Python
Published by JrooTJunior about 1 year ago
aiogram - v3.16.0
What's Changed
- misc(deps): Bump pydantic version to <2.11 by @kewldan in https://github.com/aiogram/aiogram/pull/1607
- [misc] fix tg-emoji closing tag: use constant by @mahenzon in https://github.com/aiogram/aiogram/pull/1608
- Added full support of Bot API 8.1 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1617
- Increased aiohttp version by @dolgalevd in https://github.com/aiogram/aiogram/pull/1615
- Added call method to TelegramMethod class. by @qvvonk in https://github.com/aiogram/aiogram/pull/1616
New Contributors
- @kewldan made their first contribution in https://github.com/aiogram/aiogram/pull/1607
- @dolgalevd made their first contribution in https://github.com/aiogram/aiogram/pull/1615
- @qvvonk made their first contribution in https://github.com/aiogram/aiogram/pull/1616
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.15.0...v3.16.0
- Python
Published by JrooTJunior about 1 year ago
aiogram - Bot API 7.11 and changed supported Python versions range
What's Changed
- Fix pytest-asyncio deprecation warning in test by @carlsmedstad in https://github.com/aiogram/aiogram/pull/1584
- Improved Scene handler and action inheritance mechanism by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1585
- Enabled tests on Python 3.13, disabled on Python 3.8 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1589
- Add missing closing bold tag in the docs by @chirizxc in https://github.com/aiogram/aiogram/pull/1599
- Added full support of Bot API 7.11 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1601
- Fixed UUID (and other types) serialization in the CallbackData factory. by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1602
- Add function
get_valuetoBaseStorageby @wzrayyy in https://github.com/aiogram/aiogram/pull/1594 - Added
business_connection_idto the Message API methods shortcuts by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1586
New Contributors
- @carlsmedstad made their first contribution in https://github.com/aiogram/aiogram/pull/1584
- @chirizxc made their first contribution in https://github.com/aiogram/aiogram/pull/1599
- @wzrayyy made their first contribution in https://github.com/aiogram/aiogram/pull/1594
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.13.1...v3.14.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - Compatibility fixes
What's Changed
- Increase
pydanticmax version (<2.9-><2.10) by @andrew000 in https://github.com/aiogram/aiogram/pull/1576 - Bump aiofiles version upper bound to <24.2 by @monosans in https://github.com/aiogram/aiogram/pull/1577
- #1579 Fixed
Defaultobject annotation resolution inpydanticmodels. by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1580
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.13.0...v3.13.1
- Python
Published by JrooTJunior over 1 year ago
aiogram - Bot API 7.10
What's Changed
- Fixed link preview options to use global defaults in some types and methods by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1563
- Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows by @dependabot in https://github.com/aiogram/aiogram/pull/1571
- Bot API 7.10 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1570
- Feature/aliases inaccessible message by @Latand in https://github.com/aiogram/aiogram/pull/1575
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.12.0...v3.13.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - v3.12.0
What's Changed
- Precalculate StateGroup values in https://github.com/aiogram/aiogram/pull/1507
- Added messagethreadid to url of chats with topics for message.get_url() in https://github.com/aiogram/aiogram/pull/1469
- Add getting user from
chat_boostin https://github.com/aiogram/aiogram/pull/1474 - Added full support of Bot API 7.9 in https://github.com/aiogram/aiogram/pull/1560
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.11.0...v3.12.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - v3.11.0
What's Changed
- Added 'asreplyparameters' method & integrate with message reply methods in https://github.com/aiogram/aiogram/pull/1539
- chore(docs): fix in
defaults.rstchange Bot parameter name todefault. in https://github.com/aiogram/aiogram/pull/1541 - Fix web_app example in https://github.com/aiogram/aiogram/pull/1546
- Fixed ruff issues in https://github.com/aiogram/aiogram/pull/1549
- Added aiohttp 3.10 support in https://github.com/aiogram/aiogram/pull/1548
- Added full support of Bot API 7.8 in https://github.com/aiogram/aiogram/pull/1551
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.10.0...v3.11.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - v3.9.0
What's Changed
- Corrected typo in https://github.com/aiogram/aiogram/pull/1519
- Added full support of Bot API 7.6 in https://github.com/aiogram/aiogram/pull/1533
- Bump pydantic to v2.8 in https://github.com/aiogram/aiogram/pull/1532
- Migrating feeding updates (docs) in https://github.com/aiogram/aiogram/pull/1531
- Add chat member tools in https://github.com/aiogram/aiogram/pull/1527
- #1520 Fixed event context resolving for the callback queryr in https://github.com/aiogram/aiogram/pull/1521
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.8.0...v3.9.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - v3.8.0
What's Changed
- Added MongoDB dependency to ReadTheDocs configuration by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1502
- Add Dependencies to migrations guide by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1504
- Apply isort by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1508
- Bump dev dependencies by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1512
- Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring by @Rishat-F in https://github.com/aiogram/aiogram/pull/1510
InputFilereuse recommendations update by @beliboba in https://github.com/aiogram/aiogram/pull/1506- Add DNS cache ttl setting to aiohttp session. by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1514
- Added full support of Bot API 7.5 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1518
- Add serialization utilities and update documentation by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1515
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.7.0...v3.8.0
- Python
Published by JrooTJunior over 1 year ago
aiogram - v3.7
What's Changed
- Added MongoStorage for FSM by @Rishat-F in https://github.com/aiogram/aiogram/pull/1434
- Removed deprecated arguments from Bot class by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1494
- Fixed bug with wrong MarkdownV2 custom emoji parsing by @berezzin in https://github.com/aiogram/aiogram/pull/1497
- Added full support of Bot API 7.4 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1498
- misc: code consistency and bot instance creation by @sdmway in https://github.com/aiogram/aiogram/pull/1482
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.6.0...v3.7
- Python
Published by JrooTJunior over 1 year ago
aiogram - Bot API 7.3
What's Changed
- Fix missing error logging by @unintended in https://github.com/aiogram/aiogram/pull/1458
- Fixed display of regular expressions in documentation by @leshchenko1979 in https://github.com/aiogram/aiogram/pull/1470
- docs: Correct a typo error by @sdmway in https://github.com/aiogram/aiogram/pull/1473
- Full support of Bot API 7.3 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1480
- Added message serialisation and deserialization block in 2.x -> 3.x migration guide by @DanZ-ix in https://github.com/aiogram/aiogram/pull/1479
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.5.0...v3.6.0
- Python
Published by JrooTJunior almost 2 years ago
aiogram - v3.5.0
What's Changed
- Add missing Telegram WebApp API classes and fields (#1424) by @Latand in https://github.com/aiogram/aiogram/pull/1425
- doc added for missing Telegram WebApp API classes and fields by @Leroy-bit in https://github.com/aiogram/aiogram/pull/1433
- Fixed poll answer FSM context by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1436
- Added messagethreadid parameter to ChatActionSender class methods by @k1ng in https://github.com/aiogram/aiogram/pull/1437
- chore: remove repetitive words by @avoidaway in https://github.com/aiogram/aiogram/pull/1438
- Add default bot properties and clean imports by @akchonya in https://github.com/aiogram/aiogram/pull/1447
- Bump actions versions by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1459
- Added full support of Bot API 7.2 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1444
- loosened pydantic upper bound to <2.8 by @jorenham in https://github.com/aiogram/aiogram/pull/1460
- Add context manager support for bot client by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1468
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.4.1...v3.5.0
- Python
Published by JrooTJunior almost 2 years ago
aiogram - Telegram Bot API 7.1
What's Changed
- Reworked bot-wide defaults by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1392
- Add KeyboardButtonPollTypeType enum by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1398
- Update KeyboardBuilder utility, fixed type-hints for button method, a… by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1399
- Update message.sendcopy: add missing replyparameters param by @wkpn in https://github.com/aiogram/aiogram/pull/1403
- Add notion Working with plural forms in documentation by @Robotvasya in https://github.com/aiogram/aiogram/pull/1409
- Added full support of Bot API 7.1 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1417
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.3.0...v3.4.0 https://docs.aiogram.dev/en/dev-3.x/changelog.html
- Python
Published by JrooTJunior about 2 years ago
aiogram - Telegram Bot API 7.0
What's Changed
- Update dispatcher.py by @mak7ko in https://github.com/aiogram/aiogram/pull/1384
- Added support for Bot API 7.0 - https://core.telegram.org/bots/api-changelog#december-29-2023 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1387
Full Changelog: https://github.com/aiogram/aiogram/compare/3.2.0...v3.3.0
- Python
Published by JrooTJunior about 2 years ago
aiogram - Scenes
What's Changed
- Fix broken link in MessageHandler (CBH) documentation by @fulsiram in https://github.com/aiogram/aiogram/pull/1325
- Handle expected warnings & raise unexpected warnings by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1315
- Corrected grammatical errors, improved sentence structures, translation for migration 2.x-3.x by @Latand in https://github.com/aiogram/aiogram/pull/1302
- Update dependencies by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1327
- Prevent update handling task pointers from being garbage collected, backport of #1328 by @Kylmakalle in https://github.com/aiogram/aiogram/pull/1331
- Fix send_copy helper parse mode by @mahenzon in https://github.com/aiogram/aiogram/pull/1332
- Update base.rst by @VasBrd in https://github.com/aiogram/aiogram/pull/1340
- Update ReadTheDocs configuration by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1345
- Add new FSM strategy CHAT_TOPIC strategy.py by @OnaZeroN in https://github.com/aiogram/aiogram/pull/1344
- Add CITATION.cff for automatic academic citation by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1351
- Update typing-extensions version range in dependencies by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1352
- Add current handler to filters, so that flags can be retrieved from it. by @Latand in https://github.com/aiogram/aiogram/pull/1360
- new improved CallableMixin by @RootShinobi in https://github.com/aiogram/aiogram/pull/1357
- chore(docs): update middleware.rst by @Birdi7 in https://github.com/aiogram/aiogram/pull/1353
- Add pydantic 2.5 support by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1361
- Fixed ResourceWarnings in tests by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1366
- Upgrade to py12 by @Nachtalb in https://github.com/aiogram/aiogram/pull/1354
- Fix CallbackData without default Optional by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1370
- Add new Scenes feature (experimental) by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1280
- Update thumbnail type to InputFile only by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1374
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.1.1...v3.2.0 https://docs.aiogram.dev/en/dev-3.x/changelog.html
- Python
Published by JrooTJunior over 2 years ago
aiogram - pydantic incompatibility
What's Changed
- Fix pydantic version in https://github.com/aiogram/aiogram/pull/1322
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.1.0...v3.1.1
- Python
Published by JrooTJunior over 2 years ago
aiogram - Bot API 6.9
Added full support of Bot API 6.9
What's Changed
- Added MediaGroupBuilder for media group construction by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1293
- Custom encoding support by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1278
- Updated migration guide with API server by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1299
- fix: added absent params for button builders by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1304
- New towncrier docs link by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1306
- Apply lint&reformat for existing code by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1307
- Update deprecated pydantic fields access by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1309
- Fixed priority of events isolation by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1318
- Telegram Bot API 6.9 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1319
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.0.0...v3.1.0
- Python
Published by JrooTJunior over 2 years ago
aiogram - A new era in the Bot development!
Changelog: https://docs.aiogram.dev/en/dev-3.x/migration2to_3.html
Full Changelog: https://github.com/aiogram/aiogram/compare/v2.4...v3.0.0
- Python
Published by JrooTJunior over 2 years ago
aiogram - v3.0.0rc2
What's Changed
- Added a few words about skipping pending updates by @wakaree in https://github.com/aiogram/aiogram/pull/1251
- Refactor and improve bot examples by @Latand in https://github.com/aiogram/aiogram/pull/1256
- Fixed nested hashtag, cashtag and email entnties parsing by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1263
- Examples/dev 3x refactor fix* by @Latand in https://github.com/aiogram/aiogram/pull/1261
- Added a section on Dependency Injection technology in documentation by @wakaree in https://github.com/aiogram/aiogram/pull/1253
- Examples/dev 3x multi file by @Latand in https://github.com/aiogram/aiogram/pull/1254
- Fix missing message content types by @Forden in https://github.com/aiogram/aiogram/pull/1252
- Migration FAQ supplement (Finite State Machine) by @wakaree in https://github.com/aiogram/aiogram/pull/1264
- Content from global filters by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1267
- Add error handling example by @Danipulok in https://github.com/aiogram/aiogram/pull/1099
- Fixed some typos in documentation by @wakaree in https://github.com/aiogram/aiogram/pull/1268
- Update a warning message in dispatcher by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1269
- Add contributing support for zsh and win by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1272
- Support wider pydantic version by @Olegt0rr in https://github.com/aiogram/aiogram/pull/1273
- Bot API 6.8 by @JrooTJunior in https://github.com/aiogram/aiogram/pull/1276
Full Changelog: https://github.com/aiogram/aiogram/compare/v3.0.0rc1...v3.0.0rc2
- Python
Published by JrooTJunior over 2 years ago
aiogram -
Changelog: https://docs.aiogram.dev/en/dev-3.x/changelog.html#b8-2023-07-17
- Python
Published by JrooTJunior over 2 years ago
aiogram -
Changes: https://docs.aiogram.dev/en/dev-3.x/changelog.html#b7-2023-02-18
- Python
Published by JrooTJunior about 3 years ago
aiogram - Bugfix - ChatPermissions
- Fixed ChatPermissions for Bot API 6.5 (#1113)
- Python
Published by JrooTJunior about 3 years ago
aiogram - Telegram Bot API 6.5
- Added full support of Telegram API 6.5 (#1111)
- Added
is_persistentargument toReplyKeyboardMarkupconstructor
- Python
Published by JrooTJunior about 3 years ago
aiogram - Bot API 6.4
- Added full support of Bot API 6.4
- Updated
Chat.promoteshortcut arguments (#1082) - Finally migrated from
aioredistoredis.asyncio(#1074) - Added possibility to filter
ChatJoinRequestbyChatTypeFilter(#1027) - Fixed warning about asyncio marker tests (#1078)
- Python
Published by JrooTJunior about 3 years ago
aiogram - Bot API 6.3
- Added full support of Bot API 6.3
- Added missing params to chat shortcut functions
create_invite_link,edit_invite_link(#1026) - Added native support of MagicFilter, you can read more about this type of filters in 3.x version documentation
- Python
Published by JrooTJunior over 3 years ago
aiogram -
- Bugfix: Added field
can_manage_video_chatsto ChatMemberOwner (#1003) - Fixed
get_custom_emoji_stickersmethod (#1002) - Added IDFilter support for ChatJoinRequest events (#983)
- Python
Published by JrooTJunior over 3 years ago
aiogram - A revolution in how people express themselves in messaging
- Added full support of Bot API 6.2
- Fixed filtering
skip_patterns(#868) - Fixed
RedisStorage2.get_states_listmethod (#857) - Added global default value of protect content property (#917)
- Command filter now can be sets with
BotCommandobject (#935) - Added constructor for ChatAdministratorRights (#964)
- Fixed FSM Storage
reset_bucketmethod (#970, #971) - Improved issue and pull request templates and labels automation (#947, #962, #939)
- Python
Published by JrooTJunior over 3 years ago
aiogram - Telegram Bot API 6.1
- 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_idproperty to Message (#899) - Now
ChatTypeFilterworks with inline queries (#915) - Fixed unregistering handlers from dispatcher (#932)
- Rework warning for not defined fields in TelegramType (#931)
- Add
protect_contentto webhook responses (#804) - Fixed
Dispatcher.release_key(#908) - Fixed datetime serialization error on Windows (#880) (crutches with platform-specific code)
- Python
Published by JrooTJunior over 3 years ago
aiogram - Bot API 6.0 - Web Apps for Bots
- Added support of Telegram Bot API 6.0
- Fixed indentation for
ban_chat_memberfunction 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 CHOSENINLINEQUERY (#805)
- Python
Published by JrooTJunior almost 4 years ago
aiogram - Bot API 5.7
- :rocket: Support Bot API 5.7 (#824)
- Small changes in doc-strings and annotations (#820, #818, #809)
- Python
Published by JrooTJunior about 4 years ago
aiogram - Bot API 5.6
- :rocket: Support Bot API 5.6 (#801) by @Olegt0rr
- TelegramObject readable representation (#796) by @Olegt0rr
- Global
disable_web_page_previewparameter (#695) by @samuelfirst - Missing space (#775) by @ulbwa
- Remove unused code from fsm.py (#780) by @uburuntu
- Python
Published by evgfilim1 about 4 years ago
aiogram -
- Fixed unnecessary
until_dateargument inbanChatSenderChatmethod, in due to Bot API docs has an bug (already fixed by Telegram devs) (#772)
- Python
Published by JrooTJunior about 4 years ago
aiogram - Bot API 5.5
- :rocket: Added full support of Bot API 5.5 (#768)
- Fixed webhook response header
Retry-After(#765) - Fixed
FSMContextProxy.updatemethod (#755) - Fixed some of typos in documentation (#691)
- Added new example for filters factory (#688)
- Python
Published by JrooTJunior about 4 years ago
aiogram - Bot API 5.4, aiohttp 3.8, python 3.10
- 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_filealiases 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 sendcopy - added caption to `sendvoice` (#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.
- Python
Published by JrooTJunior over 4 years ago
aiogram -
- 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_mentioninUser(#679) - Fixed IP filter for multiple IP's in X-Forwarded-For header (#673)
- Fixed method Chat.getmembercount usage without argument (#643)
- Allow empty and zero parts in CallbackData (#646)
- Added new default fields to ChatMemberOwner (#645)
- Fixed condition in sendmediagroup method (#642)
- Fixed missed ChatMember{x} methods (#636)
- Other code improvements (#629, #631, (#632)
- Python
Published by JrooTJunior over 4 years ago
aiogram - Telegram Bot API 5.3
- Full support of Bot API 5.3 (#610, #614)
- Fixed
Message.send_copymethod for polls (#603) - Updated pattern for
GroupDeactivatedexception (#549 - Added
caption_entitiesfield inInputMediabase class (#583) - Fixed HTML text decorations for tag
pre(#597 fixes issues #596 and #481) - Fixed
Message.get_full_commandmethod for messages with caption (#576) - Improved
MongoStorage: remove documents with empty data from aiogram_data collection to save memory. (#609)
- Python
Published by JrooTJunior over 4 years ago
aiogram - Telegram Bot API 5.2
- Added full support of Bot API 5.2 (#572)
- Fixed usage of
provider_dataargument insendInvoicemethod call - Fixed builtin command filter args (#556) (#558)
- Allowed to use State instances FSM storage directly (#542)
- Added possibility to get i18n locale without User instance (#546)
- Fixed returning type of
Bot.*_chat_invite_link()methods #548 (#549) - Fixed deep-linking util (#569)
- Small changes in documentation - describe limits in docstrings corresponding to the current limit. (#565)
- Fixed internal call to deprecated 'is_private' method (#553)
- Added possibility to use
allowed_updatesargument in Polling mode (#564)
- Python
Published by JrooTJunior almost 5 years ago
aiogram - Bug fix release: v2.12.1
- Fixed
TypeError: Value should be instance of 'User' not 'NoneType'(#527) - Added missing
Chat.message_auto_delete_timefield (#535) - Added
MediaGroupfilter (#528) - Added
Chat.delete_messageshortcut (#526) - Added mime types parsing for
aiogram.types.Document(#431) - Added warning in
TelegramObject.__setitem__when Telegram adds a new field (#532) - Fixed
examples/chat_type_filter.py(#533) - Removed redundant definitions in framework code (#531)
- Python
Published by evgfilim1 almost 5 years ago
aiogram - Telegram Bot API 5.1
- Full support for Telegram Bot API 5.1 (#519)
- Fixed sending playlist of audio files and documents (#465, #468)
- Fixed
FSMContextProxy.setdefaultmethod (#491) - Fixed
Message.answer_locationandMessage.reply_locationunable to send live location (#497) - Fixed
user_idandchat_idgetters from the context at Dispatchercheck_key,release_keyandthrottlemethods (#520) - Fixed
Chat.update_chatmethod and all similar situations (#516) - Fixed
MediaGroupattach methods (#514) - Fixed state filter for inline keyboard query callback in groups (#508, #510)
- Added missing
ContentTypes.DICE(#466) - Added missing
vcardargument toInputContactMessageContentconstructor (#473) - Add missing exceptions:
MessageIdInvalid,CantRestrictChatOwnerandUserIsAnAdministratorOfTheChat(#474, #512) - Added
answer_chat_actionto theMessageobject (#501) - Added dice to
message.send_copymethod (#511) - Removed deprecation warning from
Message.send_copy - Added an example of integration between externally created aiohttp Application and aiogram (#433)
- Added
split_separatorargument tosafe_split_text(#515) - Fixed some typos in docs and examples (#489, #490, #498, #504, #514)
- Python
Published by JrooTJunior almost 5 years ago
aiogram - Small fixes
- Fixed files URL template
- Fix MessageEntity serialization for API calls #457
- When entities are set, default parse_mode become disabled (#461)
- Added parameter supportsstreaming to replyvideo, remove redundant docstrings (#459)
- Added missing parameter to promoteChatMember alias (#458)
- Python
Published by JrooTJunior over 5 years ago
aiogram - Bot API 5.0
- Added full support of Telegram Bot API 5.0 (#454)
- Added possibility to more easy specify custom API Server (example)
- WARNING: API method
closewas named in Bot class asclose_botin due to Bot instance already has method with the same name. It will be changed inaiogram 3.0
- WARNING: API method
- Added alias to Message object
Message.copy_towith deprecation ofMessage.send_copy ChatType.SUPER_GROUPrenamed toChatType.SUPERGROUP(#438)
:fire: Big thanks to @Olegt0rr for #454
- Python
Published by JrooTJunior over 5 years ago
aiogram -
- Breaking change: Stop using _MainThread event loop in bot/dispatcher instances (#397)
- Breaking change: Replaced aiomongo with motor (#368, #380)
- Fixed: TelegramObject's aren't destroyed after update handling #307 (#371)
- Add setting current context of Telegram types (#369)
- Fixed markdown escaping issues (#363)
- Fixed HTML characters escaping (#409)
- Fixed italic and underline decorations when parse entities to Markdown
- Fixed #413: parse entities positioning (#414)
- Added missing thumb parameter (#362)
- Added public methods to register filters and middlewares (#370)
- Added ChatType builtin filter (#356)
- Fixed IDFilter checking message from channel (#376)
- Added missed answerpoll and replypoll (#384)
- Added possibility to ignore message caption in commands filter (#383)
- Fixed addStickerToSet method
- Added preparing thumb in send_document method (#391)
- Added exception MessageToPinNotFound (#404)
- Fixed handlers parameter-spec solving (#408)
- Fixed CallbackQuery.answer() returns nothing (#420)
- CHOSENINLINERESULT is a correct API-term (#415)
- Fixed missing attributes for Animation class (#422)
- Added missed emoji argument to reply_dice (#395)
- Added ischatcreator method to ChatMemberStatus (#394)
- Added missed ChatPermissions to __all__ (#393)
- Added is_forward method to Message (#390)
- Fixed usage of deprecated is_private function (#421)
and many others documentation and examples changes:
- Updated docstring of RedisStorage2 (#423)
- Updated I18n example (added docs and fixed typos) (#419)
- A little documentation revision (#381)
- Added comments about correct errors_handlers usage (#398)
- Fixed typo
rexex->regex(#386) - Fixed docs Quick start page code blocks (#417)
- fixed type hints of callback_data (#400)
- Prettify readme, update downloads stats badge (#406)
- Python
Published by JrooTJunior over 5 years ago
aiogram - Fixed 2 critical bugs
Fixed Message.getfullcommand() #352 Fixed markdown util #353
- Python
Published by JrooTJunior over 5 years ago
aiogram - Telegram Bot API 4.9
- Added full support of Telegram Bot API 4.9
- Fixed user context at poll_answer update (#322)
- Fix Chat.set_description (#325)
- Add lazy session generator (#326)
- Fix text decorations (#315, #316, #328)
- Fix missing InlineQueryResultPhoto parse_mode field (#331)
- Fix fields from parent object in KeyboardButton (#344 fixes #343)
- Add possibility to get bot id without calling
get_me(#296)
- Python
Published by JrooTJunior over 5 years ago
aiogram - Telegram Bot API 4.8
- :dart: Added full support of Bot API 4.8
- Added
Message.answer_diceandMessage.reply_dicemethods (#306)
- Python
Published by JrooTJunior almost 6 years ago
aiogram - Roll the dice
- :game_die: Added full support of Bot API 4.7 (#294 #289)
- Added default parse mode for send_animation method (#293 #292)
- Added new API exception when poll requested in public chats (#270)
- Make correct User and Chat get_mention methods (#277)
- Small changes and other minor improvements
- Python
Published by JrooTJunior almost 6 years ago
aiogram - Poll's improvements
- Fixed reply KeyboardButton initializer with request_poll argument (#266)
- Added helper for poll types (
aiogram.types.PollType) - Changed behavior of Telegramobject `.as
and.to_` methods. It will no more mutate the object. (#247)
- Python
Published by JrooTJunior about 6 years ago
aiogram - Telegram Bot API 4.6
- Full support of Telegram Bot API v4.6 (Polls 2.0) #265
- Aded new filter - IsContactSender (commit)
- Fixed proxy extra dependencies version #262
- Python
Published by JrooTJunior about 6 years ago
aiogram - More fixes
- #255 Updated CallbackData factory validity check. More correct for non-latin symbols
- #256 Fixed
renamed_argumentdecorator error - #257 One more fix of CommandStart filter
- Python
Published by JrooTJunior about 6 years ago
aiogram - Telegram Bot API 4.5
- Added full support of Telegram Bot API 4.5 (#250, #251)
- #239 Fixed
check_tokenmethod - #238, #241: Added deep-linking utils
- #248 Fixed support of aiohttp-socks
- Updated
setup.py. No more use of internal pip API - Updated links to documentations (docs.aiogram.dev)
- Other small changes and minor improvements (#223 and others...)
- Python
Published by JrooTJunior about 6 years ago
aiogram - Fixes and new features
- Added Message.send_copy method (forward message without forwarding)
- Safe close of aiohttp client session (no more exception when application is shutdown)
- No more "adWanced" words in project :sob: #209
- Arguments user and chat is renamed to userid and chatid in Dispatcher.throttle method #196
- Fixed setchatpermissions #198
- Fixed Dispatcher polling task does not process cancellation #199, #201
- Fixed compatibility with latest asyncio version #200
- Disabled caching by default for lazy_gettext method of I18nMiddleware #203
- Fixed HTML user mention parser #205
- Added IsReplyFilter #210
- Fixed send_poll method arguments #211
- Added OrderedHelper :man_shrugging: #215
- Fix incorrect completion order. #217
- Python
Published by JrooTJunior over 6 years ago
aiogram - Telegram Bot API 4.4
- Full support of Telegram Bot API 4.4
- Fixed #143
- Added new filters from issue #151: #172, #176, #182
- Added expire argument to RedisStorage2 and other storage fixes #145
- Fixed JSON and Pickle storages #138
- Implemented MongoStorage #153 based on aiomongo (soon motor will be also added)
- Improved tests
- Updated examples
- Warning: Updated auth widget util. #190
- Implemented throttle decorator #181
- Python
Published by JrooTJunior over 6 years ago
aiogram - Telegram Bot API 4.3
- Provides latest Telegram Bot API (4.3)
- Updated docs for filters
- Added opportunity to use different bot tokens from single bot instance (via context manager, #100)
- IMPORTANT: Fixed Typo:
data->bucketinupdate_bucketfor RedisStorage2 (#132)
- Python
Published by JrooTJunior over 6 years ago
aiogram - Telegram Bot API 4.2
- Implemented all new features from Telegram Bot API 4.2
is_memberandis_adminmethods ofChatMemberandChatMemberStatuswas renamed tois_chat_memberandis_chat_admin- Remover
funcfilter - Added some useful Message edit functions (
Message.edit_caption,Message.edit_media,Message.edit_reply_markup) (#121, #103, #104, #112) - Added requests timeout for all methods (#110)
- Added
answer*methods toMessageobject (#112) - Maked some improvements of
CallbackDatafactory - Added deep-linking parameter filter to
CommandStartfilter - Implemented opportunity to use DNS over socks (#97 -> #98)
- Implemented logging filter for extending LogRecord attributes (Will be usefull with external logs collector utils like GrayLog, Kibana and etc.)
- Updated
requirements.txtanddev_requirements.txtfiles - Other small changes and minor improvements
- Python
Published by JrooTJunior almost 7 years ago
aiogram - Last release in 2018
- Implemented CallbackData factory (example)
- Implemented methods for answering to inline query from context and reply with animation to the messages. #85
- Fixed installation from
tar.gz#84 - More exceptions (
ChatIdIsEmptyandNotEnoughRightsToRestrict)
- Python
Published by JrooTJunior about 7 years ago
aiogram - A new era (2)!
This update will break backward compability with Python 3.6 and works only with Python 3.7+:
- contextvars (PEP-567);
- New syntax for annotations (PEP-563).
Changelog
- Used contextvars instead of
aiogram.utils.context; - Implemented filters factory;
- Implemented new filters mechanism;
- Allowed to customize command prefix in CommandsFilter;
- Implemented mechanism of passing results from filters (as dicts) as kwargs in handlers (like fixtures in pytest);
- Implemented states group feature;
- Implemented FSM storage's proxy;
- Changed files uploading mechanism;
- Implemented pipe for uploading files from URL;
- Implemented I18n Middleware;
- Errors handlers now should accept only two arguments (current update and exception);
- Used
aiohttp_socksinstead ofaiosocksyfor Socks4/5 proxy; types.ContentTypewas divided totypes.ContentTypeandtypes.ContentTypes;- Allowed to use rapidjson instead of ujson/json;
.current()method in bot and dispatcher objects was renamed toget_current();
Full changelog
You can read more details about this release in migration FAQ: https://aiogram.readthedocs.io/en/latest/migration1to_2.html
- Python
Published by JrooTJunior over 7 years ago
aiogram - Fixes & Content types & API Exceptions
- Fixed markup-entities parsing;
- Added more API exceptions;
- Now InlineQueryResultLocation has live_period;
- Added more message content types;
- Other small changes and minor improvements.
- Python
Published by JrooTJunior over 7 years ago
aiogram -
- Fixed crashing of polling process. (i think)
- Added parse_mode field into input query results according to Bot API Docs.
- Added new methods for Chat object. (#42, #43)
- Warning: disabled connections limit for bot aiohttp session.
- Warning: Destroyed "temp sessions" mechanism.
- Added new error types.
- Refactored detection of error type.
- Small fixes of executor util.
- Fixed RethinkDBStorage
- Python
Published by JrooTJunior almost 8 years ago
aiogram - Proxy and new requirements.
- Allow to use Socks5 proxy (need manually install
aiosocksy). - Refactored
aiogram.utils.executormodule. - [Warning] Updated requirements list.
- Python
Published by JrooTJunior almost 8 years ago
aiogram - Small update
- Fixed API errors detection
- Fixed compability of
setup.pywith pip 10.0.0
- Python
Published by JrooTJunior almost 8 years ago
aiogram - Detailed exceptions.
- Added more error types.
- Implemented method
InputFile.from_url(url: str)for downloading files. - Implemented big part of API method tests.
- Other small changes and mminor improvements.
- Python
Published by JrooTJunior almost 8 years ago
aiogram - Fixes
- Fixed handling Venue's [#27, #26]
- Added parse_mode to all medias (Bot API 3.6 support) [#23]
- Now regexp filter can be used with callback query data [#19]
- Improvements in InlineKeyboardMarkup & ReplyKeyboardMarkup objects [#21] Other bug & typo fixes and minor improvements.
- Python
Published by JrooTJunior almost 8 years ago
aiogram - Bot API 3.6
- Full provide Telegram Bot API 3.6
- Fixed critical error:
Fatal Python error: PyImport_GetModuleDict: no module dictionary! - Implemented connection pool in RethinkDB driver
- Typo fixes of documentstion
- Other bug fixes and minor improvements.
- Python
Published by JrooTJunior about 8 years ago
aiogram - Refactoring
- Added more methods for data types (like
message.reply_sticker(...)orfile.download(...) - Typo fixes of documentstion
- Allow to set default parse mode for messages (
Bot( ... , parse_mode='HTML') - Allowed to cancel event from the
Middleware.on_pre_process_<event type> - Fixed sending files with correct names.
- Fixed MediaGroup
- Added RethinkDB storage for FSM (
aiogram.contrib.fsm_storage.rethinkdb)
- Python
Published by JrooTJunior about 8 years ago
aiogram - Middlewares
- Added middlewares mechanism.
- Added example for middlewares and throttling manager.
- Added logging middleware (aiogram.contrib.middlewares.logging.LoggingMiddleware)
- Fixed handling errors in async tasks (marked as 'async_task')
- Small fixes and other minor improvements.
- Python
Published by JrooTJunior about 8 years ago
aiogram - Small update.
- Implemented
types.InputFilefor more easy sending local files - Danger! Fixed typo in word pooling. Now whatever all methods with that word marked as deprecated and original methods is renamed to polling. Check it in you'r code before updating!
- Fixed helper for chat actions (
types.ChatActions) - Added example for media group.
- Python
Published by JrooTJunior over 8 years ago
aiogram - A new era!
- Remaked data types serialozation/deserialization mechanism (Speed up).
- Fully rewrited all Telegram data types.
- Bot object was fully rewritted (regenerated).
- Full provide Telegram Bot API 3.4+ (with sendMediaGroup)
- Warning: Now
BaseStorage.close()is awaitable! (FSM) - Fixed compability with uvloop.
- More employments for
aiogram.utils.context. - Allowed to disable
ujson. - Other bug fixes and minor improvements.
- Migrated from Bitbucket to Github.
In process: Tests and more pages of docs.
- Python
Published by JrooTJunior over 8 years ago