@posthog/cli 0.7.18 → 0.7.21
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 +69 -50
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,217 +1,236 @@
|
|
|
1
1
|
# posthog-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 0.7.21 — 2026-06-05
|
|
4
|
+
|
|
5
|
+
### Patch changes
|
|
6
|
+
|
|
7
|
+
- [c3ee0a34e1](https://github.com/PostHog/posthog/commit/c3ee0a34e1134e8697cabe9c69bafb07ccffd28f) Clarify the ProGuard map ID help text. — Thanks @cat-ph!
|
|
8
|
+
|
|
9
|
+
## 0.7.20 — 2026-06-05
|
|
10
|
+
|
|
11
|
+
### Patch changes
|
|
12
|
+
|
|
13
|
+
- [81b679f143](https://github.com/PostHog/posthog/commit/81b679f14324668be61e6a3f55df04a60427ab75) Clarify the Hermes upload help text. — Thanks @cat-ph!
|
|
14
|
+
|
|
15
|
+
## 0.7.19 — 2026-06-04
|
|
16
|
+
|
|
17
|
+
### Patch changes
|
|
18
|
+
|
|
19
|
+
- [51fc41a92dd](https://github.com/PostHog/posthog/commit/51fc41a92dd46c8a6840152b1647dd6da6894cb9) Add help text for the SSL verification flag. — Thanks @cat-ph!
|
|
20
|
+
- [867f88d1e9f](https://github.com/PostHog/posthog/commit/867f88d1e9f00b922ff98f8be475f4e2839d8f7b) Clarify the CLI release tag format in the release docs. — Thanks @cat-ph!
|
|
21
|
+
|
|
22
|
+
## 0.7.18
|
|
4
23
|
|
|
5
24
|
- fix: rename `--env-file` to `--dotenv-file`. The npm package runs the CLI binary through a `node` wrapper script, and Node has its own built-in `--env-file` flag — so Node intercepted the flag before it reached the binary, failing with `node: .env: not found` for a missing file. `--env-file` still works as an alias for native installs.
|
|
6
25
|
|
|
7
|
-
|
|
26
|
+
## 0.7.17
|
|
8
27
|
|
|
9
28
|
- fix: treat a missing `--env-file` as a warning instead of a fatal error — the CLI logs that the file wasn't found and falls back to the other credential sources (process env, then stored credentials). A file that exists but can't be read still errors.
|
|
10
29
|
|
|
11
|
-
|
|
30
|
+
## 0.7.16
|
|
12
31
|
|
|
13
32
|
- feat: add `--dry-run` flag (and `POSTHOG_CLI_DRY_RUN` env var) to skip artifact uploads (sourcemap, dSYM, Hermes, ProGuard) without contacting PostHog or requiring credentials — for CI gates that bundle to catch regressions but must not upload.
|
|
14
33
|
|
|
15
|
-
|
|
34
|
+
## 0.7.15
|
|
16
35
|
|
|
17
36
|
- fix: make symbol upload retry logs clearer and report failed finalization explicitly.
|
|
18
37
|
|
|
19
|
-
|
|
38
|
+
## 0.7.14
|
|
20
39
|
|
|
21
40
|
- feat: add `--env-file <PATH>` to load `POSTHOG_CLI_HOST`, `POSTHOG_CLI_API_KEY`, and `POSTHOG_CLI_PROJECT_ID` (and their legacy aliases) from a dotenv-style file when not set in the process environment. Credentials are resolved atomically from a single source (process env first, then the file), so `POSTHOG_CLI_HOST` from the file cannot redirect a key supplied by the process env.
|
|
22
41
|
|
|
23
|
-
|
|
42
|
+
## 0.7.13
|
|
24
43
|
|
|
25
44
|
- 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`)
|
|
26
45
|
|
|
27
|
-
|
|
46
|
+
## 0.7.12
|
|
28
47
|
|
|
29
48
|
- feat: add `--skip-on-conflict` to symbol upload commands for keeping existing symbol sets when content differs
|
|
30
49
|
- feat: add `--force` to sourcemap, Hermes, and ProGuard uploads for explicit content overwrites
|
|
31
50
|
|
|
32
|
-
|
|
51
|
+
## 0.7.11
|
|
33
52
|
|
|
34
53
|
- fix: resolve release once in `process` command to avoid race condition when multiple workers run in parallel
|
|
35
54
|
- fix: skip synthetic Swift CU names (e.g. `<swift-imported-modules>`) before joining with `comp_dir` so they no longer dominate the project-root prefix and reject real source files
|
|
36
55
|
|
|
37
|
-
|
|
56
|
+
## 0.7.10
|
|
38
57
|
|
|
39
58
|
- feat: add `symbol-sets download` command to download symbol sets by ID or ref
|
|
40
59
|
- feat: add `symbol-sets extract` command for local file extraction
|
|
41
60
|
- fix: prevent ZIP path traversal in dSYM extraction
|
|
42
61
|
- fix: validate symbol set ID is a UUID before download
|
|
43
62
|
|
|
44
|
-
|
|
63
|
+
## 0.7.9
|
|
45
64
|
|
|
46
65
|
- feat: warn and skip empty sourcemaps (no mappings/sources/names) during upload to surface bundler misconfigurations instead of silently uploading useless symbol sets
|
|
47
66
|
|
|
48
|
-
|
|
67
|
+
## 0.7.8
|
|
49
68
|
|
|
50
69
|
- feat: add `--build` flag to all upload commands (hermes, dsym, proguard, sourcemap) via shared ReleaseArgs
|
|
51
70
|
- feat: build number packed into version string (`"1.0+42"`) for release uniqueness; UI splits on `+` to display version and build separately
|
|
52
71
|
|
|
53
|
-
|
|
72
|
+
## 0.7.7
|
|
54
73
|
|
|
55
74
|
- fix: align `dsym upload` release flags with other upload commands by using `--release-name` / `--release-version` (with backward-compatible aliases)
|
|
56
75
|
- fix: reuse shared release args in `dsym upload` so release fallback behavior matches other upload commands
|
|
57
76
|
|
|
58
|
-
|
|
77
|
+
## 0.7.5
|
|
59
78
|
|
|
60
79
|
- fix: stable source bundle for dSYM uploads — CU-anchored prefix filter prevents framework sources from changing the content hash
|
|
61
80
|
- fix: thin fat dSYM binaries per arch before zipping so sibling arch rebuilds don't cause content_hash_mismatch
|
|
62
81
|
- fix: add `--force` flag to allow overwriting symbol sets whose content has changed
|
|
63
82
|
|
|
64
|
-
|
|
83
|
+
## 0.7.4
|
|
65
84
|
|
|
66
85
|
- fix: create per-UUID ZIP for dSYM uploads
|
|
67
86
|
|
|
68
|
-
|
|
87
|
+
## 0.7.3
|
|
69
88
|
|
|
70
89
|
- feat: enable symbol set compression
|
|
71
90
|
- fix: fix process command reading from stdin
|
|
72
91
|
|
|
73
|
-
|
|
92
|
+
## 0.7.2
|
|
74
93
|
|
|
75
94
|
- feat: allow reading files and directories from stdin
|
|
76
95
|
|
|
77
|
-
|
|
96
|
+
## 0.7.1
|
|
78
97
|
|
|
79
98
|
- feat: track upload started and upload finished events
|
|
80
99
|
|
|
81
|
-
|
|
100
|
+
## 0.7.0
|
|
82
101
|
|
|
83
102
|
- feat: promote dsym, hermes, and proguard commands from experimental to top-level
|
|
84
103
|
- feat: keep backward-compat aliases under `exp` (hidden from help)
|
|
85
104
|
|
|
86
|
-
|
|
105
|
+
## 0.6.2
|
|
87
106
|
|
|
88
107
|
- fix: endpoints now save to YAML with proper newlines
|
|
89
108
|
|
|
90
|
-
|
|
109
|
+
## 0.6.1
|
|
91
110
|
|
|
92
111
|
- chore: bump `cargo-dist` version
|
|
93
112
|
|
|
94
|
-
|
|
113
|
+
## 0.6.0
|
|
95
114
|
|
|
96
115
|
- Add experimental dSYM upload for iOS/macOS crash symbolication
|
|
97
116
|
|
|
98
|
-
|
|
117
|
+
## 0.5.30
|
|
99
118
|
|
|
100
119
|
- Add experimental dSYM upload for iOS/macOS crash symbolication
|
|
101
120
|
|
|
102
|
-
|
|
121
|
+
## 0.5.29
|
|
103
122
|
|
|
104
123
|
- chore: introduce env variable `POSTHOG_CLI_API_KEY` and `POSTHOG_CLI_PROJECT_ID` (backwards compatible)
|
|
105
124
|
|
|
106
|
-
|
|
125
|
+
## 0.5.28
|
|
107
126
|
|
|
108
127
|
- chore: introduce `--release-name` and `--release-version` options (backwards compatible)
|
|
109
128
|
|
|
110
|
-
|
|
129
|
+
## 0.5.27
|
|
111
130
|
|
|
112
131
|
- fix: only warns on release id mismatch errors
|
|
113
132
|
|
|
114
|
-
|
|
133
|
+
## 0.5.26
|
|
115
134
|
|
|
116
135
|
- feat: use env variables provided by github actions when available
|
|
117
136
|
|
|
118
|
-
|
|
137
|
+
## 0.5.24
|
|
119
138
|
|
|
120
139
|
- chore: add endpoints use case to cli auth flow
|
|
121
140
|
|
|
122
|
-
|
|
141
|
+
## 0.5.23
|
|
123
142
|
|
|
124
143
|
- feat: add experimental commands for endpoints management
|
|
125
144
|
|
|
126
|
-
|
|
145
|
+
## 0.5.22
|
|
127
146
|
|
|
128
147
|
- feat: add `--project` and `--version` to upload command to define release
|
|
129
148
|
|
|
130
|
-
|
|
149
|
+
## 0.5.20
|
|
131
150
|
|
|
132
151
|
- chore: add global `--rate-limit` option for Posthog client
|
|
133
152
|
|
|
134
|
-
|
|
153
|
+
## 0.5.19
|
|
135
154
|
|
|
136
155
|
- chore: upgrade cargo-dist to 0.30.3
|
|
137
156
|
|
|
138
|
-
|
|
157
|
+
## 0.5.18
|
|
139
158
|
|
|
140
159
|
- fix: fix git info parsing in vercel environment
|
|
141
160
|
|
|
142
|
-
|
|
161
|
+
## 0.5.17
|
|
143
162
|
|
|
144
163
|
- feat: add --file option to target built files directly
|
|
145
164
|
|
|
146
|
-
|
|
165
|
+
## 0.5.16
|
|
147
166
|
|
|
148
167
|
- fix: cut a new version for fixing compromised package
|
|
149
168
|
|
|
150
|
-
|
|
169
|
+
## 0.5.15
|
|
151
170
|
|
|
152
171
|
- Compromised
|
|
153
172
|
|
|
154
|
-
|
|
173
|
+
## 0.5.14
|
|
155
174
|
|
|
156
175
|
- Fix authentication issue on sourcemap upload
|
|
157
176
|
|
|
158
|
-
|
|
177
|
+
## 0.5.13
|
|
159
178
|
|
|
160
179
|
- Add `--include` option on sourcemap commands to match specific files inside directory
|
|
161
180
|
|
|
162
|
-
|
|
181
|
+
## 0.5.12
|
|
163
182
|
|
|
164
183
|
- Bug fixes and improvements
|
|
165
184
|
|
|
166
|
-
|
|
185
|
+
## 0.5.11
|
|
167
186
|
|
|
168
187
|
- Do not read bundle files as part of hermes sourcemap commands
|
|
169
188
|
- Change hermes clone command to take two file paths (for the minified and composed maps respectively)
|
|
170
189
|
|
|
171
|
-
|
|
190
|
+
## 0.5.10
|
|
172
191
|
|
|
173
192
|
- Add terminal checks for login and query command
|
|
174
193
|
|
|
175
|
-
|
|
194
|
+
## 0.5.9
|
|
176
195
|
|
|
177
196
|
- Improve error handling from api
|
|
178
197
|
- Reduce logs for sourcemap processing
|
|
179
198
|
|
|
180
|
-
|
|
199
|
+
## 0.5.8
|
|
181
200
|
|
|
182
201
|
- Adding experimental support for proguard mappings
|
|
183
202
|
|
|
184
|
-
|
|
203
|
+
## 0.5.7
|
|
185
204
|
|
|
186
205
|
- Fix bug where files point to the same sourcemap
|
|
187
206
|
|
|
188
|
-
|
|
207
|
+
## 0.5.6
|
|
189
208
|
|
|
190
209
|
- Adding experimental support for hermes sourcemaps
|
|
191
210
|
|
|
192
|
-
|
|
211
|
+
## 0.5.5
|
|
193
212
|
|
|
194
213
|
- When running inject command multiple times, we only update chunk ids when releases are different
|
|
195
214
|
|
|
196
|
-
|
|
215
|
+
## 0.5.4
|
|
197
216
|
|
|
198
217
|
- Added no fail flag to disable non-zero exit codes on errors.
|
|
199
218
|
|
|
200
|
-
|
|
219
|
+
## 0.5.3
|
|
201
220
|
|
|
202
221
|
- Add support for ignoring public path prefixes appended by bundlers to sourceMappingURLs when searching for sourcemaps
|
|
203
222
|
associated with minified source code. Does not modify the sourceMappingURL as published.
|
|
204
223
|
|
|
205
|
-
|
|
224
|
+
## 0.5.2
|
|
206
225
|
|
|
207
226
|
- Fixes a bug where chunks which shared a sourcemap were mishandled, leading to an error during upload in recent versions, and a silent
|
|
208
227
|
failure in older versions. If you're using next, and saw an error message about "duplicate chunk IDs", this fix addresses that issue.
|
|
209
228
|
|
|
210
|
-
|
|
229
|
+
## 0.5.1
|
|
211
230
|
|
|
212
231
|
- Attempts to reduce impact of previous breaking changes - re-adds `--project` and `--version` arguments to sourcemap upload command, marking them as no longer used
|
|
213
232
|
|
|
214
|
-
|
|
233
|
+
## 0.5.0
|
|
215
234
|
|
|
216
235
|
- Sourcemap injection, upload and process commands made retriable. Significant improvement to release creation.
|
|
217
236
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "@posthog/cli",
|
|
22
|
-
"version": "0.7.
|
|
22
|
+
"version": "0.7.21"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.7.
|
|
51
|
+
"version": "0.7.21"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.
|
|
3
|
+
"https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.21"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"posthog-cli": "run-posthog-cli.js"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"zipExt": ".tar.gz"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
"version": "0.7.
|
|
117
|
+
"version": "0.7.21",
|
|
118
118
|
"volta": {
|
|
119
119
|
"node": "18.14.1",
|
|
120
120
|
"npm": "9.5.0"
|