2.0.0-beta
Pre-release
Pre-release
Please see UPGRADING for details on how to upgrade.
Added
- Added
Item::mergeAppends,Item::mergeCasts,Item::mergeFillableandItem::mergeGuarded.
Changed
- Renamed
Item::addHiddentoItem::makeHidden. - Merged
Item::addVisibleandItem::withHiddenintoItem::makeVisible. - Changed visibility of
Item::getAttributeValueto public. - The item's
toArraymethod will now cast any attributes that implementIlluminate\Contracts\Support\Arrayableto an array. - The item's
newInstancemethod will now copy the type of the original item.
Removed
- Dropped Laravel <6 and PHP <7.2 support.
- Removed
jenssegers/modeldependency and added the classes into the package. - Removed unintended array access to internal properties on the item (e.g.
$item['attributes']). - Extracted Laravel parts (config, service provider and facades) into swisnl/json-api-client-laravel.