Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
lib_v4.2.0 source code.tar.gz | 2025-01-08 | 106.5 kB | |
lib_v4.2.0 source code.zip | 2025-01-08 | 156.0 kB | |
README.md | 2025-01-08 | 1.6 kB | |
Totals: 3 Items | 264.1 kB | 0 |
Breaking Changes
⚠️ Using LoadableCache
, the LoadFunction[T any]
must now return 3 arguments (including options):
:::diff
- 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 https://github.com/eko/gocache/pull/254
- add unit test for lib/store/redis by @yaziedda in https://github.com/eko/gocache/pull/258
- memcached: fix Delete and Get for missing items by @woutslakhorst in https://github.com/eko/gocache/pull/261
- Update outdated Godoc link by @torkelrogstad in https://github.com/eko/gocache/pull/262
- ristretto: return correct ttl by @blampe in https://github.com/eko/gocache/pull/266
- fix(loadable): cache value in setChannel by @okhowang in https://github.com/eko/gocache/pull/260
- Loadable cache: make options to be re-used in setter (fixes [#101]) by @eko in https://github.com/eko/gocache/pull/267
New Contributors
- @leozeli made their first contribution in https://github.com/eko/gocache/pull/254
- @yaziedda made their first contribution in https://github.com/eko/gocache/pull/258
- @woutslakhorst made their first contribution in https://github.com/eko/gocache/pull/261
- @torkelrogstad made their first contribution in https://github.com/eko/gocache/pull/262
- @blampe made their first contribution in https://github.com/eko/gocache/pull/266
Full Changelog: https://github.com/eko/gocache/compare/store/hazelcast/v4.2.0...lib/v4.2.0