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: bump posthog-js to 1.405.2 and posthoganalytics to 7.27.0 (#72459)

Phil Haack8d2f4c8e793c
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 69ded06f8d43..ec8268d1e9d4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -94,8 +94,8 @@ catalogs:
specifier: ^0.57.0
version: 0.57.0
posthog-js:
- specifier: ^1.404.1
- version: 1.404.1
+ specifier: ^1.405.2
+ version: 1.405.2
storybook:
specifier: ^10.4.3
version: 10.4.6
@@ -409,7 +409,7 @@ importers:
version: 3.1.0
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
devDependencies:
'@swc/core':
specifier: ^1.11.29
@@ -440,7 +440,7 @@ importers:
version: 1.5.15
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
devDependencies:
'@swc/core':
specifier: ^1.11.29
@@ -814,7 +814,7 @@ importers:
version: link:../packages/quill/packages/components
'@posthog/react':
specifier: 'catalog:'
'@posthog/replay-shared':
specifier: workspace:*
version: link:../common/replay-shared
@@ -1138,7 +1138,7 @@ importers:
version: 2.11.0
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
query-selector-shadow-dom:
specifier: ^1.0.0
version: 1.0.0
@@ -2635,7 +2635,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -2699,7 +2699,7 @@ importers:
version: 0.1.7
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -2763,7 +2763,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -2814,7 +2814,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -2922,7 +2922,7 @@ importers:
version: 3.3.0
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3012,7 +3012,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3051,7 +3051,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3153,7 +3153,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3338,7 +3338,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3419,7 +3419,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3551,7 +3551,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3704,7 +3704,7 @@ importers:
version: 5.4.1
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3857,7 +3857,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -3983,7 +3983,7 @@ importers:
version: 0.55.1
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4035,7 +4035,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4068,7 +4068,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4300,7 +4300,7 @@ importers:
'@posthog/react':
specifier: '*'
'@storybook/react':
specifier: 'catalog:'
@@ -4318,7 +4318,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4369,7 +4369,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4491,7 +4491,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4534,7 +4534,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4552,7 +4552,7 @@ importers:
'@posthog/react':
specifier: '*'
'@storybook/react':
specifier: 'catalog:'
@@ -4570,7 +4570,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4620,7 +4620,7 @@ importers:
version: 4.0.0-pre.6([email protected])
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -4672,7 +4672,7 @@ importers:
posthog-js:
specifier: 'catalog:'
- version: 1.404.1
+ version: 1.405.2
react:
specifier: 18.3.1
version: 18.3.1
@@ -10160,8 +10160,8 @@ packages:
'@posthog/[email protected]':
resolution: {integrity: sha512-QLrJh0hMVpEJXHNyiJR9YhvIO5tzLDedw4UHdvB+ub4fXHMtHCA8H44qgl11HWR3ajpjxtJ8hs3HyOGVF3Zc1w==}
- '@posthog/[email protected]':
- resolution: {integrity: sha512-hGM8f5sp3we6Em/RQHXbmyYm554hUx9+9jhf92ZQgDS4/xW72KHyZiO9wcFye+qAx2cJAOhOCDIznmO1FV8IbA==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-uE+mdKvetxNQC6gWQf4MHIH8bGt+JN6z7ho0A4G3t9G1VGQTx9wHYHNwkKf3gzi+1oAXS9ej2VVY4pjWUU2PWg==}
'@posthog/[email protected]':
resolution: {integrity: sha512-kjK0eFMIpKo9GXIbts8VtAknsoZ18oZorANdtuTj1CbgS28t4ZVq//HAWhnxEuXRTrtkd+SUJ6Ux3j2Af8NCuA==}
@@ -10211,12 +10211,12 @@ packages:
'@posthog/[email protected]':
resolution: {integrity: sha512-JUFk57H89fOnHpF62FDyFGw4uXeHAX20OPfkLL8/iqg/xrVp5Q21LvJUDijmS5wt0avgUwXF2bxYgaZ5iWRmAg==}
- '@posthog/[email protected]':
- resolution: {integrity: sha512-Ty0gbVc6d9ku9H3caF54PmEfu4PHUGpJKTriMyDb4rjCTsEYOOjD4r6Fw/UMYSSWg8Ls3KnCtTow8LL6ciqNDg==}
-
'@posthog/[email protected]':
resolution: {integrity: sha512-Pa7FtsBo3V0XrhY4y8Xquwp8U07syuZ2IGQdlsRyxhz0yejQLceFjI58UssCXE5zDCDj3km5l7H3ufD6rHChCg==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-W/LpWbKVaaUnfZKuFuHa+Dg03D+fC87cM+PQbG+59JcSPW8F0JcBtSoXmpfrqbpuxUToMo+gktutrUkAb/KQBw==}
+
'@protobufjs/[email protected]':
resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}
@@ -19884,8 +19884,8 @@ packages:
resolution: {integrity: sha512-fFCoGtMICWwoW0tsEdyFS7OFFgwe7bTTha/SKEtUdyJ56UyJ8wi6VghxyPkO2GVWpco5Za/edT1z1ovGYPCyLQ==}
- resolution: {integrity: sha512-ck/HOMKuZ6yefUk5OX+h2s9mUWBsnu0mGDUAWjIwAmQQrloZPShzOhOWuEuZQuMnCKORBFRVGsBAuzsl66cBJA==}
+ resolution: {integrity: sha512-KPbbAX4EKM8UTU13gW/fZHyonfVee+GIj9QyiXtI2N4ooku69eZzfgk3CxQOUcnuvCz6xaQaUlvRmIsROxTCvw==}
resolution: {integrity: sha512-DFE5lZAoD6hk7RATuT8qVQ7KFgFP5YlFTJciMbU2qq6NX0A8eJxiJcmEsMnB3g30jJJ9suiwGIq4I8ESwf9bZg==}
@@ -30040,11 +30040,11 @@ snapshots:
'@posthog/[email protected]':
dependencies:
- '@posthog/types': 1.395.0
+ '@posthog/types': 1.397.0
- '@posthog/[email protected]':
+ '@posthog/[email protected]':
dependencies:
- '@posthog/types': 1.397.0
+ '@posthog/types': 1.397.1
'@posthog/[email protected]':
dependencies:
@@ -30084,19 +30084,19 @@ snapshots:
'@posthog/core': 1.38.0
posthog-node: 5.25.0
dependencies:
- posthog-js: 1.404.1
+ posthog-js: 1.405.2
react: 18.3.1
optionalDependencies:
'@types/react': 18.3.27
'@posthog/[email protected]': {}
- '@posthog/[email protected]': {}
-
'@posthog/[email protected]': {}
+ '@posthog/[email protected]': {}
+
'@protobufjs/[email protected]': {}
'@protobufjs/[email protected]': {}
@@ -42467,10 +42467,10 @@ snapshots:
dependencies:
'@posthog/core': 1.7.1
dependencies:
- '@posthog/core': 1.43.1
- '@posthog/types': 1.397.0
+ '@posthog/core': 1.44.0
+ '@posthog/types': 1.397.1
core-js: 3.49.0
dompurify: 3.4.0
fflate: 0.4.8
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index a72974d3f640..7c7ba2972dd1 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -46,7 +46,7 @@ catalog:
'@posthog/icons': ^0.38.0
'@posthog/brand': 0.6.0
'@posthog/react': ^1.9.0
- posthog-js: ^1.404.1
+ posthog-js: ^1.405.2
# Build tools
'@parcel/packager-ts': 2.16.4
'@parcel/transformer-typescript-types': 2.16.4
diff --git a/pyproject.toml b/pyproject.toml
index e11bd5033178..14a8a84ede7a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -100,7 +100,7 @@ dependencies = [
"paramiko~=3.5.0",
"pillow==12.2.0",
"protobuf~=5.29.6",
- "posthoganalytics==7.20.4",
+ "posthoganalytics==7.27.0",
"polars==1.37.1",
"psycopg2-binary==2.9.10",
"psycopg[binary]==3.2.4",
diff --git a/uv.lock b/uv.lock
index 4ed58cbcf17d..383b3472cb23 100644
--- a/uv.lock
+++ b/uv.lock
@@ -11,7 +11,7 @@ resolution-markers = [
]
[options]
-exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
+exclude-newer = "2026-07-13T23:30:06.062618Z"
exclude-newer-span = "P7D"
[options.exclude-newer-package]
@@ -4645,7 +4645,7 @@ name = "nvidia-cudnn-cu12"
version = "9.10.2.21"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-cublas-cu12" },
+ { name = "nvidia-cublas-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467, upload-time = "2025-06-06T21:54:08.597Z" },
@@ -4656,7 +4656,7 @@ name = "nvidia-cufft-cu12"
version = "11.3.3.83"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-nvjitlink-cu12" },
+ { name = "nvidia-nvjitlink-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695, upload-time = "2025-03-07T01:45:27.821Z" },
@@ -4683,9 +4683,9 @@ name = "nvidia-cusolver-cu12"
version = "11.7.3.90"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-cublas-cu12" },
- { name = "nvidia-cusparse-cu12" },
- { name = "nvidia-nvjitlink-cu12" },
+ { name = "nvidia-cublas-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
+ { name = "nvidia-cusparse-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
+ { name = "nvidia-nvjitlink-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905, upload-time = "2025-03-07T01:47:16.273Z" },
@@ -4696,7 +4696,7 @@ name = "nvidia-cusparse-cu12"
version = "12.5.8.93"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-nvjitlink-cu12" },
+ { name = "nvidia-nvjitlink-cu12", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466, upload-time = "2025-03-07T01:48:13.779Z" },
@@ -5355,7 +5355,7 @@ name = "pexpect"
version = "4.9.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "ptyprocess" },
+ { name = "ptyprocess", marker = "sys_platform != 'emscripten'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" }
wheels = [
@@ -5933,7 +5933,7 @@ requires-dist = [
{ name = "pixelhog", specifier = "~=1.2.0" },
{ name = "playwright", specifier = "~=1.60.0" },
{ name = "polars", specifier = "==1.37.1" },
- { name = "posthoganalytics", specifier = "==7.20.4" },
+ { name = "posthoganalytics", specifier = "==7.27.0" },
{ name = "protobuf", specifier = "~=5.29.6" },
{ name = "psycopg", extras = ["binary"], specifier = "==3.2.4" },
{ name = "psycopg2-binary", specifier = "==2.9.10" },
@@ -6094,7 +6094,7 @@ provides-extras = ["dev"]
[[package]]
name = "posthoganalytics"
-version = "7.20.4"
+version = "7.27.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "backoff" },
@@ -6102,9 +6102,9 @@ dependencies = [
{ name = "requests" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/21/ee/a2e18df3178f3cd05512bb65b87b3037b145c2889477820b1a5b243b1bce/posthoganalytics-7.20.4.tar.gz", hash = "sha256:89f364d1796ca4e414977e67f6dae94136fb41385f68f37d4c3c85bd4278fb74", size = 262180, upload-time = "2026-06-24T15:48:16.262Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/a4/52/b2c043125c35abbfcaaebf581497d97227051625bc9bee9b235dbed5e807/posthoganalytics-7.27.0.tar.gz", hash = "sha256:5fdabb0e58616a766daeedb040a0868142581d259416d20d84fe5147db8488bd", size = 352566, upload-time = "2026-07-18T16:40:21.412Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d1/de/81f6ffaae7ab5e95121b960bb98a2958b5ab7c36c10e1933da49d791b239/posthoganalytics-7.20.4-py3-none-any.whl", hash = "sha256:fcbfc2f9db527abeea8ba06caede720ee5fa5115f89b48827527314418c6a33c", size = 305163, upload-time = "2026-06-24T15:48:14.397Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/75/9e6f0d3c55c2476d0fef27e8650c233b8afdd2848fab4674bdb71371b084/posthoganalytics-7.27.0-py3-none-any.whl", hash = "sha256:8fb2dd8f0238d2a8a61bed3e7f54536ad4d3dcfe1a45e113d67f4c6814c022f5", size = 424440, upload-time = "2026-07-18T16:40:20.013Z" },
]
[[package]]
@@ -7624,7 +7624,7 @@ name = "shadowcopy"
version = "0.0.4"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "wmi" },
+ { name = "wmi", marker = "sys_platform != 'emscripten'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/12/44/c00420a3b7bcdf830529b933392b566c876a4944a24f31e126eb6fd28647/shadowcopy-0.0.4.tar.gz", hash = "sha256:ed89817dda065f893607a04c0b7d6b3b34c3507a4711f441111a4bcb1b1826c0", size = 4138, upload-time = "2023-07-08T00:01:35.266Z" }
wheels = [
@@ -8058,7 +8058,7 @@ name = "tbb"
version = "2022.3.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "tcmlib" },
+ { name = "tcmlib", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/08/59/8d381a2cfe8d36c4f4ff9f94769ff2809bfc16014d888360b0e24c7e5c6b/tbb-2022.3.1-py2.py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:534c089eca6bcf148408684c156229d5f09c01d323b685b15739f41985b529d7", size = 4178630, upload-time = "2026-01-22T05:30:20.589Z" },
@@ -8440,7 +8440,7 @@ name = "triton"
version = "3.4.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "setuptools" },
+ { name = "setuptools", marker = "platform_machine != 's390x' and sys_platform != 'emscripten'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/30/7b/0a685684ed5322d2af0bddefed7906674f67974aa88b0fae6e82e3b766f6/triton-3.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00be2964616f4c619193cb0d1b29a99bd4b001d7dc333816073f92cf2a8ccdeb", size = 155569223, upload-time = "2025-07-30T19:58:44.017Z" },
@@ -9147,7 +9147,7 @@ name = "wmi"
version = "1.5.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "pywin32" },
+ { name = "pywin32", marker = "sys_platform != 'emscripten'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/d4/66/6364deb0a03415f96c66803d8c4379f808f2401da3bdb183348487b10510/WMI-1.5.1.tar.gz", hash = "sha256:b6a6be5711b1b6c8d55bda7a8befd75c48c12b770b9d227d31c1737dbf0d40a6", size = 26254, upload-time = "2020-04-28T08:22:58.096Z" }
wheels = [