Skip to content

Commit 861b19e

Browse files
Khwahish29mystical-prog
authored andcommitted
update docs
1 parent 50d4ee7 commit 861b19e

File tree

3 files changed

+33
-20
lines changed

3 files changed

+33
-20
lines changed

docs/libp2p.tools.async_service.rst

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,53 @@
1-
libp2p.tools.async\_service package
1+
libp2p.tools.anyio_service package
22
===================================
33

44
Submodules
55
----------
66

7-
libp2p.tools.async\_service.abc module
7+
libp2p.tools.anyio_service.abc module
88
--------------------------------------
99

10-
.. automodule:: libp2p.tools.async_service.abc
10+
.. automodule:: libp2p.tools.anyio_service.abc
1111
:members:
1212
:undoc-members:
1313
:show-inheritance:
1414

15-
libp2p.tools.async\_service.base module
15+
libp2p.tools.anyio_service.base module
1616
---------------------------------------
1717

18-
.. automodule:: libp2p.tools.async_service.base
18+
.. automodule:: libp2p.tools.anyio_service.base
1919
:members:
2020
:undoc-members:
2121
:show-inheritance:
2222

23-
libp2p.tools.async\_service.exceptions module
23+
libp2p.tools.anyio_service.exceptions module
2424
---------------------------------------------
2525

26-
.. automodule:: libp2p.tools.async_service.exceptions
26+
.. automodule:: libp2p.tools.anyio_service.exceptions
2727
:members:
2828
:undoc-members:
2929
:show-inheritance:
3030

31-
libp2p.tools.async\_service.stats module
31+
libp2p.tools.anyio_service.stats module
3232
----------------------------------------
3333

34-
.. automodule:: libp2p.tools.async_service.stats
34+
.. automodule:: libp2p.tools.anyio_service.stats
3535
:members:
3636
:undoc-members:
3737
:show-inheritance:
3838

39-
libp2p.tools.async\_service.trio\_service module
40-
------------------------------------------------
41-
42-
.. automodule:: libp2p.tools.async_service.trio_service
43-
:members:
44-
:undoc-members:
45-
:show-inheritance:
46-
47-
libp2p.tools.async\_service.typing module
39+
libp2p.tools.anyio_service.typing module
4840
-----------------------------------------
4941

50-
.. automodule:: libp2p.tools.async_service.typing
42+
.. automodule:: libp2p.tools.anyio_service.typing
5143
:members:
5244
:undoc-members:
5345
:show-inheritance:
5446

5547
Module contents
5648
---------------
5749

58-
.. automodule:: libp2p.tools.async_service
50+
.. automodule:: libp2p.tools.anyio_service
5951
:members:
6052
:undoc-members:
6153
:show-inheritance:

docs/release_notes.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,23 @@ v0.1.2
279279
--------------
280280

281281
Welcome to the great beyond, where changes were not tracked by release...
282+
283+
py-libp2p v0.2.6 (2025-05-01)
284+
-----------------------------
285+
286+
Features
287+
~~~~~~~~
288+
289+
- Transitioned from `async_service` to `anyio_service`, leveraging AnyIO's robust async primitives for improved task management and exception handling. This change enhances compatibility with modern async patterns and improves overall service reliability. (`#600 <https://github.com/ethereum/py-libp2p/issues/600>`__)
290+
291+
- Updated the service implementation to handle `ExceptionGroup` correctly, ensuring proper exception propagation and alignment with Python 3.11+ semantics. (`#601 <https://github.com/ethereum/py-libp2p/issues/601>`__)
292+
293+
Improved Documentation
294+
~~~~~~~~~~~~~~~~~~~~~~
295+
296+
- Updated the documentation to reflect the transition to AnyIO, including changes to module names and descriptions. (`#602 <https://github.com/ethereum/py-libp2p/issues/602>`__)
297+
298+
Internal Changes - for py-libp2p Contributors
299+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300+
301+
- Refactored internal service management logic to align with AnyIO's task group semantics, improving maintainability and reducing technical debt. (`#603 <https://github.com/ethereum/py-libp2p/issues/603>`__)

newsfragments/604.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Transitioned from `async_service` to `anyio_service`, leveraging AnyIO's robust async primitives for improved task management and exception handling. This change enhances compatibility with modern async patterns and improves overall service reliability.

0 commit comments

Comments
 (0)