All notable changes to Eloquent Viewable
will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v2.4.0 (2018-09-11)
- Add support for Laravel 5.7
- Deprecated the
CyrildeWit\Support\IpAddress
class - Deprecated the
CyrildeWit\Viewtracker
class - Deprecated the
scopeOrderByViewsCount
method in theViewable
trait - Deprecated the
scopeOrderByUniqueViewsCount
method in theViewable
trait
v2.3.0 (2018-07-23)
- Add
orderByUniqueViewsCount
scope toViewable
trait
v2.2.0 (2018-07-23)
- Add the ability to add a delay between views from the same session (#73)
- Caching is now turned off as default
v2.1.0 (2018-06-06)
This release accidentally contains no updates.
v2.0.0 (2018-05-28)
This major version contains some serious breaking changes! See the upgrade guide for more information!
- Added
visitor
collumn to thecreate_views_table
migration stub
- Changed the package name from
cyrildewit/laravel-page-view-counter
tocyrildewit/eloquent-viewable
- Renamed the
HasPageViewCounter
trait toViewable
- Renamed the
PageViewCounterServiceProvider
class toEloquentViewableServiceProvider
- Changed the namespace from
CyrildeWit\PageViewCounter\xxx
to 'CyrildeWit\EloquentViewable' - Added new options to the config file and changed the structure
- Replaced the
addPageView
method withaddView
in theViewable
trait - Replaced all
getPageViews<suffix>
methods withgetViews
in theViewable
trait
- Removed the
addPageViewThatExpiresAt
method from theViewable
trait - The DateTransformer functionality has been removed