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 2024Releases
latest 60 of 77-
v1.2.422 Nov 2024Release notes
Open source →1.2.4 - 2024-11-23
🐞 Bug Fixes
- Fixed a bug due to changing gammazero/deque contracts without v2 release. (#112)
Contributors
We'd like to thank all the contributors who worked on this release!
Release notes
Open source →🐞 Bug Fixes
- Fixed a bug due to changing gammazero/deque contracts without v2 release. (#112)
-
v1.2.4-0.20241122223205-91b9c3231f8622 Nov 2024 pre-releaseNothing published for this version
-
v1.2.4-0.20241122154217-c7fa1631301b22 Nov 2024 pre-releaseNothing published for this version
-
v1.2.330 Sep 2024Release notes
Open source →Release notes
Open source →🐞 Bug Fixes
- Added collection of eviction statistics for expired entries. (#108)
-
v1.2.3-0.20240930082819-5b6058fa936f30 Sep 2024 pre-releaseNothing published for this version
-
v1.2.3-0.20240829083142-507bc49da1cc29 Aug 2024 pre-releaseNothing published for this version
-
v1.2.214 Aug 2024Release notes
Open source →1.2.2 - 2024-08-14
✨️Features
- Implemented
fmt.Stringerinterface forDeletionReasontype (#100)
🐞 Bug Fixes
- Fixed processing of an expired entry in the
Getmethod by @hyzhangzhy (#98) - Fixed inconsistent deletion listener behavior (#98)
- Fixed the behavior of
checkedAddwhen over/underflow (#91)
Contributors
We'd like to thank all the contributors who worked on this release!
Release notes
Open source → - Implemented
-
v1.2.2-0.20240814171549-025d14801ad714 Aug 2024 pre-releaseNothing published for this version
-
v1.2.2-0.20240806152051-a828b6e0842206 Aug 2024 pre-releaseNothing published for this version
-
v1.2.2-0.20240729205326-b2a4cbb6f1e729 Jul 2024 pre-releaseNothing published for this version
-
v1.2.2-0.20240729204158-9a279d7f7c7429 Jul 2024 pre-releaseNothing published for this version
-
v1.2.2-0.20240729201103-c4ac8929f4cf29 Jul 2024 pre-releaseNothing published for this version
-
v1.2.115 Apr 2024 -
v1.2.1-0.20240415194716-e57f61b947ff15 Apr 2024 pre-releaseNothing published for this version
-
v1.2.1-0.20240414175343-9bcb26af92ff14 Apr 2024 pre-releaseNothing published for this version
-
v1.2.012 Mar 2024Release notes
Open source →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
🚀 Improvements
- Added support for Go 1.22
- Memory consumption with small cache sizes is reduced to the level of other libraries (#66)
-
v1.1.2-0.20240312194550-9d61c676ef1812 Mar 2024 pre-releaseNothing published for this version
-
v1.1.2-0.20240312173747-18da5c2ad3b012 Mar 2024 pre-releaseNothing published for this version
-
v1.1.105 Mar 2024 -
v1.1.1-0.20240305211504-80a12bee850a05 Mar 2024 pre-releaseNothing published for this version
-
v1.1.1-0.20240305161942-15ea931930ec05 Mar 2024 pre-releaseNothing published for this version
-
v1.1.1-0.20240305155805-5e2e63970f6f05 Mar 2024 pre-releaseNothing published for this version
-
v1.1.004 Mar 2024Release notes
Open source →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
DeleteByFuncfunction to cache (#44) - Added
InitialCapacityfunction to builder (#47) - Added collection of additional statistics (#57)
🚀 Improvements
- Added
-
v1.0.1-0.20240303162115-c66ac1f90a4a03 Mar 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240302092043-758caa3ef92e02 Mar 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240212110352-b0df6d544ee912 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240209182511-58a7e6c2dc1409 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240208212434-a5e7f9c5686a08 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240208151759-9bdf722b59ae08 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240206221400-9a23afbacb3906 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240201065417-38b1f48d252b01 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240126211637-a8878f081d7026 Jan 2024 pre-releaseNothing published for this version
-
v1.0.025 Jan 2024Release notes
Open source →✨️Features
- Builder pattern support
- Cleaner API compared to other caches (#40)
- Added
SetIfAbsentandRangefunctions (#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)
-
v0.0.0-20240125192009-2c90b43784e425 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240124212422-6f3bb831912424 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240124202227-60612dbb8dae24 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240124174520-957258d4394024 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240121183811-7bc76a929e4d21 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240121183811-71eef09e3a7d21 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240114135111-0ac93887dbe114 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240113203814-5a0ddf7ed56d13 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240111191931-e9406dff28fe11 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240111180711-53faae3f700811 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240110221601-8da740e5e9a510 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240110190710-aa5896c1cc1f10 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240109224832-aba3afa3583a09 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240104173653-162349a6971c04 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20240104155724-4650d93f7c8404 Jan 2024 pre-releaseNothing published for this version
-
v0.0.0-20231222143008-a9479c80c78a22 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231222133140-b007b553fc4f22 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231217190419-981122ba0f8917 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231217152427-3fcc28b3625917 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231216215412-0c909e498d0a16 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231215221048-529e60a5f5c415 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231215205323-6a357e06c7a015 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231215194243-ac28c95f3af615 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231214080612-df956a0ebbd314 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231213075448-95e440de81ba13 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231212224132-a2d66433f60512 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20231211181545-a71450d4271e11 Dec 2023 pre-releaseNothing published for this version