Skip to content

Releases: jitbit/FastCache

1.1.3

21 Dec 00:53

Choose a tag to compare

  • Refactor AddOrUpdate method to accept separate factory functions for adding and updating items in cache
  • switched benchmarks to net10
  • Fixed all test warnings

Full Changelog: 1.1.2...1.1.3

1.1.2

20 Dec 18:08

Choose a tag to compare

  • Fixed Eviction lock not really working because it was a static field …
  • Use static lambdas and discards for improved clarity and performance
  • Added factory-based AddOrUpdate overload
  • NET10 target.
  • Switched unit tests to NET10
  • Updated unittest nugets

Full Changelog: 1.1.1...1.1.2

1.1.1

27 Oct 09:26

Choose a tag to compare

  • More relaxed pauses for cleanup unittests on Windows (Linux and Mac worked fine)
  • Prevent flooding the thread pool by eviction callbacks
  • Eliminate unnecessary Task.Run & lambda closure

Full Changelog: 1.1.0...1.1.1

1.1.0

05 Nov 11:27

Choose a tag to compare

  • Performance! No double lookups in GetOrAdd, faster Enumerator etc.
  • Adde NET8 target (also keeping NET6). Migrated Tests, Benchmarks and CI to NET8
  • Fixed build warnings (XML comments for all public API)
  • Refactor GetOrAdd methods to reduce duplication
  • Added "itemEvicted" callback fixes #6 fixes #11

Full Changelog: 1.0.11...1.1.0

1.0.11

04 May 12:42

Choose a tag to compare

What's Changed

  • New GetOrAdd overload with factory argument that prevents allocations
  • Small typos by @jodydonetti in #8

New Contributors

Full Changelog: 1.0.10...1.0.11

1.0.10

03 Sep 20:47

Choose a tag to compare

  • Prevent possible thread starvation in ASP.NET apps (use SemaphoreSlim and async eviction instead of a lock statement)
  • TryRemove return value now respects TTL

Full Changelog: 1.0.9...1.0.10

1.0.9

30 Jul 17:38

Choose a tag to compare

  • New API TryRemove with an out variable
  • Less CPU pressure when multiple FastCache instances decide to run a background cleanup job

Full Changelog: 1.0.8...1.0.9

1.0.8

16 Jun 18:27

Choose a tag to compare

  • Faster eviction job (35% faster on large caches of 50k+ items, 10% faster on smaller caches)
  • New public API .EvictExpired() - call to clean up expired items without waiting for the background timer to pick up

Full Changelog: 1.0.7...1.0.8

1.0.7

14 Jun 10:38

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.6...1.0.7

1.0.6

04 Apr 15:17

Choose a tag to compare

What's Changed

  • Remove with value matching by @milokout in #2
  • Get rid of lock(this)
  • Performance improvement for ttlValue.IsExpired()
  • Added Clear() to empty cache

Full Changelog: 1.0.5...1.0.6