2026-05-29 15:58:56 +00:00
|
|
|
# Changelog — cache-valkey
|
|
|
|
|
|
|
|
|
|
All notable changes to this module are documented here.
|
|
|
|
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
|
|
This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
2026-08-07 18:55:16 -06:00
|
|
|
## [1.1.0] — 2026-08-07
|
|
|
|
|
|
|
|
|
|
Coordinated framework version alignment — released in lockstep at v1.1.0.
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
- Bumped einherjar dependencies (`contracts`, `core`) to v1.1.0 via `go get` + `go mod tidy`.
|
|
|
|
|
No code or API changes.
|
|
|
|
|
|
2026-05-29 15:58:56 +00:00
|
|
|
## [1.0.0] — 2026-05-28
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
- `Provider` interface: six common Valkey operations (`Get`, `Set`, `Del`, `Exists`,
|
|
|
|
|
`Expire`, `IncrWithTTL`) using only standard Go types, plus `Native() vk.Client`
|
|
|
|
|
escape hatch.
|
|
|
|
|
- `Component` interface: `Provider` + `lifecycle.Component` + `observability.Checkable`.
|
|
|
|
|
- `Config` struct with `EINHERJAR_VALKEY_*` env tags (caarlos0/env compatible).
|
|
|
|
|
- `New(logger, cfg) Component` factory — lifecycle-aware Valkey client.
|
|
|
|
|
- `NewPermissionCache(Provider) *PermissionCache` — satisfies `auth/rbac.Cache`
|
|
|
|
|
via duck typing.
|
|
|
|
|
- `NewRateLimiterStore(Provider, window, limit) *RateLimiterStore` — satisfies
|
|
|
|
|
`web/mw.RateLimiterStore` via duck typing; fixed-window Lua counter.
|
|
|
|
|
- `NewBlacklist(Provider) *Blacklist` — satisfies `auth-jwt.Blacklist` via duck typing.
|