Patch of the coordinated framework release: einherjar modules move to v1.1.0 in lockstep, so cache-valkey is bumped alongside the rest. - go.mod: contracts, core -> v1.1.0 (via go get + go mod tidy) No code or API changes. ModuleVersion() reports v1.1.0 automatically from build info once tagged. Badge bumped to v1.1.0.
31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
# 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).
|
|
|
|
## [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.
|
|
|
|
## [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.
|