Skip to content

Commit

Permalink
Bump version to 2.2.0.
Browse files Browse the repository at this point in the history
Update README.
  • Loading branch information
samcook committed Nov 11, 2018
1 parent cfbdbaf commit 11fd7fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<Version>2.2.0-pre1</Version>
<Version>2.2.0</Version>
<FileVersion>$(Version)</FileVersion>
<Authors>Sam Cook</Authors>
<Company />
Expand All @@ -14,6 +14,8 @@
<RepositoryType>git</RepositoryType>
<PackageTags>RedLock Redis Distributed Lock</PackageTags>
<PackageReleaseNotes>
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
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 11fd7fb

Please sign in to comment.