Skip to content

Releases: dcarbone/php-consul-api

v1.0.4: Allow nulls in middle of lists

06 Aug 14:15
Compare
Choose a tag to compare

Addresses #22. I doubt this impacts very many / any users, but mutating responses in this way was a bad idea either way.

v1.0.3: Uninitialized class var fixes

28 Apr 01:25
Compare
Choose a tag to compare

Addressing a few PHP 7.4 uninitialized class var issues.

v1.0.2: bugfixes

10 Feb 05:51
Compare
Choose a tag to compare

Improved serialization and fixes to catalog package and tests.

v1.0.0 - Rewrite

10 Feb 02:19
Compare
Choose a tag to compare

This release is comprised of over a year of off-and-on work.

The primary highlights are:

  1. This library now requires php 7.4+ to take advantage of object property type-hinting
  2. All methods now return an object rather than an array
    • This object implements \ArrayAccess, so you may still use either list() or [] to expand the response.
  3. Vastly slimmed down per-method complexity, making future maintenance and feature addition much easier
  4. Providing support for where-appropriate json:"omitempty and json:"-" functionality on models
  5. Added many new types to various packages, and many new constants to the Consul type
  6. Added php-cs-fixer to take the place of the old Definition tests, which were prohibitively tedious to maintain

There are almost assuredly bugs in this release. The usage tests I had before run, but they are not yet comprehensive. I will add more as I get time, and as always welcome input from people who'd like to chip in :)

0.6.4: WriteOptions bugfix

08 Jul 15:19
6524ceb
Compare
Choose a tag to compare

0.6.3: KVClient Lock Bugfix

15 May 19:42
Compare
Choose a tag to compare

Fixing KVClient::acquire and release methods to properly pass KV value along with requests.

0.6.2.1: CAS Bugfix

14 May 21:04
Compare
Choose a tag to compare

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

0.6.2: CAS Bugfix

14 May 19:38
Compare
Choose a tag to compare

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

07 Jul 15:57
Compare
Choose a tag to compare

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

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"