Skip to content

Releases: dcarbone/php-consul-api

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

PSR and Consul 0.7 Compatiblity Release

05 Jan 02:47
Compare
Choose a tag to compare

PSR-3

  • The old logging system has been gutted in favor of one that is fully PSR-3 compliance

PSR-7

  • The entire HTTP request system has been gutted to allow the user to specify a PSR-7 compliant HTTP client of their own.

Definition Tests

  • All objects used for requests and responses in this lib now have have a suite of definition tests to try to help ensure stable usage

Consul API 0.7 work

  • Additional methods and cleanup have been done in an attempt to follow some of the good ideas brought on by the root Go library