Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Latest commit

 

History

History
162 lines (112 loc) · 5.02 KB

CHANGELOG.md

File metadata and controls

162 lines (112 loc) · 5.02 KB

envconsul Changelog

v0.6.3.dev (Unreleased)

v0.6.2 (Jan 13, 2017)

BREAKING CHANGES:

  • Remove deprecated way of specifying prefixes as 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]

v0.6.1 (June 9, 2016)

IMPROVEMENTS:

  • Accept Key option 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 pristine flag
  • Load VAULT_TOKEN from the environment into the config [GH-99, GH-100]
  • Add timeout CLI flag parsing [GH-73]
  • Do not overwrite previous process when no data is returned [GH-85, GH-107]

v0.6.0 (October 12, 2015)

FEATURES:

  • Add a configurable kill switch [GH-48]
  • Add pristine option to completely replace the environment for the command [GH-58]
  • Add support for Vault configuration and prefixes
  • Add support for custom key formatting
  • Add splay option 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 -ssl flag [GH-51]
  • Remove noisy debug line [GH-55]
  • Properly handle the case where a command is missing [GH-61]

v0.5.0 (February 19, 2015)

DEPRECATIONS:

  • Specifying the prefix before the command is deprecated, please use the -prefix key instead

FEATURES:

  • Add support for logging to syslog
  • Add log_level as 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 -prefix command 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

v0.4.0 (February 5, 2015)

IMPROVEMENTS:

  • Allow envconsul to run when Consul is unavailable (GH-28)
  • Add -max-stale to 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

v0.3.0 (November 4, 2014)

FEATURES:

  • Watch and reload by default - previously you needed to specify the -reload flag for envconsul to poll, but this is now the default behavior - you can restore the old behavior using the new -once flag
  • Leverage watching libraries from Consul Template
  • Unified command interface with Consul Template
  • Added support for quiescene using the new -wait option
  • Added support for Consul ACLs using the new -token option
  • Added support for reading configuration from file using the new -config option - the config file is HCL

IMPROVEMENTS:

  • Added -timeout parameter for specifying the interval to wait for SIGTERM to return before sending SIGKILL
  • Added -version flag 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:

  • -addr is deprecated in favor of -consul and will be removed in the next major release
  • -dc is deprecated in favor of using the inline @dc syntax and will be removed in the next major release
  • -errExit, -terminate, and -reload are all deprecated in favor of -once. envconsul now intelligently exits where appropriate

v0.2.0 (July 16, 2014)

FEATURES:

  • Sanitize and upcase by default
  • If -reload is 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.0 (May 13, 2014)

  • Initial release