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