v1.4.0
Breaking changes
- Removed
GetFresh
method to decrease complexity of the interface.- You should instead change
freshFor
andttl
values to control the 'graceful cache replacement' behavior.
- You should instead change
- Removed
WithCapacity
option, and madeWithMapBackend
require initial capacity for more consistency with other options.
Improvements
- Added cache cleaner (
WithCleanupInterval
) option. See the corresponding doc for more info.