What's Changed
- Export NewItem function by @hasfjord in #151
- Bump golang.org/x/sync from 0.8.0 to 0.9.0 by @dependabot in #156
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #157
- feat: New
WithMaxCost
option for custom cache capacity management strategies by @dadrus in #152 - Bump golang.org/x/sync from 0.9.0 to 0.10.0 by @dependabot in #158
- fix Range (and RangeBackwards) mutex usage by @iurii-ssv in #164
- Make Cache.Get allocation-free by @yiftachkarkason in #162
- Bump golang.org/x/sync from 0.10.0 to 0.11.0 by @dependabot in #165
- Add GetOrSetFunc method by @inpos in #161
- Handle empty cache while using Range or RangeBackwards by @davseby in #176
- Allow subsequent calls to
Start
andStop
by @davseby in #177 - Add OnUpdate method and metrics by @davseby in #179
- Export NewItemWithOpts and bump go version in go.mod by @swithek in #180
- Bump golang.org/x/sync from 0.11.0 to 0.14.0 by @dependabot in #172
- fix: Deadlock during cost calculation by @dadrus in #173
- Rewrite expired items tests to ensure expiration for Windows by @davseby in #178
- Expose item cost by @davseby in #181
- Add examples folder with httpcache example by @davseby in #183
- Bump golang.org/x/sync from 0.14.0 to 0.15.0 by @dependabot in #182
New Contributors
- @hasfjord made their first contribution in #151
- @dadrus made their first contribution in #152
- @iurii-ssv made their first contribution in #164
- @yiftachkarkason made their first contribution in #162
- @inpos made their first contribution in #161
Full Changelog: v3.3.0...v3.4.0