Aiotdlib

Latest version: v0.24.3

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

Scan your dependencies

Page 2 of 9

0.23.0

> This update may contain breaking changes in some scenarios, please read carefully and update your code accordingly

!! BREAKING CHANGES !!

* TDLib version upgraded to 1.8.30. If you use self-built TDLib binaries, you should update them to
the [supported version](https://github.com/tdlib/td/commit/4257a341bd08c1fa4d5329b7ecc75cf15563aa23).

* Now library supports only Pydantic v2. If you use Pydantic v1, you should upgrade it to v2. You can follow migration
guide [here](https://docs.pydantic.dev/latest/migration/)

* The client now accepts a single parameter of type ClientSettings. This parameter is optional. If it is omitted,
default settings will be used, with parameters filled from environment variables. Look for [README.md](./README.md)
for more information.

* `ClientProxyType` is moved to `aiotdlib.client_settings` module

* `ClientParseMode` is moved to `aiotdlib.client_settings` module

* `ClientProxySettings` is moved to `aiotdlib.client_settings` module

* `ClientOptions` is moved to `aiotdlib.client_settings` module

* `ClientSettings` is moved to `aiotdlib.client_settings` module

* Some of the fields in API types and functions now have default values *(ESPECIALLY BOOLEANS)*. Make sure it won't
break your code and update it accordingly. Feel free to open any pull request to fix this problem in types generator.

Added

* Now you can create multiple Client instances in a single process using the same TD instance. Thanks to truenicoco for
helping us move in this direction!

Removed

* Now client logger follows default log level and can be changed directly with `logging.getLogger(...)`. Client logger
name now follows pattern "Client_{client_id}"

Updated

* The client settings have been updated to set default properties such as 'enable_storage_optimizer' and '
ignore_file_names'. The handling of setting options has been improved to support setting options with None values.
Event registration in the client cache has been refactored to provide clearer semantics and easier removal of event
handlers. Logging and handling of updates have also been refined to catch and handle exceptions more effectively.

* Minor fixes and improvements

0.22.0

!! BREAKING CHANGES !!

In this release added a check of Pydantic version. If you have Pydantic v2 and higher `NotImplementedError` will be
raised.

This version of library will be the last one with Pydantic v1 support.

0.21.0

> No information about this release

0.20.0

* Improved generator: Now some fields have default values. Detected nullable values now are null by default.

* Resolved circular imports error in types. Refactored types module. All types now are stored into single file. (Fixed
57)

* TDLib binaries upgraded
to [available version](https://github.com/pylakey/td/commit/958fed6e8e440afe87b57c98216a5c8d3f3caed8) (1.8.14) (for
24.06.2023)

* All integer model fields now have `le` constraints as they mentioned in tdlib (`Int32`, `Int53`, `Int64`)

* All types and functions regenerated

* Upgraded all deps
*
* Another minor fixes and improvements

!! BREAKING CHANGES !!

* Due to python limitations, some arguments changed their position in functions signature. If you pass them as
positional arguments, make sure they passed in correct order now!

* No client options are set now by default! Make sure you pass them as options parameter of `Client`

* As library wasn't updated for so long, you should check all used tdlib apis used by you before migrating to this
version!

* Refactored `aiotdlib.api` module, `aiotdlib.api.BaseObject` refactored and moved
to `aiotdlib.api.types.base.BaseObject`

0.19.1

Fixed

* Fixed 31

0.19.0

Breaking

* Most of `Client` class methods renamed to match python protected members convention

Fixed

* Fixed 17

* Fixed 25 by removing wrong update handler

Added

* Added reactions related updates handlers in `ClientCache`

* Added missing params in methods docs

Updated

* TDLib binaries upgraded to
latest [available version](https://github.com/pylakey/td/commit/6d485aa0b672ca4b5eccf05d6e5538c6988f12ef) (1.8.4 from
now)

* API types and functions regenerated

* Upgraded dependencies

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.