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.

fix(cli): bump cargo-dist to 0.32.0 to refresh npm installer deps (#59718)

Rafael Audibertb0b7d49b1d75
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 34bd90f59825..021b636902ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -64,7 +64,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
- run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.4/cargo-dist-installer.sh | sh"
+ run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.32.0/cargo-dist-installer.sh | sh"
- name: Cache dist
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md
index 9ca07a95d44c..a80790ab70c0 100644
--- a/cli/CHANGELOG.md
+++ b/cli/CHANGELOG.md
@@ -1,5 +1,9 @@
# posthog-cli
+# 0.7.13
+
+- chore: bump `cargo-dist` to 0.32.0; the new npm installer drops the bundled transitive deps that were carrying open CVEs (`axios`, `follow-redirects`, `minimatch`, `brace-expansion`)
+
# 0.7.12
- feat: add `--skip-on-conflict` to symbol upload commands for keeping existing symbol sets when content differs
diff --git a/cli/Cargo.lock b/cli/Cargo.lock
index 5d8aad3ceb53..fd65c1e4152a 100644
--- a/cli/Cargo.lock
+++ b/cli/Cargo.lock
@@ -1851,7 +1851,7 @@ dependencies = [
[[package]]
name = "posthog-cli"
-version = "0.7.12"
+version = "0.7.13"
dependencies = [
"anyhow",
"chrono",
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 6265dbeffc19..1e819a6900a7 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "posthog-cli"
-version = "0.7.12"
+version = "0.7.13"
authors = [
"David <[email protected]>",
diff --git a/dist-workspace.toml b/dist-workspace.toml
index bf548a89ef12..b82e3e3f4dc0 100644
--- a/dist-workspace.toml
+++ b/dist-workspace.toml
@@ -6,7 +6,7 @@ members = ["cargo:./cli"]
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
-cargo-dist-version = "0.30.4"
+cargo-dist-version = "0.32.0"
# CI backends to support
ci = "github"
# The installers to generate for each app