From de729ff92e9b7062dcba706d8e0c5053c1dc0c2b Mon Sep 17 00:00:00 2001 From: fselmo Date: Thu, 14 Sep 2023 12:38:47 -0600 Subject: [PATCH] Relevant newsfragments for #3096 --- newsfragments/3096.breaking.rst | 1 + newsfragments/3096.docs.rst | 1 + newsfragments/3096.feature.rst | 1 + 3 files changed, 3 insertions(+) create mode 100644 newsfragments/3096.breaking.rst create mode 100644 newsfragments/3096.docs.rst create mode 100644 newsfragments/3096.feature.rst diff --git a/newsfragments/3096.breaking.rst b/newsfragments/3096.breaking.rst new file mode 100644 index 0000000000..7262e860a1 --- /dev/null +++ b/newsfragments/3096.breaking.rst @@ -0,0 +1 @@ +Breaking change to the API for interacting with a persistent websocket connection via ``AsyncWeb3`` and ``WebsocketProviderV2``. This change internalizes the ``provider.ws`` property and opts for a ``w3.ws`` API achieved via a new ``WebsocketConnection`` class. diff --git a/newsfragments/3096.docs.rst b/newsfragments/3096.docs.rst new file mode 100644 index 0000000000..14a50066ad --- /dev/null +++ b/newsfragments/3096.docs.rst @@ -0,0 +1 @@ +Update ``WebsocketProviderV2`` documentation to reflect the new public websocket API via the ``WebsocketConnection`` class. diff --git a/newsfragments/3096.feature.rst b/newsfragments/3096.feature.rst new file mode 100644 index 0000000000..f86246798e --- /dev/null +++ b/newsfragments/3096.feature.rst @@ -0,0 +1 @@ +Sync responses for ``WebsocketProviderV2`` open connections with requests via matching RPC ``id`` values.