Releases: cyrildewit/eloquent-viewable
Releases · cyrildewit/eloquent-viewable
v2.4.0
Changed
- Add support for Laravel 5.7
Deprecated
- Deprecated the
CyrildeWit\Support\IpAddressclass - Deprecated the
CyrildeWit\Viewtrackerclass - Deprecated the
scopeOrderByViewsCountmethod in theViewabletrait - Deprecated the
scopeOrderByUniqueViewsCountmethod in theViewabletrait
v2.3.0
Added
- Add
orderByUniqueViewsCountscope toViewabletrait
v2.2.0
v2.1.0
This release accidentally contains no updates.
v2.0.0
Added
- Added
visitorcollumn to thecreate_views_tablemigration stub
Changed
- Changed the package name from
cyrildewit/laravel-page-view-countertocyrildewit/eloquent-viewable - Renamed the
HasPageViewCountertrait toViewable - Renamed the
PageViewCounterServiceProviderclass toEloquentViewableServiceProvider - Changed the namespace from
CyrildeWit\PageViewCounter\xxxto 'CyrildeWit\EloquentViewable' - Added new options to the config file and changed the structure
- Replaced the
addPageViewmethod withaddViewin theViewabletrait - Replaced all
getPageViews<suffix>methods withgetViewsin theViewabletrait
Removed
- Removed the
addPageViewThatExpiresAtmethod from theViewabletrait - The DateTransformer functionality has been removed
v1.0.5
v1.0.4
v1.0.3
v1.0.2
This fix was added by @peyman3d.
Fixed
- Fix where clauses in
retrievePageViews()method inHasPageViewCounterbecause they were overriding each other.
v1.0.1
Changed
- Removed the protected
transformDate()method from theHasPageViewCountertrait and put it into his own helper class:DateTransformer.