Versions in this module Expand all Collapse all v0 v0.10.9-alpha.6 Feb 12, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.9-alpha.5 Feb 11, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.9-alpha.4 Feb 10, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.9-alpha.3 Feb 8, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.9-alpha.2 Feb 8, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.9-alpha.1 Feb 7, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8 Feb 7, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.12 Feb 6, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.11 Feb 6, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.10 Feb 6, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.9 Feb 6, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.8 Feb 5, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.7 Feb 4, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.6 Feb 4, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.5 Feb 4, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.4 Feb 3, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.3 Feb 3, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.2 Feb 3, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.8-alpha.1 Feb 3, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.7 Feb 3, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api Changes in this version + type HybridCache struct + func NewHybridCache[V any](cfg HybridCacheConfig[V]) *HybridCache[V] + func (c *HybridCache[V]) Algorithm() (mainCacheAlgorithm string, missingCacheAlgorithm string) + func (c *HybridCache[V]) Capacity() (mainCacheCapacity int, missingCacheCapacity int) + func (c *HybridCache[V]) DeleteByPrefix(prefix string) (int, error) + func (c *HybridCache[V]) DeleteMany(keys []string) (map[string]bool, error) + func (c *HybridCache[V]) FullKey(key string) string + func (c *HybridCache[V]) Get(key string) (value V, found bool, err error) + func (c *HybridCache[V]) Keys() ([]string, error) + func (c *HybridCache[V]) Purge() error + func (c *HybridCache[V]) SetWithTTL(key string, v V, ttl time.Duration) error + type HybridCacheConfig struct + Memory func() *hot.HotCache[string, V] + Namespace Namespace + Redis *redis.Client + RedisCodec ValueCodec[V] + RedisEnabled func() bool + type IntCodec struct + func (c IntCodec) Decode(s string) (int, error) + func (c IntCodec) Encode(v int) (string, error) + type JSONCodec struct + func (c JSONCodec[V]) Decode(s string) (V, error) + func (c JSONCodec[V]) Encode(v V) (string, error) + type Namespace string + func (n Namespace) FullKey(key string) string + func (n Namespace) MatchPattern() string + type StringCodec struct + func (c StringCodec) Decode(s string) (string, error) + func (c StringCodec) Encode(v string) (string, error) + type ValueCodec interface + Decode func(s string) (V, error) + Encode func(v V) (string, error) v0.10.7-alpha.2 Jan 29, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api v0.10.7-alpha.1 Jan 26, 2026 GO-2025-4154 GO-2025-4154: new-api is vulnerable to SSRF Bypass in one-api