Skip to content

Commit d7c7c12

Browse files
committed
Merge branch 'develop' into stable
2 parents cde6ed3 + 0715e44 commit d7c7c12

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

Client/Client.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard1.3;netstandard2.0;net45</TargetFrameworks>
3+
<TargetFrameworks>netstandard1.3;netstandard2.0;net452</TargetFrameworks>
44
<AssemblyName>Pathoschild.Http.Client</AssemblyName>
55
<RootNamespace>Pathoschild.Http.Client</RootNamespace>
66
<PackageId>Pathoschild.Http.FluentClient</PackageId>
77
<Title>FluentHttpClient</Title>
8-
<Version>4.1.0</Version>
8+
<Version>4.1.1</Version>
99
<Authors>Pathoschild</Authors>
1010
<Description>A modern async HTTP client for REST APIs. Its fluent interface lets you send an HTTP request and parse the response in one go.</Description>
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -22,12 +22,12 @@
2222
<Nullable>enable</Nullable>
2323
</PropertyGroup>
2424

25-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net45' ">
25+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net452' ">
2626
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
2727
</ItemGroup>
2828

2929
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
30-
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
30+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
3131
<PackageReference Include="System.Net.Http" Version="4.3.4" />
3232
<PackageReference Include="WinInsider.System.Net.Http.Formatting" Version="1.0.14" />
3333
</ItemGroup>

Client/FluentClientExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ public static IClient SetRequestCoordinator(this IClient client, IEnumerable<IRe
186186

187187
/// <summary>Set default options for all requests.</summary>
188188
/// <param name="client">The client.</param>
189-
/// <param name="ignoreHttpErrors">Whether to ignore null arguments when the request is dispatched (or <c>null</c> to leave the option unchanged).</param>
190-
/// <param name="ignoreNullArguments">Whether HTTP error responses like HTTP 404 should be ignored; else raised as exceptions (or <c>null</c> to leave the option unchanged).</param>
189+
/// <param name="ignoreHttpErrors">Whether HTTP error responses like HTTP 404 should be ignored; else raised as exceptions (or <c>null</c> to leave the option unchanged).</param>
190+
/// <param name="ignoreNullArguments">Whether to ignore null arguments when the request is dispatched (or <c>null</c> to leave the option unchanged).</param>
191191
public static IClient SetOptions(this IClient client, bool? ignoreHttpErrors = null, bool? ignoreNullArguments = null)
192192
{
193193
return client.SetOptions(new FluentClientOptions
@@ -269,8 +269,8 @@ public static IRequest WithRequestCoordinator(this IRequest request, IEnumerable
269269

270270
/// <summary>Set options for this request.</summary>
271271
/// <param name="request">The request.</param>
272-
/// <param name="ignoreHttpErrors">Whether to ignore null arguments when the request is dispatched (or <c>null</c> to leave the option unchanged).</param>
273-
/// <param name="ignoreNullArguments">Whether HTTP error responses like HTTP 404 should be ignored; else raised as exceptions (or <c>null</c> to leave the option unchanged).</param>
272+
/// <param name="ignoreHttpErrors">Whether HTTP error responses like HTTP 404 should be ignored; else raised as exceptions (or <c>null</c> to leave the option unchanged).</param>
273+
/// <param name="ignoreNullArguments">Whether to ignore null arguments when the request is dispatched (or <c>null</c> to leave the option unchanged).</param>
274274
public static IRequest WithOptions(this IRequest request, bool? ignoreHttpErrors = null, bool? ignoreNullArguments = null)
275275
{
276276
return request.WithOptions(new RequestOptions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The client works on most platforms (including Linux, Mac, and Windows):
4646
| :-------------------------- | :---------- |
4747
| .NET | 5.0 |
4848
| .NET Core | 1.0 |
49-
| .NET Framework | 4.5 |
49+
| .NET Framework | 4.5.2 |
5050
| [.NET Standard][] | 1.3 |
5151
| Mono | 4.6 |
5252
| Unity | 2018.1 |

RELEASE-NOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# Release notes
2+
## 4.1.1
3+
Released 22 June 2022.
4+
5+
* Bumped min .NET Framework version from 4.5 to 4.5.2.
6+
* Updated to Json.Net 13.0.1.
7+
* Fixed IntelliSense docs for `With`/`SetOptions` (thanks to Jericho!).
8+
29
## 4.1
310
Released 11 March 2021.
411

Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp1.1;netcoreapp2.0;net451</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp1.1;netcoreapp2.0;net452</TargetFrameworks>
44
<AssemblyName>Pathoschild.Http.Tests</AssemblyName>
55
<RootNamespace>Pathoschild.Http.Tests</RootNamespace>
66
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>

0 commit comments

Comments
 (0)