From 935edd832e9fdd66966e9aba5b883a40bd80adce Mon Sep 17 00:00:00 2001 From: Tony Hu Date: Wed, 17 Apr 2024 11:44:16 +0800 Subject: [PATCH 1/3] Use Http/2 by default in Kiota Fix issue https://github.com/microsoft/kiota-http-dotnet/issues/231 --- src/HttpClientRequestAdapter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HttpClientRequestAdapter.cs b/src/HttpClientRequestAdapter.cs index 118ce46..5930733 100644 --- a/src/HttpClientRequestAdapter.cs +++ b/src/HttpClientRequestAdapter.cs @@ -538,6 +538,7 @@ private HttpRequestMessage GetRequestMessageFromRequestInformation(RequestInform { Method = new HttpMethod(requestInfo.HttpMethod.ToString().ToUpperInvariant()), RequestUri = requestUri, + Version=new Version(2,0) }; if(requestInfo.RequestOptions.Any()) From 0ae38d6ab5f339d78dbe6e0724a8b9b7086b14e8 Mon Sep 17 00:00:00 2001 From: Eastman Date: Wed, 17 Apr 2024 09:21:33 +0300 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9382cd0..10c4a02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.9] - 2024-04-17 + +## Changed + +- Set default request version to be Http/2 + ## [1.3.8] - 2024-03-25] ## Changed @@ -232,4 +238,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Initial Nuget release \ No newline at end of file +- Initial Nuget release From 20a7700b070e753cd7e8287b033ef5d36eee6f76 Mon Sep 17 00:00:00 2001 From: Eastman Date: Wed, 17 Apr 2024 09:22:55 +0300 Subject: [PATCH 3/3] Bump version --- src/Microsoft.Kiota.Http.HttpClientLibrary.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Kiota.Http.HttpClientLibrary.csproj b/src/Microsoft.Kiota.Http.HttpClientLibrary.csproj index 6366918..233dfd5 100644 --- a/src/Microsoft.Kiota.Http.HttpClientLibrary.csproj +++ b/src/Microsoft.Kiota.Http.HttpClientLibrary.csproj @@ -14,7 +14,7 @@ https://aka.ms/kiota/docs true true - 1.3.8 + 1.3.9 true