Heroku CLI v10 production release
Change effective on 09 December 2024
Heroku just released v10.0.0 of the Heroku CLI to production. Version 10.0.0 adds support for the Fir generation of our platform.
Most commands function the same as before. Here are the breaking changes to be aware of, as well as feature updates. The Heroku CLI keeps itself and its plugins, except linked plugins, automatically updated unless you installed the CLI using the Debian/Ubuntu package or npm install
.
Breaking Changes
Node.js Version
The CLI now uses Node.js 20
heroku logs
Command
The --dyno
flag is deprecated for specifying process type and dyno name.
--dyno
still works for Cedar-generation apps--dyno
doesn’t work for Fir apps, use the--processs-type
or--dyno-name
flags instead
heroku ps:stop
and heroku ps:restart
Commands
- Arguments for process type and dyno name for Cedar apps are deprecated.
- Argument still works, but users see a deprecation warning.
- Argument don’t work for Fir apps, use the
--process-type
or--dyno-name
flags instead. heroku run:inside
works with Fir apps, but not with Cedar apps.
Incompatible with Fir Commands
The following commands don’t work with Fir apps. Use heroku run:inside
instead.
heroku run
(will be added to Fir)heroku ps:exec
heroku ps:copy
heroku ps:forward
heroku ps:socks
Support for Fir, Heroku’s Next Generation Platform
OpenTelemetry Support
We added a new suite of commands to support OpenTelemetry with Fir apps: heroku telemetry
. Learn more about Heroku Telemetry and Working with Heroku Telemetry Drains
Spaces Enhancements
heroku spaces:create Command
- Accepts a new optional flag, –generation (default is cedar)
- Emits a pilot warning message when fir is specified for –generation
heroku spaces, heroku spaces:info, and heroku spaces:wait Commands
- Displays the generation of a space
heroku pipelines:diff Command
- Updated to support Fir-generation apps with
heroku buildpacks Command
- Lists buildpacks for Fir apps based on latest release
heroku logs Command
- Automatically passes –tail for Fir apps
- Emits a new Fetching logs message when logging begins
- Fixed to consistently display colors
Other Updates
- The CLI now uses oclif v4.14.36.
- We updated GitHub workflows and actions to newer versions that run Node.js 20.