Skip to content

Releases: overtrue/laravel-versionable

5.2.1

15 May 22:56
7d51fae
Compare
Choose a tag to compare

What's Changed

  • test: add failing test for diff triming the data by @mansoorkhan96 in #72
  • Versionable::createInitialVersion fails if any global scope excludes … by @swolley in #74

New Contributors

Full Changelog: 5.2.0...5.2.1

5.2.0

25 Apr 10:31
58cf86d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.1.4...5.2.0

4.6.3

25 Apr 10:34
29656a8
Compare
Choose a tag to compare

Full Changelog: 4.6.0...4.6.3

5.1.4

04 Apr 04:59
bd85b35
Compare
Choose a tag to compare

Full Changelog: 5.1.3...5.1.4

5.1.3

03 Apr 07:40
f72f143
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.1.2...5.1.3

5.1.2

02 Apr 13:02
57ea731
Compare
Choose a tag to compare

What's Changed

  • fix: respect $dontVersionable when checking if version should be created by @mutschler in #61
  • [PoC] add diff support for diff strategy by @mutschler in #62
  • Fix diffs when it's an array by @simonhamp in #65

New Contributors

Full Changelog: 5.1.1...5.1.2

5.1.1

16 Mar 15:40
927acf2
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.1.0...5.1.1

5.1.0

09 Mar 15:48
36157a2
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.0.0...5.1.0

5.0.0

08 Mar 06:59
Compare
Choose a tag to compare

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.

5.0.0-beta.1

08 Mar 05:00
Compare
Choose a tag to compare
5.0.0-beta.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 4.5.0...5.0.0-beta.1