# Consul Template v0.27.0

**URL:** <https://discuss.hashicorp.com/t/consul-template-v0-27-0/28305>\
**Category:** Consul\
**Tags:** consul-template\
**Created:** [August 17, 2021, 12:26am UTC](https://discuss.hashicorp.com/t/consul-template-v0-27-0/28305 "2021-08-17T00:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eikenb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/eikenb/32/1173_2.png) [@eikenb](https://discuss.hashicorp.com/u/eikenb)\
**Post date:** [August 17, 2021, 12:26am UTC](https://discuss.hashicorp.com/t/consul-template-v0-27-0/28305/1 "2021-08-17T00:26:55Z")

</div>

Greetings!

We’ve just released Consul Template v0.27.0. This is primarily a bugfix release but the bug it is fixing is replacing how it runs all commands, which is a pretty big deal so it gets a main version bump. I threw in a couple smaller things as well since I was already at it.

**BREAKING CHANGES** :

- All command execution calls are now made (on \*nix systems) using a shell command call (’/bin/sh -c …’) with [process group](https://man7.org/linux/man-pages/man2/setpgid.2.html) set to ensure all signals are propagated to the called commands. This was done to eliminate the need for parsing the shell command as it was a continual source of bugs. Windows systems currently only support single command calls because of no (known) ‘sh -c’ equivalent on Windows. [[GH-1496](https://github.com/hashicorp/consul-template/pull/1496), [GH-1494](https://github.com/hashicorp/consul-template/pull/1494)]

**IMPROVEMENTS** :

- New Docker Image. Similar to old Alpine image but modernized and simplified [[GH-1481](https://github.com/hashicorp/consul-template/issues/1481), [GH-1484](https://github.com/hashicorp/consul-template/pull/1484)]
- New, more obvious, log level environment variable [[GH-1383](https://github.com/hashicorp/consul-template/pull/1383)]
- New ‘writeToFile’ template function [[GH-1495](https://github.com/hashicorp/consul-template/pull/1495), [GH-1077](https://github.com/hashicorp/consul-template/issues/1077)]
- New mergeMap and mergeMapWithOverride template functions [[GH-1500](https://github.com/hashicorp/consul-template/pull/1500), [GH-1499](https://github.com/hashicorp/consul-template/issues/1499)].

**BUG FIXES** :

- Ignore SIGURG signals by default [[GH-1486](https://github.com/hashicorp/consul-template/issues/1486), [GH-1487](https://github.com/hashicorp/consul-template/pull/1487)]
- Fix issue with command argument parsing when using sub-shell calls [[GH-1482](https://github.com/hashicorp/consul-template/issues/1482)]

As always, please test in an isolated environment before upgrading.

Thanks!

The Consul API Tooling Team
