@posthog/cli 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +16 -0
- package/lib/posthog-api-cli.mjs +403 -266
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# posthog-cli
|
|
2
2
|
|
|
3
|
+
## 0.8.3 — 2026-07-15
|
|
4
|
+
|
|
5
|
+
### Patch changes
|
|
6
|
+
|
|
7
|
+
- [97457ef9b4](https://github.com/PostHog/posthog/commit/97457ef9b493debd3975f12b8b6d1c4baaee2d93) Sourcemap upload concurrency can now be configured with `--concurrency` or `POSTHOG_CLI_SOURCEMAP_UPLOAD_CONCURRENCY`, while keeping the existing default of 10 uploads at a time. — Thanks @DebadityaHait!
|
|
8
|
+
|
|
3
9
|
## 0.8.2 — 2026-07-13
|
|
4
10
|
|
|
5
11
|
### Patch changes
|
package/README.md
CHANGED
|
@@ -72,6 +72,22 @@ Pass `--include-source` to bundle the referenced source files for richer context
|
|
|
72
72
|
|
|
73
73
|
The standalone `posthog-cli dsym upload` command is unchanged and still recommended for dSYM-only Xcode build phases, where it also reads release and version metadata from each bundle's `Info.plist`.
|
|
74
74
|
|
|
75
|
+
## Configuring sourcemap upload concurrency
|
|
76
|
+
|
|
77
|
+
Sourcemap uploads run up to 10 file uploads at a time by default. Set a different positive value with `--concurrency` on `sourcemap upload` or `sourcemap process`:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
posthog-cli sourcemap process --directory ./dist --concurrency 32
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
For build integrations such as `@posthog/nextjs-config`, set `POSTHOG_CLI_SOURCEMAP_UPLOAD_CONCURRENCY` in the build environment instead:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
POSTHOG_CLI_SOURCEMAP_UPLOAD_CONCURRENCY=32 npm run build
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
The CLI flag takes precedence over the environment variable. Both require a value greater than zero. This setting applies only to plain sourcemap uploads; other CLI concurrency remains unchanged.
|
|
90
|
+
|
|
75
91
|
## Skipping uploads (dry run)
|
|
76
92
|
|
|
77
93
|
Pass `--dry-run` before the subcommand (`posthog-cli --dry-run hermes upload ...`), or set `POSTHOG_CLI_DRY_RUN=true`, to turn the upload commands — `sourcemap`, `dsym`, `hermes`, and `proguard` — into a no-op.
|