Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Releases: cybercog/laravel-likeable

3.1.0

28 Dec 23:46
bc5b71e
Compare
Choose a tag to compare

Changed

  • Checks if model liked by user will try to search in eager loaded relations first

View the changes from 3.0.1 to 3.1.0

3.0.1

02 Sep 02:16
Compare
Choose a tag to compare

Changed

  • UPDATED_AT constant replaced with setUpdatedAt column (#26)

View the changes from 3.0.0 to 3.0.1

3.0.0

26 Aug 22:44
Compare
Choose a tag to compare

Added

  • Laravel 5.5 support
  • Laravel Package Auto-Discovery support
  • Eloquent related method getKey & getMorphClass added to Cog\Likeable\Contracts\Likeable contract
  • collectLikers, collectDislikers & scopeOrderByDislikesCount methods added to Cog\Likeable\Contracts\Likeable contract
  • collectLikersOf & collectDislikersOf methods to Cog\Likeable\Contracts\LikeableService contract

Changed

  • Cog\Likeable\Contracts contract renamed to Cog\Likeable\Contracts\Likeable
  • Cog\Likeable\Traits\HasLikes trait renamed to Cog\Likeable\Traits\Likeable

View the changes from 2.2.5 to 3.0.0

2.2.5

10 Jul 09:39
Compare
Choose a tag to compare

Fixed

  • Event observing of custom Like model (#18)

View the changes from 2.2.4 to 2.2.5

2.2.4

20 Apr 20:15
Compare
Choose a tag to compare

Added

  • orderByDislikesCount scope added to HasLikes trait.
  • scopeOrderByLikesCount method to LikeableService.

Fixed

  • orderByLikesCount count only likes now.

View the changes from 2.2.3 to 2.2.4

2.2.3

20 Apr 02:48
Compare
Choose a tag to compare

Fixed

orderByLikesCount work in MySQL databases.

View the changes from 2.2.2 to 2.2.3

2.2.2

09 Apr 11:23
Compare
Choose a tag to compare

Fixed

  • orderByLikesCount returns models without likes too.

View the changes from 2.2.1 to 2.2.2

2.2.1

09 Apr 10:57
Compare
Choose a tag to compare

Fixed

  • orderByLikesCount database query fixed.

View the changes from 2.2.0 to 2.2.1

2.2.0

09 Apr 01:20
Compare
Choose a tag to compare

Added

  • Article::orderByLikesCount('asc') scope for the model. Uses desc as default order direction.

View the changes from 2.1.0 to 2.2.0

2.1.0

20 Feb 15:18
Compare
Choose a tag to compare

Added

  • Laravel 5.4 support

View the changes from 2.0.1 to 2.1.0