Releases: dcarbone/php-consul-api
v1.1.0
v1.0.5: Guzzle dep update
This release includes the following:
- Updating
guzzlehttp/psr7from~1to~2 - Updating test suite to allow for more centralized test config creation
v1.0.4: Allow nulls in middle of lists
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
Addressing a few PHP 7.4 uninitialized class var issues.
v1.0.2: bugfixes
Improved serialization and fixes to catalog package and tests.
v1.0.0 - Rewrite
This release is comprised of over a year of off-and-on work.
The primary highlights are:
- This library now requires php 7.4+ to take advantage of object property type-hinting
- All methods now return an object rather than an array
- This object implements
\ArrayAccess, so you may still use eitherlist()or[]to expand the response.
- This object implements
- Vastly slimmed down per-method complexity, making future maintenance and feature addition much easier
- Providing support for where-appropriate
json:"omitemptyandjson:"-"functionality on models - Added many new types to various packages, and many new constants to the
Consultype - 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
Addresses #19
0.6.3: KVClient Lock Bugfix
Fixing KVClient::acquire and release methods to properly pass KV value along with requests.
0.6.2.1: CAS Bugfix
Addressing #15, KVClient::cas will now properly update the kv value, rather than nil'ing it out.
0.6.2: CAS Bugfix
This release addresses #15:
Valuesclass now implements\Iteratorand\ArrayAccessKVClient::casandKVClient::deleteCASnow properly check response bool- phpunit has been merged into single file and contents have been cleaned up.