Skip to content

Releases: mikebronner/laravel-model-caching

0.6.2

26 Jul 20:10
Compare
Choose a tag to compare
0.6.2 Pre-release
Pre-release

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

20 Jul 21:52
Compare
Choose a tag to compare
0.6.1 Pre-release
Pre-release

Added

  • config and environment variable to allow removal of database information from cache-key.

0.6.0

20 Jul 20:01
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

Changed

  • environment variable MODEL_CACHE_DISABLED to MODEL_CACHE_ENABLED to better conform to standards.

Fixed

  • how cache key is constructed for SQLite.

0.5.6

20 Jun 21:59
Compare
Choose a tag to compare
0.5.6 Pre-release
Pre-release

Removed

  • all use of helper methods to allow non-Laravel apps to use this package:
    • app()
    • config()
    • cache()
    • db()
    • now()
    • request()

0.5.5

28 May 02:00
Compare
Choose a tag to compare
0.5.5 Pre-release
Pre-release

Fixed

  • parsing of soft-deleted-related queries:
    • withTrashed()
    • onlyTrashed()
    • withoutTrashed()

0.5.4

28 May 00:51
Compare
Choose a tag to compare
0.5.4 Pre-release
Pre-release

Fixed

  • parsing of global scopes. Rewrote how global scopes are analyzed to create appropriate cache key.

0.5.3

25 May 02:24
Compare
Choose a tag to compare
0.5.3 Pre-release
Pre-release

Fixed

  • calling flushCache() on non-cachable related models.

0.5.2

21 May 16:44
Compare
Choose a tag to compare
0.5.2 Pre-release
Pre-release

Pushed changes intended for 0.5.1. Forgot to push changes to repo. 👀

0.5.1

21 May 15:27
801dacf
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

Fixed

  • caching of where clauses using DateTime instead of Carbon.

0.5.0

21 May 03:32
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Changed

  • implementation of model-based cache prefix.
  • the way tests are run to be MUCH more performant.

Removed

  • dead code.