Skip to content

Latest commit

 

History

History
219 lines (148 loc) · 8.23 KB

CHANGELOG.md

File metadata and controls

219 lines (148 loc) · 8.23 KB

Changelog

Next

  • add Diplomat::Kv.get_all #201 to have better semantics with unique/multiple key/values

2.2.5

Support Consul 1.4.x ACLs

  • add Diplomat::Policy

  • add Diplomat::Token

  • add PolicyAlreadyExists error class as ID cannot be specified when creating an ACL policy

  • add test for token creation with a specific AccessorID

Strip leading slashes from keys in API requests

When using an invalid token, properly return AclNotFound (Will work with Consul 1.4+)

2.2.4

Now diplomatic_bag installs cleanly from rubygems.org

2.2.3

Cleaner packaging of diplomatic_bag

2.2.2

Fixed dependencies of diplomatic_bag. Install properly binaries for diplomatic_bag.

2.2.1

First release of diplomatic_bag published on rubygems.org (fixed travis)

2.2.0

This release includes a new gem called diplomatic_bag that provides some small command line utilities to inspect Consul thanks to @tionebsalocin.

Other changes:

  • Diplomat::Service.get(service_name) now supports lookup with more than 1 tag #191

2.1.3

Bugfix release 3. Ensure to keep existing JSON serialization from 2.0.x

Will fix WeAreFarmGeek#189

2.1.2

Bugfix relase: fix #188

Release 2.1.0 did break a few things. Ensure more compatibility with 2.0.x

2.1.1

Bugfix release.

  • Fix for #186

2.1.0

This release cleanup a lot the existing APIs while preserving ascending compatibility. It will avoid relying on side effects to configure diplomat and allow to override most configuration options per API call as implemented in WeAreFarmGeek#179. It is now easy to use one instance of the lib and to perform several calls with different tokens and/or consistency options for instance.

Full changelog:

  • Fix behavior of HTTP 302 on some 2.5 ruby releases (#181 fix #171)
  • Set flags attribute on KVPair during lock acquisition and release (#180)
  • Now allow to override most parameters per request (#179)
  • use dedup for safer/simpler conversion of results to hash #176

2.0.5

2.0.4

  • automatic GEM publication from Travis when a tag is pushed
  • Depreciate old Ruby version 2.2.x
  • Bump bundler to version 2.0.x

2.0.3

  • 2018-09-06 Allow to register/deregister entities using tokens
  • 2017-11-09 Josep M. Blanquer (@blanquer) Fix service deregister to use the proper verb (PUT instead of GET). Consul 1.x seems to have started enforcing it.

2.0.2

BREAKING CHANGES

  • Single values now consistently return an Openstruct instead of just the value
  • The Faraday adapter is now set after the request (See faraday#685 for more information)

2.0.1

  • 2017-08-01 Trevor Wood [email protected] Fix Resolve inconsistent recursive return for Diplomat::KV.get when single value

2.0.0

  • 2017-07-28 Eugen Mayer [email protected] Do not set the adapter on faraday prior the request (#149)
  • 2017-07-21 Ben Wu [email protected] fix single key/value in Diplomat::Kv.get with convert_to_hash option ON (#147)
  • 2017-04-26 Trevor Wood [email protected] Add service maintenance API call

1.3.0

  • 2017-01-23 Trevor Wood [email protected] Add key/value store transaction API endpoint
  • 2017-02-15 Paul Thomas [email protected] Allow events to target another datacenter
  • 2017-01-23 Adam Wentz [email protected] Defend against newlines added to responses in dev mode where pretty-printing is enabled by default.
  • 2017-04-07 Zane Williamson [email protected] Add cluster status API endpoint

1.2.0

1.1.0

  • 2016-08-09 Stefan Merettig [email protected] Add .respond_to? and .respond_to_missing? to Diplomat::RestClient
  • 2016-09-21 Dana Pieluszczak [email protected] Add recurse option to Kv#delete
  • 2016-10-24 Ryan Duffield [email protected] Add tag option to Health#service
  • 2016-11-05 Trevor Wood [email protected] Diplomat::Node.get returns a hash instead of an OpenStruct

0.19.0, 1.0.0

  • 2016-08-02 John Hamelink [email protected] Improve ACL and Event endpoints by uniformly raising an error for statuscodes which aren't 200.
  • 2016-08-02 Sandstrom [email protected] Add documentation for listing all keys
  • 2016-08-02 Alexander Vagin [email protected] Add state option to Health service
  • 2016-08-02 John Hamelink [email protected] Removed Ruby 1.x support. Added check to raise error for ruby versions <
  • 2016-07-27 Kendrick Martin [email protected] Added the ability to return k/v data as ruby hash

0.18.0

  • 2016-05-24 Jiri Fajfr [email protected] Added Support for ACL in Node, Service and Event
  • 2016-05-24 Aaron Brown [email protected] Added Diplomat::Maintenance class with #enable and #enabled? methods.
  • 2016-05-03 Joshua Delsman [email protected] Added ability to register/deregister nodes

0.17.0

  • 2016-04-27 Ryan Schlesinger [email protected] Added external service registration
  • 2016-04-27 Improvements to ACL info method when the ACL doesn't exist

0.16.2

  • 2016-04-13 Grégoire Seux [email protected] Refactor HTTP deserialization to allow for raw responses to deserialize properly.
  • 2016-04-13 Add the ACL token, if configured, to lock calls

0.16.1

0.16.0

0.15.0