All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add an attempt bound retry strategy
- Fix docs for the client
Get
method
- Add a cache client mock
- Add a
prefixClient
wrapper - Add a
cachelock
package, to acquire and release locks on keys using acache.Client
- Fix
go.mod
path
go mod tidy
CI step- Add dependabot
- BREAKING: Add
context.Context
as a parameter to all methods - Bump requirement to
go1.15
- Use
go-encoding
instead of custom encoding - Mark
TtlForExpiration
as deprecated, it does not need to be exported - Switch to golangci for linting
- Switch to Github action for CI
- Split integration tests
- Run unit tests on all go versions
- Run memcached tests on latest go version
- Run redis tests on latest go version and redis 4, 5, 6
- Many dependency updates
- BREAKING: Remove deprecated encodings
- BREAKING: Remove deprecated
TtlForExpiration
, usetime.Until
instead.
- Add a CHANGELOG.md
- Upgrade to
go-redis
v8 - Remove the
pkg
folder from the path
Get
/Set
/Add
/Delete
/Increment
/Decrement
methodsMemory
andRedis
clients
- Require
go1.13+