gocache v1.1.0 Release Notes

Release Date: 2020-11-02 // about 4 years ago
  • ๐Ÿ†• New Features

    a7ab8a7 Implement GetWithTTL for freecache
    46a7306 implement interface function
    f31406a added new store (freecache)
    ab7dc64 propagate TTL
    ๐Ÿ‘ 26e0f71 supporting ristretto ttl

    ๐Ÿ›  Fixes

    ๐Ÿšš 81bfa26 Removed strings.ToLower on cache key
    ๐Ÿšš 8adc7b7 remove-log: drop logging in two places
    a3941db Do not hash key if its type is string
    โœ… 99d5369 fixing tests
    a9a0f81 doc: fix cache.Options => store.Options
    e3e61d7 doc: fix bigcache with wrong value type
    ๐Ÿ›  24c4223 docs: fixed typo in README file
    80c1102 Fix redis tags: redis client is returning strings

    Other

    ๐Ÿ— cb3adf2 build(deps): bump github.com/prometheus/client_golang
    โœ… 9e5334e add test for invalid key
    โœ… 5579dbd more tests
    โœ… c36606f Added more tests
    1db2250 go mod tidy
    ๐Ÿ“š b1c560c update documentation
    โœ… 0bc17c6 add tests for GetWithTTL
    91984f7 tidy go sum
    ๐Ÿ“š 6fd2efd update documentation
    โšก๏ธ 0966a70 update tests
    3810cba add gitignore
    โœ… 7f5df68 adding more test coverage
    โช 5663aac reverting proto support to give as separate PR
    fa5190f running go mod tidy
    โช c76d860 revert go.sum
    โœ… 6e3cd45 test coverage added
    ๐Ÿ— 5f6b57c build(deps): bump github.com/golang/mock from 1.4.3 to 1.4.4
    ๐Ÿ— 8fa11e5 build(deps): bump github.com/dgraph-io/ristretto from 0.0.2 to 0.0.3
    ๐Ÿ— 7d3ab73 build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— 497836c build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— 0b50739 build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1
    ๐Ÿ— ef103e8 build(deps): bump github.com/go-redis/redis/v7 from 7.3.0 to 7.4.0
    ๐Ÿ— 4d3fd48 build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
    ๐Ÿ— 8b9ffef build(deps): bump github.com/go-redis/redis/v7 from 7.2.0 to 7.3.0
    โช 70f9205 revert
    โœ… d9c5f5b test with go1.13-issue with using forks in other projects
    ๐Ÿ— 04e814f build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— 3a8bb97 build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— b65b9d3 build(deps): bump github.com/golang/mock from 1.4.1 to 1.4.3
    ๐Ÿ— 9923c46 build(deps): bump github.com/prometheus/client_golang
    โฌ†๏ธ 5ca9b93 Upgrade to go1.14
    ๐Ÿ— b85d8c5 build(deps): bump github.com/golang/mock from 1.4.0 to 1.4.1
    ๐Ÿ— 79b65cf build(deps): bump github.com/go-redis/redis/v7 from 7.1.0 to 7.2.0
    ๐Ÿ— c798b07 build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1
    ๐Ÿ— 3896b7a build(deps): bump github.com/go-redis/redis/v7 from 7.0.1 to 7.1.0
    ๐Ÿ— 3ab560a build(deps): bump github.com/go-redis/redis/v7
    ๐Ÿ— 1ce8623 build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— a9fa870 build(deps): bump github.com/go-redis/redis/v7
    ๐Ÿ— 7b615f6 build(deps): bump github.com/prometheus/client_golang
    ๐Ÿ— 5ded7b2 build(deps): bump github.com/golang/mock from 1.3.1 to 1.4.0
    ๐Ÿ— f3f6db0 build(deps): bump github.com/go-redis/redis/v7
    ๐Ÿ— edd0dad build(deps): bump github.com/prometheus/client_golang


Previous changes from v1.0.0

  • ๐Ÿ†• New Features

    โœ… 140d01b Using promauto to initialize the metric and testutil in tests
    7847237 feat: added Clear() method to flush all cache data
    ๐Ÿ“„ 16d5e61 docs: added some store benchmarks

    ๐Ÿ›  Fixes

    โœ… 3b46630 fix(tests): replace mockery by gomock and fix race conditions
    โœ… 19c7bf8 test: rework unit tests to isolate mocks and add missing cases
    ๐Ÿ’… 0627751 style: fixed mispelling words and missing comments

    Other

    ๐Ÿ— 2c2e7d2 build(deps): bump github.com/coreos/etcd
    ๐Ÿ— 871607c build(deps): bump github.com/prometheus/client_golang
    โšก๏ธ f9ee181 docs: updated README.md with custom cache/store interfaces
    256357e doc: added codecov badge
    9de424d ci: added codecov to .travis.yml