From 33f8aac631e2b406f12a878bb1fd9a994df75025 Mon Sep 17 00:00:00 2001 From: Zane Whitfield Date: Mon, 15 Apr 2024 12:25:25 -0700 Subject: [PATCH 1/3] fix(authorizations): surface api warnings in temporary fix (#2804) * Surface api warnings for authorizations:create * Surface remaining api warnings for authorizations command * Add api warning header test for authorizations:create * Update response type in authorizations:info --- .../cli/src/commands/authorizations/create.ts | 8 +++++++- packages/cli/src/commands/authorizations/info.ts | 8 +++++++- .../cli/src/commands/authorizations/revoke.ts | 8 +++++++- .../cli/src/commands/authorizations/rotate.ts | 8 +++++++- .../cli/src/commands/authorizations/update.ts | 8 +++++++- .../commands/authorizations/create.unit.test.ts | 15 +++++++++++++++ 6 files changed, 50 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/commands/authorizations/create.ts b/packages/cli/src/commands/authorizations/create.ts index 0e8f022ce1..305feebb20 100644 --- a/packages/cli/src/commands/authorizations/create.ts +++ b/packages/cli/src/commands/authorizations/create.ts @@ -25,7 +25,7 @@ export default class AuthorizationsCreate extends Command { ux.action.start('Creating OAuth Authorization') - const {body: auth} = await this.heroku.post('/oauth/authorizations', { + const {body: auth, headers} = await this.heroku.post('/oauth/authorizations', { body: { description: flags.description, scope: flags.scope ? flags.scope.split(',') : undefined, @@ -35,6 +35,12 @@ export default class AuthorizationsCreate extends Command { ux.action.stop() + const apiWarnings = headers['warning-message'] as string || '' + + if (apiWarnings) { + ux.warn(apiWarnings) + } + if (flags.short) { ux.log(auth.access_token && auth.access_token.token) } else if (flags.json) { diff --git a/packages/cli/src/commands/authorizations/info.ts b/packages/cli/src/commands/authorizations/info.ts index 961d1616fd..37f2a0ac73 100644 --- a/packages/cli/src/commands/authorizations/info.ts +++ b/packages/cli/src/commands/authorizations/info.ts @@ -18,10 +18,16 @@ export default class AuthorizationsInfo extends Command { async run() { const {args, flags} = await this.parse(AuthorizationsInfo) - const {body: authentication} = await this.heroku.get( + const {body: authentication, headers} = await this.heroku.get( `/oauth/authorizations/${args.id}`, ) + const apiWarnings = headers['warning-message'] as string || '' + + if (apiWarnings) { + ux.warn(apiWarnings) + } + if (flags.json) { ux.styledJSON(authentication) } else { diff --git a/packages/cli/src/commands/authorizations/revoke.ts b/packages/cli/src/commands/authorizations/revoke.ts index 223b174476..fba980d767 100644 --- a/packages/cli/src/commands/authorizations/revoke.ts +++ b/packages/cli/src/commands/authorizations/revoke.ts @@ -21,10 +21,16 @@ export default class AuthorizationsRevoke extends Command { ux.action.start('Revoking OAuth Authorization') - const {body: auth} = await this.heroku.delete( + const {body: auth, headers} = await this.heroku.delete( `/oauth/authorizations/${encodeURIComponent(args.id)}`, ) + const apiWarnings = headers['warning-message'] as string || '' + + if (apiWarnings) { + ux.warn(apiWarnings) + } + ux.action.stop(`done, revoked authorization from ${color.cyan(auth.description)}`) } } diff --git a/packages/cli/src/commands/authorizations/rotate.ts b/packages/cli/src/commands/authorizations/rotate.ts index 4288c46da2..b3c73aa2e5 100644 --- a/packages/cli/src/commands/authorizations/rotate.ts +++ b/packages/cli/src/commands/authorizations/rotate.ts @@ -16,10 +16,16 @@ export default class AuthorizationsRotate extends Command { ux.action.start('Rotating OAuth Authorization') - const {body: authorization} = await this.heroku.post( + const {body: authorization, headers} = await this.heroku.post( `/oauth/authorizations/${encodeURIComponent(args.id)}/actions/regenerate-tokens`, ) + const apiWarnings = headers['warning-message'] as string || '' + + if (apiWarnings) { + ux.warn(apiWarnings) + } + ux.action.stop() display(authorization) diff --git a/packages/cli/src/commands/authorizations/update.ts b/packages/cli/src/commands/authorizations/update.ts index 34a4ccde6b..dd51beabaf 100644 --- a/packages/cli/src/commands/authorizations/update.ts +++ b/packages/cli/src/commands/authorizations/update.ts @@ -30,7 +30,7 @@ export default class AuthorizationsUpdate extends Command { } } - const {body: authentication} = await this.heroku.patch( + const {body: authentication, headers} = await this.heroku.patch( `/oauth/authorizations/${args.id}`, { body: { @@ -40,6 +40,12 @@ export default class AuthorizationsUpdate extends Command { }, ) + const apiWarnings = headers['warning-message'] as string || '' + + if (apiWarnings) { + ux.warn(apiWarnings) + } + ux.action.stop() display(authentication) diff --git a/packages/cli/test/unit/commands/authorizations/create.unit.test.ts b/packages/cli/test/unit/commands/authorizations/create.unit.test.ts index 568cadde79..f229375dc7 100644 --- a/packages/cli/test/unit/commands/authorizations/create.unit.test.ts +++ b/packages/cli/test/unit/commands/authorizations/create.unit.test.ts @@ -39,4 +39,19 @@ describe('authorizations:create', () => { expect(json.scope).to.contain('global') }) }) + + context('API warning headers', () => { + test + .stderr() + .stdout() + .nock('https://api.heroku.com:443', api => { + api + .post('/oauth/authorizations', {description: 'awesome'}) + .reply(201, {scope: ['global'], access_token: {token: 'secrettoken'}}, {'warning-message': 'this is an API warning message example'}) + }) + .command(['authorizations:create', '--description', 'awesome']) + .it('outputs API warning message', ctx => { + expect(ctx.stderr).contains('this is an API warning message example') + }) + }) }) From 1541dfc1d1f7c7714b684bdb07455fb40ca040e4 Mon Sep 17 00:00:00 2001 From: Zane Whitfield Date: Tue, 16 Apr 2024 07:29:30 -0700 Subject: [PATCH 2/3] release v8.11.3 (#2807) * v8.11.3 * Fix scripting errors --- CHANGELOG.md | 11 +++++++++++ docs/auth.md | 12 ++++++------ docs/authorizations.md | 12 ++++++------ docs/autocomplete.md | 2 +- docs/buildpacks.md | 16 ++++++++-------- docs/certs.md | 24 ++++++++++++------------ docs/ci.md | 10 +++++----- docs/clients.md | 12 ++++++------ docs/config.md | 8 ++++---- docs/domains.md | 14 +++++++------- docs/git.md | 4 ++-- docs/labs.md | 2 +- docs/local.md | 6 +++--- docs/logs.md | 2 +- docs/pipelines.md | 28 ++++++++++++++-------------- docs/ps.md | 6 +++--- docs/regions.md | 2 +- docs/reviewapps.md | 4 ++-- docs/run.md | 4 ++-- docs/sessions.md | 4 ++-- docs/status.md | 2 +- docs/webhooks.md | 18 +++++++++--------- lerna.json | 2 +- packages/certs-v5/CHANGELOG.md | 8 ++++++++ packages/certs-v5/README.md | 26 +++++++++++++------------- packages/certs-v5/package.json | 2 +- packages/ci-v5/CHANGELOG.md | 8 ++++++++ packages/ci-v5/package.json | 4 ++-- packages/cli/CHANGELOG.md | 11 +++++++++++ packages/cli/package.json | 6 +++--- packages/run-v5/CHANGELOG.md | 8 ++++++++ packages/run-v5/package.json | 2 +- yarn.lock | 12 ++++++------ 33 files changed, 169 insertions(+), 123 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc3714615a..fe437a7423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.11.3](https://github.com/heroku/cli/compare/v8.11.2...v8.11.3) (2024-04-15) + + +### Bug Fixes + +* **authorizations:** surface api warnings in temporary fix ([#2804](https://github.com/heroku/cli/issues/2804)) ([33f8aac](https://github.com/heroku/cli/commit/33f8aac631e2b406f12a878bb1fd9a994df75025)) + + + + + ## [8.11.2](https://github.com/heroku/cli/compare/v8.11.1...v8.11.2) (2024-04-10) **Note:** Version bump only for package heroku diff --git a/docs/auth.md b/docs/auth.md index 304abe8ac2..7df2e4b8c4 100644 --- a/docs/auth.md +++ b/docs/auth.md @@ -26,7 +26,7 @@ ALIASES $ heroku twofactor ``` -_See code: [src/commands/auth/2fa/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/2fa/index.ts)_ +_See code: [src/commands/auth/2fa/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/2fa/index.ts)_ ## `heroku auth:2fa:disable` @@ -47,7 +47,7 @@ EXAMPLES $ heroku auth:2fa:disable ``` -_See code: [src/commands/auth/2fa/disable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/2fa/disable.ts)_ +_See code: [src/commands/auth/2fa/disable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/2fa/disable.ts)_ ## `heroku auth:login` @@ -69,7 +69,7 @@ ALIASES $ heroku login ``` -_See code: [src/commands/auth/login.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/login.ts)_ +_See code: [src/commands/auth/login.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/login.ts)_ ## `heroku auth:logout` @@ -86,7 +86,7 @@ ALIASES $ heroku logout ``` -_See code: [src/commands/auth/logout.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/logout.ts)_ +_See code: [src/commands/auth/logout.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/logout.ts)_ ## `heroku auth:token` @@ -105,7 +105,7 @@ DESCRIPTION authorizations:create ``` -_See code: [src/commands/auth/token.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/token.ts)_ +_See code: [src/commands/auth/token.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/token.ts)_ ## `heroku auth:whoami` @@ -122,4 +122,4 @@ ALIASES $ heroku whoami ``` -_See code: [src/commands/auth/whoami.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/auth/whoami.ts)_ +_See code: [src/commands/auth/whoami.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/auth/whoami.ts)_ diff --git a/docs/authorizations.md b/docs/authorizations.md index 8d60f9f210..4617196d51 100644 --- a/docs/authorizations.md +++ b/docs/authorizations.md @@ -29,7 +29,7 @@ EXAMPLES $ heroku authorizations ``` -_See code: [src/commands/authorizations/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/index.ts)_ +_See code: [src/commands/authorizations/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/index.ts)_ ## `heroku authorizations:create` @@ -53,7 +53,7 @@ EXAMPLES $ heroku authorizations:create --description "For use with Anvil" ``` -_See code: [src/commands/authorizations/create.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/create.ts)_ +_See code: [src/commands/authorizations/create.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/create.ts)_ ## `heroku authorizations:destroy ID` @@ -89,7 +89,7 @@ DESCRIPTION show an existing OAuth authorization ``` -_See code: [src/commands/authorizations/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/info.ts)_ +_See code: [src/commands/authorizations/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/info.ts)_ ## `heroku authorizations:revoke ID` @@ -110,7 +110,7 @@ EXAMPLES $ heroku authorizations:revoke 105a7bfa-34c3-476e-873a-b1ac3fdc12fb ``` -_See code: [src/commands/authorizations/revoke.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/revoke.ts)_ +_See code: [src/commands/authorizations/revoke.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/revoke.ts)_ ## `heroku authorizations:rotate ID` @@ -124,7 +124,7 @@ DESCRIPTION updates an OAuth authorization token ``` -_See code: [src/commands/authorizations/rotate.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/rotate.ts)_ +_See code: [src/commands/authorizations/rotate.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/rotate.ts)_ ## `heroku authorizations:update ID` @@ -143,4 +143,4 @@ DESCRIPTION updates an OAuth authorization ``` -_See code: [src/commands/authorizations/update.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/authorizations/update.ts)_ +_See code: [src/commands/authorizations/update.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/authorizations/update.ts)_ diff --git a/docs/autocomplete.md b/docs/autocomplete.md index 5cae307664..ffc51b14e2 100644 --- a/docs/autocomplete.md +++ b/docs/autocomplete.md @@ -32,4 +32,4 @@ EXAMPLES $ heroku autocomplete --refresh-cache ``` -_See code: [src/commands/autocomplete/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/autocomplete/index.ts)_ +_See code: [src/commands/autocomplete/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/autocomplete/index.ts)_ diff --git a/docs/buildpacks.md b/docs/buildpacks.md index c467dab903..1ba7f2f121 100644 --- a/docs/buildpacks.md +++ b/docs/buildpacks.md @@ -28,7 +28,7 @@ DESCRIPTION display the buildpacks for an app ``` -_See code: [src/commands/buildpacks/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/index.ts)_ +_See code: [src/commands/buildpacks/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/index.ts)_ ## `heroku buildpacks:add BUILDPACK` @@ -50,7 +50,7 @@ DESCRIPTION add new app buildpack, inserting into list of buildpacks if necessary ``` -_See code: [src/commands/buildpacks/add.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/add.ts)_ +_See code: [src/commands/buildpacks/add.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/add.ts)_ ## `heroku buildpacks:clear` @@ -68,7 +68,7 @@ DESCRIPTION clear all buildpacks set on the app ``` -_See code: [src/commands/buildpacks/clear.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/clear.ts)_ +_See code: [src/commands/buildpacks/clear.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/clear.ts)_ ## `heroku buildpacks:info BUILDPACK` @@ -85,7 +85,7 @@ DESCRIPTION fetch info about a buildpack ``` -_See code: [src/commands/buildpacks/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/info.ts)_ +_See code: [src/commands/buildpacks/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/info.ts)_ ## `heroku buildpacks:remove [BUILDPACK]` @@ -107,7 +107,7 @@ DESCRIPTION remove a buildpack set on the app ``` -_See code: [src/commands/buildpacks/remove.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/remove.ts)_ +_See code: [src/commands/buildpacks/remove.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/remove.ts)_ ## `heroku buildpacks:search [TERM]` @@ -129,7 +129,7 @@ DESCRIPTION search for buildpacks ``` -_See code: [src/commands/buildpacks/search.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/search.ts)_ +_See code: [src/commands/buildpacks/search.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/search.ts)_ ## `heroku buildpacks:set BUILDPACK` @@ -146,7 +146,7 @@ FLAGS -r, --remote= git remote of app to use ``` -_See code: [src/commands/buildpacks/set.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/set.ts)_ +_See code: [src/commands/buildpacks/set.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/set.ts)_ ## `heroku buildpacks:versions BUILDPACK` @@ -163,4 +163,4 @@ DESCRIPTION list versions of a buildpack ``` -_See code: [src/commands/buildpacks/versions.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/buildpacks/versions.ts)_ +_See code: [src/commands/buildpacks/versions.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/buildpacks/versions.ts)_ diff --git a/docs/certs.md b/docs/certs.md index 963f3c0aa1..a9b64bce06 100644 --- a/docs/certs.md +++ b/docs/certs.md @@ -32,7 +32,7 @@ DESCRIPTION list SSL certificates for an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/index.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/index.js)_ ## `heroku certs:add CRT KEY` @@ -57,7 +57,7 @@ EXAMPLES https://help.salesforce.com/s/articleView?id=000333504&type=1 ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/add.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/add.js)_ ## `heroku certs:auto` @@ -76,7 +76,7 @@ DESCRIPTION show ACM status for an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/index.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/index.js)_ ## `heroku certs:auto:disable` @@ -94,7 +94,7 @@ DESCRIPTION disable ACM for an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/disable.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/disable.js)_ ## `heroku certs:auto:enable` @@ -113,7 +113,7 @@ DESCRIPTION enable ACM status for an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/enable.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/enable.js)_ ## `heroku certs:auto:refresh` @@ -131,7 +131,7 @@ DESCRIPTION refresh ACM for an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/refresh.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/refresh.js)_ ## `heroku certs:chain` @@ -149,7 +149,7 @@ DESCRIPTION print an ordered & complete chain for a certificate ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/chain.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/chain.js)_ ## `heroku certs:generate DOMAIN` @@ -183,7 +183,7 @@ EXAMPLES $ heroku certs:generate example.com ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/generate.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/generate.js)_ ## `heroku certs:info` @@ -204,7 +204,7 @@ DESCRIPTION show certificate information for an SSL certificate ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/info.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/info.js)_ ## `heroku certs:key` @@ -227,7 +227,7 @@ EXAMPLES $ heroku certs:key example.com.crt example.com.key ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/key.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/key.js)_ ## `heroku certs:remove` @@ -247,7 +247,7 @@ DESCRIPTION remove an SSL certificate from an app ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/remove.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/remove.js)_ ## `heroku certs:update CRT KEY` @@ -274,4 +274,4 @@ EXAMPLES https://help.salesforce.com/s/articleView?id=000333504&type=1 ``` -_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/update.js)_ +_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/update.js)_ diff --git a/docs/ci.md b/docs/ci.md index 3e09078484..2511a758f0 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -37,7 +37,7 @@ EXAMPLES $ heroku ci --app murmuring-headland-14719 ``` -_See code: [src/commands/ci/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ci/index.ts)_ +_See code: [src/commands/ci/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ci/index.ts)_ ## `heroku ci:config` @@ -174,7 +174,7 @@ EXAMPLES $ heroku ci:info 1288 --app murmuring-headland-14719 ``` -_See code: [src/commands/ci/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ci/info.ts)_ +_See code: [src/commands/ci/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ci/info.ts)_ ## `heroku ci:last` @@ -196,7 +196,7 @@ EXAMPLES $ heroku ci:last --pipeline=my-pipeline --node 100 ``` -_See code: [src/commands/ci/last.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ci/last.ts)_ +_See code: [src/commands/ci/last.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ci/last.ts)_ ## `heroku ci:migrate-manifest` @@ -258,7 +258,7 @@ EXAMPLES $ heroku ci:rerun 985 --app murmuring-headland-14719 ``` -_See code: [src/commands/ci/rerun.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ci/rerun.ts)_ +_See code: [src/commands/ci/rerun.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ci/rerun.ts)_ ## `heroku ci:run` @@ -279,4 +279,4 @@ EXAMPLES $ heroku ci:run --app murmuring-headland-14719 ``` -_See code: [src/commands/ci/run.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ci/run.ts)_ +_See code: [src/commands/ci/run.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ci/run.ts)_ diff --git a/docs/clients.md b/docs/clients.md index f62beb890d..5177f350bf 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -25,7 +25,7 @@ DESCRIPTION list your OAuth clients ``` -_See code: [src/commands/clients/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/index.ts)_ +_See code: [src/commands/clients/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/index.ts)_ ## `heroku clients:create NAME REDIRECT_URI` @@ -46,7 +46,7 @@ EXAMPLES $ heroku clients:create "Amazing" https://amazing-client.herokuapp.com/auth/heroku/callback ``` -_See code: [src/commands/clients/create.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/create.ts)_ +_See code: [src/commands/clients/create.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/create.ts)_ ## `heroku clients:destroy ID` @@ -60,7 +60,7 @@ DESCRIPTION delete client by ID ``` -_See code: [src/commands/clients/destroy.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/destroy.ts)_ +_See code: [src/commands/clients/destroy.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/destroy.ts)_ ## `heroku clients:info ID` @@ -81,7 +81,7 @@ EXAMPLES $ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946 ``` -_See code: [src/commands/clients/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/info.ts)_ +_See code: [src/commands/clients/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/info.ts)_ ## `heroku clients:rotate ID` @@ -99,7 +99,7 @@ DESCRIPTION rotate OAuth client secret ``` -_See code: [src/commands/clients/rotate.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/rotate.ts)_ +_See code: [src/commands/clients/rotate.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/rotate.ts)_ ## `heroku clients:update ID` @@ -120,4 +120,4 @@ EXAMPLES $ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback ``` -_See code: [src/commands/clients/update.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/clients/update.ts)_ +_See code: [src/commands/clients/update.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/clients/update.ts)_ diff --git a/docs/config.md b/docs/config.md index e0eebd72ed..113e8f684f 100644 --- a/docs/config.md +++ b/docs/config.md @@ -28,7 +28,7 @@ DESCRIPTION display the config vars for an app ``` -_See code: [src/commands/config/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/config/index.ts)_ +_See code: [src/commands/config/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/config/index.ts)_ ## `heroku config:edit [KEY]` @@ -64,7 +64,7 @@ EXAMPLES $ VISUAL="atom --wait" heroku config:edit ``` -_See code: [src/commands/config/edit.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/config/edit.ts)_ +_See code: [src/commands/config/edit.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/config/edit.ts)_ ## `heroku config:get KEY...` @@ -87,7 +87,7 @@ EXAMPLES production ``` -_See code: [src/commands/config/get.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/config/get.ts)_ +_See code: [src/commands/config/get.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/config/get.ts)_ ## `heroku config:remove` @@ -167,4 +167,4 @@ EXAMPLES Unsetting RAILS_ENV, RACK_ENV and restarting example... done, v10 ``` -_See code: [src/commands/config/unset.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/config/unset.ts)_ +_See code: [src/commands/config/unset.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/config/unset.ts)_ diff --git a/docs/domains.md b/docs/domains.md index 6d002ea7d4..0aed070c71 100644 --- a/docs/domains.md +++ b/docs/domains.md @@ -48,7 +48,7 @@ EXAMPLES $ heroku domains --filter 'Domain Name=www.example.com' ``` -_See code: [src/commands/domains/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/index.ts)_ +_See code: [src/commands/domains/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/index.ts)_ ## `heroku domains:add HOSTNAME` @@ -73,7 +73,7 @@ EXAMPLES $ heroku domains:add www.example.com ``` -_See code: [src/commands/domains/add.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/add.ts)_ +_See code: [src/commands/domains/add.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/add.ts)_ ## `heroku domains:clear` @@ -95,7 +95,7 @@ EXAMPLES $ heroku domains:clear ``` -_See code: [src/commands/domains/clear.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/clear.ts)_ +_See code: [src/commands/domains/clear.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/clear.ts)_ ## `heroku domains:info HOSTNAME` @@ -117,7 +117,7 @@ EXAMPLES $ heroku domains:info www.example.com ``` -_See code: [src/commands/domains/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/info.ts)_ +_See code: [src/commands/domains/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/info.ts)_ ## `heroku domains:remove HOSTNAME` @@ -139,7 +139,7 @@ EXAMPLES $ heroku domains:remove www.example.com ``` -_See code: [src/commands/domains/remove.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/remove.ts)_ +_See code: [src/commands/domains/remove.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/remove.ts)_ ## `heroku domains:update HOSTNAME` @@ -162,7 +162,7 @@ EXAMPLES $ heroku domains:update www.example.com --cert mycert ``` -_See code: [src/commands/domains/update.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/update.ts)_ +_See code: [src/commands/domains/update.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/update.ts)_ ## `heroku domains:wait [HOSTNAME]` @@ -181,4 +181,4 @@ DESCRIPTION wait for domain to be active for an app ``` -_See code: [src/commands/domains/wait.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/domains/wait.ts)_ +_See code: [src/commands/domains/wait.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/domains/wait.ts)_ diff --git a/docs/git.md b/docs/git.md index a59195c772..43569d6ecc 100644 --- a/docs/git.md +++ b/docs/git.md @@ -31,7 +31,7 @@ EXAMPLES ... ``` -_See code: [src/commands/git/clone.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/git/clone.ts)_ +_See code: [src/commands/git/clone.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/git/clone.ts)_ ## `heroku git:remote` @@ -57,4 +57,4 @@ EXAMPLES $ heroku git:remote --remote heroku-staging -a example ``` -_See code: [src/commands/git/remote.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/git/remote.ts)_ +_See code: [src/commands/git/remote.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/git/remote.ts)_ diff --git a/docs/labs.md b/docs/labs.md index 57aa8bf9b8..a1a2f78bea 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -42,7 +42,7 @@ DESCRIPTION disables an experimental feature ``` -_See code: [src/commands/labs/disable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/labs/disable.ts)_ +_See code: [src/commands/labs/disable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/labs/disable.ts)_ ## `heroku labs:enable FEATURE` diff --git a/docs/local.md b/docs/local.md index c3e931b355..48b06fd4b8 100644 --- a/docs/local.md +++ b/docs/local.md @@ -35,7 +35,7 @@ EXAMPLES $ heroku local web=1,worker=2 ``` -_See code: [src/commands/local/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/local/index.ts)_ +_See code: [src/commands/local/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/local/index.ts)_ ## `heroku local:run` @@ -56,7 +56,7 @@ EXAMPLES $ heroku local:run bin/migrate ``` -_See code: [src/commands/local/run.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/local/run.ts)_ +_See code: [src/commands/local/run.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/local/run.ts)_ ## `heroku local:start [PROCESSNAME]` @@ -97,4 +97,4 @@ DESCRIPTION display node-foreman version ``` -_See code: [src/commands/local/version.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/local/version.ts)_ +_See code: [src/commands/local/version.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/local/version.ts)_ diff --git a/docs/logs.md b/docs/logs.md index 6a0ff6cd40..ae08d7f56e 100644 --- a/docs/logs.md +++ b/docs/logs.md @@ -36,4 +36,4 @@ EXAMPLES $ heroku logs --app=my-app --tail ``` -_See code: [src/commands/logs.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/logs.ts)_ +_See code: [src/commands/logs.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/logs.ts)_ diff --git a/docs/pipelines.md b/docs/pipelines.md index 6ea0886b03..cb93946267 100644 --- a/docs/pipelines.md +++ b/docs/pipelines.md @@ -36,7 +36,7 @@ EXAMPLES $ heroku pipelines ``` -_See code: [src/commands/pipelines/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/index.ts)_ +_See code: [src/commands/pipelines/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/index.ts)_ ## `heroku pipelines:add PIPELINE` @@ -63,7 +63,7 @@ EXAMPLES $ heroku pipelines:add my-pipeline -a my-app -s production ``` -_See code: [src/commands/pipelines/add.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/add.ts)_ +_See code: [src/commands/pipelines/add.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/add.ts)_ ## `heroku pipelines:connect NAME` @@ -86,7 +86,7 @@ EXAMPLES $ heroku pipelines:connect my-pipeline -r githuborg/reponame ``` -_See code: [src/commands/pipelines/connect.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/connect.ts)_ +_See code: [src/commands/pipelines/connect.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/connect.ts)_ ## `heroku pipelines:create [NAME]` @@ -118,7 +118,7 @@ EXAMPLES $ heroku pipelines:create my-pipeline -a my-app-staging ``` -_See code: [src/commands/pipelines/create.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/create.ts)_ +_See code: [src/commands/pipelines/create.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/create.ts)_ ## `heroku pipelines:destroy PIPELINE` @@ -138,7 +138,7 @@ EXAMPLES $ heroku pipelines:destroy my-pipeline ``` -_See code: [src/commands/pipelines/destroy.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/destroy.ts)_ +_See code: [src/commands/pipelines/destroy.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/destroy.ts)_ ## `heroku pipelines:diff` @@ -159,7 +159,7 @@ EXAMPLES $ heroku pipelines:diff -a my-app-staging ``` -_See code: [src/commands/pipelines/diff.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/diff.ts)_ +_See code: [src/commands/pipelines/diff.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/diff.ts)_ ## `heroku pipelines:info PIPELINE` @@ -182,7 +182,7 @@ EXAMPLES $ heroku pipelines:info my-pipeline ``` -_See code: [src/commands/pipelines/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/info.ts)_ +_See code: [src/commands/pipelines/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/info.ts)_ ## `heroku pipelines:open PIPELINE` @@ -202,7 +202,7 @@ EXAMPLES $ heroku pipelines:open my-pipeline ``` -_See code: [src/commands/pipelines/open.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/open.ts)_ +_See code: [src/commands/pipelines/open.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/open.ts)_ ## `heroku pipelines:promote` @@ -224,7 +224,7 @@ EXAMPLES $ heroku pipelines:promote -a my-app-staging ``` -_See code: [src/commands/pipelines/promote.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/promote.ts)_ +_See code: [src/commands/pipelines/promote.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/promote.ts)_ ## `heroku pipelines:remove` @@ -245,7 +245,7 @@ EXAMPLES $ heroku pipelines:remove -a my-app ``` -_See code: [src/commands/pipelines/remove.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/remove.ts)_ +_See code: [src/commands/pipelines/remove.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/remove.ts)_ ## `heroku pipelines:rename PIPELINE NAME` @@ -266,7 +266,7 @@ EXAMPLES $ heroku pipelines:rename my-pipeline new-pipeline-name ``` -_See code: [src/commands/pipelines/rename.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/rename.ts)_ +_See code: [src/commands/pipelines/rename.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/rename.ts)_ ## `heroku pipelines:setup [NAME] [REPO]` @@ -292,7 +292,7 @@ EXAMPLES $ heroku pipelines:setup my-pipeline githuborg/reponame -t my-team ``` -_See code: [src/commands/pipelines/setup.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/setup.ts)_ +_See code: [src/commands/pipelines/setup.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/setup.ts)_ ## `heroku pipelines:transfer OWNER` @@ -318,7 +318,7 @@ EXAMPLES $ heroku pipelines:transfer admin-team -p my-pipeline ``` -_See code: [src/commands/pipelines/transfer.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/transfer.ts)_ +_See code: [src/commands/pipelines/transfer.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/transfer.ts)_ ## `heroku pipelines:update` @@ -340,4 +340,4 @@ EXAMPLES $ heroku pipelines:update -s staging -a my-app ``` -_See code: [src/commands/pipelines/update.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/pipelines/update.ts)_ +_See code: [src/commands/pipelines/update.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/pipelines/update.ts)_ diff --git a/docs/ps.md b/docs/ps.md index e1e69dbac4..1cc0baa3d3 100644 --- a/docs/ps.md +++ b/docs/ps.md @@ -62,7 +62,7 @@ DESCRIPTION disable web dyno autoscaling ``` -_See code: [src/commands/ps/autoscale/disable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ps/autoscale/disable.ts)_ +_See code: [src/commands/ps/autoscale/disable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ps/autoscale/disable.ts)_ ## `heroku ps:autoscale:enable` @@ -84,7 +84,7 @@ DESCRIPTION enable web dyno autoscaling ``` -_See code: [src/commands/ps/autoscale/enable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ps/autoscale/enable.ts)_ +_See code: [src/commands/ps/autoscale/enable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ps/autoscale/enable.ts)_ ## `heroku ps:copy FILE` @@ -341,4 +341,4 @@ DESCRIPTION wait for all dynos to be running latest version after a release ``` -_See code: [src/commands/ps/wait.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/ps/wait.ts)_ +_See code: [src/commands/ps/wait.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/ps/wait.ts)_ diff --git a/docs/regions.md b/docs/regions.md index ae10ba142b..79deaf38af 100644 --- a/docs/regions.md +++ b/docs/regions.md @@ -22,4 +22,4 @@ DESCRIPTION list available regions for deployment ``` -_See code: [src/commands/regions.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/regions.ts)_ +_See code: [src/commands/regions.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/regions.ts)_ diff --git a/docs/reviewapps.md b/docs/reviewapps.md index 3ad4bdb5b2..8c2315d322 100644 --- a/docs/reviewapps.md +++ b/docs/reviewapps.md @@ -30,7 +30,7 @@ EXAMPLES $ heroku reviewapps:disable -p my-pipeline -a my-app --no-autodeploy ``` -_See code: [src/commands/reviewapps/disable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/reviewapps/disable.ts)_ +_See code: [src/commands/reviewapps/disable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/reviewapps/disable.ts)_ ## `heroku reviewapps:enable` @@ -55,4 +55,4 @@ EXAMPLES $ heroku reviewapps:enable -p my-pipeline -a my-app --autodeploy --autodestroy ``` -_See code: [src/commands/reviewapps/enable.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/reviewapps/enable.ts)_ +_See code: [src/commands/reviewapps/enable.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/reviewapps/enable.ts)_ diff --git a/docs/run.md b/docs/run.md index ff2b722d8c..f51c21b7f7 100644 --- a/docs/run.md +++ b/docs/run.md @@ -35,7 +35,7 @@ EXAMPLES $ heroku run -s standard-2x -- myscript.sh -a arg1 -s arg2 ``` -_See code: [src/commands/run/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/run/index.ts)_ +_See code: [src/commands/run/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/run/index.ts)_ ## `heroku run:detached` @@ -60,4 +60,4 @@ EXAMPLES $ heroku run:detached ls ``` -_See code: [src/commands/run/detached.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/run/detached.ts)_ +_See code: [src/commands/run/detached.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/run/detached.ts)_ diff --git a/docs/sessions.md b/docs/sessions.md index 59ffe495c9..a1e3e810b4 100644 --- a/docs/sessions.md +++ b/docs/sessions.md @@ -21,7 +21,7 @@ DESCRIPTION list your OAuth sessions ``` -_See code: [src/commands/sessions/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/sessions/index.ts)_ +_See code: [src/commands/sessions/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/sessions/index.ts)_ ## `heroku sessions:destroy ID` @@ -35,4 +35,4 @@ DESCRIPTION delete (logout) OAuth session by ID ``` -_See code: [src/commands/sessions/destroy.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/sessions/destroy.ts)_ +_See code: [src/commands/sessions/destroy.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/sessions/destroy.ts)_ diff --git a/docs/status.md b/docs/status.md index 3f58d36d7f..2582e45911 100644 --- a/docs/status.md +++ b/docs/status.md @@ -20,4 +20,4 @@ DESCRIPTION display current status of the Heroku platform ``` -_See code: [src/commands/status.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/status.ts)_ +_See code: [src/commands/status.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/status.ts)_ diff --git a/docs/webhooks.md b/docs/webhooks.md index 7d0534d629..cd6b25c0f3 100644 --- a/docs/webhooks.md +++ b/docs/webhooks.md @@ -32,7 +32,7 @@ EXAMPLES $ heroku webhooks ``` -_See code: [src/commands/webhooks/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/index.ts)_ +_See code: [src/commands/webhooks/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/index.ts)_ ## `heroku webhooks:add` @@ -58,7 +58,7 @@ EXAMPLES $ heroku webhooks:add -i api:dyno -l notify -u https://example.com/hooks ``` -_See code: [src/commands/webhooks/add.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/add.ts)_ +_See code: [src/commands/webhooks/add.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/add.ts)_ ## `heroku webhooks:deliveries` @@ -80,7 +80,7 @@ EXAMPLES $ heroku webhooks:deliveries ``` -_See code: [src/commands/webhooks/deliveries/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/deliveries/index.ts)_ +_See code: [src/commands/webhooks/deliveries/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/deliveries/index.ts)_ ## `heroku webhooks:deliveries:info ID` @@ -101,7 +101,7 @@ EXAMPLES $ heroku webhooks:deliveries:info 99999999-9999-9999-9999-999999999999 ``` -_See code: [src/commands/webhooks/deliveries/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/deliveries/info.ts)_ +_See code: [src/commands/webhooks/deliveries/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/deliveries/info.ts)_ ## `heroku webhooks:events` @@ -122,7 +122,7 @@ EXAMPLES $ heroku webhooks:events ``` -_See code: [src/commands/webhooks/events/index.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/events/index.ts)_ +_See code: [src/commands/webhooks/events/index.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/events/index.ts)_ ## `heroku webhooks:events:info ID` @@ -143,7 +143,7 @@ EXAMPLES $ heroku webhooks:events:info 99999999-9999-9999-9999-999999999999 ``` -_See code: [src/commands/webhooks/events/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/events/info.ts)_ +_See code: [src/commands/webhooks/events/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/events/info.ts)_ ## `heroku webhooks:info ID` @@ -164,7 +164,7 @@ EXAMPLES $ heroku webhooks:info 99999999-9999-9999-9999-999999999999 ``` -_See code: [src/commands/webhooks/info.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/info.ts)_ +_See code: [src/commands/webhooks/info.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/info.ts)_ ## `heroku webhooks:remove ID` @@ -188,7 +188,7 @@ EXAMPLES $ heroku webhooks:remove 99999999-9999-9999-9999-999999999999 ``` -_See code: [src/commands/webhooks/remove.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/remove.ts)_ +_See code: [src/commands/webhooks/remove.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/remove.ts)_ ## `heroku webhooks:update ID` @@ -214,4 +214,4 @@ EXAMPLES $ heroku webhooks:update 99999999-9999-9999-9999-999999999999 -i dyno -l notify -s 09928c40bf1b191b645174a19f7053d16a180da37332e719ef0998f4c0a2 -u https://example.com/hooks ``` -_See code: [src/commands/webhooks/update.ts](https://github.com/heroku/cli/blob/v8.11.2/src/commands/webhooks/update.ts)_ +_See code: [src/commands/webhooks/update.ts](https://github.com/heroku/cli/blob/v8.11.3/src/commands/webhooks/update.ts)_ diff --git a/lerna.json b/lerna.json index eeddb3c548..177c9bc8e6 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "8.11.2", + "version": "8.11.3", "useWorkspaces": true, "npmClient": "yarn", "command": { diff --git a/packages/certs-v5/CHANGELOG.md b/packages/certs-v5/CHANGELOG.md index be849633e3..b063df247f 100644 --- a/packages/certs-v5/CHANGELOG.md +++ b/packages/certs-v5/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.11.3](https://github.com/heroku/cli/compare/v8.11.2...v8.11.3) (2024-04-15) + +**Note:** Version bump only for package @heroku-cli/plugin-certs-v5 + + + + + ## [8.11.2](https://github.com/heroku/cli/compare/v8.11.1...v8.11.2) (2024-04-10) **Note:** Version bump only for package @heroku-cli/plugin-certs-v5 diff --git a/packages/certs-v5/README.md b/packages/certs-v5/README.md index 1c8dff5dbf..11138de624 100644 --- a/packages/certs-v5/README.md +++ b/packages/certs-v5/README.md @@ -35,7 +35,7 @@ DESCRIPTION list SSL certificates for an app ``` -_See code: [commands/certs/index.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/index.js)_ +_See code: [commands/certs/index.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/index.js)_ ## `heroku certs:add CRT KEY` @@ -60,7 +60,7 @@ EXAMPLES https://help.salesforce.com/s/articleView?id=000333504&type=1 ``` -_See code: [commands/certs/add.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/add.js)_ +_See code: [commands/certs/add.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/add.js)_ ## `heroku certs:auto` @@ -79,7 +79,7 @@ DESCRIPTION show ACM status for an app ``` -_See code: [commands/certs/auto/index.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/index.js)_ +_See code: [commands/certs/auto/index.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/index.js)_ ## `heroku certs:auto:disable` @@ -97,7 +97,7 @@ DESCRIPTION disable ACM for an app ``` -_See code: [commands/certs/auto/disable.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/disable.js)_ +_See code: [commands/certs/auto/disable.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/disable.js)_ ## `heroku certs:auto:enable` @@ -116,7 +116,7 @@ DESCRIPTION enable ACM status for an app ``` -_See code: [commands/certs/auto/enable.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/enable.js)_ +_See code: [commands/certs/auto/enable.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/enable.js)_ ## `heroku certs:auto:refresh` @@ -134,7 +134,7 @@ DESCRIPTION refresh ACM for an app ``` -_See code: [commands/certs/auto/refresh.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/auto/refresh.js)_ +_See code: [commands/certs/auto/refresh.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/auto/refresh.js)_ ## `heroku certs:chain` @@ -152,9 +152,9 @@ DESCRIPTION print an ordered & complete chain for a certificate ``` -_See code: [commands/certs/chain.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/chain.js)_ +_See code: [commands/certs/chain.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/chain.js)_ -## `heroku certs:generate DOMAIN` +## `heroku certs:generate DOMAIN generate a key and a CSR or self-signed certificate @@ -186,7 +186,7 @@ EXAMPLES $ heroku certs:generate example.com ``` -_See code: [commands/certs/generate.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/generate.js)_ +_See code: [commands/certs/generate.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/generate.js)_ ## `heroku certs:info` @@ -207,7 +207,7 @@ DESCRIPTION show certificate information for an SSL certificate ``` -_See code: [commands/certs/info.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/info.js)_ +_See code: [commands/certs/info.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/info.js)_ ## `heroku certs:key` @@ -230,7 +230,7 @@ EXAMPLES $ heroku certs:key example.com.crt example.com.key ``` -_See code: [commands/certs/key.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/key.js)_ +_See code: [commands/certs/key.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/key.js)_ ## `heroku certs:remove` @@ -250,7 +250,7 @@ DESCRIPTION remove an SSL certificate from an app ``` -_See code: [commands/certs/remove.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/remove.js)_ +_See code: [commands/certs/remove.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/remove.js)_ ## `heroku certs:update CRT KEY` @@ -277,5 +277,5 @@ EXAMPLES https://help.salesforce.com/s/articleView?id=000333504&type=1 ``` -_See code: [commands/certs/update.js](https://github.com/heroku/cli/blob/v8.11.2/packages/certs-v5/commands/certs/update.js)_ +_See code: [commands/certs/update.js](https://github.com/heroku/cli/blob/v8.11.3/packages/certs-v5/commands/certs/update.js)_ diff --git a/packages/certs-v5/package.json b/packages/certs-v5/package.json index 52503639e2..c01c2da7f2 100644 --- a/packages/certs-v5/package.json +++ b/packages/certs-v5/package.json @@ -1,7 +1,7 @@ { "name": "@heroku-cli/plugin-certs-v5", "description": "heroku ssl plugin", - "version": "8.11.2", + "version": "8.11.3", "author": "Ransom Briggs rbriggs@heroku.com", "bugs": "https://github.com/heroku/cli/issues", "cli-engine": { diff --git a/packages/ci-v5/CHANGELOG.md b/packages/ci-v5/CHANGELOG.md index b5bbb23903..fb1dbad307 100644 --- a/packages/ci-v5/CHANGELOG.md +++ b/packages/ci-v5/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.11.3](https://github.com/heroku/cli/compare/v8.11.2...v8.11.3) (2024-04-15) + +**Note:** Version bump only for package @heroku-cli/plugin-ci-v5 + + + + + ## [8.11.2](https://github.com/heroku/cli/compare/v8.11.1...v8.11.2) (2024-04-10) **Note:** Version bump only for package @heroku-cli/plugin-ci-v5 diff --git a/packages/ci-v5/package.json b/packages/ci-v5/package.json index 90ac9e46cd..483af2c897 100644 --- a/packages/ci-v5/package.json +++ b/packages/ci-v5/package.json @@ -1,7 +1,7 @@ { "name": "@heroku-cli/plugin-ci-v5", "description": "Heroku CLI plugin for Heroku CI", - "version": "8.11.2", + "version": "8.11.3", "author": "Andrew Appleton, Gudmundur Bjarni Olafsson, Max Beizer, Ransom Briggs", "bugs": "https://github.com/heroku/cli/issues", "cli-engine": { @@ -14,7 +14,7 @@ }, "dependencies": { "@heroku-cli/command": "^9.0.2", - "@heroku-cli/plugin-run-v5": "^8.11.1", + "@heroku-cli/plugin-run-v5": "^8.11.3", "ansi-escapes": "3.2.0", "bluebird": "^3.5.3", "github-url-to-object": "^4.0.4", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index cc3714615a..fe437a7423 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.11.3](https://github.com/heroku/cli/compare/v8.11.2...v8.11.3) (2024-04-15) + + +### Bug Fixes + +* **authorizations:** surface api warnings in temporary fix ([#2804](https://github.com/heroku/cli/issues/2804)) ([33f8aac](https://github.com/heroku/cli/commit/33f8aac631e2b406f12a878bb1fd9a994df75025)) + + + + + ## [8.11.2](https://github.com/heroku/cli/compare/v8.11.1...v8.11.2) (2024-04-10) **Note:** Version bump only for package heroku diff --git a/packages/cli/package.json b/packages/cli/package.json index adcc1bb0e3..8655093b98 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "heroku", "description": "CLI to interact with Heroku", - "version": "8.11.2", + "version": "8.11.3", "author": "Jeff Dickey @jdxcode", "bin": "./bin/run", "bugs": "https://github.com/heroku/cli/issues", @@ -12,8 +12,8 @@ "@heroku-cli/notifications": "^1.2.4", "@heroku-cli/plugin-addons-v5": "^8.11.2", "@heroku-cli/plugin-apps-v5": "^8.11.2", - "@heroku-cli/plugin-certs-v5": "^8.11.2", - "@heroku-cli/plugin-ci-v5": "^8.11.2", + "@heroku-cli/plugin-certs-v5": "^8.11.3", + "@heroku-cli/plugin-ci-v5": "^8.11.3", "@heroku-cli/plugin-container-registry-v5": "^8.11.2", "@heroku-cli/plugin-orgs-v5": "^8.11.2", "@heroku-cli/plugin-pg-v5": "^8.11.2", diff --git a/packages/run-v5/CHANGELOG.md b/packages/run-v5/CHANGELOG.md index f3fceee89f..547eb48796 100644 --- a/packages/run-v5/CHANGELOG.md +++ b/packages/run-v5/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.11.3](https://github.com/heroku/cli/compare/v8.11.2...v8.11.3) (2024-04-15) + +**Note:** Version bump only for package @heroku-cli/plugin-run-v5 + + + + + ## [8.11.1](https://github.com/heroku/cli/compare/v8.11.0...v8.11.1) (2024-03-25) **Note:** Version bump only for package @heroku-cli/plugin-run-v5 diff --git a/packages/run-v5/package.json b/packages/run-v5/package.json index 0707f5083f..ff9e60f561 100644 --- a/packages/run-v5/package.json +++ b/packages/run-v5/package.json @@ -1,7 +1,7 @@ { "name": "@heroku-cli/plugin-run-v5", "description": "Heroku CLI plugin to run one-off dyno processes.", - "version": "8.11.1", + "version": "8.11.3", "author": "Jeff Dickey (@dickeyxxx)", "bugs": "https://github.com/heroku/cli/issues", "cli-engine": { diff --git a/yarn.lock b/yarn.lock index b4a616f86d..7ee1fbc126 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1362,7 +1362,7 @@ __metadata: languageName: unknown linkType: soft -"@heroku-cli/plugin-certs-v5@^8.11.2, @heroku-cli/plugin-certs-v5@workspace:packages/certs-v5": +"@heroku-cli/plugin-certs-v5@^8.11.3, @heroku-cli/plugin-certs-v5@workspace:packages/certs-v5": version: 0.0.0-use.local resolution: "@heroku-cli/plugin-certs-v5@workspace:packages/certs-v5" dependencies: @@ -1388,12 +1388,12 @@ __metadata: languageName: unknown linkType: soft -"@heroku-cli/plugin-ci-v5@^8.11.2, @heroku-cli/plugin-ci-v5@workspace:packages/ci-v5": +"@heroku-cli/plugin-ci-v5@^8.11.3, @heroku-cli/plugin-ci-v5@workspace:packages/ci-v5": version: 0.0.0-use.local resolution: "@heroku-cli/plugin-ci-v5@workspace:packages/ci-v5" dependencies: "@heroku-cli/command": ^9.0.2 - "@heroku-cli/plugin-run-v5": ^8.11.1 + "@heroku-cli/plugin-run-v5": ^8.11.3 "@oclif/plugin-legacy": ^1.3.0 ansi-escapes: 3.2.0 bluebird: ^3.5.3 @@ -1559,7 +1559,7 @@ __metadata: languageName: unknown linkType: soft -"@heroku-cli/plugin-run-v5@^8.11.1, @heroku-cli/plugin-run-v5@workspace:packages/run-v5": +"@heroku-cli/plugin-run-v5@^8.11.3, @heroku-cli/plugin-run-v5@workspace:packages/run-v5": version: 0.0.0-use.local resolution: "@heroku-cli/plugin-run-v5@workspace:packages/run-v5" dependencies: @@ -11198,8 +11198,8 @@ __metadata: "@heroku-cli/notifications": ^1.2.4 "@heroku-cli/plugin-addons-v5": ^8.11.2 "@heroku-cli/plugin-apps-v5": ^8.11.2 - "@heroku-cli/plugin-certs-v5": ^8.11.2 - "@heroku-cli/plugin-ci-v5": ^8.11.2 + "@heroku-cli/plugin-certs-v5": ^8.11.3 + "@heroku-cli/plugin-ci-v5": ^8.11.3 "@heroku-cli/plugin-container-registry-v5": ^8.11.2 "@heroku-cli/plugin-orgs-v5": ^8.11.2 "@heroku-cli/plugin-pg-v5": ^8.11.2 From 697df383000f4bc5a603f5b24e8d5adc6cd68619 Mon Sep 17 00:00:00 2001 From: Zane Whitfield Date: Tue, 16 Apr 2024 10:15:01 -0700 Subject: [PATCH 3/3] chore(telemetry): add environment variable to optionally disable telemetry (#2810) * Add DISABLE_TELEMETRY env variable & functionality * WIP create test for DISABLE_TELEMETRY env variable * Update DISABLE_TELEMETRY and remove wip test * Clean code up --- packages/cli/src/global_telemetry.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/cli/src/global_telemetry.ts b/packages/cli/src/global_telemetry.ts index c047d81afd..34310c5510 100644 --- a/packages/cli/src/global_telemetry.ts +++ b/packages/cli/src/global_telemetry.ts @@ -13,6 +13,7 @@ const {version} = require('../package.json') const root = path.resolve(__dirname, '../package.json') const isDev = process.env.IS_DEV_ENVIRONMENT === 'true' +const isTelemetryDisabled = process.env.DISABLE_TELEMETRY === 'true' function getToken() { const config = new Config({root}) @@ -152,6 +153,10 @@ export function reportCmdNotFound(config: any) { export async function sendTelemetry(currentTelemetry: any, rollbarCb?: () => void) { // send telemetry to honeycomb and rollbar + if (isTelemetryDisabled) { + return + } + const telemetry = currentTelemetry if (telemetry instanceof Error) {