envconsul v0.3.0

96 views
Skip to first unread message

Seth Vargo

unread,
Nov 4, 2014, 6:30:04 PM11/4/14
to consu...@googlegroups.com
Hello Consulers (again),

I am excited to announce the all new and shiny envconsul. We learned a lot from building Consul Template and wanted to apply the principles to the already-popular envconsul. Here's what we did:

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

You can download the latest release from the GitHub releases page:


As always, we aim to be 100% backwards compatible with previous releases. If you find a bug or regression, that was certainly not our intention and we are deeply sorry. As this was a fairly large refactor, please test in an isolated environment before upgrading. Please report bugs, issues features, and pull requests to envconsul on Github: https://github.com/hashicorp/envconsul.

Happy computing,
Seth
@sethvargo
Reply all
Reply to author
Forward
0 new messages