diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c39e5..4b4f3eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Polly.Caching.Distributed change log +## 3.0.0 +- Allow caching of `default(TResult)` +- Compatible with Polly >= v7 + ## 2.0.1 - No functional changes - Indicate compatibility with Polly < v7 diff --git a/GitVersionConfig.yaml b/GitVersionConfig.yaml index 376e301..a3ad734 100644 --- a/GitVersionConfig.yaml +++ b/GitVersionConfig.yaml @@ -1 +1 @@ -next-version: 2.0.1 +next-version: 3.0.0 diff --git a/README.md b/README.md index 6baa93d..dc433d3 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,19 @@ Polly.Caching.Distributed supports .NET Standard 1.1 and .NET Standard 2.0. ## Versions and Dependencies +Polly.Caching.Distributed >=v3.0 requires: + ++ [Polly](https://nuget.org/packages/polly) >= v7.0.0. ++ [Microsoft.Extensions.Caching.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.Caching.Abstractions/) v2.0.2 or above. + Polly.Caching.Distributed >=v2.0 and <v3 requires: -+ [Polly](nuget.org/packages/polly) >= v6.0.1 and <v7. ++ [Polly](https://nuget.org/packages/polly) >= v6.0.1 and <v7. + [Microsoft.Extensions.Caching.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.Caching.Abstractions/) v2.0.2 or above. Polly.Caching.IDistributedCache <v2.0 requires: -+ [Polly](nuget.org/packages/polly) v5.4.0 or above. ++ [Polly](https://nuget.org/packages/polly) v5.4.0 or above. + [Microsoft.Extensions.Caching.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.Caching.Abstractions/) v1.1.2 or above. @@ -129,6 +134,7 @@ For details of changes by release see the [change log](CHANGELOG.md). * [@seanfarrow](https://github.com/seanfarrow) and [@reisenberger](https://github.com/reisenberger) - Initial caching architecture in the main Polly repo * [@reisenberger](https://github.com/reisenberger) - `IDistributedCache` implementation * [@seanfarrow](https://github.com/seanfarrow) - v2.0 update to Signed packages only to correspond with Polly v6.0.1 +* [@reisenberger](https://github.com/reisenberger) - Update to Polly v7.0.0 # Instructions for Contributing diff --git a/src/Polly.Caching.Distributed.NetStandard11/Properties/AssemblyInfo.cs b/src/Polly.Caching.Distributed.NetStandard11/Properties/AssemblyInfo.cs index 32bce5d..ec763bd 100644 --- a/src/Polly.Caching.Distributed.NetStandard11/Properties/AssemblyInfo.cs +++ b/src/Polly.Caching.Distributed.NetStandard11/Properties/AssemblyInfo.cs @@ -3,9 +3,9 @@ using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Polly.Caching.Distributed")] -[assembly: AssemblyVersion("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.1.0")] -[assembly: AssemblyInformationalVersion("2.0.1.0")] +[assembly: AssemblyVersion("3.0.0.0")] +[assembly: AssemblyFileVersion("3.0.0.0")] +[assembly: AssemblyInformationalVersion("3.0.0.0")] [assembly: CLSCompliant(false)] // Because Microsoft.Extensions.Caching.Memory.IDistributedCache, on which Polly.Caching.IDistributedCache.NetStandard11 depends, is not CLSCompliant. [assembly: InternalsVisibleTo("Polly.Caching.Distributed.NetStandard11.Specs")] \ No newline at end of file diff --git a/src/Polly.Caching.Distributed.NetStandard20/Properties/AssemblyInfo.cs b/src/Polly.Caching.Distributed.NetStandard20/Properties/AssemblyInfo.cs index d96bc35..4e5c197 100644 --- a/src/Polly.Caching.Distributed.NetStandard20/Properties/AssemblyInfo.cs +++ b/src/Polly.Caching.Distributed.NetStandard20/Properties/AssemblyInfo.cs @@ -3,9 +3,9 @@ using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Polly.Caching.Distributed")] -[assembly: AssemblyVersion("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.1.0")] -[assembly: AssemblyInformationalVersion("2.0.1.0")] +[assembly: AssemblyVersion("3.0.0.0")] +[assembly: AssemblyFileVersion("3.0.0.0")] +[assembly: AssemblyInformationalVersion("3.0.0.0")] [assembly: CLSCompliant(false)] // Because Microsoft.Extensions.Caching.Memory.IDistributedCache, on which Polly.Caching.IDistributedCache.NetStandard11 depends, is not CLSCompliant. [assembly: InternalsVisibleTo("Polly.Caching.Distributed.NetStandard20.Specs")] \ No newline at end of file diff --git a/src/Polly.Caching.Distributed.nuspec b/src/Polly.Caching.Distributed.nuspec index fa3d8a1..c3a8da4 100644 --- a/src/Polly.Caching.Distributed.nuspec +++ b/src/Polly.Caching.Distributed.nuspec @@ -13,6 +13,11 @@ Polly Cache Caching Cache-aside Copyright © 2019, App vNext + 3.0.0 + --------------------- + - Allow caching of default(TResult) + - Compatible with Polly >= v7 + 2.0.1 --------------------- - No functional changes @@ -35,11 +40,11 @@ - + - +