Skip to content

6.0.0

Compare
Choose a tag to compare
@antonkomarev antonkomarev released this 25 Feb 02:04
· 172 commits to master since this release

Package API was refactored from a scratch.
Code has a lot of breaking changes and cannot be updated easily.

Follow upgrade instructions to migrate database to new structure.

Added

  • Laravel 5.8 support
  • ReactionType model
  • Reacter model
  • Reactant model
  • ReactionTotal model
  • ReactionHasBeenAdded event
  • ReactionHasBeenRemoved event
  • love_reacters database table was added
  • love_reactants database table was added
  • love_reaction_types database table was added
  • love_reactant_reaction_totals database table was added

Changed

  • Liker trait replaced with Reacterable
  • Likeable trait replaced with Reactable
  • LikeCounter model replaced with ReactionCounter
  • love_likes database table was replaced with love_reactions
  • love_like_counters database table was replaced with love_reactant_reaction_counters
  • ReactionCounter updates on background using queue
  • ReactionTotal updates on background using queue

Removed

  • Laravel 5.5 support obsolete
  • PHP < 7.1.3 support obsolete
  • LikeableWasLiked event was removed
  • LikeableWasDisliked event was removed
  • LikeableWasUnliked event was removed
  • LikeableWasUndisliked event was removed

View the changes from 5.2.0 to 6.0.0