Releases: heroku/cli
v9.0.0
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
v8.11.4
v8.11.3
v8.11.2
- 8257348 Update description of auth topic (#2792)
- 3432d7e rename vars to secrets (#2790)
- 4ddead4 chore(auth): update warning message for auth:token (#2750)
- 2a72431 add ChangeManagement environment to CTC check (#2789)
- d6a201e chore(ci) Add ctc check to release and pre-release workflows (#2765)
- be8d0b6 chore(deps): bump inquirer and @types/inquirer (#2766)
- c3d2ea9 chore(deps-dev): bump standard from 12.0.1 to 17.1.0 (#2701)
- 9502307 chore(deps): bump semver from 5.6.0 to 7.6.0 (#2619)
- 89c3169 fix(workflow): update version output (#2747)
- 69e04eb Update mocha and timeout (#2748)
v8.11.1
v8.11.0
- 32e97bb Update pg:upgrade description (#2729)
- 6313a26 Update test-installed-cli workflow (#2723)
- 7428df0 chore(W-15263489): improve unit test performance (#2716)
- d23407c bug(local): Ignore env specification when it's not a file (#2698)
- 20665ff Update apps & pipelines in test installation workflow to fix errors (#2714)
- de144ef chore: add initial workflow for updating devcenter documentation (#2703)
- 3c70a9f Update test_release script (#2704)
- 748e71c fix(workflow): remove fig command & update workflow (#2686)
- efec095 fix(cli): use uuid rather than addon name for pg:credentials (#2042)
- 3c74d2a chore: fix spelling (#2694)
- 728262c Update depcheck to 1.4.7 (#2684)
- d6d15c3 chore: fix empty stampy workflow (#2626)
- fd574ca Switch from --rebase to --ff-only (#2680)
- 2a4ab79 Increase network timeout for integration tests (#2682)
- 62975a0 chore(deps): bump debug and @types/debug (#2562)
- 17605c3 chore(deps): bump debug from 4.1.1 to 4.3.1 in /packages/cli (#2544)
- 536b2ec fix(workflow): update fig autocomplete workflow (#2679)
- 7105fb6 feat(workflow): add fig autocomplete workflow (#2666)
- c062c59 feat(pg:upgrade): support essential dbs (#2637)
- bffd998 Update Mocha to 8.4.0 (#2652)
- fe49fa0 fix(tests): Increasing Mocha timeouts (#2649)
v8.10.0
- 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
v8.8.0
- 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)