We are delighted to announce the availability of version 2.0.488 of Chef Habitat.
Improvements
- Entering the interactive Docker-based Habitat Studio with
hab studio enter -Dnow works on Windows container hosts older than Windows Server 2025. Note that you must run inprocessisolation mode, nothypervisolation mode.processisolation is the default on Windows Server SKUs andhypervis the default on client SKUs. To forcehab studio enterto useprocessisolation mode, set$ENV:HAB_DOCKER_OPTSto'--isolation process'. - Updated several downstream dependencies that addressed various security vulnerabilities.
- The
HAB_AUTH_TOKENenvironment variable is now applied to theinstallhook environment.
Bug fixes
-
The
hab license acceptcommand no longer prompts the user to accept the license. -
The
hab pkg buildcommand no longer errors with theRemove-Itemcommand when deleting directories on Windows Server 2019.While this fix applies to code in the Habitat build system, individual package plan files may still be susceptible. To fix plan files failing to delete directories with
Remove-Itemon Windows Server 2019, usecmd.exe /c RMDIR /S /Q "$my_directory"instead ofRemove-Item -Recurse -Force "$my_directory". -
Fixed an edge case where the
hab pkg uninstallcommand could error stating that a Habitat Supervisor can't be reached.
Backward incompatibilities
- The
basechannel is now the default channel for all origins, not just thecoreorigin. Habitat package downloads no longer pull from thestablechannel by default.