This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Releases: nimbly/Remodel
Releases · nimbly/Remodel
Release list
Release 2.1
Features
- Adding
setDefaultIncludesmethod to override default includes at run time.
Release 2.0.1
Fixes
- Throw exception if Transformer instance does not have a
transformmethod. - Checking included subjects against instance of
Subject, notstatic.
Release 2.0
Improvements
- Transforming large data sets in Collection now up to 2x faster.
- Support for PHP 8.0
Additions
- Added
Transformer::emptyObject()method that will transform into an empty\stdClassinstance.
Breaking changes
- New namespace
Nimbly\Remodel - Moved namespace
ResourcestoSubjectsdue to conflict with reserved PHP keyword. - Sub-includes in transformer now must have the
Includename in method. For example:addressInclude(). - Default includes property moved from
$inclduesto$defaultIncludes. - Renamed
Transformer::nullCollection()method toemptyCollection(). - Renamed
Transformer::toData()toremodel().