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:"omitempty
andjson:"-"
functionality on models - Added many new types to various packages, and many new constants to the
Consul
type - 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 :)