We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38683e8 commit 6b9bdc7Copy full SHA for 6b9bdc7
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+## 3.13.0 - 2025-02-12
2
+
3
+1. Automatically retry connection errors
4
5
## 3.12.1 - 2025-02-11
6
7
1. Fix mypy support for 3.12.0
posthog/request.py
@@ -11,7 +11,9 @@
11
from posthog.utils import remove_trailing_slash
12
from posthog.version import VERSION
13
14
+adapter = requests.adapters.HTTPAdapter(max_retries=2)
15
_session = requests.sessions.Session()
16
+_session.mount("https://", adapter)
17
18
US_INGESTION_ENDPOINT = "https://us.i.posthog.com"
19
EU_INGESTION_ENDPOINT = "https://eu.i.posthog.com"
posthog/version.py
@@ -1,4 +1,4 @@
-VERSION = "3.12.1"
+VERSION = "3.13.0"
if __name__ == "__main__":
print(VERSION, end="") # noqa: T201
0 commit comments