Fix for issue introduced in 2.3.1 where locks failed to extend in certain circumstances.
2.3.2-pre1
Changes since 2.3.1
Fix for issue introduced in 2.3.1 where locks failed to extend in certain circumstances.
2.3.1
Changes since 2.2.0
Add support for async unlocking.
Add configurable retry settings.
Fix rare failure to unlock on dispose issue.
2.2.0
Changes since 2.1.0
Update StackExchange.Redis to version 2 (see their release notes for more information). This is not backwards compatible - if you need to use StackExchange.Redis 1.x please continue to use RedLock.net 2.1.0.
Switch nuget packaging to a single strong named package to match StackExchange.Redis (RedLock.net.StrongName is now no longer updated as the main RedLock.net package is now strong named).
Switch target frameworks to match StackExchange.Redis targets (4.6.1, 4.7.2 and NetStandard 2.0).
Switch nuget packaging to a single strong named package to match StackExchange.Redis (RedLock.net.StrongName is now no longer updated as the main RedLock.net package is now strong named) .
Switch target frameworks to match StackExchange.Redis targets (4.6.1, 4.7.2 and NetStandard 2.0).
2.1.0
Adds lock status information (RedLock.Status and RedLock.InstanceSummary) to give more information when locks fail to acquire (e.g. conflicted, no quorum) (#24).
Adds RedLockFactory.ConfigurationChanged event that is fired whenever changes to the underlying redis connections are detected (#24).
Limits StackExchange.Redis nuget dependency to < 2.0, as 2.0 is a breaking change (#40).
2.1.0-pre2
Add NetStandard 2.0 target
2.0.0
Version 2.0 refactor
Support for .NET core
Change default key format to use : as a namespace separator (thanks to @mholec for the suggestion)
Added Resource property to IRedLock
Use ConnectionMultiplexer's default database rather than database 0 if no database is specified in RedLockMultiplexer (thanks to @shadowfoxish for pointing this out)
Fixes a bug calculating remaining validity ticks (Stopwatch ticks are not the same as TimeSpan ticks) - thanks to @tukaef for spotting this.
2.1.0-pre1
Adds lock status information (RedLock.Status and RedLock.InstanceSummary) to give more information when locks fail to acquire (e.g. conflicted, no quorum).
Adds RedLockFactory.ConfigurationChanged event that is fired whenever changes to the underlying redis connections are detected.
2.0.0-pre2
Change default key format to use : as a namespace separator (thanks to @mholec for the suggestion)
Added Resource property to IRedLock
Use ConnectionMultiplexer's default database rather than database 0 if no database is specified in RedLockMultiplexer (thanks to @shadowfoxish for pointing this out)