Aiogram

Latest version: v3.16.0

Safety actively analyzes 690721 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 15

2.0.1

==================

- Implemented CallbackData factory (`example <https://github.com/aiogram/aiogram/blob/master/examples/callback_data_factory.py>`_)
- Implemented methods for answering to inline query from context and reply with animation to the messages. `85 <https://github.com/aiogram/aiogram/issues/85>`_
- Fixed installation from tar.gz `84 <https://github.com/aiogram/aiogram/issues/84>`_
- More exceptions (:code:`ChatIdIsEmpty` and :code:`NotEnoughRightsToRestrict`)

2.0

================

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).

Changes:
- Used contextvars instead of :code:`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 :code:`aiohttp_socks` instead of :code:`aiosocksy` for Socks4/5 proxy;
- types.ContentType was divided to :code:`types.ContentType` and :code:`types.ContentTypes`;
- Allowed to use rapidjson instead of ujson/json;
- :code:`.current()` method in bot and dispatcher objects was renamed to :code:`get_current()`;

Full changelog
- You can read more details about this release in migration FAQ: `<https://aiogram.readthedocs.io/en/latest/migration_1_to_2.html>`_

1.4

================

- Bot API 4.0 (`57 <https://github.com/aiogram/aiogram/issues/57>`_)

1.3.3

==================

- Fixed markup-entities parsing;
- Added more API exceptions;
- Now InlineQueryResultLocation has live_period;
- Added more message content types;
- Other small changes and minor improvements.

1.3.2

==================

- 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 <https://github.com/aiogram/aiogram/issues/42>`_, `#43 <https://github.com/aiogram/aiogram/issues/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

1.3.1

==================

Page 11 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.