Skip to content

Releases: renoki-co/laravel-eloquent-query-cache

3.1.0

25 Sep 08:19
3168fb2
Compare
Choose a tag to compare
  • Define values within business logic to replace static properties for caching (#93, documentation)

3.0.0

17 Jul 18:03
a253bb0
Compare
Choose a tag to compare
  • 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

16 Jul 20:28
3e491d8
Compare
Choose a tag to compare
  • Added optional boolean parameter to dontCache() (#74)

2.6.1

16 Jul 20:12
b7b3bef
Compare
Choose a tag to compare
  • Added missing doc comments (#72, #77)

2.6.0

04 Feb 16:02
6c0f022
Compare
Choose a tag to compare
  • 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.1

20 Jan 08:24
1440be4
Compare
Choose a tag to compare

Security patches

2.5.0

20 Nov 08:33
c298c5c
Compare
Choose a tag to compare
  • Dropped Laravel 6.x
  • Dropped PHP 7.2
  • Added PHP 8.0

2.4.2

07 Sep 08:16
6a9e8bc
Compare
Choose a tag to compare
Update ci.yml

2.4.1

06 Sep 18:46
c6e1c72
Compare
Choose a tag to compare
Update composer.json

2.4.0

06 Sep 18:40
a59a0b1
Compare
Choose a tag to compare
  • Laravel 8.x