Releases: renoki-co/laravel-eloquent-query-cache
Releases · renoki-co/laravel-eloquent-query-cache
3.1.2
- Fixed a bug where the
getCacheBaseTags
method used self::class
instead of the expected static::class
(#96)
2.7.1
- Fixed a bug where the
getCacheBaseTags
method used self::class
instead of the expected static::class
(69f16f9, 3.x ref: #96)
3.1.1
- Fix issues with the
getCacheKey()
being hardcoded as get
(#94)
3.1.0
- Define values within business logic to replace static properties for caching (#93, documentation)
3.0.0
- Added support for many to many automatic invalidations (#78)
Read the 3.x Documentation on Many-to-Many Automatic Cache Invalidation
getCacheTagsToInvalidateOnUpdate
changed:
For invalidation on many-to-many relations, $relation
will be the name of the relation (posts
, roles
, etc.) while $pivotedModels
will be a collection of models that got attached/detached/updated (Post
, Role
, etc.)
public function getCacheTagsToInvalidateOnUpdate($relation = null, $pivotedModels = null): array
{
//
}
2.7.0
- Added optional boolean parameter to
dontCache()
(#74)
2.6.1
- Added missing doc comments (#72, #77)
2.6.0
- Fixed a bug where
->get('something')
would have thrown an error. (#56, 4ca912a)
- Fixed a bug the
->subSelect()
with raw queries would have thrown an error. (#56, fb1367d)
- Added typehints for implementations (#56, 07a064a)
2.5.0
- Dropped Laravel 6.x
- Dropped PHP 7.2
- Added PHP 8.0