All notable changes to archivalist
will be documented in this file
- Added PSR-4 Autoloader support to a new major version
- Added support for JSON relationships, see the repo for more details
- Added BeforeArchive callback function. See readme for details on its usage.
- Added support for Laravel 6.x
- Added docs for mass assignment workaround
- added
\Pderas\Archivalist\Archivalist
facade - added
\Pderas\Archivalist\Archivalist::proxy($query)
to proxy & archive mass updates - added
Pderas\Archivalist\Models\Archive@getTableColumns
- added
Pderas\Archivalist\Models\Archive@getRelatedModel
- added
Pderas\Archivalist\Models\Archive@getRelatedClass
- added
Pderas\Archivalist\Models\Archive@getRelatedId
- added
Pderas\Archivalist\Models\Archive@getRelatedId
- added
Pderas\Archivalist\Models\Archive@getArchivedData
Pderas\Archivalist\Models\Archive@rehydrate
now requires a parent model to be supplied, which the rehydration will be based off
- hydration is now based on the previous archive, and not the current model value
$hidden
attributes will no longer be archived
- initial release