Skip to content

5.0.0

Compare
Choose a tag to compare
@overtrue overtrue released this 08 Mar 06:59
· 29 commits to 5.x since this release

Added

  • Added oldestVersions()
  • Added latestVersions()

Updated

  • Added pre-existing version detection before updating and create if not exists. by @mansoorkhan96 #53
  • setVersionStrategy(string $strategy) now accept string or enum class: setVersionStrategy(string|VersionStrategy $strategy).
  • VersionStrategy::SNAPSHOT will no longer contain all model attributes, but only all $versionable attributes.
  • Fixed revert logic under VersionStrategy::DIFF strategy.
  • Deprecated history() and replaced with latestVersions()

Removed

  • Removed auto migration.