: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(deps): bump node to 24.22.1 (#121580)
Tom Piccirello72bb72904c3c
diff --git a/.nvmrc b/.nvmrcindex e8416a151f88..474d750b5042 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-v24.13.0+v24.22.1diff --git a/Dockerfile b/Dockerfileindex b667b739d570..a143b5e10b26 100644--- a/Dockerfile+++ b/Dockerfile@@ -26,7 +26,7 @@# ---------------------------------------------------------## Digest-pinned because the runtime stage copies its `node` binary out of this stage.-FROM node:24.13.0-bookworm-slim@sha256:4660b1ca8b28d6d1906fd644abe34b2ed81d15434d26d845ef0aced307cf4b6f AS node-base+FROM node:24.22.1-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205 AS node-baseWORKDIR /codeSHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]@@ -71,7 +71,7 @@ RUN bin/turbo --filter=@posthog/frontend build# Isolated stage for sourcemap upload - keeps secrets and external network calls# out of the main build cache. This stage produces no artifacts for the final image.#-FROM node:24.13.0-bookworm-slim AS sourcemap-upload+FROM node:24.22.1-bookworm-slim AS sourcemap-uploadWORKDIR /codeSHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]diff --git a/Dockerfile.ml-mirror-image-scrub b/Dockerfile.ml-mirror-image-scrubindex 8f60a2784b1c..e095789fc5e6 100644--- a/Dockerfile.ml-mirror-image-scrub+++ b/Dockerfile.ml-mirror-image-scrub@@ -11,7 +11,7 @@# Deliberately NOT the plugin-server workspace build: standalone so the heavy ML deps stay out of the# main image. sharp ships prebuilt libvips.#-# Exact node version pinned to .nvmrc (24.13.0), matching the main Dockerfile's node stages, so the+# Exact node version pinned to .nvmrc (24.22.1), matching the main Dockerfile's node stages, so the# build is reproducible instead of drifting with the floating major tag; renovate bumps it. -bookworm-slim# so glibc matches sharp's prebuilt binaries.#@@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \cargo build --release --locked -p replay-anonymizer-node && \cp target/release/libreplay_anonymizer_node.so /build/replay-anonymizer.node-FROM node:24.13.0-bookworm-slim+FROM node:24.22.1-bookworm-slimWORKDIR /code/appSHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]diff --git a/Dockerfile.node b/Dockerfile.nodeindex 952bea2c0321..3a410a2f07ee 100644--- a/Dockerfile.node+++ b/Dockerfile.node@@ -86,7 +86,7 @@ RUN NODE_OPTIONS="--max-old-space-size=16384" bin/turbo --filter=@posthog/nodejs## Runtime stage: Minimal image with only nodejs runtime dependencies#-FROM node:24.13.0-bookworm-slim+FROM node:24.22.1-bookworm-slimWORKDIR /codeSHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]diff --git a/Dockerfile.sandbox b/Dockerfile.sandboxindex d9fbe9d0fcd0..4f92d8be9fb2 100644--- a/Dockerfile.sandbox+++ b/Dockerfile.sandbox@@ -8,7 +8,7 @@ FROM python:3.14.7-slim-bookworm@sha256:9ab8d9c8514b44f90cf0029dd42fdd7e9e211e63SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]-ENV NODE_VERSION=24.13.0 \+ENV NODE_VERSION=24.22.1 \NODE_ENV=development \RUSTUP_HOME=/usr/local/rustup \CARGO_HOME=/usr/local/cargo \diff --git a/services/agent-proxy/Dockerfile b/services/agent-proxy/Dockerfileindex 71bff75dffda..0fbdf83acc4f 100644--- a/services/agent-proxy/Dockerfile+++ b/services/agent-proxy/Dockerfile@@ -10,8 +10,8 @@# Pin the same Node version as the rest of the monorepo (.nvmrc).# The digest wins over the tag — update both together when bumping NODE_VERSION.-ARG NODE_VERSION=24.13.0-ARG NODE_IMAGE=node:${NODE_VERSION}-bookworm-slim@sha256:4660b1ca8b28d6d1906fd644abe34b2ed81d15434d26d845ef0aced307cf4b6f+ARG NODE_VERSION=24.22.1+ARG NODE_IMAGE=node:${NODE_VERSION}-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205## Build stage — install workspace deps, bundle the Hono entry into a single .mjs.diff --git a/services/credentials-service/Dockerfile b/services/credentials-service/Dockerfileindex eac0e094c533..4a1b7679d2b1 100644--- a/services/credentials-service/Dockerfile+++ b/services/credentials-service/Dockerfile@@ -8,8 +8,8 @@# Pin the same Node version as the rest of the monorepo (.nvmrc).# The digest wins over the tag; update both together when bumping NODE_VERSION.-ARG NODE_VERSION=24.13.0-ARG NODE_IMAGE=node:${NODE_VERSION}-bookworm-slim@sha256:4660b1ca8b28d6d1906fd644abe34b2ed81d15434d26d845ef0aced307cf4b6f+ARG NODE_VERSION=24.22.1+ARG NODE_IMAGE=node:${NODE_VERSION}-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205## Build stage: install workspace deps, bundle the entry into a single self-containeddiff --git a/services/mcp/Dockerfile b/services/mcp/Dockerfileindex 14d2c4b4cee1..70b6c14de477 100644--- a/services/mcp/Dockerfile+++ b/services/mcp/Dockerfile@@ -9,7 +9,7 @@# proxy distribution, not the server — different artifact, don't confuse them.# Pin the same Node version as the rest of the monorepo (.nvmrc).-ARG NODE_VERSION=24.13.0+ARG NODE_VERSION=24.22.1ARG NODE_IMAGE=node:${NODE_VERSION}-bookworm-slim#