We are delighted to announce the release of Habitat 0.16.0. As usual, we have a number of new features as well as bug fixes, so please read on for all the details. If you just want the binaries, head on over to our downloads page: https://www.habitat.sh/docs/get-habitat/. Thanks again for using Habitat!
In Progress: Working on Windows Supervisors
As you may have noticed, we have a bunch of work landing to support Windows supervisors. This work is still very early, and if you are interested in kicking the tires, we recommend you join us in our Habitat Community Slack team and join the #windows channel to learn more.
- Add dependencies to path in windows builds https://github.com/habitat-sh/habitat/pull/1636
- Add dependency resolution for windows https://github.com/habitat-sh/habitat/pull/1633
- windows supervisor uses powershell as a hook interpreter https://github.com/habitat-sh/habitat/pull/1624
- Implement default download and verify functions in powershell build https://github.com/habitat-sh/habitat/pull/1618
- Fail powershell based builds if non terminating errors occur https://github.com/habitat-sh/habitat/pull/1616
- Implements powershell default build service and config functions https://github.com/habitat-sh/habitat/pull/1605
- implement graceful shutdown on windows https://github.com/habitat-sh/habitat/pull/1603
##New: Adding dev support instructions for Arch Linux
A few members of the core team have been working on Arch Linux VMs to get better IO performance on recompiles. This addition to the BUILDING.md document helps other developers to reproduce our work.
- Add dev support instructions for Arch Linux https://github.com/habitat-sh/habitat/pull/1614
Removed: hab-director
Habitat director has been removed from the codebase in this release, as the team gets close to having a more robust solution for managing multiple services within the supervisor itself.
- Remove hab-director component https://github.com/habitat-sh/habitat/pull/1652
Improvements
- Have hab setup check and use HAB_ORIGIN and HAB_AUTH_TOKEN as defaults https://github.com/habitat-sh/habitat/pull/1651
- Add toUppercase and toLowercase Handlebars helpers https://github.com/habitat-sh/habitat/pull/1650
- Create lib, bin, include, and pkconfig dirs in prepare https://github.com/habitat-sh/habitat/pull/1648
- Fixed issue where shared content wasn’t showing up https://github.com/habitat-sh/habitat/pull/1647
- [sup,director] Remove profile sections from Cargo.toml files. https://github.com/habitat-sh/habitat/pull/1648
- [sup] Use a consistent clap features set #1638 https://github.com/habitat-sh/habitat/pull/1638
- Fix rustfmt/CI exit code to correctly fail #1637 https://github.com/habitat-sh/habitat/pull/1637
- Add callbacks to hab plan init https://github.com/habitat-sh/habitat/pull/1631
- Enhancements to hab plan init https://github.com/habitat-sh/habitat/pull/1629
- Set initial version to 0.1.0 in hab plan init https://github.com/habitat-sh/habitat/pull/1619
- [bldr] Use local, non-root data dirs for make bldr-run target https://github.com/habitat-sh/habitat/pull/1623
- Unify make bldr-run Makefile target to work on native Linux & Mac https://github.com/habitat-sh/habitat/pull/1620
- Ensure all pop-locations are in finally blocks https://github.com/habitat-sh/habitat/pull/1622
- Add infra for operational metrics https://github.com/habitat-sh/habitat/pull/1613
- pkg_upstream_url is required in core plans https://github.com/habitat-sh/habitat/pull/1612
- Warn users if Docker’s file sharing isn’t enabled https://github.com/habitat-sh/habitat/pull/1611
- [core] Remove PackageArchive metadata debugging output of files https://github.com/habitat-sh/habitat/pull/1602
- Add rolling update strategy to docs https://github.com/habitat-sh/habitat/pull/1601
- [devshell] Re-add redis-server pkg for make bldr-run-shell target https://github.com/habitat-sh/habitat/pull/1598
- Remove core/hab-sup-static from RELEASE.md instructions https://github.com/habitat-sh/habitat/pull/1649
Bug fixes
- [http-client] Set a 30-second read/write timeout on HTTP client calls https://github.com/habitat-sh/habitat/pull/1646
- Fix Hook output and remove “output” from HealthCheck and Hook errors https://github.com/habitat-sh/habitat/pull/1645
- [hab] Support running out of /var/tmp if available https://github.com/habitat-sh/habitat/pull/1644
- Fix rustfmt/CI exit code to correctly fail https://github.com/habitat-sh/habitat/pull/1637
- Remove panic on bad peer input https://github.com/habitat-sh/habitat/pull/1635
- Resolve peer address before assigning it’s IP to member https://github.com/habitat-sh/habitat/pull/1634
- Added sig key checking to core crypto https://github.com/habitat-sh/habitat/pull/1630
- Fix integer overflow cast causing longer than expected thread sleeps https://github.com/habitat-sh/habitat/pull/1625
- [bldr] Push common args into their subcommands to prevent mis-invoking https://github.com/habitat-sh/habitat/pull/1621
- Restore the cwd location even if the build fails https://github.com/habitat-sh/habitat/pull/1617
- Ensure the requestor is a member of the origin, not the person invited https://github.com/habitat-sh/habitat/pull/1609
- tar windows package artifacts from a temporary directory https://github.com/habitat-sh/habitat/pull/1608
Merged pull requests
- Adding r to buttefly (fix typo) https://github.com/habitat-sh/habitat/pull/1643
- maybe use more natural capitalization https://github.com/habitat-sh/habitat/pull/1628
- Solicit talks for ChefConf https://github.com/habitat-sh/habitat/pull/1627
- Link to webinar recording https://github.com/habitat-sh/habitat/pull/1626