gocache v1.1.0 Release Notes

Release Date: 2020-11-02 // over 2 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