Releases: cyrildewit/eloquent-viewable
Releases · cyrildewit/eloquent-viewable
v3.0.2
Fixed
- The method
delayInSession
isn't working properly
v3.0.1
v3.0.0
Added
- Added
Views
class with facade - Added
IpAddressResolver
contract with implementation - Added
HeaderResolver
contract with implementation - Added
VisitorCookieRepository
class - Added global helper
views
- Added
collection
column to views table shema - Added
withinPeriod
scope toView
model - Added
uniqueVisitor
scope toView
model
Changed
- Bumped minimum required PHP version to ^7.1
- Require viewable models to implement the
Viewable
contract - Added global
views()
helper - Remove IP address as fallback for visitor cookie when it doesn't exists
- Changed the
isBot
method name toisCrawler
inCrawlerDetector
contract and updated theCrawlerDetectAdapter
- Changed the visibility of the
$detector
property fromprotected
toprivate
- Add support for
5.7.*
ofilluminate/config
tocomposer.json
- Moved config file from
publishable/config
toconfig/
- Replace
create_views_table
stub with real migration file and load it inside the service provider - Allow strings to be passed to the constructor of the
Period
class - Extracted key generation logic from
Period
class to theKey
class
Removed
- Removed the
ViewTracker
class - Removed the
ViewableService
class - Removed the
ProcessView
job - Removed the
update_views_table
migration file fromresources/database/migrations
- Removed
illuminate/bus
as dependency - Removed
illuminate/queue
as dependency - Removed
illuminate/routing
as dependency
v2.5.0
Fixed
orderByViewsCount
scope doesn't adhere to connection prefix
v2.4.3
Fixed
- Data too long for column
visitor
v2.4.2
Fixed
- ProcessView job is always failing
v2.4.1
Fixed
- View is saved before ProcessViews job is ran
v2.4.0
Changed
- Add support for Laravel 5.7
Deprecated
- 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
Added
- Add
orderByUniqueViewsCount
scope toViewable
trait