Habitat 0.74.0 Released

  • person iconfnichol
  • calendar iconWednesday, February 6 2019

Habitat 0.74.0 Release Notes

We are happy to announce the release of Habitat v0.74.0. We have a number of new features as well as bug fixes, so please read on for all the details. We have a small behavioral change for Windows users when building packages, for more details read on! If you just want the binaries, head on over to Install Habitat.

Thanks again for using Habitat!


Windows Build Change: Set results folder in current directory

One change to the Windows build system in 0.74.0 changes the location of the results folder where the final hart file is saved upon a successful build. Until 0.74.0, the results folder would always exist under the folder where the plan.ps1 file is located. We have changed this location so that the results folder is created inside the current working directory. Thus the results folder will exist in the same directory from wherever you call build if you are inside of a Studio or from where you call hab pkg build.

The reason for this change is that this aligns the Powershell build behavior with the Bash based behavior for plan.sh based plans. We make an effort to align these behaviors in order to simplify the overall behavior of any Habitat build and align expectations and documentation around the Habitat build system in general. The particular detail of the results folder location came to light as we have been working on adding Windows builder workers to our public Habitat CI offering.

If you have built CI infrastructure around Windows based Habitat builds, this change may impact you if you invoke a build from a location above the immediate folder where your plan.ps1 is located. If you typically run build from the same directory where the plan.ps1 is located, this change should have no affect.

A new install hook

A new and unique hook has been introduced in this release that runs when a package is installed. Head over to the Introducting the Install Hook blog post for more details.

Remaining Changelog Items:

Behavioral Changes

  • Set results folder in PWD not PLAN_CONTEXT #6087 (mwrock)

Bug Fixes

  • [sup] Add core/make as a build dependency. #6111 (fnichol)
  • uses the 2015 CPP redistributable and fixes some HAB_CACHE_SRC_PATH refs #6095 (mwrock)
  • install interpreter if not already installed #6093 (mwrock)
  • Fix some clippy lints that were missed due to make lint missing some files #6068 (baumanj)
  • Fix "uncontroversial" clippy lints and start making them errors in TravisCI #6065 (baumanj)

New Features & Enhancements

  • extract supervisor templating and execute an install hook when installing packages #5866 (mwrock)
  • Improve butterfly Server::insert_service #6053 (baumanj)
  • Instrument the supervisor with metrics #5986 (raskchanky)

Merged Pull Requests

Posted In

About the author

Fletcher Nichol

Fletcher Nichol is a senior engineer who works on Habitat. He spends far too much time writing open source software and far too little playing the drums. In previous jobs he has been a web application developer, a systems administrator, and even an infrastructure-as-code koolaid barista.

Recommended Posts

  • Introducing Composites

    We're excited to talk about a new preview feature in Habitat that we feel will unlock some more interesting use cases that community members have been wanting for a while. In this post, we'll talk about composite packages and how they might help you...

    • person iconChristopher Maier
    • calendar iconOct 18, 2017
  • Habitat 0.70.0 Released

    Habitat 0.70.0 Release Notes

    We are happy to announce the release of Habitat v0.70.0. We have some new features and at least one really great bug-fix for our Windows users! We discovered a memory leak in the versions of the crate we use for printing...

    • person iconIan Henry
    • calendar iconDec 5, 2018
All articles