Breaking Changes
LoadableCache
, the LoadFunction[T any]
must now return 3 arguments (including options):
- type LoadFunction[T any] func(ctx context.Context, key any) (T, error)
+ type LoadFunction[T any] func(ctx context.Context, key any) (T, []store.Option, error)
What's Changed
- fix(RueidisStore): add case to detail with JSON, Raw []byte, and Vec… by @leozeli in #254
- add unit test for lib/store/redis by @yaziedda in #258
- memcached: fix Delete and Get for missing items by @woutslakhorst in #261
- Update outdated Godoc link by @torkelrogstad in #262
- ristretto: return correct ttl by @blampe in #266
- fix(loadable): cache value in setChannel by @okhowang in #260
- Loadable cache: make options to be re-used in setter (fixes #101) by @eko in #267
New Contributors
- @leozeli made their first contribution in #254
- @yaziedda made their first contribution in #258
- @woutslakhorst made their first contribution in #261
- @torkelrogstad made their first contribution in #262
- @blampe made their first contribution in #266
Full Changelog: store/hazelcast/v4.2.0...lib/v4.2.0