Update module github.com/karlseguin/ccache/v2 to v3
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
Add Setnx
v3.0.4
Add item.Key()
to expose the key.
v3.0.3
: Refactor Control Comands/Logic
v3.0.2
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
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
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
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.