Skip to content

Releases: mikebronner/laravel-model-caching

0.4.24

18 May 20:39
Compare
Choose a tag to compare
0.4.24 Pre-release
Pre-release

Fixed

  • BelongsToMany relationship to not cache if the target model is not also cachable.

0.4.23

18 May 18:42
Compare
Choose a tag to compare
0.4.23 Pre-release
Pre-release

Added

  • tests for lazy-loading the following relationships:
    • BelongsTo
    • BelongsToMany
    • HasMany
    • HasOne

Fixed

  • BelongsToMany relationship cache not being automatically invalidated.

0.4.22

18 May 01:22
Compare
Choose a tag to compare
0.4.22 Pre-release
Pre-release

Fixed

  • issue introduce in previous release related to cache cooldown and prefixes.

0.4.21

17 May 22:32
Compare
Choose a tag to compare
0.4.21 Pre-release
Pre-release

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

17 May 21:01
3056852
Compare
Choose a tag to compare

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

16 May 16:02
Compare
Choose a tag to compare
0.4.19 Pre-release
Pre-release

Added

  • work-around for Laravel Telescope compatibility to README.

0.4.18

15 May 02:47
Compare
Choose a tag to compare
0.4.18 Pre-release
Pre-release

Fixed

  • polymorphic relationship caching, as well as other queries using InRaw.

0.4.17

12 May 16:08
Compare
Choose a tag to compare
0.4.17 Pre-release
Pre-release

Fixed

  • generation of cache key where clauses.

0.4.16

10 May 15:49
Compare
Choose a tag to compare
0.4.16 Pre-release
Pre-release

Changed

  • the way the database name is determined when creating the cache prefix.

0.4.15

09 May 17:59
3e99b83
Compare
Choose a tag to compare
0.4.15 Pre-release
Pre-release

Fixed

  • bindings used in whereIn clauses.