heroku 8.11.0-beta.2 → 8.11.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/README.md CHANGED
@@ -56,13 +56,16 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
56
56
  * [`heroku logs`](docs/logs.md) - display recent log output
57
57
  * [`heroku maintenance`](docs/maintenance.md) - enable/disable access to app
58
58
  * [`heroku members`](docs/members.md) - manage organization members
59
+ * [`heroku notifications`](docs/notifications.md) - display notifications
59
60
  * [`heroku orgs`](docs/orgs.md) - manage organizations
60
61
  * [`heroku pg`](docs/pg.md) - manage postgresql databases
61
62
  * [`heroku pipelines`](docs/pipelines.md) - manage pipelines
62
63
  * [`heroku plugins`](docs/plugins.md) - List installed plugins.
63
64
  * [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
65
+ * [`heroku psql`](docs/psql.md) - open a psql shell to the database
64
66
  * [`heroku redis`](docs/redis.md) - manage heroku redis instances
65
67
  * [`heroku regions`](docs/regions.md) - list available regions for deployment
68
+ * [`heroku releases`](docs/releases.md) - display the releases for an app
66
69
  * [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
67
70
  * [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
68
71
  * [`heroku sessions`](docs/sessions.md) - OAuth sessions
@@ -15,9 +15,11 @@ const path = require('path');
15
15
  const { version } = require('../package.json');
16
16
  const root = path.resolve(__dirname, '../package.json');
17
17
  const isDev = process.env.IS_DEV_ENVIRONMENT === 'true';
18
- const config = new core_1.Config({ root });
19
- const heroku = new command_1.APIClient(config);
20
- const token = heroku.auth;
18
+ function getToken() {
19
+ const config = new core_1.Config({ root });
20
+ const heroku = new command_1.APIClient(config);
21
+ return heroku.auth;
22
+ }
21
23
  const debug = require('debug')('global_telemetry');
22
24
  const rollbar = new Rollbar({
23
25
  accessToken: '20783109b0064dbb85be0b2c5a5a5f79',
@@ -38,7 +40,7 @@ const resource = Resource
38
40
  const provider = new NodeTracerProvider({
39
41
  resource,
40
42
  });
41
- const headers = { Authorization: `Bearer ${token}` };
43
+ const headers = { Authorization: `Bearer ${process.env.IS_HEROKU_TEST_ENV !== 'true' ? getToken() : ''}` };
42
44
  const exporter = new OTLPTraceExporter({
43
45
  url: isDev ? 'https://backboard-staging.herokuapp.com/otel/v1/traces' : 'https://backboard.heroku.com/otel/v1/traces',
44
46
  headers,
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const telemetry = require("../../global_telemetry");
4
4
  const performance_analytics = async function () {
5
- if (global.cliTelemetry) {
6
- const cmdStartTime = global.cliTelemetry.commandRunDuration;
7
- global.cliTelemetry.commandRunDuration = telemetry.computeDuration(cmdStartTime);
8
- global.cliTelemetry.lifecycleHookCompletion.postrun = true;
5
+ if (process.env.IS_HEROKU_TEST_ENV === 'true' || !global.cliTelemetry) {
6
+ return;
9
7
  }
8
+ const cmdStartTime = global.cliTelemetry.commandRunDuration;
9
+ global.cliTelemetry.commandRunDuration = telemetry.computeDuration(cmdStartTime);
10
+ global.cliTelemetry.lifecycleHookCompletion.postrun = true;
10
11
  };
11
12
  exports.default = performance_analytics;
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const analytics_1 = require("../../analytics");
4
4
  const telemetry = require("../../global_telemetry");
5
5
  const analytics = async function (options) {
6
+ if (process.env.IS_HEROKU_TEST_ENV === 'true') {
7
+ return;
8
+ }
6
9
  global.cliTelemetry = telemetry.setupTelemetry(this.config, options);
7
10
  const analytics = new analytics_1.default(this.config);
8
11
  await analytics.record(options);
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.11.0-beta.2",
2
+ "version": "8.11.0",
3
3
  "commands": {
4
4
  "console": {
5
5
  "id": "console",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "8.11.0-beta.2",
4
+ "version": "8.11.0",
5
5
  "author": "Jeff Dickey @jdxcode",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -10,18 +10,18 @@
10
10
  "@heroku-cli/command": "^10.0.0",
11
11
  "@heroku-cli/command-v9": "npm:@heroku-cli/command@^9.0.2",
12
12
  "@heroku-cli/notifications": "^1.2.2",
13
- "@heroku-cli/plugin-addons-v5": "^8.11.0-beta.2",
14
- "@heroku-cli/plugin-apps-v5": "^8.11.0-beta.2",
15
- "@heroku-cli/plugin-certs-v5": "^8.11.0-beta.2",
16
- "@heroku-cli/plugin-ci-v5": "^8.11.0-beta.2",
17
- "@heroku-cli/plugin-container-registry-v5": "^8.11.0-beta.2",
18
- "@heroku-cli/plugin-orgs-v5": "^8.11.0-beta.2",
19
- "@heroku-cli/plugin-pg-v5": "^8.11.0-beta.2",
13
+ "@heroku-cli/plugin-addons-v5": "^8.11.0",
14
+ "@heroku-cli/plugin-apps-v5": "^8.11.0",
15
+ "@heroku-cli/plugin-certs-v5": "^8.11.0",
16
+ "@heroku-cli/plugin-ci-v5": "^8.11.0",
17
+ "@heroku-cli/plugin-container-registry-v5": "^8.11.0",
18
+ "@heroku-cli/plugin-orgs-v5": "^8.11.0",
19
+ "@heroku-cli/plugin-pg-v5": "^8.11.0",
20
20
  "@heroku-cli/plugin-ps": "^8.1.7",
21
21
  "@heroku-cli/plugin-ps-exec": "^2.4.0",
22
- "@heroku-cli/plugin-redis-v5": "^8.11.0-beta.2",
22
+ "@heroku-cli/plugin-redis-v5": "^8.11.0",
23
23
  "@heroku-cli/plugin-run": "8.1.4",
24
- "@heroku-cli/plugin-spaces": "^8.11.0-beta.2",
24
+ "@heroku-cli/plugin-spaces": "^8.11.0",
25
25
  "@heroku-cli/schema": "^1.0.25",
26
26
  "@heroku/buildpack-registry": "^1.0.1",
27
27
  "@heroku/eventsource": "^1.0.7",
@@ -356,5 +356,5 @@
356
356
  "version": "oclif readme --multi && git add README.md ../../docs"
357
357
  },
358
358
  "types": "lib/index.d.ts",
359
- "gitHead": "d70f83f0eabd50658cca784b494d3300764cfcff"
359
+ "gitHead": "a525d5e5b02976efbc51ff2c8b223085b89aa5ac"
360
360
  }