Skip to content

Commit 23c67e0

Browse files
authored
docs: refactor Hydrogram vs Pyrogram page (#7)
1 parent 607f463 commit 23c67e0

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

docs/source/hydrogram-vs-pyrogram.rst

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,28 @@ Introduction
77
This is a non-exhaustive list of differences between Hydrogram and Pyrogram.
88
It is updated periodically.
99

10-
Changes
11-
-------
12-
13-
- Support for the latest layer
14-
- Support for threads/topics
15-
- Improvements in IDE support by declaring ``__all__`` in files
16-
- Mark optional parameters in methods as keyword-only, to avoid future breakage when adding new parameters
17-
- Use of newer packaging technologies and standards, such as pyproject.toml
18-
- Use of aiosqlite instead of sqlite3
19-
- Open-source documentation
10+
Key changes
11+
-----------
12+
13+
- Support for the latest MTProto API layer with all new Telegram features
14+
- Support for threads and topics in Telegram groups
15+
- Support for multiple usernames.
2016
- More active development
21-
- Completely refactored, optimized and modernized codes (Using Ruff)
17+
- Completely refactored, optimized and modernized codebase (utilizing Ruff)
18+
- Open-source documentation
19+
- Adopt modern packaging technologies and standards, such as pyproject.toml
20+
- Use aiosqlite instead of sqlite3 for storage handling.
21+
- Added the property `full_name` for User and Chat objects.
22+
- Added the possibility to define a custom storage class
23+
24+
More technical changes
25+
----------------------
26+
27+
- Declared the special variable `__all__` in all files so now we have a better IDE support.
28+
- Specify optional parameters in methods as keyword-only to prevent potential breakage in the future when introducing new parameters.
29+
- Migrated from setuptools to hatchling with rye.
30+
- Transitioned from using `os.path` to utilizing `Pathlib`.
31+
- Start utilizing towncrier to generate changelogs.
2232

2333
Fixes
2434
-----

0 commit comments

Comments
 (0)