Skip to content

Update module github.com/karlseguin/ccache/v2 to v3

Jaime Martinez requested to merge upgrade-ccache-v3 into master

This MR contains the following updates:

Package Type Update Change
github.com/karlseguin/ccache/v2 require major v2.0.8 -> v3.0.5

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

karlseguin/ccache

v3.0.5

Compare Source

Add Setnx

v3.0.4

Compare Source

Add item.Key() to expose the key.

v3.0.3: Refactor Control Comands/Logic

Compare Source

v3.0.2

Compare Source

Fix issue where an item that was being processed for deletion and promotion at the same time might break the cache size limit

v3.0.1

Compare Source

Fix memory leak caused when an item was both deleted (or deleted as part of being replaced in an update) and GC'd.

v3.0.0

Compare Source

Generics.

Import github.com/karlseguin/ccache/v3 (or continue using github.com/karlseguin/ccache for the non-generic version)

For the most part, the type of value only needs to be set when configuring the cache:

// a cache with string values
var cache = ccache.New(ccache.Configure[string]())

And then calls to item.Value() will return a string.

Supersedes !916 (closed)

TODO

Edited by Jaime Martinez

Merge request reports