Releases
v4.0.0
Compare
Sorry, something went wrong.
No results found
Added
Added SortDirection enum class that contains a DESCENDING and ASCENDING constant
Added OrderByViewsScope class that can order a query by views based on some options
Added collection($collection) query scope to View model
Added the ability to pass a collection to the orderByViews and orderByUniqueViews query scope
Added a new CacheKey class with a new improved approach to making keys for the cache
Added getStartDateTimestamp and getEndDateTimestamp methods to the Period class for internal use
Added string $collection = null argument to push, createNamespaceKey and createViewableKey methods in ViewSessionHistory
Deprecated
Deprecated the overrideIpAddress method of the Views class. Please use the new useIpAddress(string $address) method instead.
Deprecated the overrideVisitor method of the Views class. Please use the new useVisitor(string $visitor) method instead.
Changed
Replaced inner code of the orderByViews and orderByUniqueViews query scope with the new OrderByViewsScope class
Removed the string type declaration from the getTable method in the View model class #165
Removed
Removed the Support\Key class with its references
You can’t perform that action at this time.