Releases: mikebronner/laravel-model-caching
Releases · mikebronner/laravel-model-caching
0.4.24
Fixed
- BelongsToMany relationship to not cache if the target model is not also cachable.
0.4.23
Added
- tests for lazy-loading the following relationships:
- BelongsTo
- BelongsToMany
- HasMany
- HasOne
Fixed
- BelongsToMany relationship cache not being automatically invalidated.
0.4.22
Fixed
- issue introduce in previous release related to cache cooldown and prefixes.
0.4.21
Added
- my own implementation of laravel pivot events, based on
fico7489/laravel-pivot
.
Fixed
- Laravel Telescope compatibility.
Removed
- dependency on
fico7489/laravel-pivot
.
0.4.20: Merge pull request #247 from GeneaLabs/feature/add-belongs-to-many-cache
Pre-release
Added
- caching lazy-loading of belongs-to relationships. Thanks @tmishutin for leading the way forward on this effort! Hopefully this solution will work as a template for lazy-loading other relationship types going forward.
Fixed
- an issue with prefixing found during testing.
Removed
- unused code.
0.4.19
Added
- work-around for Laravel Telescope compatibility to README.
0.4.18
Fixed
- polymorphic relationship caching, as well as other queries using
InRaw
.
0.4.17
Fixed
- generation of cache key where clauses.
0.4.16
Changed
- the way the database name is determined when creating the cache prefix.
0.4.15
Fixed
- bindings used in
whereIn
clauses.