# Consul-template release v0.31.0

**URL:** <https://discuss.hashicorp.com/t/consul-template-release-v0-31-0/52574>\
**Category:** Release Notifications\
**Tags:** consul-template\
**Created:** [April 11, 2023, 1:24pm UTC](https://discuss.hashicorp.com/t/consul-template-release-v0-31-0/52574 "2023-04-11T13:24:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roncodingenthusiast](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/roncodingenthusiast/32/34672_2.png) [@roncodingenthusiast](https://discuss.hashicorp.com/u/roncodingenthusiast)\
**Post date:** [April 11, 2023, 1:24pm UTC](https://discuss.hashicorp.com/t/consul-template-release-v0-31-0/52574/1 "2023-04-11T13:24:16Z")

</div>

Hello everyone,

We’re happy to announce a new release of [Consul-Template, v0.31.0](https://releases.hashicorp.com/consul-template/0.31.0). This release contains new config options for Vault’s user agent and a new function: `ExternalFuncMap` that enables users to pass in templating functions. See below or the [changelog](https://github.com/hashicorp/consul-template/blob/master/CHANGELOG.md) for more information.

You can find the new release as [precompiled binaries](https://releases.hashicorp.com/consul-template/0.31.0), our [Docker images](https://hub.docker.com/r/hashicorp/consul-template) as well as now building Linux packages for [Redhat or Debian](https://www.hashicorp.com/official-packaging-guide) based package managers.

As always, please test in an isolated environment before upgrading. If you experience issues with Consul-Template, you can report them on the [GitHub issue tracker](https://github.com/hashicorp/consul-template/issues) or post to the [Discuss Forum](https://discuss.hashicorp.com/tags/c/consul/29/consul-template) for any general questions.

Thanks!

The Consul ZTS Team

* * *

IMPROVEMENTS:

- Added `ExtFuncMap` to allow external functions to be passed to the template. This gives users the ability to add functions to the library and selectively opaque existing ones. [GH-1708](https://github.com/hashicorp/consul-template/pull/1708)

- Vault: add new configuration option `vault-client-user-agent`, when set consul-template will use the set `User-Agent` when making requests to vault. This change is being made as part of a broader effort for Vault Agent to send its version as part of a User-Agent string in requests to Vault. Agent will then consume the latest version of consul-template, then use this new config to set the correct `User-Agent`. [GH-1725](https://github.com/hashicorp/consul-template/pull/1725)

- Upgrade `golang.org/x/net` from 0.4.0 to 0.7.0. [GH-1711](https://github.com/hashicorp/consul-template/pull/1711)

- Upgrade Sprig from v2 to v3. [GH-1699](https://github.com/hashicorp/consul-template/pull/1699/files)

- Upgrade `github.com/stretchr/testify` from 1.8.1 to 1.8.2 [1726](https://github.com/hashicorp/consul-template/pull/1726)

- Add copyright headers to file for compliance. [GH-1721](https://github.com/hashicorp/consul-template/pull/1721)

- Improve use of inclusive language [GH-1731](https://github.com/hashicorp/consul-template/pull/1731)
