From 11fd7fbe8df01bafb9409255c375995870675ce2 Mon Sep 17 00:00:00 2001 From: Sam Cook Date: Sun, 11 Nov 2018 13:47:25 +0000 Subject: [PATCH] Bump version to 2.2.0. Update README. --- Directory.Build.props | 4 +++- README.md | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 97041a6..d56101b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ 2.2.0.0 - 2.2.0-pre1 + 2.2.0 $(Version) Sam Cook @@ -14,6 +14,8 @@ git RedLock Redis Distributed Lock + Note: RedLock 2.2.0+ requires StackExchange.Redis 2.0+ - if you need to use StackExchange.Redis 1.x please continue to use RedLock.net 2.1.0. + 2.2.0 - Update to StackExchange.Redis 2.0. Switch to a single strong named package and adjust platform targets to match StackExchange.Redis 2.0. 2.1.0 - Add connection change events and more detailed lock status information 2.0.0 - .NET Core release diff --git a/README.md b/README.md index 0eec1a4..04e2625 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,17 @@ -# RedLock.net [![Build status](https://ci.appveyor.com/api/projects/status/fclfbkdqy905v3xu/branch/master?svg=true)](https://ci.appveyor.com/project/samcook/redlock-net/branch/master) +# RedLock.net + +[![Build status](https://ci.appveyor.com/api/projects/status/fclfbkdqy905v3xu/branch/master?svg=true)](https://ci.appveyor.com/project/samcook/redlock-net/branch/master) [![GitHub](https://img.shields.io/github/license/samcook/RedLock.net.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/RedLock.net.svg)](https://www.nuget.org/packages/RedLock.net) [![GitHub release](https://img.shields.io/github/release/samcook/RedLock.net.svg?logo=github&logoColor=cccccc)](https://github.com/samcook/RedLock.net/releases) [![GitHub release](https://img.shields.io/github/release/samcook/RedLock.net/all.svg?label=pre-release&logo=github&logoColor=cccccc)](https://github.com/samcook/RedLock.net/releases) An implementation of the [Redlock distributed lock algorithm](http://redis.io/topics/distlock) in C#. -Makes use of the excellent [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) library. +Makes use of the excellent [StackExchange.Redis](https://stackexchange.github.io/StackExchange.Redis/) library. Distributed locks are useful for ensuring only one process is using a particular resource at any given time (even if the processes are running on different machines). RedLock.net is available using NuGet - search for [RedLock.net](https://www.nuget.org/packages/RedLock.net). +*Note:* RedLock 2.2.0+ requires StackExchange.Redis 2.0+ - if you need to use StackExchange.Redis 1.x please continue to use RedLock.net 2.1.0. + ## Usage Construct a `RedLockFactory`, passing in a set of Redis endpoints. Each endpoint passed to the constructor should be independent (i.e. not replicated masters/slaves). See below for more information on using RedLock.net with replicated instances.