github.com/hashicorp/envconsul
v0.14.0
#1060 most downloaded on Go modules
hashicorp/envconsul
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Release timing varies
gaps range from 5 weeks to 11 months
Nearly every release is documented
notes for 27 of 27 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
59 releases · first in 2014
1 release in the last 12 months
see the full history below
Release timeline
59 releases · May 2014 to Jul 2026Releases
latest 59-
v0.14.009 Jul 2026Release notes
Open source →Merge pull request #411 from hashicorp/prep_0.14.0
cve suppression, changelog update, version change
-
v0.13.421 Aug 2025Release notes
Open source →Merge pull request #386 from hashicorp/sanikachavan5/update-changelog…
…-and-suppress-cves-for-0.13.4
update changelog and suppress cves
Release notes
Open source →SECURITY:
- fix: critical Golang vulnerabilities (CVE-2025-22869, CVE-2025-22871) [GH-380]
IMPROVEMENTS:
- Update Golang from 1.22 to 1.25 [GH-381]
-
v0.13.4-0.20250702142428-4978000a704002 Jul 2025 pre-releaseNothing published for this version
-
v0.13.317 Jan 2025Release notes
Open source →Merge pull request #367 from hashicorp/srahul3/release-v0.13.3
Updating CHANGELOG and version for the release v0.13.3
Release notes
Open source →SECURITY:
- Critical Golang vulnerability in v0.13.2 [GH-366
BUG FIXES:
- Add LICENSE file to compiled linux distribution and docker image [GH-365
-
v0.13.3-0.20240927162927-bcb270fdc53e27 Sep 2024 pre-releaseNothing published for this version
-
v0.13.3-0.20231116181337-3e381b23298d16 Nov 2023 pre-releaseNothing published for this version
-
v0.13.222 May 2023 -
v0.13.2-0.20230522192038-dd416cebc73722 May 2023 pre-releaseNothing published for this version
-
v0.13.2-0.20230321181739-3acb79a8fd2821 Mar 2023 pre-releaseNothing published for this version
-
v0.13.2-0.20230110215433-92ceda5f450f10 Jan 2023 pre-releaseNothing published for this version
-
v0.13.2-0.20221207193259-72055567902f07 Dec 2022 pre-releaseNothing published for this version
-
v0.13.103 Oct 2022 -
v0.13.019 Jul 2022 -
v0.12.2-0.20220610191025-6b2eef8bef2010 Jun 2022 pre-releaseNothing published for this version
-
v0.12.2-0.20220609230531-c28db29bf51309 Jun 2022 pre-releaseNothing published for this version
-
v0.12.2-0.20220418214818-aee2e6497a3218 Apr 2022 pre-releaseNothing published for this version
-
v0.12.2-0.20220401193842-67f4b4bb263a01 Apr 2022 pre-releaseNothing published for this version
-
v0.12.2-0.20220325225252-0c6228bc7bd025 Mar 2022 pre-releaseNothing published for this version
-
v0.12.2-0.20220104202108-3e39f4ef3bdd04 Jan 2022 pre-releaseNothing published for this version
-
v0.12.117 Nov 2021 -
v0.12.1-0.20211117204533-795c2e104d5d17 Nov 2021 pre-releaseNothing published for this version
-
v0.12.1-0.20211117190522-ec1d2480d31d17 Nov 2021 pre-releaseNothing published for this version
-
v0.12.1-0.20211117000409-cad3238795ce17 Nov 2021 pre-releaseNothing published for this version
-
v0.12.1-0.20211116225004-2bed51f2a17016 Nov 2021 pre-releaseNothing published for this version
-
v0.12.1-0.20211015005958-a22096e195d115 Oct 2021 pre-releaseNothing published for this version
-
v0.12.1-0.20211008011301-1e2809cb6e4d08 Oct 2021 pre-releaseNothing published for this version
-
v0.12.007 Oct 2021 -
v0.11.1-0.20211007194023-f625a05a0f1e07 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211007190854-5e2a76d78e4907 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211007004822-ab4a0d1a383607 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211006200435-30772eae53f506 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211005223418-4a46f9f263a405 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211005003233-d01da7e7298c05 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20211004234052-ae7715e6dd6704 Oct 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20210930230259-8d9eb9c69ba930 Sep 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20210609202201-7a843ff82ce209 Jun 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20210609001159-927d3b51e84409 Jun 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20210607232134-e7ce0f2cc84b07 Jun 2021 pre-releaseNothing published for this version
-
v0.11.1-0.20210510212340-ce60643f9c8f10 May 2021 pre-releaseNothing published for this version
-
v0.11.030 Nov 2020Release notes
Open source →IMPROVEMENTS:
- Add support for Vault Agent token files [GH-249]
- Update whitelist/blacklist config options to allowlist/denylist with backward compatibility [GH-246]
- Update Consul Template dependency to v0.25.1 [GH-245]
BUG FIXES:
- Remove code/logic for working with (long deprecated) Vault grace [GH-245]
-
v0.10.010 Aug 2020Release notes
Open source →IMPROVEMENTS:
- Allow users to use ENV vars in prefix paths using Go templates [GH-167]
-
v0.9.327 Apr 2020 -
v0.9.208 Jan 2020Release notes
Open source → -
v0.9.108 Nov 2019Release notes
Open source →SECURITY:
- curl and musl vulnerabilities in latest alpine docker image [GH-223]
-
v0.9.015 Aug 2019 -
v0.8.010 Jun 2019Release notes
Open source →BREAKING CHANGES:
- When passing unevaluated, 'single quoted text' to -exec or as the command the shell variable interpolation and backtick evaluation will no longer be done. This was an undocumented 'feature' and was responsible for GH-180.
IMPROVEMENTS:
- Added support for Vault KV v2 [GH-186 GH-211]
- Respect no_prefix for consul keys [GH-190]
- Respect exec.env config block [GH-155]
BUG FIXES:
- Fix issue with shell interpolation [GH-180]
- Fix issue with PID file not being created [GH-194]
- Fix issue with Vault renew [GH-196]
- Don't panic if secret value isn't a string [GH-166]
-
v0.7.322 Jan 2018Release notes
Open source →SECURITY:
- Fixed an issue where the parent's environment could get supplied to the child
process if
envconsulis given an empty prefix, even when using-pristine[GH-159]
IMPROVEMENTS:
- Compile using Go 1.9.2 [GH-158]
BUG FIXES:
- Fixed Makefile to use Go version from the environment [GH-157]
- Fixed an issue where the parent's environment could get supplied to the child
process if
-
v0.7.225 Aug 2017 -
v0.7.107 Aug 2017Release notes
Open source →BUG FIXES:
- Remove dynamic linking due to a missing underscore in CGO_ENABLED during compilation [GH-147]
-
v0.7.002 Aug 2017Release notes
Open source →BREAKING CHANGES:
kill_signal(configuration) and-kill-signal(CLI) now refer to the signal that Envconsul should listen to for termination, not the signal that Envconsul should send to the child process. Useexec.kill_signalor-exec-kill-signalto specify the command to send to the child process.
DEPRECATIONS:
-
(configuration)
consulis nowconsul { address = "..." }. -
(configuration)
authis nowconsul { auth { ... } }. -
(configuration)
pathis deprecated and there is no configuration file replacement. Use the CLI option instead. -
(configuration)
splay = "..."is nowexec { splay = "..." }. -
(configuration)
retry = "..."is now separately controlled via both theconsulandvaultstanzas to allow for additional configuration. -
(configuration)
ssl {}is now separately controlled via both theconsulandvaultstanzas to allow for additional configuration. -
(configuration)
timeout = "..."is nowexec { kill_timeout = "..." }. -
(configuration)
token = "..."is nowconsul { token = "..." }. -
(cli)
-authis now-consul-auth. -
(cli)
-addris now-consul-addr. -
(cli)
-splayis now-exec-splay. -
(cli)
-retryis now-consul-retry-*and-vault-retry-*. -
(cli)
-ssl-*is now-consul-ssl-*and-vault-ssl-*. -
(cli)
-timeoutis now-exec-kill-timeout. -
(cli)
-tokenis now-consul-token.
-
v0.6.213 Jan 2017Release notes
Open source →BREAKING CHANGES:
- Remove deprecated way of specifying
prefixesas an array in configuration.
IMPROVEMENTS:
- Allow stripping parts of a secret path [GH-84, GH-113]
BUG FIXES:
- Overwriting existing environment variables [GH-122]
- Update Consul API library to stop logging secret data [GH-120]
- Ensure returned value is not nil [GH-124]
- Remove deprecated way of specifying
-
v0.6.109 Jun 2016Release notes
Open source →IMPROVEMENTS:
- Accept
Keyoption in SSL config - Accept stdin - this allows the user to pipe and use interactively [GH-80, GH-75]
BUG FIXES:
- Use gatedio in tests to avoid races
- Document
pristineflag - Load
VAULT_TOKENfrom the environment into the config [GH-99, GH-100] - Add
timeoutCLI flag parsing [GH-73] - Do not overwrite previous process when no data is returned [GH-85, GH-107]
- Accept
-
v0.6.013 Oct 2015Release notes
Open source →FEATURES:
- Add a configurable kill switch [GH-48]
- Add
pristineoption to completely replace the environment for the command [GH-58] - Add support for Vault configuration and prefixes
- Add support for custom key formatting
- Add
splayoption for sleeping a random amount of time before re-spawing the child process [GH-53]
IMPROVEMENTS:
- Improve documentation around command line vs configuration file parameters [GH-41]
- Update to new Consul Template APIs which are more efficient
- Match Makefile and semantics for other HashiCorp projects
- Set a default max-stale value of 1s
- Support reloading configuration on SIGHUP (but the signal will also be sent to the child process!)
BUG FIXES:
- Fix config merging [GH-49]
- Trim leading and trailing slashes from prefixes [GH-59]
- Fix ignored
-sslflag [GH-51] - Remove noisy debug line [GH-55]
- Properly handle the case where a command is missing [GH-61]
-
v0.5.019 Feb 2015Release notes
Open source →DEPRECATIONS:
- Specifying the prefix before the command is deprecated, please use the
-prefixkey instead
FEATURES:
- Add support for logging to syslog
- Add
log_levelas a configuration file option and CLI option - Add support for basic HTTP authentication when connecting to Consul
- Add support for connecting to Consul via SSL
- Add support for specifying a custom retry interval when Consul is not available
- Add support for specifying multiple prefixes using the new
-prefixcommand line and configuration option (GH-27) - Add support for propagating select signals to the child process (GH-31)
IMPROVEMENTS:
- Improve test coverage, specifically around command-line flag parsing
- Use Consul Template's logging library for consistency (and get syslog logging for free)
BUG FIXES:
- Fix a bug in the documentation where the environment would be reset
- Raise an error when specifying a non-existent option in the configuration file
- Specifying the prefix before the command is deprecated, please use the
-
v0.4.006 Feb 2015Release notes
Open source →IMPROVEMENTS:
- Allow
envconsulto run when Consul is unavailable (GH-28) - Add
-max-staleto specify envconsul may talk to non-leader Consul nodes if they are less than the maximum stale value (GH-36)
BUG FIXES:
- Remove deprecated CLI and config options
- Allow
-
v0.3.004 Nov 2014Release notes
Open source →FEATURES:
- Watch and reload by default - previously you needed to specify the
-reloadflag for envconsul to poll, but this is now the default behavior - you can restore the old behavior using the new-onceflag - Leverage watching libraries from Consul Template
- Unified command interface with Consul Template
- Added support for quiescene using the new
-waitoption - Added support for Consul ACLs using the new
-tokenoption - Added support for reading configuration from file using the new
-configoption - the config file is HCL
IMPROVEMENTS:
- Added
-timeoutparameter for specifying the interval to wait for SIGTERM to return before sending SIGKILL - Added
-versionflag to print the current version of envconsul - Added a full debug log tracer which can be set using
ENV_CONSUL_LOG=debug - Drastically improved documentation with usage examples and feature documentation
- Add significantly more test coverage (still not 100%, but more more thoroughly tested)
DEPRECATIONS:
-addris deprecated in favor of-consuland will be removed in the next major release-dcis deprecated in favor of using the inline@dcsyntax and will be removed in the next major release-errExit,-terminate, and-reloadare all deprecated in favor of-once. envconsul now intelligently exits where appropriate
- Watch and reload by default - previously you needed to specify the
-
v0.2.016 Jul 2014Release notes
Open source →FEATURES:
- Sanitize and upcase by default
- If
-reloadis not set, don't watch keys - Preserve the original process environment
BUG FIXES:
- Fixed issue with prefix listing missing final forward slash
- Fixed panic condition on error
-
v0.1.013 May 2014 -
v0.0.0-20181126213129-40f672f1729e26 Nov 2018 pre-releaseNothing published for this version