Skip to content

Releases: heroku/cli

v9.0.0

16 Jul 19:07
4da724b
Compare
Choose a tag to compare

Version 9.0.0 of the Heroku CLI is mainly an architectural update. With this update, we build all of the core CLI commands on the oclif platform. Previously, many of them used pre-oclif architecture. All the core CLI commands also move into one package, instead of being in many different packages. These changes only apply to the commands included with the core Heroku CLI. It doesn't include commands installed separately via plugins.

Most commands function the same as before. Here are the breaking changes to be aware of, as well as feature updates.

Breaking Changes

Formatting

The switch to oclif/core means a change to the formatting of some of our output. The main differences are additional new lines and whitespace, table formatting, and output colors. If you parse CLI output at all, you can encounter some errors.

Additional Flags

You can pass additional flags to the triggered operation, such as run commands, or to a config object, like with the addons:create command. The syntax for adding additional flags changes with v9.0.0 of the Heroku CLI. Previously, users added additional flags without any separation of those flags from the Heroku CLI command itself. To pass additional flags, you must add a -- separator between the flags and the CLI command. For example:
Before v9.0.0: heroku run bash --norc -a APP_NAME
v9.0.0+: heroku run bash -a APP_NAME -- --norc

certs:update Command

  • We removed the --bypass flag as it's no longer necessary. This command functions as normal, but you can get an error if you include the flag.

pg:settings Commands

  • We changed the order of the required arguments for several of the pg:settings commands. Previously, we expected the value arg to come before the database arg, but we reversed this to resolve a logic issue. Now, you must add the database arg first and the value arg second.

spaces:vpn Commands

  • Previously, these commands accepted the name of the VPN connection as either an argument or the value of the --name flag. With v9.0.0, these commands only accept the VPN connection name as an argument. The --name flag no longer exists.

run:inside Command

• The --env flag has been removed from the run:inside command. This change was not related to the oclif migration work, but needed for other projects.

Removed Commands

  • We removed the outbound-rules commands. We removed the API endpoints for these commands in June
  • We also removed several hidden and previously deprecated commands
    • pg:repoint
    • orgs:default
    • certs:chain
    • certs:key

Feature Updates

  • container commands now print an error when running on stacks that aren't container stacks.
  • We added notifications for accounts with delinquent payments.

Commits

  • b7bff57 Refactor!: migrate all legacy commands to Typescript and oclif/core and move them to the cli package (#2927)
  • c2d1f8d update ci workflow for "Tests" (#2903)
  • 22e2951 chore(deps): bump filesize from 4.0.0 to 10.1.2 (#2890)
  • 2568e55 Upgrade version of otel semantic conventions to 1.24 (#2887)
  • afb6b49 chore(deps): bump @opentelemetry/instrumentation from 0.50.0 to 0.51.1 (#2882)
  • b24fbd6 chore(deps-dev): bump @types/supports-color from 5.3.0 to 8.1.3 (#2702)
  • c9a810c Updated 'heroku-cli-util' dependency version and its dependencies (#2863)
  • 7d12be2 chore: separate unit testing and linting (#2858)

v8.11.5

30 Apr 13:50
df5cd30
Compare
Choose a tag to compare
  • c5128a7 chore(auth): update warning copy (#2842)
  • 49c52d0 fix: add quotation marks around public key in sign/deb script (#2849)
  • c8fa033 chore: update opentelemetry/instrumentation to 0.50.0 and improve integration test runs (#2834)

v8.11.4

17 Apr 16:13
501330b
Compare
Choose a tag to compare
  • 697df38 chore(telemetry): add environment variable to optionally disable telemetry (#2810)

v8.11.3

16 Apr 14:30
1541dfc
Compare
Choose a tag to compare

v8.11.2

11 Apr 16:12
6a1a730
Compare
Choose a tag to compare

v8.11.1

25 Mar 21:04
6dbf5e0
Compare
Choose a tag to compare
  • e0457f2 Remove semver from resolutions & reinstate in /cli package.json (#2743)
  • 853b94f fix(ps): update larger dyno checking (#2741)
  • 450aa64 chore: remove snyk files and upgrade and resolve dependencies (#2736)

v8.11.0

21 Mar 16:12
a525d5e
Compare
Choose a tag to compare

v8.10.0

20 Feb 14:25
25f0948
Compare
Choose a tag to compare
  • a618081 fix: allow ps:scale to handle extra args (#2643)
  • c02851b fix: update snyk workflow to use yarn dlx correctly (#2639)
  • 01a77cc fix: add yarn to snyk commands (#2635)
  • 2c4126f chore: update snyk install command (#2632)
  • 7c3b1de chore(deps): fix critical severity alerts from Dependabot (#2622)
  • 387bf55 feat(pg-v5): Updating Data's hostname to api.data.heroku.com (#2529)

v8.9.0

09 Feb 15:46
8f6ff45
Compare
Choose a tag to compare
  • 653d265 Fix error triggered on check for internal feature flag (#2628)
  • 79b8eca feat(pg): enable credentials url/rotation command for essential tier dbs (#2621)
  • 5ad733e feat(redis-v5): Updating redis-v5 to use api.data.heroku.com (#2554)

v8.8.0

08 Feb 16:36
92cc834
Compare
Choose a tag to compare
  • cfe6fe0 chore: update readme Developing instructions (#2623)
  • 6344c33 chore: bump oclif to v4.4.7 (#2620)
  • 9687e82 fix: set default port for heroku:local to 5006 (#2618)
  • 23f8e2d feat(ps): add larger dyno information to ps:type and ps:scale (#2598)
  • d04ff66 fix: updates to stampy actions (#2608)
  • e6bc353 chore: move pack windows script to separate workflow and update oclif version (#2593)
  • 17f9629 chore: add workflows and scripts for uploading to and downloading from stampy (#2586)
  • 30c3963 fix: bump @oclif/plugin-update to a version that doesn't delete the CLI (#2585)
  • da0d23a test: update run-v5 integration test (#2587)
  • 0abd183 chore: remove rollback automation (#2576)
  • abf58f1 chore: add windows pack, upload, and promote scripts to workflows (#2573)
  • ea64be5 fix: remove unneeded pricing language for teams (#2575)
  • 7ba13da Updates to node v16.20.2 to resolve a high priority vulnerability (#2571)
  • c2e53f3 fix: dev channel releases (#2546)
  • 0a36928 chore: add direwolf test run to prerelease workflow (#2542)
  • 1dfc2f4 fix: set direwolf test to only run against production (#2541)
  • ebcf071 Update dependabot.yml (#2540)
  • cf78e2e fix: release bugs due to external changes (#2539)
  • 67543ab fix: remove any oclif manifests. They interfere with doc generation (#2536)
  • 2698967 chore(cli): repo maintenance (#2537)