Visitar URL original
doc: add Hydrogram vs Pyrogram page and v0.1.0 release notes · hydrogram/hydrogram@a2b9b7f · GitHub
Skip to content

Commit a2b9b7f

Browse files
doc: add Hydrogram vs Pyrogram page and v0.1.0 release notes
1 parent ad0996e commit a2b9b7f

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

‎NEWS.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ Changelog
1414
.. towncrier-draft-entries:: |release| [UNRELEASED DRAFT]
1515

1616
.. towncrier release notes start
17+
18+
0.1.0 (2023-12-01)
19+
===================
20+
21+
Initial project release. To see all changes and improvements compared to Pyrogram, see `Hydrogram vs Pyrogram <https://hydrogram.amanoteam.com/en/latest/hydrogram-vs-pyrogram.html>`_
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Hydrogram vs Pyrogram
2+
=====================
3+
4+
Introduction
5+
------------
6+
7+
This is a non-exhaustive list of differences between Hydrogram and Pyrogram.
8+
It is updated periodically.
9+
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
20+
- More active development
21+
- Completely refactored, optimized and modernized codes (Using Ruff)
22+
23+
Fixes
24+
-----
25+
26+
- Add FloodWait exception to media download
27+
- Fixed a bug that would treat `0`, `False` or `None` as an empty message
28+
- Fixed minor code issues

‎docs/source/index.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ First Steps
7676
.. hlist::
7777
:columns: 1
7878

79+
- :doc:`Migration Guide <start/migration-guide>`: Migration guide from Pyrogram.
7980
- :doc:`Quick Start <intro/quickstart>`: Overview to get you started quickly.
8081
- :doc:`Invoking Methods <start/invoking>`: How to call Hydrogram's methods.
8182
- :doc:`Handling Updates <start/updates>`: How to handle Telegram updates.
@@ -102,6 +103,7 @@ Meta
102103
- :doc:`Hydrogram FAQ <faq/index>`: Answers to common Hydrogram questions.
103104
- :doc:`Support Hydrogram <support>`: Ways to show your appreciation.
104105
- :doc:`Release Notes <releases>`: Release notes for Hydrogram releases.
106+
- :doc:`Hydrogram vs Pyrogram <hydrogram-vs-pyrogram>`: Comparison between Hydrogram and Pyrogram.
105107

106108
.. toctree::
107109
:hidden:
@@ -164,6 +166,7 @@ Meta
164166
faq/index
165167
support
166168
releases
169+
hydrogram-vs-pyrogram
167170

168171
.. toctree::
169172
:hidden:

0 commit comments

Comments
 (0)