Skip to content

5.0.0

Compare
Choose a tag to compare
@antonkomarev antonkomarev released this 16 Jan 03:26
· 199 commits to master since this release
7aa7935

Upgrade guide from v4 to v5

Added

  • Added Cog\Contracts\Love\Liker\Models\Liker contract with methods like, dislike, unlike, undislike, toggleLike, toggleDislike, hasLiked, hasDisliked

Changed

  • Method like renamed to likeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method dislike renamed to dislikeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method unlike renamed to unlikeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method undislike renamed to undislikeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method liked renamed to likedBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method disliked renamed to dislikedBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method likeToggle renamed to toggleLikeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract
  • Method dislikeToggle renamed to toggleDislikeBy in Cog\Contracts\Love\Likeable\Models\Likeable contract

View the changes from 4.0.0 to 5.0.0