PackageTrack
Sign in Get early access

github.com/maypok86/otter

v1.2.4 #544 most downloaded on Go modules maypok86/otter

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

77 releases · first in 2023

0 releases in the last 12 months

see the full history below

Release timeline

77 releases · Sep 2023 to Nov 2024
2024 2025 2026
Release Pre-release

Releases

latest 60 of 77
  1. v1.2.4 22 Nov 2024
    Release notes

    1.2.4 - 2024-11-23

    🐞 Bug Fixes

    Contributors

    We'd like to thank all the contributors who worked on this release!

    @barais

    Open source →
    Release notes

    🐞 Bug Fixes

    Open source →
    Release notes

    v1.2.4

    Compare

    Choose a tag to compare

    Open source →
  2. v1.2.4-0.20241122223205-91b9c3231f86 22 Nov 2024 pre-release

    Nothing published for this version

  3. v1.2.4-0.20241122154217-c7fa1631301b 22 Nov 2024 pre-release

    Nothing published for this version

  4. v1.2.3 30 Sep 2024
    Release notes

    1.2.3 - 2024-09-30

    🐞 Bug Fixes

    • Added collection of eviction statistics for expired entries. (#108)
    Open source →
    Release notes

    🐞 Bug Fixes

    • Added collection of eviction statistics for expired entries. (#108)
    Open source →
    Release notes

    v1.2.3

    Compare

    Choose a tag to compare

    Open source →
  5. v1.2.3-0.20240930082819-5b6058fa936f 30 Sep 2024 pre-release

    Nothing published for this version

  6. v1.2.3-0.20240829083142-507bc49da1cc 29 Aug 2024 pre-release

    Nothing published for this version

  7. v1.2.2 14 Aug 2024
    Release notes

    1.2.2 - 2024-08-14

    ✨️Features

    • Implemented fmt.Stringer interface for DeletionReason type (#100)

    🐞 Bug Fixes

    • Fixed processing of an expired entry in the Get method by @hyzhangzhy (#98)
    • Fixed inconsistent deletion listener behavior (#98)
    • Fixed the behavior of checkedAdd when over/underflow (#91)

    Contributors

    We'd like to thank all the contributors who worked on this release!

    @hyzhangzhy

    Open source →
    Release notes

    ✨️Features

    • Implemented fmt.Stringer interface for DeletionReason type (#100)

    🐞 Bug Fixes

    • Fixed processing of an expired entry in the Get method (#98)
    • Fixed inconsistent deletion listener behavior (#98)
    • Fixed the behavior of checkedAdd when over/underflow (#91)
    Open source →
    Release notes

    v1.2.2

    Compare

    Choose a tag to compare

    Open source →
  8. v1.2.2-0.20240814171549-025d14801ad7 14 Aug 2024 pre-release

    Nothing published for this version

  9. v1.2.2-0.20240806152051-a828b6e08422 06 Aug 2024 pre-release

    Nothing published for this version

  10. v1.2.2-0.20240729205326-b2a4cbb6f1e7 29 Jul 2024 pre-release

    Nothing published for this version

  11. v1.2.2-0.20240729204158-9a279d7f7c74 29 Jul 2024 pre-release

    Nothing published for this version

  12. v1.2.2-0.20240729201103-c4ac8929f4cf 29 Jul 2024 pre-release

    Nothing published for this version

  13. v1.2.1 15 Apr 2024
    Release notes

    🐞 Bug Fixes

    • Fixed uint32 capacity overflow.
    Open source →
    Release notes

    v1.2.1

    Compare

    Choose a tag to compare

    Open source →
  14. v1.2.1-0.20240415194716-e57f61b947ff 15 Apr 2024 pre-release

    Nothing published for this version

  15. v1.2.1-0.20240414175343-9bcb26af92ff 14 Apr 2024 pre-release

    Nothing published for this version

  16. v1.2.0 12 Mar 2024
    Release notes

    The main innovation of this release is the addition of an Extension, which makes it easy to add a huge number of features to otter.

    Usage example:

    key := 1
    ...
    entry, ok := cache.Extension().GetEntry(key)
    ...
    key := entry.Key()
    value := entry.Value()
    cost := entry.Cost()
    expiration := entry.Expiration()
    ttl := entry.TTL()
    hasExpired := entry.HasExpired()
    

    ✨️Features

    • Added DeletionListener to the builder (#63)
    • Added Extension (#56)

    🚀 Improvements

    • Added support for Go 1.22
    • Memory consumption with small cache sizes is reduced to the level of other libraries (#66)
    Open source →
  17. v1.1.2-0.20240312194550-9d61c676ef18 12 Mar 2024 pre-release

    Nothing published for this version

  18. v1.1.2-0.20240312173747-18da5c2ad3b0 12 Mar 2024 pre-release

    Nothing published for this version

  19. v1.1.1 05 Mar 2024
    Release notes

    🐞 Bug Fixes

    • Fixed alignment issues on 32-bit archs
    Open source →
  20. v1.1.1-0.20240305211504-80a12bee850a 05 Mar 2024 pre-release

    Nothing published for this version

  21. v1.1.1-0.20240305161942-15ea931930ec 05 Mar 2024 pre-release

    Nothing published for this version

  22. v1.1.1-0.20240305155805-5e2e63970f6f 05 Mar 2024 pre-release

    Nothing published for this version

  23. v1.1.0 04 Mar 2024
    Release notes

    The main innovation of this release is node code generation. Thanks to it, the cache will no longer consume more memory due to features that it does not use. For example, if you do not need an expiration policy, then otter will not store the expiration time of each entry. It also allows otter to use more effective expiration policies.

    Another expected improvement is the correction of minor synchronization problems due to the state machine. Now otter, unlike other contention-free caches in Go, should not have them at all.

    ✨️Features

    • Added DeleteByFunc function to cache (#44)
    • Added InitialCapacity function to builder (#47)
    • Added collection of additional statistics (#57)

    🚀 Improvements

    • Added proactive queue-based and timer wheel-based expiration policies with O(1) time complexity (#55)
    • Added node code generation (#55)
    • Fixed the race condition when changing the order of events (#59)
    • Reduced memory consumption on small caches
    Open source →
  24. v1.0.1-0.20240303162115-c66ac1f90a4a 03 Mar 2024 pre-release

    Nothing published for this version

  25. v1.0.1-0.20240302092043-758caa3ef92e 02 Mar 2024 pre-release

    Nothing published for this version

  26. v1.0.1-0.20240212110352-b0df6d544ee9 12 Feb 2024 pre-release

    Nothing published for this version

  27. v1.0.1-0.20240209182511-58a7e6c2dc14 09 Feb 2024 pre-release

    Nothing published for this version

  28. v1.0.1-0.20240208212434-a5e7f9c5686a 08 Feb 2024 pre-release

    Nothing published for this version

  29. v1.0.1-0.20240208151759-9bdf722b59ae 08 Feb 2024 pre-release

    Nothing published for this version

  30. v1.0.1-0.20240206221400-9a23afbacb39 06 Feb 2024 pre-release

    Nothing published for this version

  31. v1.0.1-0.20240201065417-38b1f48d252b 01 Feb 2024 pre-release

    Nothing published for this version

  32. v1.0.1-0.20240126211637-a8878f081d70 26 Jan 2024 pre-release

    Nothing published for this version

  33. v1.0.0 25 Jan 2024
    Release notes

    ✨️Features

    • Builder pattern support
    • Cleaner API compared to other caches (#40)
    • Added SetIfAbsent and Range functions (#27)
    • Statistics collection (#4)
    • Cost based eviction
    • Support for generics and any comparable types as keys
    • Support ttl (#14)
    • Excellent speed (benchmark results)
    • O(1) worst case time complexity for S3-FIFO instead of O(n)
    • Improved hit ratio of S3-FIFO on many traces (simulator results)
    Open source →
  34. v0.0.0-20240125192009-2c90b43784e4 25 Jan 2024 pre-release

    Nothing published for this version

  35. v0.0.0-20240124212422-6f3bb8319124 24 Jan 2024 pre-release

    Nothing published for this version

  36. v0.0.0-20240124202227-60612dbb8dae 24 Jan 2024 pre-release

    Nothing published for this version

  37. v0.0.0-20240124174520-957258d43940 24 Jan 2024 pre-release

    Nothing published for this version

  38. v0.0.0-20240121183811-7bc76a929e4d 21 Jan 2024 pre-release

    Nothing published for this version

  39. v0.0.0-20240121183811-71eef09e3a7d 21 Jan 2024 pre-release

    Nothing published for this version

  40. v0.0.0-20240114135111-0ac93887dbe1 14 Jan 2024 pre-release

    Nothing published for this version

  41. v0.0.0-20240113203814-5a0ddf7ed56d 13 Jan 2024 pre-release

    Nothing published for this version

  42. v0.0.0-20240111191931-e9406dff28fe 11 Jan 2024 pre-release

    Nothing published for this version

  43. v0.0.0-20240111180711-53faae3f7008 11 Jan 2024 pre-release

    Nothing published for this version

  44. v0.0.0-20240110221601-8da740e5e9a5 10 Jan 2024 pre-release

    Nothing published for this version

  45. v0.0.0-20240110190710-aa5896c1cc1f 10 Jan 2024 pre-release

    Nothing published for this version

  46. v0.0.0-20240109224832-aba3afa3583a 09 Jan 2024 pre-release

    Nothing published for this version

  47. v0.0.0-20240104173653-162349a6971c 04 Jan 2024 pre-release

    Nothing published for this version

  48. v0.0.0-20240104155724-4650d93f7c84 04 Jan 2024 pre-release

    Nothing published for this version

  49. v0.0.0-20231222143008-a9479c80c78a 22 Dec 2023 pre-release

    Nothing published for this version

  50. v0.0.0-20231222133140-b007b553fc4f 22 Dec 2023 pre-release

    Nothing published for this version

  51. v0.0.0-20231217190419-981122ba0f89 17 Dec 2023 pre-release

    Nothing published for this version

  52. v0.0.0-20231217152427-3fcc28b36259 17 Dec 2023 pre-release

    Nothing published for this version

  53. v0.0.0-20231216215412-0c909e498d0a 16 Dec 2023 pre-release

    Nothing published for this version

  54. v0.0.0-20231215221048-529e60a5f5c4 15 Dec 2023 pre-release

    Nothing published for this version

  55. v0.0.0-20231215205323-6a357e06c7a0 15 Dec 2023 pre-release

    Nothing published for this version

  56. v0.0.0-20231215194243-ac28c95f3af6 15 Dec 2023 pre-release

    Nothing published for this version

  57. v0.0.0-20231214080612-df956a0ebbd3 14 Dec 2023 pre-release

    Nothing published for this version

  58. v0.0.0-20231213075448-95e440de81ba 13 Dec 2023 pre-release

    Nothing published for this version

  59. v0.0.0-20231212224132-a2d66433f605 12 Dec 2023 pre-release

    Nothing published for this version

  60. v0.0.0-20231211181545-a71450d4271e 11 Dec 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive