We are delighted to announce the availability of version 2.0.450 of Chef Habitat.
New features
- We added support for Linux ARM architecture (aarch64).
Improvements
- We upgraded the PowerShell version to 7.5.4.
- We updated several downstream dependencies that addressed various security vulnerabilities and code that was no longer actively maintained.
- You can configure the refresh channel in
cli.tomlor usinghab cli setup.
Bug fixes
- We fixed
hab pkg uninstallto uninstall dependencies even if they have reverse dependencies, as long as those reverse dependencies are included in the deletion tree.
Backward incompatibilities
- We updated the Handlebars implementation. See the Upgrade Guide for potential breaking changes to Chef Habitat template files.
- We removed support for the Linux 2 kernel.
- We removed the Mesos and Cloud Foundry exporters.
- We moved the Chef Habitat CLI, Supervisor, and other component packages from the
coreorigin to thecheforigin. - The default channel for
corepackages is no longerstablebutbase. See the package refresh strategy documentation for more information. - We removed deprecated support for hook file names that include underscores (for example,
post_run). Use dashes (for example,post-run) instead. - We removed the deprecated
user.tomlpath at/hab/svc/<service_name>/user.toml. Use/hab/user/<service_name>/config/user.tomlinstead. - We removed the deprecated
--environmentand--applicationarguments fromhab svc load. These arguments had been ignored for some time, but using them in Chef Habitat 2.0 and greater results in an error. - We removed support for the deprecated
reloadhook. Use thereconfigurehook instead. - We removed the deprecated
hab sup statusalias forhab svc status. - We removed the deprecated
hab applyalias forhab config apply. - We removed the deprecated
hab installalias forhab pkg install. - We removed the deprecated
hab runalias forhab sup run. - We removed the deprecated
hab setupalias forhab cli setup. - We removed the deprecated
hab startalias forhab svc start. - We removed the deprecated
hab stopalias forhab svc stop. - We removed the deprecated
hab termalias forhab sup term. - We removed deprecated support for the
hab pkg export dockercommand. Usehab pkg export containerinstead. hab pkg export containeruses an updated Docker CLI that defaults to an API version that may not be compatible with some Docker engines. If you receive an error stating that the API version is too high when exporting a package to a Docker image, set theDOCKER_API_VERSIONenvironment variable to an acceptable version (for example,1.41).- Entering an interactive Windows Docker Studio using
hab studio enter -Dis only supported on a host that can run a Windows Server 2025 image. This includes Windows 11, Windows Server 2025, and Windows Server 2022 running in Hyper-V mode.