Skip to content

Releases: samber/hot

v0.13.0

11 Mar 13:26

Choose a tag to compare

Full Changelog: v0.13.0...v0.13.0

What's Changed

  • chore(ci): adding codeql by @samber in #54
  • feat(lfu): better implementation and perf improvements by @samber in #56
  • fix(tinylfu): faster tinylfu promotion by @samber in #57
  • fix(w-tinylfu): missing inc by @samber in #58
  • fix(s3fifo): fix eviction policy by @samber in #59
  • test(s3fifo): add more test on edge cases by @samber in #60

Full Changelog: v0.12.0...v0.13.0

v0.12.0

20 Feb 15:11

Choose a tag to compare

What's Changed

  • fix(nanotime): fallback to time.Since to get monotonic time instead of runtime.nanotime by @samber in #53

Full Changelog: v0.11.0...v0.12.0

v0.11.0

08 Jan 11:47

Choose a tag to compare

What's Changed

  • test: better formating of test timeout by @samber in #49
  • feat: add SIEVE eviction algorithm by @dtjm in #51

Other

  • chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #44
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #48
  • chore(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #47

New Contributors

  • @dtjm made their first contribution in #51

Full Changelog: v0.10.0...v0.11.0

v0.10.0

28 Sep 13:50

Choose a tag to compare

Big release!

This minor version introduces s3fifo, tinylfu, and w-tinylfu eviction algorithms.

What's Changed

  • feat: add new eviction strategy (tinylfu) by @samber in #38
  • Feat: s3fifo by @samber in #41
  • Adding W-TinyLFU by @samber in #40
  • feat(lfu,lru): use custom linked lists which allow strong typing (con… by @samber in #35
  • feat(2q,arc): use custom linked lists which allow strong typing (cont… by @samber in #36
  • style(lint): add .golangci.yml by @samber in #37

Other

  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #29
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #30
  • chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #31

Full Changelog: v0.9.0...v0.10.0

v0.9.0

06 Jul 23:12

Choose a tag to compare

v0.8.0

30 Jun 15:31

Choose a tag to compare

What's Changed

  • feat(time): use monotonic time instead of wall time by @samber in #27

Full Changelog: v0.7.0...v0.8.0

v0.7.0

27 Jun 13:08

Choose a tag to compare

What's Changed

  • feat: add ARC eviction algorithm by @samber in #23
  • Feat add metric collection by @samber in #24
  • feat(algo): add the fifo eviction algo by @samber in #25
  • Refactored 2Q algo in 0dba09f
  • Fixed in race condition in janitor b023e99
  • fix(2q): add missing OnEvicted callback in 36c30ba
  • Added more tests
  • fix(copyOnRead): add missing copy on read helper in 7674566

Documentation

  • lots of documentation and comments has been added
  • multiples examples in a dedicated folder

Dependencies

  • chore(deps): bump github.com/samber/go-singleflightx from 0.3.1 to 0.3.2 by @dependabot in #15
  • chore(deps): bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 by @dependabot in #18
  • chore(deps): bump github.com/prometheus/client_golang from 1.21.0 to 1.21.1 by @dependabot in #19
  • chore(deps): bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 by @dependabot in #21
  • chore(deps): bump golangci/golangci-lint-action from 6 to 7 by @dependabot in #20
  • chore(deps): bump golangci/golangci-lint-action from 7 to 8 by @dependabot in #22

Full Changelog: v0.6.1...v0.7.0

v0.6.1

20 Jan 13:16

Choose a tag to compare

bump v0.6.1

v0.6.0

20 Jan 09:52

Choose a tag to compare

v0.5.2

09 Nov 22:33

Choose a tag to compare

upgrading dependencies