Laravel Versionable Versions Save

⏱️Make Laravel model versionable

4.6.2

2 days ago

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/4.6.1...4.6.2

5.1.3

3 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.1.2...5.1.3

5.1.2

3 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.1.1...5.1.2

5.1.1

1 month ago

5.1.0

1 month ago

What's Changed

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.0.0...5.1.0

5.0.0

1 month ago

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.

4.6.0

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/4.5.0...4.6.0

5.0.0-beta.1

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/4.5.0...5.0.0-beta.1