Skip to content

Releases: dcarbone/php-consul-api

0.6.1: Minor cleanup and features

07 Jul 15:11
Compare
Choose a tag to compare
- 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

20 May 22:26
Compare
Choose a tag to compare

Addresses bug present in PreparedQueryClient, addressed by PR #11

0.5.1: Better Guzzle Client integration

10 May 15:57
Compare
Choose a tag to compare

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

09 May 02:30
Compare
Choose a tag to compare

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

0.4.5: Minor updates

19 Apr 20:00
Compare
Choose a tag to compare
- 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

19 Apr 14:59
Compare
Choose a tag to compare

Minor release that corrects some PHPDoc tags.

0.4.4: Cleanup and extraneous code removal

10 Apr 20:57
Compare
Choose a tag to compare
- 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.

0.4.3

05 Apr 02:03
Compare
Choose a tag to compare

Fixes KVPair value decoded

0.4.2

31 Mar 02:27
Compare
Choose a tag to compare
Correcting some return statements.

0.4.1: Major overhaul

28 Mar 15:07
Compare
Choose a tag to compare
- Objects and arrays are now "null" by default
- No longer attempting to create Query or WriteMeta objects on error
- Lots of fixes in PSR-7 objects
- Minor documentation updates