Skip to content

Releases: asjdf/gorm-cache

v1.3.0

03 Mar 06:27

Choose a tag to compare

1.3.0 (2026-03-03)

Bug Fixes

  • cache: enhance unique key handling in AfterDelete and AfterUpdate (9609ddc)
  • cache: improve logging and context handling in AfterDelete and AfterUpdate (296be5c)
  • cache: use detached context for singleflight leader to avoid cascading cancel (0d194b1)
  • singleflight context isolation, composite key behavior, and key collision (6dde67f)
  • tests: avoid result4 panic and assert concurrent update errors (c02cefa)
  • tests: improve error handling in dockertest integration tests (700bb90)
  • unique-index test behavior, dockertest error handling and polling, single ParseIndexes, crypto upgrade (906b437)

Features

  • enhance caching functionality with unique key support (7e0f322)

v1.2.4

05 Jan 08:31
6e79b95

Choose a tag to compare

1.2.4 (2026-01-05)

Bug Fixes

  • improve error handling in query cache operations (46ec458)

v1.2.3

17 Sep 17:08
3127fb5

Choose a tag to compare

1.2.3 (2023-09-17)

Bug Fixes

  • fix cache storage config invalid error (3127fb5), closes #15

v1.2.2

14 Jun 03:07

Choose a tag to compare

1.2.2 (2023-06-14)

Bug Fixes

  • fix cache config CacheMaxItemCnt error (c704ff7)

v1.2.1

03 Jun 11:39
e4515fd

Choose a tag to compare

1.2.1 (2023-06-03)

Bug Fixes

  • fix pluck query panic issue (e4515fd)

v1.2.0

08 Mar 09:29
fb904c7

Choose a tag to compare

1.2.0 (2023-03-08)

Features

  • breaking change! support custom redis cache key prefix (c430b94), closes #11

v1.1.2

26 Feb 07:38
0858efe

Choose a tag to compare

1.1.2 (2023-02-26)

Bug Fixes

  • move after_query position (0858efe)

v1.1.1

24 Feb 17:56
3bc9436

Choose a tag to compare

1.1.1 (2023-02-24)

Bug Fixes

  • fix key of singleflight not contains vars (3bc9436)

v1.1.0

24 Feb 17:31

Choose a tag to compare

1.1.0 (2023-02-24)

Bug Fixes

  • fix a mistake when calculate cache hit count (c22e20a)
  • fix primary cache not used and finish single flight (27d28c1)

Features

  • add locker into gcache storage to solve race (848572b)
  • reduce the memory usage when calling DeleteKeysWithPrefix (5744d35)
  • support singleflight (0b77a67)

v1.0.0-dev.13

24 Feb 17:39
54b2442

Choose a tag to compare

v1.0.0-dev.13 Pre-release
Pre-release

1.0.0-dev.13 (2023-02-24)

Bug Fixes

  • fix key of singleflight not contains vars (54b2442)