# Habitat 0.21.0 Released

**URL:** <https://discourse.chef.io/t/habitat-0-21-0-released/19144>\
**Category:** Habitat Announcements\
**Created:** [April 22, 2017, 1:09am UTC](https://discourse.chef.io/t/habitat-0-21-0-released/19144 "2017-04-22T01:09:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tashadrew](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@tashadrew](https://discourse.chef.io/u/tashadrew)\
**Post date:** [April 22, 2017, 1:09am UTC](https://discourse.chef.io/t/habitat-0-21-0-released/19144/1 "2017-04-22T01:09:23Z")

</div>

We are super stoked to announce the release of Habitat 0.21.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/](https://www.habitat.sh/docs/get-habitat/) Thanks again for using Habitat!

## New Feature: Post Run Hook

You can now specify a post run hook in your plan, while will get executed after initial startup.

For many data services creation of specific users / roles or datastores is required. This needs to happen once the service has already started. #[2088](https://github.com/habitat-sh/habitat/pull/2088) #[1983](https://github.com/habitat-sh/habitat/issues/1983)

## Features & Enhancements

- Investigate adding Scaffolding direct run deps as direct Plan build deps [#2097](https://github.com/habitat-sh/habitat/issues/2097)
- EventSrv subscriber OnConnect receives seed of initial events [#2023](https://github.com/habitat-sh/habitat/issues/2023)
- Create scaffolding plan for python [#2010](https://github.com/habitat-sh/habitat/issues/2010)
- RFC: Post-Run hook for service initialization [#1983](https://github.com/habitat-sh/habitat/issues/1983)
- Add support for local directory and files for `pkg\_source` [#1972](https://github.com/habitat-sh/habitat/issues/1972)
- Create Scaffolding for Go Applications [#1963](https://github.com/habitat-sh/habitat/issues/1963)
- Implement Channel API [#1864](https://github.com/habitat-sh/habitat/issues/1864)
- Start Supervisor without services [#1861](https://github.com/habitat-sh/habitat/issues/1861)
- [RFC] Graceful departure from cluster [#1812](https://github.com/habitat-sh/habitat/issues/1812)
- Proposal: Habitat post run hook [#1393](https://github.com/habitat-sh/habitat/issues/1393)
- Integrate EventSrv into the supervisor. [#2132](https://github.com/habitat-sh/habitat/pull/2132) ([raskchanky](https://github.com/raskchanky))
- [plan-build] Add Scaffolding direct deps as direct build deps for Plans. [#2116](https://github.com/habitat-sh/habitat/pull/2116) ([fnichol](https://github.com/fnichol))
- Supervisor spring cleaning public fields [#2095](https://github.com/habitat-sh/habitat/pull/2095) ([bodymindarts](https://github.com/bodymindarts))
- Add PostRun hook to hook table [#2088](https://github.com/habitat-sh/habitat/pull/2088) ([bodymindarts](https://github.com/bodymindarts))
- Verify that specified bindings exist in census before service start. [#2076](https://github.com/habitat-sh/habitat/pull/2076) ([bodymindarts](https://github.com/bodymindarts))
- [plan-build] Make `pkg\_source` optional so local builds are first class. [#2074](https://github.com/habitat-sh/habitat/pull/2074) ([fnichol](https://github.com/fnichol))
- Add Last Value Caching (LVC) to EventSrv [#2048](https://github.com/habitat-sh/habitat/pull/2048) ([christophermaier](https://github.com/christophermaier))
- Store package and channel data in postgres [#2042](https://github.com/habitat-sh/habitat/pull/2042) ([mwrock](https://github.com/mwrock))
- Implement sharding down to the data layer [#1961](https://github.com/habitat-sh/habitat/pull/1961) ([adamhjk](https://github.com/adamhjk))

## Bug fixes

- Config updates not propagated via bindings [#2134](https://github.com/habitat-sh/habitat/issues/2134)
- Builder API list\_user\_origins is broken [#2081](https://github.com/habitat-sh/habitat/issues/2081)
- Invalid cross-device link [#2078](https://github.com/habitat-sh/habitat/issues/2078)
- Adding dependencies in scaffolding fails [#2073](https://github.com/habitat-sh/habitat/issues/2073)
- pkgPathFor writes error msg when there is integer in ServiceConfig [#2067](https://github.com/habitat-sh/habitat/issues/2067)
- `--config-from` broken on latest release. [#2058](https://github.com/habitat-sh/habitat/issues/2058)
- Validate `-bind \<bind\>:\<svc\>.\<group\>` before starting service [#2046](https://github.com/habitat-sh/habitat/issues/2046)
- Regression 0.18.0 - Binding Config Fails To Populate ServiceConfig For Templates [#1907](https://github.com/habitat-sh/habitat/issues/1907)
- cannot manually install artifacts dropped into /hab/cache/artifacts [#1736](https://github.com/habitat-sh/habitat/issues/1736)
- Hab-sup as pid1 in docker container [#1606](https://github.com/habitat-sh/habitat/issues/1606)
- hab start does not propagate the --url parameter to hab sup start [#1556](https://github.com/habitat-sh/habitat/issues/1556)
- [butterfly] Write dat random tmpfile locally then move. [#2100](https://github.com/habitat-sh/habitat/pull/2100) ([fnichol](https://github.com/fnichol))
- [sup] Restore support of the `--config-from` on `hab start`. [#2098](https://github.com/habitat-sh/habitat/pull/2098) ([fnichol](https://github.com/fnichol))
- Tighten the scope of pkg\_path\_for’s deserializing [#2077](https://github.com/habitat-sh/habitat/pull/2077) ([smurawski](https://github.com/smurawski))

## [0.21.0](https://github.com/habitat-sh/habitat/tree/0.21.0) (04-20-2017)

[Full Changelog](https://github.com/habitat-sh/habitat/compare/0.20.0...0.21.0)
