consul v0.9.1 Release Notes

Release Date: 2017-08-09 // over 6 years ago
  • ๐Ÿ”‹ FEATURES:

    • Secure ACL Token Introduction: It's now possible to manage Consul's ACL tokens without having to place any tokens inside configuration files. This supports introduction of tokens as well as rotating. This is enabled with two new APIs:
      • A new /v1/agent/token API allows an agent's ACL tokens to be introduced without placing them into config files, and to update them without restarting the agent. See the ACL Guide for an example. This was extended to ACL replication as well, along with a new enable_acl_replication config option. [GH-3324,GH-3357]
      • A new /v1/acl/bootstrap allows a cluster's first management token to be created without using the acl_master_token configuration. See the ACL Guide for an example. [GH-3349]
    • Metrics Viewing Endpoint: A new /v1/agent/metrics API displays the current values of internally tracked metrics. [GH-3369]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ‘€ agent: Retry Join for Amazon AWS, Microsoft Azure, Google Cloud, and (new) SoftLayer is now handled through the https://github.com/hashicorp/go-discover library. With this all -retry-join-{ec2,azure,gce}-* parameters have been deprecated in favor of a unified configuration. See -retry-join for details. [GH-3282,GH-3351]
    • agent: Reports a more detailed error message if the LAN or WAN Serf instance fails to bind to an address. [GH-3312]
    • agent: Added NS records and corrected SOA records to allow Consul's DNS interface to work properly with zone delegation. [GH-1301]
    • ๐Ÿ‘ agent: Added support for sending metrics with labels/tags to supported backends. [GH-3369]
    • agent: Added a new prefix_filter option in the telemetry config to allow fine-grained allowing/blocking the sending of certain metrics by prefix. [GH-3369]
    • ๐Ÿ”’ cli: Added a -child-exit-code option to consul lock so that it propagates an error code of 2 if the child process exits with an error. [GH-947]
    • ๐Ÿ“„ docs: Added a new Geo Failover Guide showing how to use prepared queries to implement geo failover policies for services. [GH-3328]
    • ๐Ÿ“„ docs: Added a new Consul with Containers Guide showing critical aspects of operating a Consul cluster that's run inside containers. [GH-3347]
    • ๐Ÿšš server: Added a RemoveEmptyTags option to prepared query templates which will strip out any empty strings in the tags list before executing a query. This is useful when interpolating into tags in a way where the tag is optional, and where searching for an empty tag would yield no results from the query. [GH-2151]
    • server: Implemented a much faster recursive delete algorithm for the KV store. It has been benchmarked to be up to 100X faster on recursive deletes that affect millions of keys. [GH-1278, GH-3313]

    ๐Ÿ› BUG FIXES:

    • agent: Clean up temporary files during disk write errors when persisting services and checks. [GH-3207]
    • ๐Ÿ“œ agent: Fixed an issue where DNS and client bind address templates were not being parsed via the go-sockaddr library. [GH-3322]
    • ๐Ÿ›  agent: Fixed status code on all KV store operations that fail due to an ACL issue. They now return a 403 status code, rather than a 404. [GH-2637]
    • ๐Ÿ agent: Fixed quoting issues in script health check on Windows. [GH-1875]
    • ๐Ÿ›  agent: Fixed an issue where consul monitor would exit on any empty log line. [GH-3253]
    • โšก๏ธ server: Updated raft library to fix issue with machine crashes causing snapshot files to not get saved to disk [GH-3362]