Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): update posthoganalytics to 7.51.2 (#99011)

posthog-js-upgrader[bot]ace490e0eb44
diff --git a/common/ingestion/acceptance_tests/requirements.txt b/common/ingestion/acceptance_tests/requirements.txt
index ef9d253f46bc..8971ff4642bd 100644
--- a/common/ingestion/acceptance_tests/requirements.txt
+++ b/common/ingestion/acceptance_tests/requirements.txt
@@ -5,5 +5,5 @@ requests-toolbelt==1.0.0
boto3==1.29.7
docker==6.1.3
python-multipart==0.0.6
-posthoganalytics==7.49.0
+posthoganalytics==7.51.2
openai==1.109.1
diff --git a/pyproject.toml b/pyproject.toml
index 9f6dea7de6f0..db1f2691190c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -99,7 +99,7 @@ dependencies = [
"paramiko~=3.5.0",
"pillow==12.3.0",
"protobuf~=5.29.6",
- "posthoganalytics==7.49.0",
+ "posthoganalytics==7.51.2",
"polars==1.37.1",
"psycopg2-binary==2.9.10",
"psycopg[binary]==3.2.4",
diff --git a/services/llm-gateway/pyproject.toml b/services/llm-gateway/pyproject.toml
index 46038530dca5..0c921d41ff41 100644
--- a/services/llm-gateway/pyproject.toml
+++ b/services/llm-gateway/pyproject.toml
@@ -21,7 +21,7 @@ dependencies = [
"prometheus-fastapi-instrumentator>=7.0.0",
"structlog>=24.4.0",
"httpx>=0.28.0",
- "posthoganalytics>=7.49.0",
+ "posthoganalytics>=7.51.2",
"cachetools>=5.5.0",
"python-multipart>=0.0.9",
"boto3>=1.42.65",
diff --git a/services/llm-gateway/uv.lock b/services/llm-gateway/uv.lock
index 6447ab051a5c..e26ac0d3cd62 100644
--- a/services/llm-gateway/uv.lock
+++ b/services/llm-gateway/uv.lock
@@ -911,7 +911,7 @@ requires-dist = [
{ name = "httpx", specifier = ">=0.28.0" },
{ name = "litellm", specifier = "==1.92.0" },
{ name = "orjson", specifier = ">=3.10.0" },
- { name = "posthoganalytics", specifier = ">=7.49.0" },
+ { name = "posthoganalytics", specifier = ">=7.51.2" },
{ name = "prometheus-client", specifier = ">=0.21.0" },
{ name = "prometheus-fastapi-instrumentator", specifier = ">=7.0.0" },
{ name = "pydantic", specifier = ">=2.5.0" },
@@ -1193,7 +1193,7 @@ wheels = [
[[package]]
name = "posthoganalytics"
-version = "7.49.0"
+version = "7.51.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "backoff" },
@@ -1201,9 +1201,9 @@ dependencies = [
{ name = "requests" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ed/e6/fff8dffa299e041d2c5d62334db5ac9d793028d38d26b3e4d2f48adbc01b/posthoganalytics-7.49.0.tar.gz", hash = "sha256:9f1611e4de3bc1b034f036172c669d2343e973f325751ba60686f8edc365b54a", size = 521355, upload-time = "2026-09-10T08:09:25.591Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/3d/28/03df114b66050f20feef6ced44fdb2fadf984758c619f3b5ed8dd5c0bb77/posthoganalytics-7.51.2.tar.gz", hash = "sha256:d04c50617a5cc9085fd3925d3d2990ad575940498735868d2b9b396b16cc0825", size = 543227, upload-time = "2026-09-11T09:15:46.304Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1e/e8/35d07ba8a73b5fa17bdf501f9edecc43a1f53749291ed0e5a76f879a857f/posthoganalytics-7.49.0-py3-none-any.whl", hash = "sha256:078f7e5749e230586689c7229f84700e82293661ed9c4f80460acfadf1e35cfa", size = 619363, upload-time = "2026-09-10T08:09:23.835Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/85/3639ce730056e8409541aac2f2fc40f8360214c08226ece28dc72dc2e64b/posthoganalytics-7.51.2-py3-none-any.whl", hash = "sha256:167fdb2778c156cc5475c0a90dc5afa6bc6c5113e7090430cdb7b5fc4511c63b", size = 641523, upload-time = "2026-09-11T09:15:44.362Z" },
]
[[package]]
diff --git a/tools/infra-scripts/clitools/requirements.txt b/tools/infra-scripts/clitools/requirements.txt
index e7778aa58992..ba08e1620b81 100644
--- a/tools/infra-scripts/clitools/requirements.txt
+++ b/tools/infra-scripts/clitools/requirements.txt
@@ -1,4 +1,4 @@
# PostHog Python SDK — used by toolbox/telemetry.py to capture usage events.
# https://posthog.com/docs/libraries/python
# >=3 required: the `Posthog` client class doesn't exist in older 1.x/2.x releases.
-posthog>=7.49.0
+posthog>=7.51.2
diff --git a/uv.lock b/uv.lock
index 45d46c60667b..37fa407a2f4e 100644
--- a/uv.lock
+++ b/uv.lock
@@ -5936,7 +5936,7 @@ requires-dist = [
{ name = "polars", specifier = "==1.37.1" },
{ name = "posthog-hogland", specifier = "==0.4.1" },
{ name = "posthog-owners", editable = "tools/owners" },
- { name = "posthoganalytics", specifier = "==7.49.0" },
+ { name = "posthoganalytics", specifier = "==7.51.2" },
{ name = "protobuf", specifier = "~=5.29.6" },
{ name = "psycopg", extras = ["binary"], specifier = "==3.2.4" },
{ name = "psycopg2-binary", specifier = "==2.9.10" },
@@ -6114,7 +6114,7 @@ provides-extras = ["dev"]
[[package]]
name = "posthoganalytics"
-version = "7.49.0"
+version = "7.51.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "backoff" },
@@ -6122,9 +6122,9 @@ dependencies = [
{ name = "requests" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ed/e6/fff8dffa299e041d2c5d62334db5ac9d793028d38d26b3e4d2f48adbc01b/posthoganalytics-7.49.0.tar.gz", hash = "sha256:9f1611e4de3bc1b034f036172c669d2343e973f325751ba60686f8edc365b54a", size = 521355, upload-time = "2026-09-10T08:09:25.591Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/3d/28/03df114b66050f20feef6ced44fdb2fadf984758c619f3b5ed8dd5c0bb77/posthoganalytics-7.51.2.tar.gz", hash = "sha256:d04c50617a5cc9085fd3925d3d2990ad575940498735868d2b9b396b16cc0825", size = 543227, upload-time = "2026-09-11T09:15:46.304Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1e/e8/35d07ba8a73b5fa17bdf501f9edecc43a1f53749291ed0e5a76f879a857f/posthoganalytics-7.49.0-py3-none-any.whl", hash = "sha256:078f7e5749e230586689c7229f84700e82293661ed9c4f80460acfadf1e35cfa", size = 619363, upload-time = "2026-09-10T08:09:23.835Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/85/3639ce730056e8409541aac2f2fc40f8360214c08226ece28dc72dc2e64b/posthoganalytics-7.51.2-py3-none-any.whl", hash = "sha256:167fdb2778c156cc5475c0a90dc5afa6bc6c5113e7090430cdb7b5fc4511c63b", size = 641523, upload-time = "2026-09-11T09:15:44.362Z" },
]
[[package]]