pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/consul Update sysutils/consul to 1.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/289ce581bb1f
branches:  trunk
changeset: 370464:289ce581bb1f
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Oct 17 11:39:57 2017 +0000

description:
Update sysutils/consul to 1.0.0

SECURITY:

- Fixed an XSS issue with Consul's built-in web UI where node names
  were not being properly escaped.

BREAKING CHANGES:

- Raft Protocol Now Defaults to 3
- Config Files Require an Extension
- Deprecated Options Have Been Removed
- `statsite_prefix` Renamed to `metrics_prefix`
- `advertise_addrs` Removed
- Escaping Behavior Changed for go-discover Configs
- HTTP Verbs are Enforced in Many HTTP APIs
- Unauthorized KV Requests Return 403
- Config Section of Agent Self Endpoint has Changed
- Deprecated `configtest` Command Removed
- Undocumented Flags in `validate` Command Removed
- Metric Names Updated
- Checks Validated On Agent Startup

FEATURES:

- Support for HCL Config Files
- Support for Binding to Multiple Addresses
- Support for RFC1434 DNS TXT records
- Support for Running Subproccesses Directly Without a Shell
- Sentinel Integration

IMPROVEMENTS:

- agent: Added support to detect public IPv4 and IPv6 addresses on
  AWS.
- agent: Improved /v1/operator/raft/configuration endpoint which
  allows Consul to avoid an extra agent RPC call for the `consul
  operator raft list-peers` command.
- agent: Improved ACL system for the KV store to support list
  permissions. This behavior can be opted in. For more information,
  see the ACL Guide].
- agent: Updates miekg/dns library to later version to pick up bug
  fixes and improvements.
- agent: Added automatic retries to the RPC path, and a brief RPC
  drain time when servers leave. These changes make Consul more robust
  during graceful leaves of Consul servers, such as during upgrades, and
  help shield applications from "no leader" errors. These are configured
  with new `performance` options.
- agent: Added a new `discard_check_output` agent-level configuration
  option that can be used to trade off write load to the Consul
  servers vs. visibility of health check output. This is reloadable so
  it can be toggled without fully restarting the agent.
- api: Updated the API client to ride out network errors when
  monitoring locks and semaphores.
- build: Updated Go toolchain to version 1.9.1.
- cli: `consul lock` and `consul watch` commands will forward `TERM`
  and `KILL` signals to their child subprocess.
- cli: Added support for autocompletion].
- server: Updated BoltDB to final version 1.3.1.
- server: Improved dead member reap algorithm to fix edge cases where
  servers could get left behind.

BUG FIXES:

- agent: Fixed an issue where disabling both the http and https
  interfaces would cause a watch-related error on agent startup, even
  when no watches were defined.
- agent: Added an additional step to kill health check scripts that
  timeout on all platforms except Windows, and added a wait so that
  it's not possible to run multiple instances of the same health check
  script at the same time.
- cli: If the `consul operator raft list-peers` command encounters an
  error it will now exit with a non-zero exit code.
- cli: CLI commands will now show help for all of their arguments.
- server: Fixed an issue where the leader server could get into a
  state where it was no longer performing the periodic leader loop
  duties and unable to serve consistent reads after a barrier timeout
  error.


Full (unabridged) changelog:

  https://github.com/hashicorp/consul/blob/v1.0.0/CHANGELOG.md

diffstat:

 sysutils/consul/Makefile |   4 ++--
 sysutils/consul/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 209e92ebb467 -r 289ce581bb1f sysutils/consul/Makefile
--- a/sysutils/consul/Makefile  Tue Oct 17 11:37:56 2017 +0000
+++ b/sysutils/consul/Makefile  Tue Oct 17 11:39:57 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2017/09/11 11:53:06 fhajny Exp $
+# $NetBSD: Makefile,v 1.23 2017/10/17 11:39:57 fhajny Exp $
 
-DISTNAME=      consul-0.9.3
+DISTNAME=      consul-1.0.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hashicorp/}
 
diff -r 209e92ebb467 -r 289ce581bb1f sysutils/consul/distinfo
--- a/sysutils/consul/distinfo  Tue Oct 17 11:37:56 2017 +0000
+++ b/sysutils/consul/distinfo  Tue Oct 17 11:39:57 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2017/09/22 10:24:11 jperkin Exp $
+$NetBSD: distinfo,v 1.18 2017/10/17 11:39:57 fhajny Exp $
 
-SHA1 (consul-0.9.3.tar.gz) = 0ab4038871d28250e8b1347bac69270b7ff6d553
-RMD160 (consul-0.9.3.tar.gz) = 2c4098153128799cef7c113d203b58817a6da9ff
-SHA512 (consul-0.9.3.tar.gz) = a1c9cdd3e197afbf088bd1866af15c1864cb8d042dc65d2fcc0d9070b8bf2f9380cf2ceadaff6d5bba7ecd379d53f4b8191e1ae6832f1b2c82f21c62f07d8b0f
-Size (consul-0.9.3.tar.gz) = 7278357 bytes
+SHA1 (consul-1.0.0.tar.gz) = db8fe3f4d491425ecee3555654d308f640515b48
+RMD160 (consul-1.0.0.tar.gz) = f74157f9eb9d1ca8401cfb52f5f51d57cee1dd56
+SHA512 (consul-1.0.0.tar.gz) = 8223f79aa1b7bfc5693168b56fbe9a506ca504771c92328afeb99e78dce8699c7532582749a372dfed10dd4b7c440ace0dd248f1ae27247059da3e2f88293a88
+Size (consul-1.0.0.tar.gz) = 7354292 bytes



Home | Main Index | Thread Index | Old Index