All notable changes to view-models
will be documented in this file
- initial release
- fix composer requirements
- add use of redisRemember helper function
- add use of RedisCache service
- add support for Laravel 8
- add support for php 7.1 & Laravel 5
- bump sfneal/string-helpers min version to prevent conflicts with sfneal/array-helpers
- optimize Travis CI test suite
- add support for php8
- fix support for php8
- add improved type hinting
- fix issue with 'none' return type in setDay method()
- add setTTL() method to AbstractViewModel for setting $ttl property during runtime
- fix use of inString helper function with import of StringHelpers
- bump min sfneal/redis-helpers & sfneal/string-helpers composer version to 1.0
- add badges to readme
- refactor test suite (brought in several from spatie/laravel-view-models)
- add use of redis-helpers 'ttl' config key instead of env() helper method
- fix min spatie/laravel-view-models composer package version
- initial production release
- update documentation
- add improved test suite to that tests caching
- refactor several private AbstractViewModel methods to public facing methods
- bump min sfneal/redis-helpers version
- fix issue with cache invalidation leading to rendered ViewModels not being deleted
- fix AbstractViewModel::$view property type hinting
- add sfneal/caching composer requirement to make use of IsCacheable trait
- add use of IsCacheable trait in AbstractViewModel
- make PdfViewModel trait for use in ViewModel's that can be used for PDF Exports
- make PreCacheViewModel Job for caching ViewModels within the Job queue to provide faster response times
- add sfneal/queueables to composer requirements
- depreciated sfneal/view-model-precache package
- fix sfneal/queueables version constraint (^1.0)
- bump sfneal/queueables min version to ^2.0
- refactor
AbstractViewModel
toViewModel
- optimize Travis CI config & add code coverage uploading
- add support for sfneal/caching v2.0
- add support for sfneal/redis-helpers v2.0
- cut use of
RedisCache::remember()
method
- make
CachingPreferences
trait that's used byViewModel
for conditionally disabling caching in different app environments - add
dontCacheInDevelopment()
,dontCacheInProduction()
&dontCacheIf()
methods toCachingPreferences
&ViewModel
- add sfneal/laravel-helpers composer requirement for checking app env
- cut support for PHP7.2 & below
- add use of GitHub actions
- add support for sfneal/caching version v3.0
- cut support for PHP 7
- add use of new GitHub actions
- add support for PHP 8.2 & 8.3
- removed unused classes/files
- add return type hinting
- general code cleanup
- bump sfneal/caching requirement from ^2.0|^3.0 to ^2.0|^3.0|^4.0
- bump sfneal/redis-helpers requirement from ^1.2|^2.0 to ^1.2|^2.0|^3.0