Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Releases: PlayFab/consuldotnet

0.7.2.6

25 Jul 18:52
1578502
Compare
Choose a tag to compare
  • Add meta dictionary to the service payloads of the agent API

0.7.2.5

27 Jun 17:04
fca67b4
Compare
Choose a tag to compare

Add ServiceMeta

0.7.2.4

25 Jan 16:10
Compare
Choose a tag to compare
  • Fix a few lock related bugs.

0.7.2.0

04 Jan 22:22
Compare
Choose a tag to compare
  • New APIs ported:
    • Snapshot API. Requires >= Consul 0.7.1 to use.
    • Keyring API. Requires >= Consul 0.7.2 to use.
    • Agent Leave/Reload APIs. Requires >= Consul 0.7.2 to use.
  • Added TLSSkipVerify and DeregisterCriticalServiceAfter to the
    AgentServiceCheck class. Requires >= Consul 0.7.0 to use.
  • Added Health.AggregatedStatus() extension method to any
    IEnumerable<HealthCheck> to roll up a set of checks. Can be used
    with any version of Consul.
  • Renamed CheckStatus to HealthStatus. This affects the
    AgentServiceCheck and AgentCheck classes.
  • Changed the Health.HealthCheck Status field to be of type
    HealthStatus instead of string.

0.7.0.4

20 Dec 23:34
Compare
Choose a tag to compare

Added a couple missing interfaces to IConsulClient. Thanks @chrishoffman!

0.7.0.3

02 Nov 22:33
Compare
Choose a tag to compare

Cleaned up a few minor logic errors and made disposal of internally-used CancellationTokenSources a lot more explicit instead of leaking them.

0.7.0.2

10 Oct 13:47
Compare
Choose a tag to compare

Fix unexpected upgrade to .NET 4.5.1.

0.7.0.1

22 Sep 04:08
Compare
Choose a tag to compare

Fixed a variety of bugs that could cause sessions to be destroyed if provided to a Lock or Semaphore via a LockOptions or SemaphoreOptions object.

0.7.0

15 Sep 14:28
Compare
Choose a tag to compare
  • The method of configuring the ConsulClient has been reworked. It now
    uses Actions to configure the options inside itself - e.g.
    var client = new ConsulClient((cfg) => { cfg.Datacenter = "us-west-2"; }
    See the file Consul.Test/ClientTest.cs and the test method
    Client_Constructors() for more examples. The old method will work
    but has been made Obsolete.
  • The ExecuteAbortableLocked method has been removed.
  • Requests to use the X-Consul-Token header instead of the ?token=
    query parameter. This may break use of ACLs with very old Consuls (<
    0.6.0). Please file an issue if this breaks for you.
  • Ported in changes from the Consul Go API for 0.7.0. Most of these
    require 0.7.0 servers/agents. The changes are:
    • Atomic transactions for the KV store
    • Only retry locks/semaphores on Consul errors, not on all errors
    • Add the Near property to Prepared Queries
    • Add Query Templates to Prepared Queries, with regex filtering
    • Change all requests to use the X-Consul-Token header instead of
      the ?token= query parameter.
    • Add the ability to deregister a service that has been critical for
      an arbitrary period of time.
    • Signal WAN address translation and add the ability to look up
      the WAN and LAN addresses if address translation is being used.
    • Added Operator API to allow Raft editing.
  • Added the ability to set LockOpts.LockRetryTime. Thanks @pfrejlich!
  • Add an optional CancellationToken parameter to every method that ends up
    doing an HTTP request. Some of these can create an unstable Consul state
    (e.g. allowing the release of a distribted Semaphore to be canceled) but in
    many cases they should only be used if the call can possibly fail and a
    secondary timeout is needed.
  • Add .NET Core port and build process thanks to work by @akatz0813.
  • Converted all Locks and Semaphores to be totally async thanks to
    work by @mjgoethe.
  • Entirely removed the method ExecuteAbortableLocked and all
    functionality around aborting a thread based on a Consul lock.
  • Reworked configuration of the ConsulClient to use Action<T> to
    configure options.

0.6.4.6

30 May 18:25
Compare
Choose a tag to compare

Reverse runtime check for mono to actually disable client certs under that
platform.