Skip to content

v1.4.0

Compare
Choose a tag to compare
@motoki317 motoki317 released this 03 May 17:18
· 34 commits to master since this release
90c1e58

Breaking changes

  • Removed GetFresh method to decrease complexity of the interface.
    • You should instead change freshFor and ttl values to control the 'graceful cache replacement' behavior.
  • Removed WithCapacity option, and made WithMapBackend require initial capacity for more consistency with other options.

Improvements

  • Added cache cleaner (WithCleanupInterval) option. See the corresponding doc for more info.