You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.rst
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,66 @@ Changelog
15
15
16
16
.. towncrier release notes start
17
17
18
+
0.2.0 (2024-06-30)
19
+
===================
20
+
21
+
Deprecations and Removals
22
+
-------------------------
23
+
24
+
- Removed the `async-to-sync` wrapper, making the library fully asynchronous.
25
+
- Removed the `emoji` submodule. Please try out the `emoji` package from PyPI.
26
+
27
+
Features
28
+
--------
29
+
30
+
- Integrate pyromod patches into the project (many thanks to @usernein for his excellent work). To check out the pyromod specific features, have a look at https://pyromod.pauxis.dev/.
31
+
You can use the features in the same way as in pyromod, except that you import them directly from the hydrogram package.
- Added the attribute `is_participants_hidden` to the `Chat` type. If the list of members is hidden, `True` will be returned; otherwise, `False` will be returned.
- Added `if TYPE_CHECKING` to import modules for type checking only when needed. This flag avoids importing modules that are not needed for runtime execution. This change reduces the number of imports in the module and improves the performance of the code.
- Added the `from __future__ import annotations` statement to the codebase in order to simplify the usage of the typing module. This statement allows for the use of forward references in type hints, which can improve code readability and maintainability.
0 commit comments