Skip to content

Commit 3f5b5b2

Browse files
committed
prepare for release
1 parent fbc6e3b commit 3f5b5b2

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

Client/Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Pathoschild.Http.Client</RootNamespace>
66
<PackageId>Pathoschild.Http.FluentClient</PackageId>
77
<Title>FluentHttpClient</Title>
8-
<Version>4.1.1</Version>
8+
<Version>4.2.0</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>

Client/Internal/BodyBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32
using System.IO;
43
using System.Linq;

RELEASE-NOTES.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Release notes
2-
## Upcoming release
3-
* Added .NET 5.0+ as a target framework.
4-
_.NET 5.0+ was already supported, this just makes that clearer._
2+
## 4.2.0
3+
Released 07 October 2022.
4+
5+
* Added .NET 5.0+ as a target framework. (It was already supported, this just makes that clearer.)
56
* Added constructor which takes an `HttpClient` without a base URI (thanks to TimothyMakkison!).
67
* Added fluent `request.WithFilter` and `WithoutFilter` methods (thanks to Jericho!).
78
* Fixed `resource` parameters for methods like `GetAsync` marked non-nullable.
@@ -14,13 +15,13 @@ Released 22 June 2022.
1415
* Updated to Json.Net 13.0.1.
1516
* Fixed IntelliSense docs for `With`/`SetOptions` (thanks to Jericho!).
1617

17-
## 4.1
18+
## 4.1.0
1819
Released 11 March 2021.
1920

2021
* Added support for [chained retry policies](README.md#chained-retry-policies) (thanks to Jericho!).
2122
* Fixed `WithBody(null)` no longer allowed in 4.0.
2223

23-
## 4.0
24+
## 4.0.0
2425
Released 13 May 2020.
2526

2627
* Added nullable reference type annotations.
@@ -48,7 +49,7 @@ Released 19 July 2019.
4849
* `bodyBuilder.FormUrlEncoded` now has an overload for dictionary input.
4950
* Fixed form-URL-encoded body helper enforcing URL length limits.
5051

51-
## 3.3
52+
## 3.3.0
5253
Released 27 April 2019.
5354

5455
* Added support for reading responses into `JToken`, `JObject`, `JArray`, or `dynamic`.
@@ -57,7 +58,7 @@ Released 27 April 2019.
5758
* Fixed default web proxy not being used.
5859
* Updated dependencies.
5960

60-
## 3.2
61+
## 3.2.0
6162
Released 18 April 2018.
6263

6364
* Added options to finetune behavior (see `client.SetOptions` and `request.WithOptions`).
@@ -75,7 +76,7 @@ Released 18 April 2018.
7576
**Possible impacting changes:**
7677
* The base URL is no longer truncated in some cases. For example, a base URL `https://example.org/index.php` with resource `api` now resolves to `https://example.org/index.php/api` instead of `https://example.org/api`.
7778

78-
## 3.1
79+
## 3.1.0
7980
Released 19 September 2017.
8081

8182
* Added option to set default behaviour for all requests.
@@ -87,7 +88,7 @@ Released 19 September 2017.
8788
* Fixed `IRetryConfig.MaxRetries` counting the initial request as a retry.
8889
<small>_For example, `maxRetries: 1` never retried. This value now sets the maximum number of retries after the initial request.</small>_
8990

90-
## 3.0
91+
## 3.0.0
9192
Released 08 February 2017.
9293

9394
* New features:
@@ -112,20 +113,20 @@ Released 08 February 2017.
112113
* Fixed unintuitive behaviour when the base URL doesn't end in a slash.
113114
* Relicensed from CC-BY 3.0 to more permissive MIT license.
114115

115-
## 2.3
116+
## 2.3.0
116117
Released 12 December 2016.
117118

118119
* Migrated to .NET Standard 1.3 + .NET Core to improve crossplatform support.
119120

120-
## 2.2
121+
## 2.2.0
121122
Released 30 June 2016.
122123

123124
* Updated to latest version of Json.NET.
124125
* Merged formatters library into client.
125126
* Prepared for migration to .NET Core.
126127

127128

128-
## 2.1
129+
## 2.1.0
129130
Released 08 May 2016.
130131

131132
* Migrated to PCL for cross-platform compatibility.
@@ -135,7 +136,7 @@ Released 08 May 2016.
135136
* Deprecated `JsonNetFormatter`.
136137
_(The underlying HttpClient now uses Json.NET by default.)_
137138

138-
## 2.0
139+
## 2.0.0
139140
Released 28 April 2016.
140141

141142
* Replace `IFactory` with a new extensibility model using `IHttpFilter`.
@@ -150,19 +151,19 @@ Released 28 October 2015.
150151

151152
* The client is now `IDisposable`.
152153

153-
## 1.2
154+
## 1.2.0
154155
Released 30 October 2013.
155156

156157
* Updated to latest versions of HttpClient and Json.NET.
157158

158-
## 1.1
159+
## 1.1.0
159160
Released 28 August 2013.
160161

161162
* Added request cloning to support use cases like batch queries.
162163
* Added UTF-8 as a supported encoding by default.
163164

164165

165-
## 1.0
166+
## 1.0.0
166167
Released 23 May 2012.
167168

168169
* Initial client release:

0 commit comments

Comments
 (0)