@posthog/cli 0.5.30 → 0.6.0

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 CHANGED
@@ -1,41 +1,9 @@
1
1
  # posthog-cli
2
2
 
3
- # 0.5.30
3
+ # 0.6.0
4
4
 
5
5
  - Add experimental dSYM upload for iOS/macOS crash symbolication
6
6
 
7
- # 0.5.29
8
-
9
- - chore: introduce env variable `POSTHOG_CLI_API_KEY` and `POSTHOG_CLI_PROJECT_ID` (backwards compatible)
10
-
11
- # 0.5.28
12
-
13
- - chore: introduce `--release-name` and `--release-version` options (backwards compatible)
14
-
15
- # 0.5.27
16
-
17
- - fix: only warns on release id mismatch errors
18
-
19
- # 0.5.26
20
-
21
- - feat: use env variables provided by github actions when available
22
-
23
- # 0.5.24
24
-
25
- - chore: add endpoints use case to cli auth flow
26
-
27
- # 0.5.23
28
-
29
- - feat: add experimental commands for endpoints management
30
-
31
- # 0.5.22
32
-
33
- - feat: add `--project` and `--version` to upload command to define release
34
-
35
- # 0.5.20
36
-
37
- - chore: add global `--rate-limit` option for Posthog client
38
-
39
7
  # 0.5.19
40
8
 
41
9
  - chore: upgrade cargo-dist to 0.30.3
package/README.md CHANGED
@@ -7,10 +7,9 @@ The command line interface for PostHog 🦔
7
7
  Usage: posthog-cli [OPTIONS] <COMMAND>
8
8
 
9
9
  Commands:
10
- login Interactively authenticate with PostHog, storing a personal API token locally. You can also use the environment variables `POSTHOG_CLI_API_KEY`, `POSTHOG_CLI_PROJECT_ID` and `POSTHOG_CLI_HOST`
10
+ login Interactively authenticate with PostHog, storing a personal API token locally. You can also use the environment variables `POSTHOG_CLI_TOKEN`, `POSTHOG_CLI_ENV_ID` and `POSTHOG_CLI_HOST`
11
11
  query Run a SQL query against any data you have in posthog. This is mostly for fun, and subject to change
12
12
  sourcemap Upload a directory of bundled chunks to PostHog
13
- exp Contains a set of experimental commands
14
13
  help Print this message or the help of the given subcommand(s)
15
14
 
16
15
  Options:
@@ -24,18 +23,5 @@ Options:
24
23
  You can authenticate with PostHog interactively for using the CLI locally, but if you'd like to use it in a CI/CD pipeline, we recommend using these environment variables:
25
24
 
26
25
  - `POSTHOG_CLI_HOST`: The PostHog host to connect to [default: https://us.posthog.com]
27
- - `POSTHOG_CLI_API_KEY`: [A posthog personal API key.](https://posthog.com/docs/api#private-endpoint-authentication) (also accepts `POSTHOG_CLI_TOKEN` for backward compatibility)
28
- - `POSTHOG_CLI_PROJECT_ID`: The ID number of the project/environment to connect to. E.g. the "2" in `https://us.posthog.com/project/2` (also accepts `POSTHOG_CLI_ENV_ID` for backward compatibility)
29
-
30
- ### Personal API key scopes
31
-
32
- Commands require different API scopes. Make sure to set these scopes on your personal API key:
33
-
34
- | Command | Required Scopes |
35
- | ----------------------------- | ------------------------------------------ |
36
- | `query` | `query:read` |
37
- | `sourcemap` | `error_tracking:write` |
38
- | `exp endpoints list/get/pull` | `endpoint:read` |
39
- | `exp endpoints push` | `endpoint:write`, `insight_variable:write` |
40
- | `exp endpoints run` | `query:read` |
41
- | `exp tasks` | `task:read` |
26
+ - `POSTHOG_CLI_TOKEN`: [A posthog person API key.](https://posthog.com/docs/api#private-endpoint-authentication)
27
+ - `POSTHOG_CLI_ENV_ID`: The ID number of the project/environment to connect to. E.g. the "2" in `https://us.posthog.com/project/2`
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@posthog/cli",
26
- "version": "0.5.30"
26
+ "version": "0.6.0"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "0.5.30"
518
+ "version": "0.6.0"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.5.30",
2
+ "artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.6.0",
3
3
  "bin": {
4
4
  "posthog-cli": "run-posthog-cli.js"
5
5
  },
@@ -116,7 +116,7 @@
116
116
  "zipExt": ".tar.gz"
117
117
  }
118
118
  },
119
- "version": "0.5.30",
119
+ "version": "0.6.0",
120
120
  "volta": {
121
121
  "node": "18.14.1",
122
122
  "npm": "9.5.0"