Bigcache Versions Save

Efficient cache for gigabytes of data written in Go.

v3.1.0

1 year ago

Changes

  • Configure Dependabot for GH Actions (#341) @madhead (#342)
  • Cleanly shutdown cleanup go-routine @alok87 (#337)
  • Add ResetStats @Hojun-Cho (#331)
  • Add Collision Test @Hojun-Cho (#330)
  • No need to del elem when config.CleanWindow>0 at method:Set @zhangyaping-CN (#325)
  • Unify expiry condition in getWithInfo() and onEvict() @chen-zhuohan (#319)
  • Create CODEOWNERS @janisz (#316)
  • Link to v3 version in readme @janisz (#313)

🚀 Features

  • Bump toolmantim/release-drafter from 5.21.0 to 5.21.1 @dependabot (#344)
  • Bump toolmantim/release-drafter from 5.2.0 to 5.21.0 @dependabot (#343)
  • Update actions/* actions @madhead (#340)

🐛 Bug Fixes

  • Fix bug to remove non-expired data @1xxz188 (#317)

v3.0.2

2 years ago

Changes

  • test: convert the example in issue #300 into a test case @contestjia (#302)
  • Adding config validation when creating new cache. @panmari (#299)
  • The size encoded in a entry header contains the header it self. @Fabianexe (#266)
  • fix HardMaxCacheSize documentation @Hank00AAA (#298)
  • Remove maxShardSize from BigCache @penthaapatel (#294)

v3.0.1

2 years ago

Changes

  • Fix: panic runtime error: index out of range [7] with length 0 @blackbeans (#288)
  • Fix error where config.Shards = 0 causes "index out of range" @KarlAustin (#280)
  • Update example from v2 to v3 @cristaloleg (#278)
  • Update Go to 1.16 @janisz (#271)
  • Update readme to version 3 @mhrlife (#268)

v3.0.0

2 years ago

v2.2.5

3 years ago

Changes

  • Fix a bug that obscures the byte queue when it is full and is extended @Fabianexe (#251)
  • Optimze append @Fabianexe (#249)
  • Update to latest golang @janisz (#248)
  • fix #160 @sap-nocops (#246)
  • Fix iterator styling issues @janisz (#247)
  • export clock method to allow assignable in other packages @flisky (#242)

v2.2.4

3 years ago

Changes

  • Fix in initial capacity allocation @ac-rappi (#237)

v2.2.3

3 years ago

Changes

  • Fixes race in getKeyMetadata accessor, when called from KeyMetadata @cognusion (#233)
  • fix: panic when update and iterate simultaneously @WideLee (#232)

v2.2.2

3 years ago

Changes

  • fix(init): initialShardSize ignored HardMaxCacheSize, and so the initial size can exceed the limit @leeransetton (#228)
  • Fix typo in comment for Metadata struct @calebschoepp (#227)
  • fix github actions badge and link @dvrkps (#225)
  • fix comment's typos @dvrkps (#224)
  • Reset full to false when pop from bytes queue @WideLee (#223)

v2.2.1

3 years ago

Changes

  • give a way to access the stale cache @flisky (#216)
  • Deleted entries should not be removed by expire eviction @bachhh (#219)
  • Optimize bytes_queue @neal-zhu (#207)
  • Update Go version for CI @janisz (#210)

v2.2.0

4 years ago

Changes

(Same as 2.1.7, just a bigger minor release, not a patch)

  • Implemented new Append() method @snacker81 (#203)
  • Use bytes.Repeat instead of for loop @janisz (#202)
  • fix read benchmarks @janisz (#201)
  • Move getOldestEntry to test file @janisz (#200)