-
Release v1.0.2 Stable
released this
2026-05-11 22:18:42 -06:00 | 0 commits to main since this releasev1.0.2
code.nochebuena.dev/go/valkeyOverview
valkeyv1.0.2 commits the Valkey client lifecycle API as stable. The module manages
the lifecycle of avalkey-goclient: constructs it from config, verifies connectivity
at startup, exposes the native client to consumers, and closes it on shutdown. Health
checks run viaPING.What Changed Since v0.9.0
Dependency bumps
health,launcher, andlogzpromoted to v1.0.1.godirective updated to 1.26.No API changes.
Config,Provider,Component, andNeware unchanged.Roadmap items resolved
Item Resolution Validate under connection churn / network partitions ✅ Validated — trusts valkey-goreconnect internals; no additional code neededOptional KeyPrefixinConfig❌ No — key namespacing is the caller's responsibility by design Higher-level Repositoryhelper❌ No — belongs in a separate module; coupling to domain concerns would violate the building-block principle Configurable health-check timeout ❌ No — health check uses the caller's context, which already controls the timeout Full API (stable)
Config—VK_ADDRS(required),VK_PASSWORD,VK_DB(default0),
VK_CLIENT_CACHE_MB(default0, disables client-side caching).Provider—Client() valkey.Client; inject into repositories and services.Component— embedslauncher.Component,health.Checkable, andProvider;
register withlc.Append.New(logger logz.Logger, cfg Config) Component— constructor.HealthCheck(ctx) error— issuesPING; priorityhealth.LevelDegraded.Migration from v0.9.0
No breaking changes. Drop-in replacement.
go get code.nochebuena.dev/go/valkey@v1.0.2Downloads