diff --git a/CHANGELOG.md b/CHANGELOG.md index 4154644..9fcc1e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.0.0-v2alpha +- Publish as strong-named package only (discontinue non-strong-named versions) + ## 1.0.3 - RTM version diff --git a/GitVersionConfig.yaml b/GitVersionConfig.yaml index cd6a99d..ddba28c 100644 --- a/GitVersionConfig.yaml +++ b/GitVersionConfig.yaml @@ -1 +1 @@ -next-version: 1.0.3 \ No newline at end of file +next-version: 2.0.0 \ No newline at end of file diff --git a/README.md b/README.md index af0a447..2f52f14 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,7 @@ Polly is a member of the [.NET Foundation](https://www.dotnetfoundation.org/abou Install-Package Polly.Extensions.Http -You can install the Strongly Named version via: - - Install-Package Polly.Extensions.Http-Signed - -The strongly-named version works with the strongly-named Polly-Signed nuget package. +This package contains a strongly-named DLL. # Convenience methods for transient faults of HttpClient calls @@ -72,9 +68,9 @@ var policy = Policy .RetryAsync(3); ``` -# Using Polly.Extensions.Http with HttpClientFactory +# Using Polly.Extensions.Http with IHttpClientFactory -Polly.Extensions.Http is ideal for creating custom Polly policies for use with HttpClientFactory ([preview1 blog post](https://blogs.msdn.microsoft.com/webdev/2018/02/28/asp-net-core-2-1-preview1-introducing-httpclient-factory/); [preview2 blog post](https://blogs.msdn.microsoft.com/webdev/2018/04/12/asp-net-core-2-1-0-preview2-now-available/)), available from ASP.NET Core 2.1. +Polly.Extensions.Http is ideal for creating custom Polly policies for use with IHttpClientFactory, available from ASP.NET Core 2.1. ```csharp var retryPolicy = HttpPolicyExtensions @@ -89,11 +85,14 @@ serviceCollection.AddHttpClient("example.com", c => c.BaseAddress = new Uri("htt .AddPolicyHandler(timeoutPolicy); ``` -#### TODO: link to public HttpClientFactory documentation and/or expand example, when that documentation is published. +## Official documentation -# For more information on Polly ++ [Microsoft documentation on IHttpClientFactory](https://docs.microsoft.com/en-gb/aspnet/core/fundamentals/http-requests?view=aspnetcore-2.1) ++ [Microsoft documentation on using Polly policies with IHttpClientFactory](https://docs.microsoft.com/en-gb/aspnet/core/fundamentals/http-requests?view=aspnetcore-2.1#use-polly-based-handlers) ++ [Polly documentation on Polly and HttpClientFactory](https://github.com/App-vNext/Polly/wiki/Polly-and-HttpClientFactory) ++ [Main Polly readme](https://github.com/App-vNext/Polly): quickstart details of all Polly policies and features ++ [Polly wiki](https://github.com/App-vNext/Polly/wiki): deep doco on Polly features -For more information on Polly and configuring Polly policies see the [main Polly repository](https://github.com/App-vNext/Polly) and [wiki](https://github.com/App-vNext/Polly/wiki). # Release notes diff --git a/src/Polly.Extensions.Http.NetStandard11/Properties/AssemblyInfo.cs b/src/Polly.Extensions.Http.NetStandard11/Properties/AssemblyInfo.cs index acd1709..ba95ac0 100644 --- a/src/Polly.Extensions.Http.NetStandard11/Properties/AssemblyInfo.cs +++ b/src/Polly.Extensions.Http.NetStandard11/Properties/AssemblyInfo.cs @@ -3,9 +3,9 @@ using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Polly.Extensions.Http")] -[assembly: AssemblyInformationalVersion("1.0.5.0")] -[assembly: AssemblyFileVersion("1.0.5.0")] -[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyInformationalVersion("2.0.0.0")] +[assembly: AssemblyFileVersion("2.0.0.0")] +[assembly: AssemblyVersion("2.0.0.0")] [assembly: CLSCompliant(true)] [assembly: InternalsVisibleTo("Polly.Extensions.Http.NetStandard11.Specs")] \ No newline at end of file diff --git a/src/Polly.Extensions.Http.nuspec b/src/Polly.Extensions.Http.nuspec index 14ef8ed..2c10307 100644 --- a/src/Polly.Extensions.Http.nuspec +++ b/src/Polly.Extensions.Http.nuspec @@ -13,6 +13,10 @@ HttpClient Exception Handling Resilience Transient Fault Policy Copyright © 2018, App vNext + 2.0.0-v2alpha + --------------------- + - Publish as strong-named package only (discontinue non-strong-named versions) + 1.0.3 --------------------- - RTM version