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/ 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 #1983
Features & Enhancements
- Investigate adding Scaffolding direct run deps as direct Plan build deps #2097
- EventSrv subscriber OnConnect receives seed of initial events #2023
- Create scaffolding plan for python #2010
- RFC: Post-Run hook for service initialization #1983
- Add support for local directory and files for
pkg\_source
#1972 - Create Scaffolding for Go Applications #1963
- Implement Channel API #1864
- Start Supervisor without services #1861
- [RFC] Graceful departure from cluster #1812
- Proposal: Habitat post run hook #1393
- Integrate EventSrv into the supervisor. #2132 (raskchanky)
- [plan-build] Add Scaffolding direct deps as direct build deps for Plans. #2116 (fnichol)
- Supervisor spring cleaning public fields #2095 (bodymindarts)
- Add PostRun hook to hook table #2088 (bodymindarts)
- Verify that specified bindings exist in census before service start. #2076 (bodymindarts)
- [plan-build] Make
pkg\_source
optional so local builds are first class. #2074 (fnichol) - Add Last Value Caching (LVC) to EventSrv #2048 (christophermaier)
- Store package and channel data in postgres #2042 (mwrock)
- Implement sharding down to the data layer #1961 (adamhjk)
Bug fixes
- Config updates not propagated via bindings #2134
- Builder API list_user_origins is broken #2081
- Invalid cross-device link #2078
- Adding dependencies in scaffolding fails #2073
- pkgPathFor writes error msg when there is integer in ServiceConfig #2067
-
--config-from
broken on latest release. #2058 - Validate
-bind \<bind\>:\<svc\>.\<group\>
before starting service #2046 - Regression 0.18.0 - Binding Config Fails To Populate ServiceConfig For Templates #1907
- cannot manually install artifacts dropped into /hab/cache/artifacts #1736
- Hab-sup as pid1 in docker container #1606
- hab start does not propagate the --url parameter to hab sup start #1556
- [butterfly] Write dat random tmpfile locally then move. #2100 (fnichol)
- [sup] Restore support of the
--config-from
onhab start
. #2098 (fnichol) - Tighten the scope of pkg_path_for’s deserializing #2077 (smurawski)