Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.39 KB

CHANGELOG.md

File metadata and controls

50 lines (30 loc) · 1.39 KB

Changelog

All notable changes to archivalist will be documented in this file

1.0.0 - 2021-22-10

  • Added PSR-4 Autoloader support to a new major version

0.2.3 - 2020-07-17

Added

  • Added support for JSON relationships, see the repo for more details
  • Added BeforeArchive callback function. See readme for details on its usage.

0.2.2 - 2020-07-13

Added

  • Added support for Laravel 6.x
  • Added docs for mass assignment workaround

0.2.0 - 2020-07-10

Added

  • 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

Changed

  • Pderas\Archivalist\Models\Archive@rehydrate now requires a parent model to be supplied, which the rehydration will be based off

Fixed

  • hydration is now based on the previous archive, and not the current model value

Security

  • $hidden attributes will no longer be archived

0.1.0 - 2020-07-08

  • initial release