0.14.0
Pre-release
Pre-release
What's Changed
- Remove the RefreshAsync closure by @danielmarbach in #211
- Improve the GetOrSetAsync state machine by @Turnerj in #212
- Improve serialization handling by @Turnerj in #217
- Simplify distributed locking extension system by @Turnerj in #240
- Add CacheStackOptions for easier extendability by @Turnerj in #241
- Upgrade StackExchange.Redis to v2.6.122 by @Turnerj in #258
Breaking Changes / Notes
- Some obsolete extension methods on service collections have been removed
- Cache Tower now takes a dependency on
Microsoft.Extensions.Logging.Abstractions
. If you don't have logging configured, it will internally default to the built-inNullLogger
. This was done as part of the serialization changes to stop exceptions crashing out during caching but as a way they are still logged. - Deprecated some constructors for
CacheStack
in favour of using a constructor which takes aCacheStackOptions
- Replaced
ICacheRefreshCallSiteWrapperExtension
withIDistributedLockExtension
, a simplified alternative to handling distributed locking - Major rewrite to
RedisLockExtension
for distributed locking
Besides the removal of some obsolete extension methods on service collections, the rest of these changes shouldn't affect the most common scenario of using Cache Tower via Dependency Injection.
New Contributors
- @danielmarbach made their first contribution in #211
Full Changelog: 0.13.0...0.14.0