This repository was archived by the owner on Aug 17, 2025. It is now read-only.
Releases: phly/PhlyRestfully
Releases · phly/PhlyRestfully
PhlyRestfully 2.3.1
PhlyRestfully 2.3.0
Final release. Please use Apigility instead.
Added
- #135 adds an optional
$data = []parameter toResourceController::deleteList()for consistency with other methods. - #135 adds support for PHP 7 and HHVM.
- #107 suggests using zfr/zfr-cors to provide CORS support for your API.
- #126 adds an
__isset()method toHalResource, ensuring you can test for the identifier and/or resource (e.g., viaisset($halResource->id)).
Deprecated
- Nothing.
Removed
- #135 removes support for PHP versions less than 5.5.
Fixed
- #135 updates all references to
Zend\Stdlib\Hydratorto instead useZend\Hydrator. - #135 updates all
trigger()andtriggerUntil()usage with forwards-compatible variants. - #97 fixes the identifier comparison in
ResourceController::getIdentifier()to use a strict comparison to boolean false, and thus allow identifiers of0. - #104 corrects the logic in
ResourceParametersListener::detachSharedto pass the identifier. - #108 fixes identifier detection in
HalLinks::createResourceFromMetadata(), ensuring that if no identifier name is present in the metadata, a null identifier is used. - #124 fixes how HalLinks retrieves the identifier from an object when it is not in an
idfield, allowing for custom identifiers per entity.