All notable changes to laravel-likeable
will be documented in this file.
3.1.0 - 2017-12-28
- Checks if model liked by user will try to search in eager loaded relations first
3.0.0 - 2017-08-24
- Laravel 5.5 support
- Laravel Package Auto-Discovery support
- Eloquent related method
getKey
&getMorphClass
added toCog\Likeable\Contracts\Likeable
contract collectLikers
,collectDislikers
&scopeOrderByDislikesCount
methods added toCog\Likeable\Contracts\Likeable
contractcollectLikersOf
&collectDislikersOf
methods toCog\Likeable\Contracts\LikeableService
contract
Cog\Likeable\Contracts
contract renamed toCog\Likeable\Contracts\Likeable
Cog\Likeable\Traits\HasLikes
trait renamed toCog\Likeable\Traits\Likeable
2.2.5 - 2017-07-10
- Event observing of custom
Like
model (#18)
2.2.4 - 2017-04-20
orderByDislikesCount
scope added toHasLikes
trait.scopeOrderByLikesCount
method toLikeableService
.
orderByLikesCount
count only likes now.
2.2.3 - 2017-04-20
orderByLikesCount
work in MySQL databases.
2.2.2 - 2017-04-09
orderByLikesCount
returns models without likes too.
2.2.1 - 2017-04-09
orderByLikesCount
database query fixed.
2.2.0 - 2017-04-09
Article::orderByLikesCount('asc')
scope for the model. Usesdesc
as default order direction.
2.1.0 - 2017-02-20
- Laravel 5.4 support.
2.0.1 - 2017-01-11
- Removed unused properties in
LikeObserver
(#12) - Foreign key in migration commented out (#11)
2.0.0 - 2016-09-11
- Renamed
FollowableService
methods to follow code style consistency:incrementLikeCount()
toincrementLikesCount()
decrementLikeCount()
todecrementLikesCount()
decrementDislikeCount()
todecrementDislikesCount()
incrementDislikeCount()
toincrementDislikesCount()
1.1.2 - 2016-09-07
- Fix enum like types
1.1.1 - 2016-09-07
- Fix likeable enums database default value
1.1.0 - 2016-09-07
- Renamed
HasLikes
trait methods to follow code style consistency:likeCounter()
tolikesCounter()
dislikeCounter()
todislikesCounter()
- Initial release