Skip to content

v1.0.0 - Rewrite

Compare
Choose a tag to compare
@dcarbone dcarbone released this 10 Feb 02:19

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 :)