Releases: mikebronner/laravel-model-caching
Releases · mikebronner/laravel-model-caching
0.6.2
Added
- 'modelCache:publish' artisan command.
- Spatie's QueryBuilder package to list of incompatible packages.
Fixed
- registration of config file in service provider.
- detection if cache is disabled.
- flushing of cache for pivot events.
0.6.1
Added
- config and environment variable to allow removal of database information from cache-key.
0.6.0
Changed
- environment variable
MODEL_CACHE_DISABLED
toMODEL_CACHE_ENABLED
to better conform to standards.
Fixed
- how cache key is constructed for SQLite.
0.5.6
Removed
- all use of helper methods to allow non-Laravel apps to use this package:
- app()
- config()
- cache()
- db()
- now()
- request()
0.5.5
Fixed
- parsing of soft-deleted-related queries:
- withTrashed()
- onlyTrashed()
- withoutTrashed()
0.5.4
Fixed
- parsing of global scopes. Rewrote how global scopes are analyzed to create appropriate cache key.
0.5.3
Fixed
- calling
flushCache()
on non-cachable related models.
0.5.2
Pushed changes intended for 0.5.1. Forgot to push changes to repo. 👀
0.5.1
Fixed
- caching of where clauses using DateTime instead of Carbon.
0.5.0
Changed
- implementation of model-based cache prefix.
- the way tests are run to be MUCH more performant.
Removed
- dead code.