Repository navigation
v2.6.0
What's changed
- Added support for .NET 10.
- Added Alternate Lookup support across
ICache,IAsyncCache,IScopedCache, andIAsyncScopedCache, enabling allocation free alternate key lookups viaReadOnlySpan<char>on caches with astringprimary key. - Enabled
ref structsupport for theTArggeneric type parameter in synchronousGetOrAddmethods, allowing stack-only arguments to be passed in. - Added optional support for updated and removed events to
ConcurrentLfu, configured by calling builderWithEvents.ConcurrentLfunow has events enabled by default. - Adopted the System.Threading.Lock type in
ConcurrentLfufor a minor performance optimization. - Fixed a concurrency bug fix in
ScopedAtomicFactory, where scope initialization/disposal could observe stale state under contention. - Fixed the
BackgroundThreadSchedulercompletion task to return completed when it is immediately disposed prior to executing any work.
Full changelog: v2.5.4...v2.6.0