Skip to content

Releases: hashicorp/golang-lru

golang-lru 2.0.7

29 Sep 16:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.6...v2.0.7

golang-lru 2.0.6

24 Aug 20:21
8f8764f
Compare
Choose a tag to compare

This release removes calling the eviction callback when the Add method is called with an item that is already in the cache (#154); it reverts PR #135 which caused issue #141.

What's Changed

  • [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #149
  • Revert #135 and add tests for eviction callback by @mgaffney in #154

Full Changelog: v2.0.5...v2.0.6

Add expirable LRU

08 Aug 19:02
99d7b17
Compare
Choose a tag to compare

This release adds an expirable LRU package.

Last release of v0/v1 code base

08 Aug 11:47
a032ef5
Compare
Choose a tag to compare

This release is the same as v0.6.0. It allows projects depending on the v0 code to upgrade safely to v1. This is the last release of v0/v1 code. Dependent projects should upgrade to v2.

Add eviction callback on replace

21 Jun 14:43
d260bc0
Compare
Choose a tag to compare

This release encompasses #135

Add Values() and separate ARC

06 Jun 20:24
Compare
Choose a tag to compare

This release adds the Values() method on caches and removes ARC from the main module so that it does not need to be imported along with the rest of the module for those concerned around its patent status.

The code/API is the same, but is now found at github.com/hashicorp/golang-lru/arc/v2.

Reduce memory usage

13 Mar 15:53
04222e5
Compare
Choose a tag to compare

Minor fixes to reduce some memory usage

Pointer to v0/v2

15 Nov 13:20
Compare
Choose a tag to compare

This is a placeholder tag to instruct people to explicitly use v0 tags or use the v2 module.

Generics

14 Nov 20:14
9353717
Compare
Choose a tag to compare

This release adds support for generics, and bumps the package version appropriately.

Tagging prior to v2

14 Nov 20:11
Compare
Choose a tag to compare

This is likely the last tag prior to the switch to generics and the v2 package.