Skip to content

Releases: dcarbone/php-consul-api

0.6.2.1: CAS Bugfix

Choose a tag to compare

@dcarbone dcarbone released this 14 May 21:04

Addressing #15, KVClient::cas will now properly update the kv value, rather than nil'ing it out.

0.6.2: CAS Bugfix

Choose a tag to compare

@dcarbone dcarbone released this 14 May 19:38

This release addresses #15:

  • Values class now implements \Iterator and \ArrayAccess
  • KVClient::cas and KVClient::deleteCAS now properly check response bool
  • phpunit has been merged into single file and contents have been cleaned up.

Cleanup Release

Choose a tag to compare

@dcarbone dcarbone released this 07 Jul 15:57

This release contains zero functionality changes. Its aim is to reduce the exported package size by removing items contained in the .gitattributes file.

0.6.1: Minor cleanup and features

Choose a tag to compare

@dcarbone dcarbone released this 07 Jul 15:11
- Making both phpunit config files uniform
- Adding new "ConsulUsageTest" class
- Renaming "AbstractClient::$c" to "AbstractClient::$config"
- Updating README slightly
- The "Pretty" param in "QueryOptions" will now be output correctly
- The "QueryMeta" object now supports "AddressTranslationEnabled"

Bugfix release

Choose a tag to compare

@dcarbone dcarbone released this 20 May 22:26

Addresses bug present in PreparedQueryClient, addressed by PR #11

0.5.1: Better Guzzle Client integration

Choose a tag to compare

@dcarbone dcarbone released this 10 May 15:57

Adds support for the following Consul environment variables:

  • CONSUL_CACERT
  • CONSUL_CLIENT_CERT
  • CONSUL_CLIENT_KEY

Client is only created by constructor if not set by config array

Use Guzzle

Choose a tag to compare

@dcarbone dcarbone released this 09 May 02:30

Just use guzzle directly. Easier, and actually allows support of all env vars.

0.4.5: Minor updates

Choose a tag to compare

@dcarbone dcarbone released this 19 Apr 20:00
- Adding some input validation to "AgentClient::updateTTL"
- Adding various "Health*" constants to "Consul" class
- Adding "Notes", "TLSSkipVerify", and "DeregisterCriticalServiceAfter" properties to "AgentServiceCheck" class
- "Error" no longer prints out timestamp when __toString is called.

PHPDoc correction

Choose a tag to compare

@dcarbone dcarbone released this 19 Apr 14:59

Minor release that corrects some PHPDoc tags.

0.4.4: Cleanup and extraneous code removal

Choose a tag to compare

@dcarbone dcarbone released this 10 Apr 20:57
- Removing "Collection" concept entirely
- Removing "AbstractCollection" class
- Removing "AbstractOptions" class
- Removing "ConsulHttpParamContainerTrait" trait
- Removing "Logger" system, wasn't used and we bubble up errors anyway
- "Request::headers" and "Request::params" are now instances of "Values"
- "Values" closely mimics go's URI.Query property, albeit without any encoding options.