Skip to content

Releases: pylakey/aiotdlib

0.24.3

19 Jun 12:14
Compare
Choose a tag to compare

0.24.2

19 Jun 10:59
Compare
Choose a tag to compare

Full Changelog: 0.24.1...0.24.2

0.24.1

19 Jun 10:12
Compare
Choose a tag to compare
  • The predefined values of ClientOptions are now being set up properly.

Full Changelog: 0.24.0...0.24.1

0.24.0 - TDLib 1.8.31

18 Jun 17:51
Compare
Choose a tag to compare
  • TDLib version upgraded to 1.8.31. If you use self-built TDLib binaries, you should update them to
    the supported version.

Full Changelog: 0.23.3...0.24.0

0.23.4

18 Jun 17:17
Compare
Choose a tag to compare
  • All updates handlers now are called asynchronously in background. It allows making another requests in updates handlers.

Full Changelog: 0.23.3...0.23.4

0.23.3

18 Jun 14:22
Compare
Choose a tag to compare
  • Fixed blocking authorization flow

Full Changelog: 0.23.2...0.23.3

0.23.2

18 Jun 14:02
Compare
Choose a tag to compare
  • Ignore extra env variables in ClientSettings

Full Changelog: 0.23.1...0.23.2

0.23.1

17 Jun 18:27
Compare
Choose a tag to compare

Added

  • Added proper base64 encoded serialization for Bytes type

Full Changelog: 0.23.0...0.23.1

0.23.0 - TDLib 1.8.30, Pydantic V2, Multiple Client instances

12 Jun 20:56
Compare
Choose a tag to compare

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.

  • Now library supports only Pydantic v2. If you use Pydantic v1, you should upgrade it to v2. You can follow migration
    guide here

  • 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 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

22 Sep 06:29
Compare
Choose a tag to compare

What's Changed

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.

Full Changelog: 0.21.0...0.22.0