Skip to content

Events, Morphed items and fixes

Choose a tag to compare

@stierler stierler released this 02 Aug 02:33
· 74 commits to master since this release
  • Events: Added 3 events: revisionable.created, revisionable.saved, and revisionable.deleted
  • Morphs: revisionable_type now is set via $this->getMorphClass() instead of get_class($this).
  • Fixed issue where keys containing _id but not at the end of the string were considered relationships.
  • Fixed hardcoded "deleted_at" column, now respects the getDeletedAtColumn().
  • getUserId() has been renamed to getSystemUserId() to prevent issues with others.
  • Updated/fixed some logic that could cause breakage. array_merge of do/dontKeep and keepRevisionOf*
  • Minor documentation updates.