Cloud Native Buildpacks support for Cedar-generation apps
Change effective on 03 September 2026
Cloud Native Buildpacks (CNBs) build an Open Container Initiative (OCI) image or slug-compatible OCI layout from your code. Previously only available on Fir generation, we’re launching this technology to the Cedar generation. The default stack for each Heroku generation is unchanged.
You can create new apps or update existing apps to use CNBs with these commands:
$ heroku apps:create <app name> --stack cnb
$ heroku stack:set cnb -a <app name>
If you don’t explicitly pass the --stack flag to use the new cnb stack option on a Cedar generation app, it defaults to using classic buildpacks. Fir generation applications already default to using the cnb stack.
Learn more about using CNBs via these links:
- How to migrate an app to use CNBs
- Enabling build-time configuration variables on CNB stack
- Classic and Cloud Native Buildpacks Comparison
- Officially Supported Buildpacks