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(cli): release v0.18.0

releaser-posthog-cli[bot]f1c0a45a6645
diff --git a/cli/.sampo/changesets/release-mode-event-default.md b/cli/.sampo/changesets/release-mode-event-default.md
deleted file mode 100644
index 27a6353385d7..000000000000
--- a/cli/.sampo/changesets/release-mode-event-default.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-cargo/posthog-cli: minor
----
-
-Default `--release-mode` to `event` for `sourcemap inject`, `sourcemap process`, `sourcemap upload`, `hermes inject`, `hermes clone` and `hermes upload`. Uploaded symbol sets and source maps are now release-independent, and each exception resolves its own release: a web build reads the `_posthogReleaseId` injected into the chunk, and a Hermes build resolves it from the `$app_namespace` / `$app_version` / `$app_build` the SDK already sends. Two releases that ship the same code keep one symbol set instead of colliding on the release that uploaded it first. Pass `--release-mode symbol-set` to keep binding the release to what you upload. Before upgrading, check that the release coordinates you pass match the app's bundle identifier or applicationId, version and build number, because a mismatch leaves exceptions with no release.
-
-`hermes upload` now resolves `--info-plist` before it checks the release coordinates. An iOS build that supplies them that way no longer gets a warning about a release the run creates correctly.
diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md
index 71bb105cb0be..db6e60c612c5 100644
--- a/cli/CHANGELOG.md
+++ b/cli/CHANGELOG.md
@@ -1,5 +1,13 @@
# posthog-cli
+## 0.18.0 — 2026-09-02
+
+### Minor changes
+
+- [fb9ed9d8ec1](https://github.com/PostHog/posthog/commit/fb9ed9d8ec133f3023ecef464b54458ef9ecf94c) Default `--release-mode` to `event` for `sourcemap inject`, `sourcemap process`, `sourcemap upload`, `hermes inject`, `hermes clone` and `hermes upload`. Uploaded symbol sets and source maps are now release-independent, and each exception resolves its own release: a web build reads the `_posthogReleaseId` injected into the chunk, and a Hermes build resolves it from the `$app_namespace` / `$app_version` / `$app_build` the SDK already sends. Two releases that ship the same code keep one symbol set instead of colliding on the release that uploaded it first. Pass `--release-mode symbol-set` to keep binding the release to what you upload. Before upgrading, check that the release coordinates you pass match the app's bundle identifier or applicationId, version and build number, because a mismatch leaves exceptions with no release.
+
+ `hermes upload` now resolves `--info-plist` before it checks the release coordinates. An iOS build that supplies them that way no longer gets a warning about a release the run creates correctly. — Thanks @ablaszkiewicz!
+
## 0.17.0 — 2026-09-02
### Minor changes
diff --git a/cli/Cargo.lock b/cli/Cargo.lock
index 8f5aa11616eb..c279bef4525b 100644
--- a/cli/Cargo.lock
+++ b/cli/Cargo.lock
@@ -2097,7 +2097,7 @@ dependencies = [
[[package]]
name = "posthog-cli"
-version = "0.17.0"
+version = "0.18.0"
dependencies = [
"anyhow",
"chrono",
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 600d7c66b58e..92efde5b5b07 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -4,7 +4,7 @@ resolver = "2"
[package]
name = "posthog-cli"
-version = "0.17.0"
+version = "0.18.0"
authors = [
"David <[email protected]>",