From 655bd942a4e27ae19de166ca53f565cc2e7aeacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Fri, 28 Apr 2023 09:13:20 +0200 Subject: [PATCH 001/119] chore(release): prepare for next development iteration (#513) --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 330d4b2cc..0cbcfa7e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.13.0 [unreleased] + ## 4.12.0 [2023-04-28] ### Bug Fixes diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index f0caec251..cdd1ba281 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.12.0 - + 4.13.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 7b0f49d1f..e47391f08 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.12.0 - + 4.13.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index d9d8c5cfb..a628511fa 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.12.0 - + 4.13.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 9e4789e91..4e582b626 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.12.0 - + 4.13.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index e09a016dd..6a6b7dd04 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.12.0 - + 4.13.0 + dev false ../Keys/Key.snk From 5d164ddeb2674f5e8faedfa72e59be964d63787d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 08:45:36 +0200 Subject: [PATCH 002/119] chore(deps): bump WireMock.Net from 1.5.23 to 1.5.24 (#519) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.23 to 1.5.24. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.23...1.5.24) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 7bd55e84f..ed44b2481 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 09c67993030144061b20256bcef40a5761c4613b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 08:46:12 +0200 Subject: [PATCH 003/119] chore(deps): bump Radzen.Blazor from 4.10.1 to 4.10.3 (#518) Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.10.1 to 4.10.3. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.10.1...v4.10.3) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 9afa5ece4..c0ea751ce 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From e40f3c44064b1e139fbd2b009b1b3c38f4fe5aaf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 09:30:03 +0200 Subject: [PATCH 004/119] chore(deps): bump coverlet.collector from 3.2.0 to 6.0.0 (#524) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump coverlet.collector from 3.2.0 to 6.0.0 Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.2.0 to 6.0.0. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v3.2.0...v6.0.0) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 6 ++++++ Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cbcfa7e5..1a2aef8a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 4.13.0 [unreleased] +### Dependencies +Update dependencies: + +#### Test: + - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` + ## 4.12.0 [2023-04-28] ### Bug Fixes diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index ed44b2481..4753ce9e8 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 4967b2e78..402d58361 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -25,7 +25,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index b4091905f..0611a0c51 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -27,7 +27,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index dbb4c3e26..2885e5a66 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From ed2a04ad2606fc6f1b523b0876a2e9977eb44c61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 09:56:01 +0200 Subject: [PATCH 005/119] chore(deps): bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 (#523) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.5.0 to 17.6.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.5.0...v17.6.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a2aef8a5..6a2325e15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Update dependencies: #### Test: + - [#523](https://github.com/influxdata/influxdb-client-csharp/pull/523): `Microsoft.NET.Test.Sdk` to `17.6.0` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` ## 4.12.0 [2023-04-28] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 4753ce9e8..4ae8d0a3c 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 402d58361..c4a663f95 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 0611a0c51..581e73224 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 2885e5a66..0c4c2a7ad 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 8794c4a73d773c969c629df8e41a6d7dfa67a8b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 10:47:35 +0200 Subject: [PATCH 006/119] chore(deps): bump Radzen.Blazor from 4.10.3 to 4.11.2 (#526) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump Radzen.Blazor from 4.10.3 to 4.11.2 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.10.3 to 4.11.2. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.10.3...v4.11.2) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a2325e15..dd403412d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Dependencies Update dependencies: +#### Examples: + - [#526](https://github.com/influxdata/influxdb-client-csharp/pull/526): `Radzen.Blazor` to `4.11.2` + #### Test: - [#523](https://github.com/influxdata/influxdb-client-csharp/pull/523): `Microsoft.NET.Test.Sdk` to `17.6.0` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index c0ea751ce..bfc5306bc 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 71aa3a016d946826fec83f116bdeeee07d8880b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 10:48:06 +0200 Subject: [PATCH 007/119] chore(deps): bump WireMock.Net from 1.5.24 to 1.5.26 (#527) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump WireMock.Net from 1.5.24 to 1.5.26 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.24 to 1.5.26. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.24...1.5.26) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd403412d..9a02f60cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Update dependencies: #### Test: - [#523](https://github.com/influxdata/influxdb-client-csharp/pull/523): `Microsoft.NET.Test.Sdk` to `17.6.0` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` + - [#527](https://github.com/influxdata/influxdb-client-csharp/pull/527): `WireMock.Net` to `1.5.26` ## 4.12.0 [2023-04-28] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 4ae8d0a3c..215006198 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 048b4e232b637288a8b941bb7595eafdf2994ad1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 12:08:17 +0200 Subject: [PATCH 008/119] chore(deps): bump System.Reactive from 5.0.0 to 6.0.0 (#525) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump System.Reactive from 5.0.0 to 6.0.0 Bumps [System.Reactive](https://github.com/dotnet/reactive) from 5.0.0 to 6.0.0. - [Release notes](https://github.com/dotnet/reactive/releases) - [Commits](https://github.com/dotnet/reactive/commits) --- updated-dependencies: - dependency-name: System.Reactive dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client/Client.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a02f60cb..5f36711a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Dependencies Update dependencies: +#### Build: + - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` + #### Examples: - [#526](https://github.com/influxdata/influxdb-client-csharp/pull/526): `Radzen.Blazor` to `4.11.2` diff --git a/Client/Client.csproj b/Client/Client.csproj index 4e582b626..9000a180e 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -40,7 +40,7 @@ - + From a926ea178c6432cbaac8fc16d45bbe68fd7c6eea Mon Sep 17 00:00:00 2001 From: tangbao0002 <1427522930@qq.com> Date: Tue, 6 Jun 2023 12:08:00 +0800 Subject: [PATCH 009/119] feat: add HttpClient as a part of InfluxDBClientOptions (#528) --- CHANGELOG.md | 3 +++ Client.Test/ApiClientTest.cs | 4 +-- Client.Test/InfluxDbClientFactoryTest.cs | 31 ++++++++++++++++++++++++ Client/InfluxDBClientOptions.cs | 31 ++++++++++++++++++++++++ Client/Internal/ApiClient.cs | 5 +++- 5 files changed, 71 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f36711a7..9d5e5b3a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 4.13.0 [unreleased] +### Features +1. [#528](https://github.com/influxdata/influxdb-client-csharp/pull/528): Add HttpClient as a part of InfluxDBClientOptions + ### Dependencies Update dependencies: diff --git a/Client.Test/ApiClientTest.cs b/Client.Test/ApiClientTest.cs index 4b4ffbcce..6f2e22176 100644 --- a/Client.Test/ApiClientTest.cs +++ b/Client.Test/ApiClientTest.cs @@ -1,9 +1,9 @@ -using System; -using System.Net; using InfluxDB.Client.Api.Client; using InfluxDB.Client.Core; using InfluxDB.Client.Core.Internal; using NUnit.Framework; +using System; +using System.Net; namespace InfluxDB.Client.Test { diff --git a/Client.Test/InfluxDbClientFactoryTest.cs b/Client.Test/InfluxDbClientFactoryTest.cs index 21fdbc5d5..3bb3dfcef 100644 --- a/Client.Test/InfluxDbClientFactoryTest.cs +++ b/Client.Test/InfluxDbClientFactoryTest.cs @@ -2,11 +2,14 @@ using System.Collections.Generic; using System.Configuration; using System.IO; +using System.Net; +using System.Net.Http; using System.Reflection; using System.Security.Cryptography.X509Certificates; using InfluxDB.Client.Api.Client; using InfluxDB.Client.Core; using InfluxDB.Client.Core.Exceptions; +using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; namespace InfluxDB.Client.Test @@ -546,6 +549,34 @@ public void CertificatesFactory() Assert.AreEqual(certificateCollection, apiClient.RestClientOptions.ClientCertificates); } + [Test] + public void InjectHttpClient() + { + var options = new InfluxDBClientOptions("http://localhost:8086") + { + Token = "my-token" + }; + + var services = new ServiceCollection(); + + services.AddHttpClient(); + services.AddTransient(p => + { + var httpClientFactory = p.GetService(); + options.HttpClient = httpClientFactory.CreateClient(); + return new InfluxDBClient(options); + }); + + var builder = services.BuildServiceProvider(); + + _client = builder.GetRequiredService(); + + var restClient = GetDeclaredField(_client.GetType(), _client, "_apiClient").RestClient; + + Assert.AreEqual(options.HttpClient, + GetDeclaredField(restClient.GetType(), restClient, "k__BackingField")); + } + private static T GetDeclaredField(IReflect type, object instance, string fieldName) { const BindingFlags bindFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic diff --git a/Client/InfluxDBClientOptions.cs b/Client/InfluxDBClientOptions.cs index 539e2d986..2e090dd43 100644 --- a/Client/InfluxDBClientOptions.cs +++ b/Client/InfluxDBClientOptions.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Configuration; using System.Net; +using System.Net.Http; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; @@ -34,6 +35,7 @@ public class InfluxDBClientOptions private bool _allowHttpRedirects; private bool _verifySsl; private X509CertificateCollection _clientCertificates; + private HttpClient _httpClient; /// /// Set the url to connect the InfluxDB. @@ -251,6 +253,15 @@ public void AddDefaultTags(Dictionary tags) } } + /// + /// Add a HttpClient as a part of InfluxDBClientOptions + /// + public HttpClient HttpClient + { + get => _httpClient; + set => _httpClient = value; + } + /// /// Create an instance of InfluxDBClientOptions. The url could be a connection string with various configurations. /// @@ -428,6 +439,11 @@ private InfluxDBClientOptions(Builder builder) { ClientCertificates = builder.CertificateCollection; } + + if (builder.HttpClient != null) + { + HttpClient = builder.HttpClient; + } } private static TimeSpan ToTimeout(string value) @@ -506,6 +522,7 @@ public sealed class Builder internal bool VerifySslCertificates = true; internal RemoteCertificateValidationCallback VerifySslCallback; internal X509CertificateCollection CertificateCollection; + internal HttpClient HttpClient; internal PointSettings PointSettings = new PointSettings(); @@ -828,6 +845,20 @@ public InfluxDBClientOptions Build() return new InfluxDBClientOptions(this); } + + /// + /// Configure HttpClient + /// + /// + /// + public Builder SetHttpClient(HttpClient httpClient) + { + Arguments.CheckNotNull(httpClient, nameof(httpClient)); + + HttpClient = httpClient; + + return this; + } } } } \ No newline at end of file diff --git a/Client/Internal/ApiClient.cs b/Client/Internal/ApiClient.cs index 8b9779a1b..5243d0107 100644 --- a/Client/Internal/ApiClient.cs +++ b/Client/Internal/ApiClient.cs @@ -60,7 +60,10 @@ public ApiClient(InfluxDBClientOptions options, LoggingHandler loggingHandler, G RestClientOptions.ClientCertificates.AddRange(options.ClientCertificates); } - RestClient = new RestClient(RestClientOptions); + RestClient = options.HttpClient == null + ? new RestClient(RestClientOptions) + : new RestClient(options.HttpClient, RestClientOptions); + Configuration = new Configuration { ApiClient = this, From 805fbd867af0c318f4b0054da4ba72a19e232448 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 08:53:13 +0200 Subject: [PATCH 010/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.2 (#536) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.0 to 17.6.2. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.0...v17.6.2) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 215006198..e6411b876 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index c4a663f95..a5a8807ea 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 581e73224..76c627cf8 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 0c4c2a7ad..f6ac439e0 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From c04167b51dfef7624af28be0db1579907135d030 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 08:53:47 +0200 Subject: [PATCH 011/119] chore(deps): Bump Radzen.Blazor from 4.11.2 to 4.13.0 (#535) Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.11.2 to 4.13.0. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.11.2...v4.13.0) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index bfc5306bc..0788afc44 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 77828749058fa4461ec77260079081e220f9ca38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 09:00:54 +0200 Subject: [PATCH 012/119] chore(deps): Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 (#529) Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 4.4.2 to 4.5.0. - [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases) - [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.4.2...V4.5.0) --- updated-dependencies: - dependency-name: NUnit3TestAdapter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index e6411b876..8b3f888f6 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -15,7 +15,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index a5a8807ea..476d5674c 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -12,7 +12,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 76c627cf8..14ceefdcf 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index f6ac439e0..d35b42776 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -14,7 +14,7 @@ - + From ec3221f09b64bbb438f8c3128f04feeec4deea46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 09:25:29 +0200 Subject: [PATCH 013/119] chore(deps): Bump WireMock.Net from 1.5.26 to 1.5.28 (#534) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.26 to 1.5.28. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/commits) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 8b3f888f6..60f4f6861 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 77a058b0adac868a858a493cf4ad9a98f1f4a9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Thu, 15 Jun 2023 07:49:24 +0200 Subject: [PATCH 014/119] docs: update CHANGELOG.md (#537) --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5e5b3a3..7d128f98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,12 +10,13 @@ Update dependencies: - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` #### Examples: - - [#526](https://github.com/influxdata/influxdb-client-csharp/pull/526): `Radzen.Blazor` to `4.11.2` + - [#535](https://github.com/influxdata/influxdb-client-csharp/pull/535): `Radzen.Blazor` to `4.13.0` #### Test: - - [#523](https://github.com/influxdata/influxdb-client-csharp/pull/523): `Microsoft.NET.Test.Sdk` to `17.6.0` + - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` - - [#527](https://github.com/influxdata/influxdb-client-csharp/pull/527): `WireMock.Net` to `1.5.26` + - [#534](https://github.com/influxdata/influxdb-client-csharp/pull/534): `WireMock.Net` to `1.5.28` + - [#529](https://github.com/influxdata/influxdb-client-csharp/pull/529): `NUnit3TestAdapter` to `4.5.0` ## 4.12.0 [2023-04-28] From 0a0d5bbbe5494ccd1e9f4258213029075bacf579 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 08:55:48 +0200 Subject: [PATCH 015/119] chore(deps): Bump Radzen.Blazor from 4.13.0 to 4.13.2 (#539) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.13.0 to 4.13.2 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.13.0 to 4.13.2. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.13.0...v4.13.2) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d128f98e..8ed14159f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Update dependencies: - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` #### Examples: - - [#535](https://github.com/influxdata/influxdb-client-csharp/pull/535): `Radzen.Blazor` to `4.13.0` + - [#539](https://github.com/influxdata/influxdb-client-csharp/pull/539): `Radzen.Blazor` to `4.13.2` #### Test: - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 0788afc44..53d13f6bd 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From e29544547cc60735940644a16dd4d2fc9d75d0c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 08:56:22 +0200 Subject: [PATCH 016/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.5 to 7.0.7 (#538) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.5 to 7.0.7 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 7.0.5 to 7.0.7. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.5...v7.0.7) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ed14159f..0b3678398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Update dependencies: #### Build: - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` + - [#538](https://github.com/influxdata/influxdb-client-csharp/pull/538): `Microsoft.Extensions.ObjectPool` to `7.0.7` #### Examples: - [#539](https://github.com/influxdata/influxdb-client-csharp/pull/539): `Radzen.Blazor` to `4.13.2` diff --git a/Client/Client.csproj b/Client/Client.csproj index 9000a180e..6476f73b1 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From b396a14cc03a6f0ad59a8e2880e6072f3274868f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:13:31 +0200 Subject: [PATCH 017/119] chore(deps): Bump Radzen.Blazor from 4.13.2 to 4.13.3 (#542) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.13.2 to 4.13.3 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.13.2 to 4.13.3. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/commits) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b3678398..03fdff238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Update dependencies: - [#538](https://github.com/influxdata/influxdb-client-csharp/pull/538): `Microsoft.Extensions.ObjectPool` to `7.0.7` #### Examples: - - [#539](https://github.com/influxdata/influxdb-client-csharp/pull/539): `Radzen.Blazor` to `4.13.2` + - [#542](https://github.com/influxdata/influxdb-client-csharp/pull/542): `Radzen.Blazor` to `4.13.3` #### Test: - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 53d13f6bd..b5ebd27a9 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From a512a5bc2b3be94f69193fa01a0cfd48790e36c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:14:29 +0200 Subject: [PATCH 018/119] chore(deps): Bump WireMock.Net from 1.5.28 to 1.5.29 (#541) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.28 to 1.5.29 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.28 to 1.5.29. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.28...1.5.29) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03fdff238..9a481d81b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ Update dependencies: #### Test: - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` - - [#534](https://github.com/influxdata/influxdb-client-csharp/pull/534): `WireMock.Net` to `1.5.28` + - [#541](https://github.com/influxdata/influxdb-client-csharp/pull/541): `WireMock.Net` to `1.5.29` - [#529](https://github.com/influxdata/influxdb-client-csharp/pull/529): `NUnit3TestAdapter` to `4.5.0` ## 4.12.0 [2023-04-28] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 60f4f6861..d6081388c 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 44574e056bbdcccb282cf5b56c8ec3b1a1ef3e94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:15:39 +0200 Subject: [PATCH 019/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.7 to 7.0.8 (#540) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.7 to 7.0.8 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 7.0.7 to 7.0.8. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.7...v7.0.8) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a481d81b..41b6190fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Update dependencies: #### Build: - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` - - [#538](https://github.com/influxdata/influxdb-client-csharp/pull/538): `Microsoft.Extensions.ObjectPool` to `7.0.7` + - [#540](https://github.com/influxdata/influxdb-client-csharp/pull/540): `Microsoft.Extensions.ObjectPool` to `7.0.8` #### Examples: - [#542](https://github.com/influxdata/influxdb-client-csharp/pull/542): `Radzen.Blazor` to `4.13.3` diff --git a/Client/Client.csproj b/Client/Client.csproj index 6476f73b1..4497b7c17 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From ce93f45654c0317e5c036cd40b7acfc73e8428d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 06:39:30 +0200 Subject: [PATCH 020/119] chore(deps): Bump Radzen.Blazor from 4.13.3 to 4.13.6 (#551) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.13.3 to 4.13.6 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.13.3 to 4.13.6. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.13.3...v4.13.6) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41b6190fd..258d7caa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Update dependencies: - [#540](https://github.com/influxdata/influxdb-client-csharp/pull/540): `Microsoft.Extensions.ObjectPool` to `7.0.8` #### Examples: - - [#542](https://github.com/influxdata/influxdb-client-csharp/pull/542): `Radzen.Blazor` to `4.13.3` + - [#551](https://github.com/influxdata/influxdb-client-csharp/pull/551): `Radzen.Blazor` to `4.13.6` #### Test: - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index b5ebd27a9..926e42fe5 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 4e9811baafc268a0a75054af8da22af61f2b0245 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 06:40:52 +0200 Subject: [PATCH 021/119] chore(deps): Bump WireMock.Net from 1.5.29 to 1.5.32 (#550) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.29 to 1.5.32 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.29 to 1.5.32. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.29...1.5.32) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 258d7caa2..61f3e895b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ Update dependencies: #### Test: - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` - - [#541](https://github.com/influxdata/influxdb-client-csharp/pull/541): `WireMock.Net` to `1.5.29` + - [#550](https://github.com/influxdata/influxdb-client-csharp/pull/550): `WireMock.Net` to `1.5.32` - [#529](https://github.com/influxdata/influxdb-client-csharp/pull/529): `NUnit3TestAdapter` to `4.5.0` ## 4.12.0 [2023-04-28] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index d6081388c..d9ea6ace1 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From e18c7679c8b4bc57333fb388de2aab5e68ad8381 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 06:42:05 +0200 Subject: [PATCH 022/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.8 to 7.0.9 (#549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.8 to 7.0.9 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 7.0.8 to 7.0.9. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.8...v7.0.9) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61f3e895b..99e07a57d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Update dependencies: #### Build: - [#525](https://github.com/influxdata/influxdb-client-csharp/pull/525): `System.Reactive` to `6.0.0` - - [#540](https://github.com/influxdata/influxdb-client-csharp/pull/540): `Microsoft.Extensions.ObjectPool` to `7.0.8` + - [#549](https://github.com/influxdata/influxdb-client-csharp/pull/549): `Microsoft.Extensions.ObjectPool` to `7.0.9` #### Examples: - [#551](https://github.com/influxdata/influxdb-client-csharp/pull/551): `Radzen.Blazor` to `4.13.6` diff --git a/Client/Client.csproj b/Client/Client.csproj index 4497b7c17..5ce26a38b 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From 8824013a0d78406751eebdf28899af99051b25c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 06:44:57 +0200 Subject: [PATCH 023/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 (#543) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.2 to 17.6.3. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.2...v17.6.3) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99e07a57d..8943d2007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Update dependencies: - [#551](https://github.com/influxdata/influxdb-client-csharp/pull/551): `Radzen.Blazor` to `4.13.6` #### Test: - - [#536](https://github.com/influxdata/influxdb-client-csharp/pull/536): `Microsoft.NET.Test.Sdk` to `17.6.2` + - [#543](https://github.com/influxdata/influxdb-client-csharp/pull/543): `Microsoft.NET.Test.Sdk` to `17.6.3` - [#524](https://github.com/influxdata/influxdb-client-csharp/pull/524): `coverlet.collector` to `6.0.0` - [#550](https://github.com/influxdata/influxdb-client-csharp/pull/550): `WireMock.Net` to `1.5.32` - [#529](https://github.com/influxdata/influxdb-client-csharp/pull/529): `NUnit3TestAdapter` to `4.5.0` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index d9ea6ace1..bdbfbc2e6 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 476d5674c..0db09e135 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 14ceefdcf..2504fa715 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index d35b42776..d5562456e 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 0d83f598c8d5c07277d594bc37dda7168f480148 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Tue, 18 Jul 2023 16:07:55 -0500 Subject: [PATCH 024/119] chore: update README.md based on feedback from Product (#552) --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index cf722a68b..d98549639 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,7 @@ [![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/influxdata/influxdb-client-csharp.svg)](https://github.com/influxdata/influxdb-client-csharp/pulls) [![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://www.influxdata.com/slack) -This repository contains the reference C# client for the InfluxDB 2.x. - -#### Note: Use this client library with InfluxDB 2.x and InfluxDB 1.8+ ([see details](#influxdb-18-api-compatibility)). For connecting to InfluxDB 1.7 or earlier instances, use the [influxdb-csharp](https://github.com/influxdata/influxdb-csharp) client library. +This repository contains the C# client library for use with InfluxDB 2.0 specifically with Flux. For InfluxDB 3.0 users, utilize the lightweight [v3 client library](https://github.com/InfluxCommunity/influxdb3-csharp). Most users of previous versions of InfluxDB will want to use InfluxQL and the [v1 client library](https://github.com/influxdata/influxdb-csharp). - [Features](#features) - [Documentation](#documentation) From 752dcf77cd4f513ca2e5b78ebedaa23354d85f11 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 19 Jul 2023 12:23:24 -0500 Subject: [PATCH 025/119] chore: fine-tune README.md based on additional feedback (#553) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d98549639..b50e75576 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ [![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/influxdata/influxdb-client-csharp.svg)](https://github.com/influxdata/influxdb-client-csharp/pulls) [![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://www.influxdata.com/slack) -This repository contains the C# client library for use with InfluxDB 2.0 specifically with Flux. For InfluxDB 3.0 users, utilize the lightweight [v3 client library](https://github.com/InfluxCommunity/influxdb3-csharp). Most users of previous versions of InfluxDB will want to use InfluxQL and the [v1 client library](https://github.com/influxdata/influxdb-csharp). +This repository contains the C# client library for use with InfluxDB 2.x and Flux. InfluxDB 3.x users should instead use the lightweight [v3 client library](https://github.com/InfluxCommunity/influxdb3-csharp). InfluxDB 1.x users should use the [v1 client library](https://github.com/InfluxCommunity/influxdb3-csharp). + +For ease of migration and a consistent query and write experience, v2 users should consider using InfluxQL and the [v1 client library](https://github.com/influxdata/influxdb-csharp). - [Features](#features) - [Documentation](#documentation) From 382aa5092b1e6acf623a6851c3deb9ceef286759 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 19 Jul 2023 12:28:39 -0500 Subject: [PATCH 026/119] chore: fix typo in last commit (#554) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b50e75576..2b802f567 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/influxdata/influxdb-client-csharp.svg)](https://github.com/influxdata/influxdb-client-csharp/pulls) [![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://www.influxdata.com/slack) -This repository contains the C# client library for use with InfluxDB 2.x and Flux. InfluxDB 3.x users should instead use the lightweight [v3 client library](https://github.com/InfluxCommunity/influxdb3-csharp). InfluxDB 1.x users should use the [v1 client library](https://github.com/InfluxCommunity/influxdb3-csharp). +This repository contains the C# client library for use with InfluxDB 2.x and Flux. InfluxDB 3.x users should instead use the lightweight [v3 client library](https://github.com/InfluxCommunity/influxdb3-csharp). InfluxDB 1.x users should use the [v1 client library](https://github.com/influxdata/influxdb-csharp). For ease of migration and a consistent query and write experience, v2 users should consider using InfluxQL and the [v1 client library](https://github.com/influxdata/influxdb-csharp). From 73bb9c98b8c1caa9d7ad73d293f6e175167fdd71 Mon Sep 17 00:00:00 2001 From: alespour <42931850+alespour@users.noreply.github.com> Date: Fri, 21 Jul 2023 10:36:47 +0200 Subject: [PATCH 027/119] fix: chaining multiple condition in LINQ query (#555) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test: add nested or test (issue #481) * fix: prevent empty filters * fix: expression normalization * docs: update CHANGELOG --------- Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 + Client.Linq.Test/ItInfluxDBQueryableTest.cs | 21 ++++++ Client.Linq/Internal/QueryAggregator.cs | 10 ++- .../Internal/QueryExpressionTreeVisitor.cs | 64 +++++++++++-------- 4 files changed, 68 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8943d2007..43100cc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Features 1. [#528](https://github.com/influxdata/influxdb-client-csharp/pull/528): Add HttpClient as a part of InfluxDBClientOptions +### Bug Fixes +1. [#555](https://github.com/influxdata/influxdb-client-csharp/pull/555): Chaining multiple conditions in LINQ queries + ### Dependencies Update dependencies: diff --git a/Client.Linq.Test/ItInfluxDBQueryableTest.cs b/Client.Linq.Test/ItInfluxDBQueryableTest.cs index 581b8f629..6129b1426 100644 --- a/Client.Linq.Test/ItInfluxDBQueryableTest.cs +++ b/Client.Linq.Test/ItInfluxDBQueryableTest.cs @@ -71,6 +71,27 @@ orderby s.Timestamp Assert.AreEqual(1, sensors.Count); } + [Test] + public void QueryExampleNestedOr() + { + // https://github.com/influxdata/influxdb-client-csharp/issues/481 + var query = (from s in InfluxDBQueryable.Queryable("my-bucket", "my-org", _client.GetQueryApiSync()) +// ReSharper disable All + where (((((s.SensorId == "id-1") || (s.SensorId == "id-no-5")) || (s.SensorId == "id-no-8")) || + (s.SensorId == "id-no-10")) || (s.SensorId == "id-no-12")) +// ReSharper restore All + where s.Value > 12 + where s.Timestamp > new DateTime(2019, 11, 16, 8, 20, 15, DateTimeKind.Utc) + where s.Timestamp < new DateTime(2021, 01, 10, 5, 10, 0, DateTimeKind.Utc) + select s) + .Take(2) + .Skip(2); + + var sensors = query.ToList(); + + Assert.AreEqual(1, sensors.Count); + } + [Test] public void QueryExampleCount() { diff --git a/Client.Linq/Internal/QueryAggregator.cs b/Client.Linq/Internal/QueryAggregator.cs index fb5286c68..5066559dd 100644 --- a/Client.Linq/Internal/QueryAggregator.cs +++ b/Client.Linq/Internal/QueryAggregator.cs @@ -129,12 +129,18 @@ internal void AddLimitTailOffset(string limitOffsetAssignment) internal void AddFilterByTags(string filter) { - _filterByTags.Add(filter); + if (!string.IsNullOrEmpty(filter)) + { + _filterByTags.Add(filter); + } } internal void AddFilterByFields(string filter) { - _filterByFields.Add(filter); + if (!string.IsNullOrEmpty(filter)) + { + _filterByFields.Add(filter); + } } internal void AddSubQueries(QueryAggregator aggregator) diff --git a/Client.Linq/Internal/QueryExpressionTreeVisitor.cs b/Client.Linq/Internal/QueryExpressionTreeVisitor.cs index f3a4a65ca..618287e02 100644 --- a/Client.Linq/Internal/QueryExpressionTreeVisitor.cs +++ b/Client.Linq/Internal/QueryExpressionTreeVisitor.cs @@ -331,62 +331,70 @@ internal static void NormalizeExpressions(List parts) var indexes = Enumerable.Range(0, parts.Count) .Where(i => parts[i] is BinaryOperator) .ToList(); + var eliminators = new List>(); foreach (var index in indexes) { // "( and )" if (index >= 1 && parts[index - 1] is LeftParenthesis && parts[index + 1] is RightParenthesis) { - parts.RemoveAt(index + 1); - parts.RemoveAt(index); - parts.RemoveAt(index - 1); - - NormalizeExpressions(parts); - return; + eliminators.Add(Tuple.Create(1, () => + { + parts.RemoveAt(index + 1); + parts.RemoveAt(index); + parts.RemoveAt(index - 1); + })); + continue; } // "( timestamp > )" if (index >= 2 && parts[index - 2] is LeftParenthesis && parts[index + 1] is RightParenthesis) { - parts.RemoveAt(index + 1); - parts.RemoveAt(index); - parts.RemoveAt(index - 1); - parts.RemoveAt(index - 2); - - NormalizeExpressions(parts); - return; + eliminators.Add(Tuple.Create(1, () => + { + parts.RemoveAt(index + 1); + parts.RemoveAt(index); + parts.RemoveAt(index - 1); + parts.RemoveAt(index - 2); + })); + continue; } // "( < timestamp )" if (index >= 1 && parts[index - 1] is LeftParenthesis && parts[index + 2] is RightParenthesis) { - parts.RemoveAt(index + 2); - parts.RemoveAt(index + 1); - parts.RemoveAt(index); - parts.RemoveAt(index - 1); - - NormalizeExpressions(parts); - return; + eliminators.Add(Tuple.Create(10, () => + { + parts.RemoveAt(index + 2); + parts.RemoveAt(index + 1); + parts.RemoveAt(index); + parts.RemoveAt(index - 1); + })); + continue; } // "( or (r["sensor_id"] != p4))" if (index >= 1 && parts[index - 1] is LeftParenthesis && parts[index + 1] is LeftParenthesis) { - parts.RemoveAt(index); - - NormalizeExpressions(parts); - return; + eliminators.Add(Tuple.Create(1, () => { parts.RemoveAt(index); })); + continue; } // "(r["sensor_id"] != p4) or )" if (index >= 1 && parts[index - 1] is RightParenthesis && parts[index + 1] is RightParenthesis) { - parts.RemoveAt(index); - - NormalizeExpressions(parts); - return; + eliminators.Add(Tuple.Create(1, () => { parts.RemoveAt(index); })); + continue; } } + + if (eliminators.Count > 0) + { + eliminators.Sort((e1, e2) => e2.Item1.CompareTo(e1.Item1)); // descending order + eliminators[0].Item2(); + NormalizeExpressions(parts); + return; + } } // Parenthesis From f72113eb0f537ccdaf6902d5c6d9eb06138d418a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Jul 2023 05:42:02 +0200 Subject: [PATCH 028/119] chore(deps): Bump Radzen.Blazor from 4.13.6 to 4.14.1 (#556) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.13.6 to 4.14.1 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.13.6 to 4.14.1. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.13.6...v4.14.1) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43100cc21..3077da2ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Update dependencies: - [#549](https://github.com/influxdata/influxdb-client-csharp/pull/549): `Microsoft.Extensions.ObjectPool` to `7.0.9` #### Examples: - - [#551](https://github.com/influxdata/influxdb-client-csharp/pull/551): `Radzen.Blazor` to `4.13.6` + - [#556](https://github.com/influxdata/influxdb-client-csharp/pull/556): `Radzen.Blazor` to `4.14.1` #### Test: - [#543](https://github.com/influxdata/influxdb-client-csharp/pull/543): `Microsoft.NET.Test.Sdk` to `17.6.3` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 926e42fe5..f8359afea 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 3206fa3db04b95af3eb0f8a9354ed4d43b1c12ba Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 28 Jul 2023 05:57:51 +0200 Subject: [PATCH 029/119] chore(release): release version 4.13.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3077da2ef..bfb4a267a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.13.0 [unreleased] +## 4.13.0 [2023-07-28] ### Features 1. [#528](https://github.com/influxdata/influxdb-client-csharp/pull/528): Add HttpClient as a part of InfluxDBClientOptions diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index cdd1ba281..ef6b2ef9d 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.13.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index e47391f08..f1c1b500b 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.13.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index a628511fa..b66e67c7a 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.13.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 5ce26a38b..14fab4a38 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.13.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 6a6b7dd04..84bcc3c48 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.13.0 - dev + false ../Keys/Key.snk From edb1ba19ea4d6bc946054a0555f8219b7da876bd Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 28 Jul 2023 06:08:39 +0200 Subject: [PATCH 030/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- Scripts/publish-site.sh | 8 +------- 7 files changed, 13 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb4a267a..9fd134150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.14.0 [unreleased] + ## 4.13.0 [2023-07-28] ### Features diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index ef6b2ef9d..797e3d01f 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.13.0 - + 4.14.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index f1c1b500b..4d0a723d4 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.13.0 - + 4.14.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index b66e67c7a..dd519ff61 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.13.0 - + 4.14.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 14fab4a38..9e2516107 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.13.0 - + 4.14.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 84bcc3c48..089a986cb 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.13.0 - + 4.14.0 + dev false ../Keys/Key.snk diff --git a/Scripts/publish-site.sh b/Scripts/publish-site.sh index f2ddb6927..74231325e 100755 --- a/Scripts/publish-site.sh +++ b/Scripts/publish-site.sh @@ -20,13 +20,7 @@ set -ev SCRIPT_PATH="$( cd "$(dirname "$0")" || exit ; pwd -P )" cd "$SCRIPT_PATH"/.. -echo "# Install Git" -apt-get update \ - && apt-get install git --yes \ - echo "# Clone client and switch to branch for GH-Pages" -chown root:$USER ~/.ssh/config -chmod 644 ~/.ssh/config git clone git@github.com:influxdata/influxdb-client-csharp.git \ && cd influxdb-client-csharp \ && git switch -C gh-pages @@ -43,5 +37,5 @@ cp -R "${SCRIPT_PATH}"/../.circleci/ "$SCRIPT_PATH"/../influxdb-client-csharp/ echo "# Deploy site" cd "$SCRIPT_PATH"/../influxdb-client-csharp git add -f . -git -c commit.gpgsign=false commit -m "Pushed the latest Docs to GitHub pages [skip CI]" +git commit -m "Pushed the latest Docs to GitHub pages [skip CI]" git push -fq origin gh-pages From 5cd7ddeb5d263b98a2c2b97e8c665c0f8b12baa1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 05:57:39 +0200 Subject: [PATCH 031/119] chore(deps): Bump Radzen.Blazor from 4.14.1 to 4.14.3 (#557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.14.1 to 4.14.3 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.14.1 to 4.14.3. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.14.1...v4.14.3) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 6 ++++++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd134150..ccd30181b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 4.14.0 [unreleased] +### Dependencies +Update dependencies: + +#### Examples: + - [#557](https://github.com/influxdata/influxdb-client-csharp/pull/557): `Radzen.Blazor` to `4.14.3` + ## 4.13.0 [2023-07-28] ### Features diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index f8359afea..52ecf3b5a 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 5eb2d7ea49c31b3289d83b0d726f0187d98ddc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Tue, 8 Aug 2023 10:38:08 +0200 Subject: [PATCH 032/119] chore(deps): Update dependabot.yml (#558) --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 03eba1889..4c3f395bf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,5 +3,5 @@ updates: - package-ecosystem: "nuget" directory: "/" schedule: - interval: "weekly" + interval: "monthly" open-pull-requests-limit: 10 From f260595ea2cb138e677fe90bfd7d79b52aa78c6d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:16:13 +0100 Subject: [PATCH 033/119] chore(deps): Bump Radzen.Blazor from 4.14.3 to 4.19.1 (#589) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.14.3 to 4.19.1 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.14.3 to 4.19.1. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.14.3...v4.19.1) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd30181b..4d6811022 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Update dependencies: #### Examples: - - [#557](https://github.com/influxdata/influxdb-client-csharp/pull/557): `Radzen.Blazor` to `4.14.3` + - [#589](https://github.com/influxdata/influxdb-client-csharp/pull/589): `Radzen.Blazor` to `4.19.1` ## 4.13.0 [2023-07-28] diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 52ecf3b5a..c8180b25b 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 38fadb7b1f111726c44d28232d540a9c1cad7f27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:38:34 +0100 Subject: [PATCH 034/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.9 to 7.0.13 (#588) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.9 to 7.0.13 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 7.0.9 to 7.0.13. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.9...v7.0.13) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client/Client.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d6811022..c13d87655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Dependencies Update dependencies: +#### Build: + - [#588](https://github.com/influxdata/influxdb-client-csharp/pull/588): `Microsoft.Extensions.ObjectPool` to `7.0.13` + #### Examples: - [#589](https://github.com/influxdata/influxdb-client-csharp/pull/589): `Radzen.Blazor` to `4.19.1` diff --git a/Client/Client.csproj b/Client/Client.csproj index 9e2516107..dfbe5f04e 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From ffbcc38076be1b8f721631c593370379f393b099 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 12:56:58 +0100 Subject: [PATCH 035/119] chore(deps): Bump WireMock.Net from 1.5.32 to 1.5.39 (#587) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.32 to 1.5.39 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.32 to 1.5.39. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.32...1.5.39) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs" Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c13d87655..b1346f8b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ Update dependencies: #### Examples: - [#589](https://github.com/influxdata/influxdb-client-csharp/pull/589): `Radzen.Blazor` to `4.19.1` +#### Test: + - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` + ## 4.13.0 [2023-07-28] ### Features diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index bdbfbc2e6..c22596bb8 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From fd39c9e0def0e2e12d7c0f48acd3918a970c0dcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:00:46 +0100 Subject: [PATCH 036/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.2 (#573) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.2 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.3 to 17.7.2. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.3...v17.7.2) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1346f8b6..274e0cac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Update dependencies: #### Test: - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` + - [#573](https://github.com/influxdata/influxdb-client-csharp/pull/573): `Microsoft.NET.Test.Sdk` to `17.7.2` ## 4.13.0 [2023-07-28] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index c22596bb8..b26fa3ebd 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 0db09e135..cebff109f 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 2504fa715..4c0c4249f 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index d5562456e..793f25bb7 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 66c4f4716e1511e3ee2b0b2c39218276035535b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:27:54 +0100 Subject: [PATCH 037/119] chore(deps): Bump NodaTime.Serialization.JsonNet from 3.0.1 to 3.1.0 (#572) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump NodaTime.Serialization.JsonNet from 3.0.1 to 3.1.0 Bumps [NodaTime.Serialization.JsonNet](https://github.com/nodatime/nodatime.serialization) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/nodatime/nodatime.serialization/releases) - [Changelog](https://github.com/nodatime/nodatime.serialization/blob/main/NodaTime%20Release.snk) - [Commits](https://github.com/nodatime/nodatime.serialization/compare/NodaTime.Serialization.JsonNet-3.0.1...NodaTime.Serialization.JsonNet-3.1.0) --- updated-dependencies: - dependency-name: NodaTime.Serialization.JsonNet dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core/Client.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 274e0cac3..a683f6c23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Update dependencies: #### Build: - [#588](https://github.com/influxdata/influxdb-client-csharp/pull/588): `Microsoft.Extensions.ObjectPool` to `7.0.13` + - [#572](https://github.com/influxdata/influxdb-client-csharp/pull/572): `NodaTime.Serialization.JsonNet` to `3.1.0` #### Examples: - [#589](https://github.com/influxdata/influxdb-client-csharp/pull/589): `Radzen.Blazor` to `4.19.1` diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 797e3d01f..746ed7522 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -35,7 +35,7 @@ - + From 774a85e9d2c27ef1fe0f2f12a2b635c2992d4487 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:49:34 +0100 Subject: [PATCH 038/119] chore(deps): Bump Moq from 4.18.4 to 4.20.69 (#568) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Moq from 4.18.4 to 4.20.69 Bumps [Moq](https://github.com/moq/moq) from 4.18.4 to 4.20.69. - [Release notes](https://github.com/moq/moq/releases) - [Changelog](https://github.com/moq/moq/blob/main/CHANGELOG.md) - [Commits](https://github.com/moq/moq/compare/v4.18.4...v4.20.69) --- updated-dependencies: - dependency-name: Moq dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a683f6c23..e8ca69734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Update dependencies: #### Test: - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` - [#573](https://github.com/influxdata/influxdb-client-csharp/pull/573): `Microsoft.NET.Test.Sdk` to `17.7.2` + - [#568](https://github.com/influxdata/influxdb-client-csharp/pull/568): `Moq` to `4.20.69` ## 4.13.0 [2023-07-28] diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 4c0c4249f..0d082e17c 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -12,7 +12,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 793f25bb7..0dc7076b3 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -13,7 +13,7 @@ - + From 8e6daf319309cf492d3fbf270454e2206ac1d297 Mon Sep 17 00:00:00 2001 From: Sciator <39964450+Sciator@users.noreply.github.com> Date: Tue, 7 Nov 2023 10:14:42 +0100 Subject: [PATCH 039/119] feat: #560 disable console log (#590) --- CHANGELOG.md | 4 ++ Client.Core.Test/AbstractTest.cs | 6 +- Client.Core/InfluxDBTraceFilter.cs | 67 +++++++++++++++++++++ Client.Core/Internal/AbstractQueryClient.cs | 5 +- Client.Core/Internal/AbstractRestClient.cs | 2 +- Client.Core/Internal/EnumConverter.cs | 3 +- Client.Core/Internal/LoggingHandler.cs | 16 ++--- Client/InfluxDBClient.cs | 4 +- Client/Internal/ApiClient.cs | 5 +- Client/Internal/MeasurementMapper.cs | 3 +- Client/Internal/RetryAttempt.cs | 4 +- Client/README.md | 27 +++++++++ Client/UsersApi.cs | 2 +- Client/WriteApi.cs | 23 ++++--- Client/WriteApiAsync.cs | 3 +- Client/Writes/Events.cs | 4 +- 16 files changed, 148 insertions(+), 30 deletions(-) create mode 100644 Client.Core/InfluxDBTraceFilter.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index e8ca69734..990eb50d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 4.14.0 [unreleased] +### Features + +1. [#590](https://github.com/influxdata/influxdb-client-csharp/pull/590): Allows disable Trace verbose messages + ### Dependencies Update dependencies: diff --git a/Client.Core.Test/AbstractTest.cs b/Client.Core.Test/AbstractTest.cs index d37163755..fffd93f3e 100644 --- a/Client.Core.Test/AbstractTest.cs +++ b/Client.Core.Test/AbstractTest.cs @@ -11,7 +11,11 @@ namespace InfluxDB.Client.Core.Test { public class AbstractTest { - private static readonly TraceListener ConsoleOutListener = new TextWriterTraceListener(Console.Out); + private static readonly TraceListener ConsoleOutListener = new TextWriterTraceListener(Console.Out) + { + Filter = InfluxDBTraceFilter.SuppressInfluxVerbose() + }; + private static readonly int DefaultWait = 10; private static readonly int DefaultInfluxDBSleep = 100; diff --git a/Client.Core/InfluxDBTraceFilter.cs b/Client.Core/InfluxDBTraceFilter.cs new file mode 100644 index 000000000..3eb5814c5 --- /dev/null +++ b/Client.Core/InfluxDBTraceFilter.cs @@ -0,0 +1,67 @@ +using System.Diagnostics; +using System.Linq; + +namespace InfluxDB.Client.Core +{ + /// + /// The is used to filter client trace messages by category. + /// + public class InfluxDBTraceFilter : TraceFilter + { + public const string CategoryInflux = "influx-client"; + public const string CategoryInfluxError = "influx-client-error"; + public const string CategoryInfluxQuery = "influx-client-query"; + public const string CategoryInfluxQueryError = "influx-client-query-error"; + public const string CategoryInfluxWrite = "influx-client-write"; + public const string CategoryInfluxWriteError = "influx-client-write-error"; + public const string CategoryInfluxLogger = "influx-client-logger"; + + private readonly string[] _categoryToFilter; + private readonly bool _keep; + + public InfluxDBTraceFilter(string[] categoryToFilter, bool keep) + { + _categoryToFilter = categoryToFilter; + _keep = keep; + } + + public override bool ShouldTrace(TraceEventCache eventCache, string source, TraceEventType eventType, int id, + string formatOrMessage, object[] args, object data, object[] dataArray) + { + return _categoryToFilter.Any(x => x == source) ^ _keep; + } + + /// + /// Suppress all client trace messages. + /// + /// Trace Filter + public static InfluxDBTraceFilter SuppressInflux() + { + return new InfluxDBTraceFilter(new string[] + { + CategoryInflux, + CategoryInfluxError, + CategoryInfluxQuery, + CategoryInfluxQueryError, + CategoryInfluxWrite, + CategoryInfluxWriteError, + CategoryInfluxLogger + }, false); + } + + /// + /// Suppress all client trace messages except , , . + /// + /// Trace Filter + public static InfluxDBTraceFilter SuppressInfluxVerbose() + { + return new InfluxDBTraceFilter(new string[] + { + CategoryInflux, + CategoryInfluxQuery, + CategoryInfluxWrite, + CategoryInfluxLogger + }, false); + } + } +} \ No newline at end of file diff --git a/Client.Core/Internal/AbstractQueryClient.cs b/Client.Core/Internal/AbstractQueryClient.cs index c4d65b749..519586783 100644 --- a/Client.Core/Internal/AbstractQueryClient.cs +++ b/Client.Core/Internal/AbstractQueryClient.cs @@ -321,8 +321,9 @@ protected void CatchOrPropagateException(Exception exception, // if (IsCloseException(exception)) { - Trace.WriteLine("Socket closed by remote server or end of data"); - Trace.WriteLine(exception); + Trace.WriteLine("Socket closed by remote server or end of data", + InfluxDBTraceFilter.CategoryInfluxQueryError); + Trace.WriteLine(exception, InfluxDBTraceFilter.CategoryInfluxQueryError); } else { diff --git a/Client.Core/Internal/AbstractRestClient.cs b/Client.Core/Internal/AbstractRestClient.cs index 60692aae7..eee5220e9 100644 --- a/Client.Core/Internal/AbstractRestClient.cs +++ b/Client.Core/Internal/AbstractRestClient.cs @@ -25,7 +25,7 @@ protected async Task PingAsync(Task request) } catch (Exception e) { - Trace.WriteLine($"Error: {e.Message}"); + Trace.WriteLine($"Error: {e.Message}", InfluxDBTraceFilter.CategoryInfluxError); return false; } } diff --git a/Client.Core/Internal/EnumConverter.cs b/Client.Core/Internal/EnumConverter.cs index 39044aaa6..72cf8016b 100644 --- a/Client.Core/Internal/EnumConverter.cs +++ b/Client.Core/Internal/EnumConverter.cs @@ -16,7 +16,8 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist } catch (JsonSerializationException e) { - Trace.WriteLine($"Error converting enum value. Returning null. {e}"); + Trace.WriteLine($"Error converting enum value. Returning null. {e}", + InfluxDBTraceFilter.CategoryInfluxError); return null; } diff --git a/Client.Core/Internal/LoggingHandler.cs b/Client.Core/Internal/LoggingHandler.cs index 478167934..c5ae2c6e7 100644 --- a/Client.Core/Internal/LoggingHandler.cs +++ b/Client.Core/Internal/LoggingHandler.cs @@ -27,7 +27,7 @@ public void BeforeIntercept(RestRequest request) var isBody = Level == LogLevel.Body; var isHeader = isBody || Level == LogLevel.Headers; - Trace.WriteLine($"--> {request.Method} {request.Resource}"); + Trace.WriteLine($"--> {request.Method} {request.Resource}", InfluxDBTraceFilter.CategoryInfluxLogger); if (isHeader) { @@ -56,12 +56,12 @@ public void BeforeIntercept(RestRequest request) stringBody = body.Value.ToString(); } - Trace.WriteLine($"--> Body: {stringBody}"); + Trace.WriteLine($"--> Body: {stringBody}", InfluxDBTraceFilter.CategoryInfluxLogger); } } - Trace.WriteLine("--> END"); - Trace.WriteLine("-->"); + Trace.WriteLine("--> END", InfluxDBTraceFilter.CategoryInfluxLogger); + Trace.WriteLine("-->", InfluxDBTraceFilter.CategoryInfluxLogger); } public object AfterIntercept(int statusCode, Func> headers, object body) @@ -75,7 +75,7 @@ public object AfterIntercept(int statusCode, Func> var isBody = Level == LogLevel.Body; var isHeader = isBody || Level == LogLevel.Headers; - Trace.WriteLine($"<-- {statusCode}"); + Trace.WriteLine($"<-- {statusCode}", InfluxDBTraceFilter.CategoryInfluxLogger); if (isHeader) { @@ -101,11 +101,11 @@ public object AfterIntercept(int statusCode, Func> if (!string.IsNullOrEmpty(stringBody)) { - Trace.WriteLine($"<-- Body: {stringBody}"); + Trace.WriteLine($"<-- Body: {stringBody}", InfluxDBTraceFilter.CategoryInfluxLogger); } } - Trace.WriteLine("<-- END"); + Trace.WriteLine("<-- END", InfluxDBTraceFilter.CategoryInfluxLogger); return freshBody; } @@ -131,7 +131,7 @@ private void LogHeaders(IEnumerable headers, string direction, var value = string.Equals(emp.Name, "Authorization", StringComparison.OrdinalIgnoreCase) ? "***" : emp.Value; - Trace.WriteLine($"{direction} {type}: {emp.Name}={value}"); + Trace.WriteLine($"{direction} {type}: {emp.Name}={value}", InfluxDBTraceFilter.CategoryInfluxLogger); } } } diff --git a/Client/InfluxDBClient.cs b/Client/InfluxDBClient.cs index d990b15bc..6ab932297 100644 --- a/Client/InfluxDBClient.cs +++ b/Client/InfluxDBClient.cs @@ -359,8 +359,8 @@ public void Dispose() } catch (Exception e) { - Trace.WriteLine("The signout exception"); - Trace.WriteLine(e); + Trace.WriteLine("The signout exception", InfluxDBTraceFilter.CategoryInfluxError); + Trace.WriteLine(e, InfluxDBTraceFilter.CategoryInfluxError); } // diff --git a/Client/Internal/ApiClient.cs b/Client/Internal/ApiClient.cs index 5243d0107..a072a2e33 100644 --- a/Client/Internal/ApiClient.cs +++ b/Client/Internal/ApiClient.cs @@ -7,6 +7,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; +using InfluxDB.Client.Core; using InfluxDB.Client.Core.Internal; using RestSharp; using RestSharp.Authenticators; @@ -133,8 +134,8 @@ private void InitToken() } catch (IOException e) { - Trace.WriteLine("Cannot retrieve the Session token!"); - Trace.WriteLine(e); + Trace.WriteLine("Cannot retrieve the Session token!", InfluxDBTraceFilter.CategoryInfluxError); + Trace.WriteLine(e, InfluxDBTraceFilter.CategoryInfluxError); return; } diff --git a/Client/Internal/MeasurementMapper.cs b/Client/Internal/MeasurementMapper.cs index 236ccc33b..4dbca6164 100644 --- a/Client/Internal/MeasurementMapper.cs +++ b/Client/Internal/MeasurementMapper.cs @@ -97,7 +97,8 @@ internal PointData ToPoint(TM measurement, WritePrecision precision) } else { - Trace.WriteLine($"{value} is not supported as Timestamp"); + Trace.WriteLine($"{value} is not supported as Timestamp", + InfluxDBTraceFilter.CategoryInfluxError); } } else diff --git a/Client/Internal/RetryAttempt.cs b/Client/Internal/RetryAttempt.cs index d274ee9da..0d7eb2415 100644 --- a/Client/Internal/RetryAttempt.cs +++ b/Client/Internal/RetryAttempt.cs @@ -3,6 +3,7 @@ using System.Diagnostics; using System.Net; using System.Net.Sockets; +using InfluxDB.Client.Core; using InfluxDB.Client.Core.Exceptions; namespace InfluxDB.Client.Internal @@ -141,7 +142,8 @@ internal long GetRetryInterval() var retryInterval = (long)(rangeStart + (rangeStop - rangeStart) * _random.NextDouble()); Trace.WriteLine("The InfluxDB does not specify \"Retry-After\". " + - $"Use the default retryInterval: {retryInterval}"); + $"Use the default retryInterval: {retryInterval}" + , InfluxDBTraceFilter.CategoryInflux); return retryInterval; } diff --git a/Client/README.md b/Client/README.md index 83e23b9b4..4665d60c6 100644 --- a/Client/README.md +++ b/Client/README.md @@ -769,6 +769,33 @@ namespace Examples } ``` +## Filter trace verbose + +You can filter out verbose messages from `InfluxDB.Client` by using TraceListener. + +```cs +using System; +using System.Diagnostics; +using InfluxDB.Client.Core; + +namespace Examples +{ + public static class MyProgram + { + public static void Main() + { + TraceListener ConsoleOutListener = new TextWriterTraceListener(Console.Out) + { + Filter = CategoryTraceFilter.SuppressInfluxVerbose(), + }; + Trace.Listeners.Add(ConsoleOutListener); + + // My code ... + } + } +} +```` + ## Management API The client has following management API: diff --git a/Client/UsersApi.cs b/Client/UsersApi.cs index bb4899a24..2b9aa2226 100644 --- a/Client/UsersApi.cs +++ b/Client/UsersApi.cs @@ -307,7 +307,7 @@ public async Task MeUpdatePasswordAsync(string oldPassword, string newPassword, var me = await MeAsync(cancellationToken).ConfigureAwait(false); if (me == null) { - Trace.WriteLine("User is not authenticated."); + Trace.WriteLine("User is not authenticated.", InfluxDBTraceFilter.CategoryInfluxError); return; } diff --git a/Client/WriteApi.cs b/Client/WriteApi.cs index 944e2cf81..bff60a8e1 100644 --- a/Client/WriteApi.cs +++ b/Client/WriteApi.cs @@ -300,14 +300,17 @@ protected internal WriteApi( switch (notification.Kind) { case NotificationKind.OnNext: - Trace.WriteLine($"The batch item: {notification} was processed successfully."); + Trace.WriteLine($"The batch item: {notification} was processed successfully." + , InfluxDBTraceFilter.CategoryInfluxWrite); break; case NotificationKind.OnError: Trace.WriteLine( - $"The batch item wasn't processed successfully because: {notification.Exception}"); + $"The batch item wasn't processed successfully because: {notification.Exception}" + , InfluxDBTraceFilter.CategoryInfluxWriteError); break; default: - Trace.WriteLine($"The batch item: {notification} was processed"); + Trace.WriteLine($"The batch item: {notification} was processed" + , InfluxDBTraceFilter.CategoryInfluxWrite); break; } }, @@ -315,12 +318,14 @@ protected internal WriteApi( { Publish(new WriteRuntimeExceptionEvent(exception)); _disposed = true; - Trace.WriteLine($"The unhandled exception occurs: {exception}"); + Trace.WriteLine($"The unhandled exception occurs: {exception}" + , InfluxDBTraceFilter.CategoryInfluxWriteError); }, () => { _disposed = true; - Trace.WriteLine("The WriteApi was disposed."); + Trace.WriteLine("The WriteApi was disposed." + , InfluxDBTraceFilter.CategoryInfluxWrite); }); } @@ -337,7 +342,7 @@ internal void ReleaseAndClose(int millis = 30000) { _unsubscribeDisposeCommand.Dispose(); // avoid duplicate call to dispose - Trace.WriteLine("Flushing batches before shutdown."); + Trace.WriteLine("Flushing batches before shutdown.", InfluxDBTraceFilter.CategoryInfluxWrite); if (!_subject.IsDisposed) { @@ -572,7 +577,8 @@ internal override string ToLineProtocol() { if (!_point.HasFields()) { - Trace.WriteLine($"The point: ${_point} doesn't contains any fields, skipping"); + Trace.WriteLine($"The point: ${_point} doesn't contains any fields, skipping", + InfluxDBTraceFilter.CategoryInfluxWrite); return null; } @@ -603,7 +609,8 @@ internal override string ToLineProtocol() var point = _converter.ConvertToPointData(_measurement, Options.Precision); if (!point.HasFields()) { - Trace.WriteLine($"The point: ${point} doesn't contains any fields, skipping"); + Trace.WriteLine($"The point: ${point} doesn't contains any fields, skipping", + InfluxDBTraceFilter.CategoryInfluxWrite); return null; } diff --git a/Client/WriteApiAsync.cs b/Client/WriteApiAsync.cs index b64249c0f..bd926637b 100644 --- a/Client/WriteApiAsync.cs +++ b/Client/WriteApiAsync.cs @@ -411,7 +411,8 @@ private Task WriteData(string org, string bucket, WritePrecision precision, IEnu var sb = ToLineProtocolBody(data); if (sb.Length == 0) { - Trace.WriteLine($"The writes: {data} doesn't contains any Line Protocol, skipping"); + Trace.WriteLine($"The writes: {data} doesn't contains any Line Protocol, skipping", + InfluxDBTraceFilter.CategoryInfluxWrite); return Task.CompletedTask; } diff --git a/Client/Writes/Events.cs b/Client/Writes/Events.cs index 3124a2b12..14ae98db8 100644 --- a/Client/Writes/Events.cs +++ b/Client/Writes/Events.cs @@ -1,6 +1,7 @@ using System; using System.Diagnostics; using InfluxDB.Client.Api.Domain; +using InfluxDB.Client.Core; namespace InfluxDB.Client.Writes { @@ -18,7 +19,8 @@ public WriteSuccessEvent(string organization, string bucket, WritePrecision prec internal override void LogEvent() { - Trace.WriteLine("The data was successfully written to InfluxDB 2."); + Trace.WriteLine("The data was successfully written to InfluxDB 2.", + InfluxDBTraceFilter.CategoryInfluxWrite); } } From 7bd5f13f4a44fafa823ad2e12426228f379c799a Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Tue, 7 Nov 2023 10:38:39 +0100 Subject: [PATCH 040/119] chore(release): release version 4.14.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 990eb50d0..4b0508ba0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.14.0 [unreleased] +## 4.14.0 [2023-11-07] ### Features diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 746ed7522..9466204a5 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.14.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 4d0a723d4..27d002e71 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.14.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index dd519ff61..89721be5c 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.14.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index dfbe5f04e..98a25227a 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.14.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 089a986cb..1b6e0d917 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.14.0 - dev + false ../Keys/Key.snk From d5a6070449c99075ddfb1ad6abc67eff6ddda337 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Tue, 7 Nov 2023 10:46:48 +0100 Subject: [PATCH 041/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b0508ba0..b9995dd53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.15.0 [unreleased] + ## 4.14.0 [2023-11-07] ### Features diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 9466204a5..014767a21 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.14.0 - + 4.15.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 27d002e71..5e905bf2d 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.14.0 - + 4.15.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 89721be5c..094f75caf 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.14.0 - + 4.15.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 98a25227a..cf5c1ae1c 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.14.0 - + 4.15.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 1b6e0d917..060c7f5af 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.14.0 - + 4.15.0 + dev false ../Keys/Key.snk From cb11925415cd9d503af4642ef6dd60f75bb57455 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Tue, 7 Nov 2023 10:57:11 +0100 Subject: [PATCH 042/119] fix: class name for trace filter --- Client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/README.md b/Client/README.md index 4665d60c6..50ee698b7 100644 --- a/Client/README.md +++ b/Client/README.md @@ -786,7 +786,7 @@ namespace Examples { TraceListener ConsoleOutListener = new TextWriterTraceListener(Console.Out) { - Filter = CategoryTraceFilter.SuppressInfluxVerbose(), + Filter = InfluxDBTraceFilter.SuppressInfluxVerbose(), }; Trace.Listeners.Add(ConsoleOutListener); From baa74bcf6a64611d196c394067a94626bb6f974e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:23:51 +0100 Subject: [PATCH 043/119] chore(deps): Bump Radzen.Blazor from 4.19.1 to 4.22.1 (#593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.19.1 to 4.22.1 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.19.1 to 4.22.1. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.19.1...v4.22.1) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip ci] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9995dd53..366b27d52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Update dependencies: - [#572](https://github.com/influxdata/influxdb-client-csharp/pull/572): `NodaTime.Serialization.JsonNet` to `3.1.0` #### Examples: - - [#589](https://github.com/influxdata/influxdb-client-csharp/pull/589): `Radzen.Blazor` to `4.19.1` + - [#593](https://github.com/influxdata/influxdb-client-csharp/pull/593): `Radzen.Blazor` to `4.22.1` #### Test: - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index c8180b25b..f5339b9d0 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From dda4b987bf262f8825127bb1196d4b5d1c608b83 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:25:09 +0100 Subject: [PATCH 044/119] chore(deps): Bump Tomlyn.Signed from 0.16.2 to 0.17.0 (#594) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Tomlyn.Signed from 0.16.2 to 0.17.0 Bumps [Tomlyn.Signed](https://github.com/xoofx/Tomlyn) from 0.16.2 to 0.17.0. - [Release notes](https://github.com/xoofx/Tomlyn/releases) - [Changelog](https://github.com/xoofx/Tomlyn/blob/main/changelog.md) - [Commits](https://github.com/xoofx/Tomlyn/compare/0.16.2...0.17.0) --- updated-dependencies: - dependency-name: Tomlyn.Signed dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip ci] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Test/Client.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 366b27d52..3b4d4e34a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Update dependencies: - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` - [#573](https://github.com/influxdata/influxdb-client-csharp/pull/573): `Microsoft.NET.Test.Sdk` to `17.7.2` - [#568](https://github.com/influxdata/influxdb-client-csharp/pull/568): `Moq` to `4.20.69` + - [#594](https://github.com/influxdata/influxdb-client-csharp/pull/594): `Tomlyn.Signed` to `0.17.0` ## 4.13.0 [2023-07-28] diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 0dc7076b3..974ab9237 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -15,7 +15,7 @@ - + From 6fd33e2ec2eecde1ebfd9386e9bed82706af30dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:27:28 +0100 Subject: [PATCH 045/119] chore(deps): Bump System.Collections.Immutable from 6.0.0 to 8.0.0 (#595) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump System.Collections.Immutable from 6.0.0 to 8.0.0 Bumps [System.Collections.Immutable](https://github.com/dotnet/runtime) from 6.0.0 to 8.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v8.0.0) --- updated-dependencies: - dependency-name: System.Collections.Immutable dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip ci] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b4d4e34a..096c3154a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Update dependencies: #### Build: - [#588](https://github.com/influxdata/influxdb-client-csharp/pull/588): `Microsoft.Extensions.ObjectPool` to `7.0.13` - [#572](https://github.com/influxdata/influxdb-client-csharp/pull/572): `NodaTime.Serialization.JsonNet` to `3.1.0` + - [#595](https://github.com/influxdata/influxdb-client-csharp/pull/595): `System.Collections.Immutable` to `8.0.0` #### Examples: - [#593](https://github.com/influxdata/influxdb-client-csharp/pull/593): `Radzen.Blazor` to `4.22.1` diff --git a/Client/Client.csproj b/Client/Client.csproj index cf5c1ae1c..c8c17aa82 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -38,7 +38,7 @@ - + From 4f02ae93d244d8f1f341cdec189b9f7488ea8fa1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:29:29 +0100 Subject: [PATCH 046/119] chore(deps): Bump WireMock.Net from 1.5.39 to 1.5.40 (#596) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.39 to 1.5.40 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.39 to 1.5.40. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/commits) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 096c3154a..0a1a7e54f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ Update dependencies: - [#593](https://github.com/influxdata/influxdb-client-csharp/pull/593): `Radzen.Blazor` to `4.22.1` #### Test: - - [#587](https://github.com/influxdata/influxdb-client-csharp/pull/587): `WireMock.Net` to `1.5.39` + - [#596](https://github.com/influxdata/influxdb-client-csharp/pull/596): `WireMock.Net` to `1.5.40` - [#573](https://github.com/influxdata/influxdb-client-csharp/pull/573): `Microsoft.NET.Test.Sdk` to `17.7.2` - [#568](https://github.com/influxdata/influxdb-client-csharp/pull/568): `Moq` to `4.20.69` - [#594](https://github.com/influxdata/influxdb-client-csharp/pull/594): `Tomlyn.Signed` to `0.17.0` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index b26fa3ebd..46ed71644 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 625baf2d28191838dd0c2383955b0ace0e1144c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:33:29 +0100 Subject: [PATCH 047/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.13 to 8.0.0 (#597) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 7.0.13 to 8.0.0 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 7.0.13 to 8.0.0. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.13...v8.0.0) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip ci] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a1a7e54f..7ecfb1244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Update dependencies: #### Build: - - [#588](https://github.com/influxdata/influxdb-client-csharp/pull/588): `Microsoft.Extensions.ObjectPool` to `7.0.13` + - [#597](https://github.com/influxdata/influxdb-client-csharp/pull/597): `Microsoft.Extensions.ObjectPool` to `8.0.0` - [#572](https://github.com/influxdata/influxdb-client-csharp/pull/572): `NodaTime.Serialization.JsonNet` to `3.1.0` - [#595](https://github.com/influxdata/influxdb-client-csharp/pull/595): `System.Collections.Immutable` to `8.0.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index c8c17aa82..c74785dd3 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From 8d9411e5f8d609dc4f9443df568cbe9646d5ebef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:37:12 +0100 Subject: [PATCH 048/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 (#598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.2 to 17.8.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ecfb1244..d15aa971e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ Update dependencies: #### Test: - [#596](https://github.com/influxdata/influxdb-client-csharp/pull/596): `WireMock.Net` to `1.5.40` - - [#573](https://github.com/influxdata/influxdb-client-csharp/pull/573): `Microsoft.NET.Test.Sdk` to `17.7.2` + - [#598](https://github.com/influxdata/influxdb-client-csharp/pull/598): `Microsoft.NET.Test.Sdk` to `17.8.0` - [#568](https://github.com/influxdata/influxdb-client-csharp/pull/568): `Moq` to `4.20.69` - [#594](https://github.com/influxdata/influxdb-client-csharp/pull/594): `Tomlyn.Signed` to `0.17.0` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 46ed71644..c6025e5a8 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index cebff109f..aa33f8cf2 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 0d082e17c..97477b910 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 974ab9237..799d1e1b8 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 3b6bb6d77cc8ba4905170cd8d6d9c37440c83735 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:37:32 +0100 Subject: [PATCH 049/119] chore(deps): Bump System.Configuration.ConfigurationManager from 6.0.1 to 8.0.0 (#599) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump System.Configuration.ConfigurationManager Bumps [System.Configuration.ConfigurationManager](https://github.com/dotnet/runtime) from 6.0.1 to 8.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v6.0.1...v8.0.0) --- updated-dependencies: - dependency-name: System.Configuration.ConfigurationManager dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d15aa971e..ab211368e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Update dependencies: - [#597](https://github.com/influxdata/influxdb-client-csharp/pull/597): `Microsoft.Extensions.ObjectPool` to `8.0.0` - [#572](https://github.com/influxdata/influxdb-client-csharp/pull/572): `NodaTime.Serialization.JsonNet` to `3.1.0` - [#595](https://github.com/influxdata/influxdb-client-csharp/pull/595): `System.Collections.Immutable` to `8.0.0` + - [#599](https://github.com/influxdata/influxdb-client-csharp/pull/599): `System.Configuration.ConfigurationManager` to `8.0.0` #### Examples: - [#593](https://github.com/influxdata/influxdb-client-csharp/pull/593): `Radzen.Blazor` to `4.22.1` diff --git a/Client/Client.csproj b/Client/Client.csproj index c74785dd3..8dd7a2c14 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -39,7 +39,7 @@ - + From 5b40f23ac41da4a7e7b37faff3878be170130126 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:42:14 +0100 Subject: [PATCH 050/119] chore(deps): Bump Radzen.Blazor from 4.22.1 to 4.23.4 (#604) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.22.1 to 4.23.4 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.22.1 to 4.23.4. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.22.1...v4.23.4) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 6 ++++++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab211368e..305a7dd7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 4.15.0 [unreleased] +### Dependencies +Update dependencies: + +#### Examples: + - [#604](https://github.com/influxdata/influxdb-client-csharp/pull/604): `Radzen.Blazor` to `4.23.4` + ## 4.14.0 [2023-11-07] ### Features diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index f5339b9d0..132b4c05a 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 3a39c50c7d5b7f9b8048af2f48cc27bb194ead23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:48:07 +0100 Subject: [PATCH 051/119] chore(deps): Bump WireMock.Net from 1.5.40 to 1.5.46 (#602) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.40 to 1.5.46 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.40 to 1.5.46. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.40...1.5.46) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 305a7dd7b..c370aed55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ Update dependencies: #### Examples: - [#604](https://github.com/influxdata/influxdb-client-csharp/pull/604): `Radzen.Blazor` to `4.23.4` +#### Test: + - [#602](https://github.com/influxdata/influxdb-client-csharp/pull/602): `WireMock.Net` to `1.5.46` + ## 4.14.0 [2023-11-07] ### Features diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index c6025e5a8..16f806af4 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 9674ee4f31d6b2ff3f9a25dc970cb4947667c618 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:36:23 +0100 Subject: [PATCH 052/119] chore(deps): Bump NodaTime from 3.1.9 to 3.1.10 (#603) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump NodaTime from 3.1.9 to 3.1.10 Bumps [NodaTime](https://github.com/nodatime/nodatime) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/nodatime/nodatime/releases) - [Commits](https://github.com/nodatime/nodatime/compare/3.1.9...3.1.10) --- updated-dependencies: - dependency-name: NodaTime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core/Client.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c370aed55..d48b3c815 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Update dependencies: #### Examples: - [#604](https://github.com/influxdata/influxdb-client-csharp/pull/604): `Radzen.Blazor` to `4.23.4` + - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` #### Test: - [#602](https://github.com/influxdata/influxdb-client-csharp/pull/602): `WireMock.Net` to `1.5.46` diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 014767a21..cfcc0a8f4 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -34,7 +34,7 @@ - + From 1aa7c1d5705eb22a093806a8b85c723bc009645d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:04:12 +0100 Subject: [PATCH 053/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.0 to 8.0.1 (#612) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.0 to 8.0.1 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.0...v8.0.1) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client/Client.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d48b3c815..cb5a1cbdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Dependencies Update dependencies: +#### Build: + - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` + #### Examples: - [#604](https://github.com/influxdata/influxdb-client-csharp/pull/604): `Radzen.Blazor` to `4.23.4` - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` diff --git a/Client/Client.csproj b/Client/Client.csproj index 8dd7a2c14..cba66c87a 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From 470daa0818016d12d5e737db11414464f4f97275 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:04:26 +0100 Subject: [PATCH 054/119] chore(deps): Bump Radzen.Blazor from 4.23.4 to 4.24.4 (#611) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.23.4 to 4.24.4 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.23.4 to 4.24.4. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.23.4...v4.24.4) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb5a1cbdc..8b05a8018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ Update dependencies: - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` #### Examples: - - [#604](https://github.com/influxdata/influxdb-client-csharp/pull/604): `Radzen.Blazor` to `4.23.4` + - [#611](https://github.com/influxdata/influxdb-client-csharp/pull/611): `Radzen.Blazor` to `4.24.4` - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` #### Test: diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 132b4c05a..50704b8bc 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 2890d019c3f1a470b237db0cb9fb45c8d649870f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:14:06 +0100 Subject: [PATCH 055/119] chore(deps): Bump WireMock.Net from 1.5.46 to 1.5.47 (#610) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.46 to 1.5.47 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.46 to 1.5.47. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.46...1.5.47) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b05a8018..e5eed9f15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Update dependencies: - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` #### Test: - - [#602](https://github.com/influxdata/influxdb-client-csharp/pull/602): `WireMock.Net` to `1.5.46` + - [#610](https://github.com/influxdata/influxdb-client-csharp/pull/610): `WireMock.Net` to `1.5.47` ## 4.14.0 [2023-11-07] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 16f806af4..5fadf85da 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 4cf479a0fba5fe4c00ea6d859832635c5cfc65eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:25:09 +0100 Subject: [PATCH 056/119] chore(deps): Bump CsvHelper from 30.0.1 to 30.1.0 (#609) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump CsvHelper from 30.0.1 to 30.1.0 Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 30.0.1 to 30.1.0. - [Commits](https://github.com/JoshClose/CsvHelper/compare/30.0.1...30.1.0) --- updated-dependencies: - dependency-name: CsvHelper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core/Client.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5eed9f15..78de446eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Update dependencies: #### Build: + - [#609](https://github.com/influxdata/influxdb-client-csharp/pull/609): `CsvHelper` to `30.1.0` - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` #### Examples: diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index cfcc0a8f4..a1229c1cc 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -32,7 +32,7 @@ - + From 1355279a20f6766ade2abbd613f57672d94c439e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:42:48 +0100 Subject: [PATCH 057/119] chore(deps): Bump NUnit from 3.13.3 to 3.14.0 (#608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump NUnit from 3.13.3 to 3.14.0 Bumps [NUnit](https://github.com/nunit/nunit) from 3.13.3 to 3.14.0. - [Release notes](https://github.com/nunit/nunit/releases) - [Changelog](https://github.com/nunit/nunit/blob/v3.14.0/CHANGES.md) - [Commits](https://github.com/nunit/nunit/compare/v3.13.3...v3.14.0) --- updated-dependencies: - dependency-name: NUnit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 7 ++++--- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78de446eb..1081fa93a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,14 @@ Update dependencies: - [#609](https://github.com/influxdata/influxdb-client-csharp/pull/609): `CsvHelper` to `30.1.0` - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` +#### Test: + - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` + - [#610](https://github.com/influxdata/influxdb-client-csharp/pull/610): `WireMock.Net` to `1.5.47` + #### Examples: - [#611](https://github.com/influxdata/influxdb-client-csharp/pull/611): `Radzen.Blazor` to `4.24.4` - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` -#### Test: - - [#610](https://github.com/influxdata/influxdb-client-csharp/pull/610): `WireMock.Net` to `1.5.47` - ## 4.14.0 [2023-11-07] ### Features diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 5fadf85da..c71f7895e 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -14,7 +14,7 @@ - + From 5f800a53bf9062f7880ab2f449b7b46cb0c3684d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:36:22 +0100 Subject: [PATCH 058/119] chore(deps): Bump NodaTime from 3.1.10 to 3.1.11 (#622) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump NodaTime from 3.1.10 to 3.1.11 Bumps [NodaTime](https://github.com/nodatime/nodatime) from 3.1.10 to 3.1.11. - [Release notes](https://github.com/nodatime/nodatime/releases) - [Commits](https://github.com/nodatime/nodatime/compare/3.1.10...3.1.11) --- updated-dependencies: - dependency-name: NodaTime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * fix: CI build * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- .circleci/config.yml | 6 ++++-- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 925d13c90..26eeb4a28 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,7 +123,9 @@ jobs: shell: bash steps: - checkout - - run: choco install influxdb1 --version=1.8.0 + - run: | + choco feature enable -n allowGlobalConfirmation + choco install influxdb1 --version=1.8.0 - run: export INFLUXDB_HTTP_FLUX_ENABLED=true - run: name: "Start InfluxDB" @@ -243,4 +245,4 @@ workflows: when: equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] jobs: - - tests-dotnet \ No newline at end of file + - tests-dotnet diff --git a/CHANGELOG.md b/CHANGELOG.md index 1081fa93a..7c085515c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ Update dependencies: #### Examples: - [#611](https://github.com/influxdata/influxdb-client-csharp/pull/611): `Radzen.Blazor` to `4.24.4` - - [#603](https://github.com/influxdata/influxdb-client-csharp/pull/603): `NodaTime` to `3.1.10` + - [#622](https://github.com/influxdata/influxdb-client-csharp/pull/622): `NodaTime` to `3.1.11` ## 4.14.0 [2023-11-07] diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index a1229c1cc..3050758bf 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -34,7 +34,7 @@ - + From ff257b17d9587c7551f4102d4c115f9a767f53be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:16:54 +0100 Subject: [PATCH 059/119] chore(deps): Bump CsvHelper from 30.1.0 to 31.0.2 (#619) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump CsvHelper from 30.1.0 to 31.0.2 Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 30.1.0 to 31.0.2. - [Commits](https://github.com/JoshClose/CsvHelper/commits) --- updated-dependencies: - dependency-name: CsvHelper dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c085515c..8593b10eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Update dependencies: #### Build: - - [#609](https://github.com/influxdata/influxdb-client-csharp/pull/609): `CsvHelper` to `30.1.0` + - [#619](https://github.com/influxdata/influxdb-client-csharp/pull/619): `CsvHelper` to `31.0.2` - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` #### Test: diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 3050758bf..0ca7edddc 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -32,7 +32,7 @@ - + From 93fc77465b6bacfd6223fb1109f258ebc71f8608 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:52:30 +0100 Subject: [PATCH 060/119] chore(deps): Bump WireMock.Net from 1.5.47 to 1.5.49 (#625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.47 to 1.5.49 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.47 to 1.5.49. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.47...1.5.49) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8593b10eb..a920a73d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Update dependencies: #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` - - [#610](https://github.com/influxdata/influxdb-client-csharp/pull/610): `WireMock.Net` to `1.5.47` + - [#625](https://github.com/influxdata/influxdb-client-csharp/pull/625): `WireMock.Net` to `1.5.49` #### Examples: - [#611](https://github.com/influxdata/influxdb-client-csharp/pull/611): `Radzen.Blazor` to `4.24.4` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index c71f7895e..6badbdd42 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 1f0ed569885faac5272bb19ed7ea10c51c09b258 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:53:43 +0100 Subject: [PATCH 061/119] chore(deps): Bump Radzen.Blazor from 4.24.4 to 4.25.12 (#624) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.24.4 to 4.25.12 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.24.4 to 4.25.12. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.24.4...v4.25.12) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a920a73d5..57e714e8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ Update dependencies: - [#625](https://github.com/influxdata/influxdb-client-csharp/pull/625): `WireMock.Net` to `1.5.49` #### Examples: - - [#611](https://github.com/influxdata/influxdb-client-csharp/pull/611): `Radzen.Blazor` to `4.24.4` + - [#624](https://github.com/influxdata/influxdb-client-csharp/pull/624): `Radzen.Blazor` to `4.25.12` - [#622](https://github.com/influxdata/influxdb-client-csharp/pull/622): `NodaTime` to `3.1.11` ## 4.14.0 [2023-11-07] diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 50704b8bc..60cd322de 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 3f0b3025349a95371cf7d324717da39ceb699e8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:54:53 +0100 Subject: [PATCH 062/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.1 to 8.0.2 (#620) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.1 to 8.0.2 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.1 to 8.0.2. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.1...v8.0.2) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e714e8e..76de6c489 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Update dependencies: #### Build: - [#619](https://github.com/influxdata/influxdb-client-csharp/pull/619): `CsvHelper` to `31.0.2` - - [#612](https://github.com/influxdata/influxdb-client-csharp/pull/612): `Microsoft.Extensions.ObjectPool` to `8.0.1` + - [#620](https://github.com/influxdata/influxdb-client-csharp/pull/620): `Microsoft.Extensions.ObjectPool` to `8.0.2` #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index cba66c87a..a4d8e0c9c 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From a67fcd5ad8fc622196304b6c418b5c329c3da0b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:04:31 +0100 Subject: [PATCH 063/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#616) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76de6c489..b8bd17c92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Update dependencies: #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` + - [#616](https://github.com/influxdata/influxdb-client-csharp/pull/616): `Microsoft.NET.Test.Sdk` to `17.9.0` - [#625](https://github.com/influxdata/influxdb-client-csharp/pull/625): `WireMock.Net` to `1.5.49` #### Examples: diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 6badbdd42..c281c46e2 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index aa33f8cf2..57a408402 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 97477b910..e9d6c831a 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 799d1e1b8..065eb49e0 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 180b4e19ff7f5ce6aebf616be6e4f750fa23f37a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:05:34 +0100 Subject: [PATCH 064/119] chore(deps): Bump coverlet.collector from 6.0.0 to 6.0.1 (#618) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump coverlet.collector from 6.0.0 to 6.0.1 Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.0...v6.0.1) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8bd17c92..f5b61d19e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Update dependencies: #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` - [#616](https://github.com/influxdata/influxdb-client-csharp/pull/616): `Microsoft.NET.Test.Sdk` to `17.9.0` + - [#618](https://github.com/influxdata/influxdb-client-csharp/pull/618): `coverlet.collector` to `6.0.1` - [#625](https://github.com/influxdata/influxdb-client-csharp/pull/625): `WireMock.Net` to `1.5.49` #### Examples: diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index c281c46e2..58eadb242 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 57a408402..8e0ac21b2 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -25,7 +25,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index e9d6c831a..c8350f10f 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -27,7 +27,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 065eb49e0..3d0a11255 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 03bb4a905b01be7be0122617b27d1842cbb8087e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:02:29 +0200 Subject: [PATCH 065/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.2 to 8.0.3 (#629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.2 to 8.0.3 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.2 to 8.0.3. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.2...v8.0.3) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5b61d19e..8a8110945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Update dependencies: #### Build: - [#619](https://github.com/influxdata/influxdb-client-csharp/pull/619): `CsvHelper` to `31.0.2` - - [#620](https://github.com/influxdata/influxdb-client-csharp/pull/620): `Microsoft.Extensions.ObjectPool` to `8.0.2` + - [#629](https://github.com/influxdata/influxdb-client-csharp/pull/629): `Microsoft.Extensions.ObjectPool` to `8.0.3` #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index a4d8e0c9c..b1d6f7acb 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -36,7 +36,7 @@ - + From b367424f5faac2042a0a62ca38f60e3b756a2acb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:03:28 +0200 Subject: [PATCH 066/119] chore(deps): Bump WireMock.Net from 1.5.49 to 1.5.51 (#628) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.49 to 1.5.51 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.49 to 1.5.51. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.49...1.5.51) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a8110945..5baa692f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Update dependencies: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` - [#616](https://github.com/influxdata/influxdb-client-csharp/pull/616): `Microsoft.NET.Test.Sdk` to `17.9.0` - [#618](https://github.com/influxdata/influxdb-client-csharp/pull/618): `coverlet.collector` to `6.0.1` - - [#625](https://github.com/influxdata/influxdb-client-csharp/pull/625): `WireMock.Net` to `1.5.49` + - [#628](https://github.com/influxdata/influxdb-client-csharp/pull/628): `WireMock.Net` to `1.5.51` #### Examples: - [#624](https://github.com/influxdata/influxdb-client-csharp/pull/624): `Radzen.Blazor` to `4.25.12` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 58eadb242..4cf656b20 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From def97f3c8fe222b29cffe939cc9e23693da657b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:15:54 +0200 Subject: [PATCH 067/119] chore(deps): Bump Radzen.Blazor from 4.25.12 to 4.29.1 (#627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.25.12 to 4.29.1 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.25.12 to 4.29.1. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.25.12...v4.29.1) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5baa692f7..e16d2a1b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Update dependencies: - [#628](https://github.com/influxdata/influxdb-client-csharp/pull/628): `WireMock.Net` to `1.5.51` #### Examples: - - [#624](https://github.com/influxdata/influxdb-client-csharp/pull/624): `Radzen.Blazor` to `4.25.12` + - [#627](https://github.com/influxdata/influxdb-client-csharp/pull/627): `Radzen.Blazor` to `4.29.1` - [#622](https://github.com/influxdata/influxdb-client-csharp/pull/622): `NodaTime` to `3.1.11` ## 4.14.0 [2023-11-07] diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 60cd322de..91f1c1de1 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 0207f8e77f44c66e75a5920ba06b117911934beb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:30:07 +0200 Subject: [PATCH 068/119] chore(deps): Bump coverlet.collector from 6.0.1 to 6.0.2 (#626) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump coverlet.collector from 6.0.1 to 6.0.2 Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.1...v6.0.2) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e16d2a1b1..0dea3201f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Update dependencies: #### Test: - [#608](https://github.com/influxdata/influxdb-client-csharp/pull/608): `NUnit` to `3.14.0` - [#616](https://github.com/influxdata/influxdb-client-csharp/pull/616): `Microsoft.NET.Test.Sdk` to `17.9.0` - - [#618](https://github.com/influxdata/influxdb-client-csharp/pull/618): `coverlet.collector` to `6.0.1` + - [#626](https://github.com/influxdata/influxdb-client-csharp/pull/626): `coverlet.collector` to `6.0.2` - [#628](https://github.com/influxdata/influxdb-client-csharp/pull/628): `WireMock.Net` to `1.5.51` #### Examples: diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 4cf656b20..a10bddabf 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 8e0ac21b2..300635e88 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -25,7 +25,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index c8350f10f..2353a9e07 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -27,7 +27,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 3d0a11255..540e9b6d0 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 73988fb1c3384eeeccf4f105e5940dcd5420c926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Tue, 14 May 2024 05:25:06 +0200 Subject: [PATCH 069/119] feat: specify http completion for async queries (#632) --- CHANGELOG.md | 3 +++ Client/InfluxDB.Client.Api/Client/ApiClient.cs | 9 +++++++-- Client/InfluxDB.Client.Api/Service/QueryService.cs | 7 +++++-- Client/QueryApiSync.cs | 10 ++++++++-- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dea3201f..9e4bc6e53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 4.15.0 [unreleased] +### Bug Fixes +1. [#632](https://github.com/influxdata/influxdb-client-csharp/pull/632): Use HttpCompletionOption.ResponseHeadersRead for streaming + ### Dependencies Update dependencies: diff --git a/Client/InfluxDB.Client.Api/Client/ApiClient.cs b/Client/InfluxDB.Client.Api/Client/ApiClient.cs index 851093212..0ab8b2a8e 100644 --- a/Client/InfluxDB.Client.Api/Client/ApiClient.cs +++ b/Client/InfluxDB.Client.Api/Client/ApiClient.cs @@ -15,6 +15,7 @@ using System.Text.RegularExpressions; using System.IO; using System.Linq; +using System.Net.Http; using System.Runtime.Serialization; using System.Text; using System.Threading; @@ -115,9 +116,13 @@ internal RestRequest PrepareRequest( string path, Method method, List> queryParams, object postBody, Dictionary headerParams, Dictionary formParams, Dictionary fileParams, Dictionary pathParams, - string contentType) + string contentType, + HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead) { - var request = new RestRequest(path, method); + var request = new RestRequest(path, method) + { + CompletionOption = httpCompletionOption + }; // add path parameter, if any foreach (var param in pathParams) diff --git a/Client/InfluxDB.Client.Api/Service/QueryService.cs b/Client/InfluxDB.Client.Api/Service/QueryService.cs index 4bcbded02..0bd9401a4 100644 --- a/Client/InfluxDB.Client.Api/Service/QueryService.cs +++ b/Client/InfluxDB.Client.Api/Service/QueryService.cs @@ -12,6 +12,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; +using System.Net.Http; using System.Threading; using RestSharp; using InfluxDB.Client.Api.Client; @@ -1544,9 +1545,11 @@ public RestResponse PostQueryWithIRestResponse(string zapTraceSpan = null, strin /// Specifies the name of the organization executing the query. Takes either the ID or Name. If both `orgID` and `org` are specified, `org` takes precedence. (optional) /// Specifies the ID of the organization executing the query. If both `orgID` and `org` are specified, `org` takes precedence. (optional) /// Flux query or specification to execute (optional) + /// Specify http completion to enable fully stream queries for async. /// ApiResponse of string public RestRequest PostQueryWithRestRequest(string zapTraceSpan = null, string acceptEncoding = null, - string contentType = null, string org = null, string orgID = null, Query query = null) + string contentType = null, string org = null, string orgID = null, Query query = null, + HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead) { var localVarPath = "/api/v2/query"; var localVarPathParams = new Dictionary(); @@ -1621,7 +1624,7 @@ public RestRequest PostQueryWithRestRequest(string zapTraceSpan = null, string a return Configuration.ApiClient.PrepareRequest(localVarPath, Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, - localVarPathParams, localVarHttpContentType); + localVarPathParams, localVarHttpContentType, httpCompletionOption); } /// diff --git a/Client/QueryApiSync.cs b/Client/QueryApiSync.cs index 3344c8a66..dc0c30622 100644 --- a/Client/QueryApiSync.cs +++ b/Client/QueryApiSync.cs @@ -75,6 +75,10 @@ public interface IQueryApiSync /// /// The synchronous version of QueryApi. + /// + /// The client uses to send the request and parse responses to InfluxDB 2.0. + /// The `HttpClient` is supposed to use maximus size of the body to int.MaxValue. + /// If you want to query large data, use method. /// public class QueryApiSync : AbstractQueryClient, IQueryApiSync { @@ -139,7 +143,8 @@ public List QuerySync(Query query, string org = null, CancellationToken ca RestRequest QueryFn(Func advancedResponseWriter) { return _service - .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query) + .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, + HttpCompletionOption.ResponseHeadersRead) .AddAdvancedResponseHandler(advancedResponseWriter); } @@ -191,7 +196,8 @@ public List QuerySync(Query query, string org = null, CancellationTok RestRequest QueryFn(Func advancedResponseWriter) { return _service - .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query) + .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, + HttpCompletionOption.ResponseHeadersRead) .AddAdvancedResponseHandler(advancedResponseWriter); } From 884f67afe21d5e6b94817ede7b21a03cf04e39a6 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 17 May 2024 10:48:40 +0200 Subject: [PATCH 070/119] chore(release): release version 4.15.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e4bc6e53..3e398c97b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.15.0 [unreleased] +## 4.15.0 [2024-05-17] ### Bug Fixes 1. [#632](https://github.com/influxdata/influxdb-client-csharp/pull/632): Use HttpCompletionOption.ResponseHeadersRead for streaming diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 0ca7edddc..9f89a5fbe 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.15.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 5e905bf2d..87c98ffaa 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.15.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 094f75caf..fac1c82e2 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.15.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index b1d6f7acb..ab8a7031a 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.15.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 060c7f5af..75f8ec077 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.15.0 - dev + false ../Keys/Key.snk From db8c49deb23d1d61a9ca6ea806974ca8d1e76a18 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 17 May 2024 10:58:01 +0200 Subject: [PATCH 071/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e398c97b..5df233db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.16.0 [unreleased] + ## 4.15.0 [2024-05-17] ### Bug Fixes diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 9f89a5fbe..adb85b05c 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.15.0 - + 4.16.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 87c98ffaa..f3fb5547e 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.15.0 - + 4.16.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index fac1c82e2..45795973e 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.15.0 - + 4.16.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index ab8a7031a..4b43ef908 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.15.0 - + 4.16.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 75f8ec077..7cc77455e 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.15.0 - + 4.16.0 + dev false ../Keys/Key.snk From cdd8caea09711c580fe5934a347e43bc9638615d Mon Sep 17 00:00:00 2001 From: alespour <42931850+alespour@users.noreply.github.com> Date: Fri, 17 May 2024 13:52:55 +0200 Subject: [PATCH 072/119] fix: package XML documentation (#633) --- .circleci/config.yml | 2 +- CHANGELOG.md | 3 +++ Client.Core/Client.Core.csproj | 4 ++++ Client.Legacy/Client.Legacy.csproj | 4 ++++ Client.Linq/Client.Linq.csproj | 4 ++++ Client/Client.csproj | 4 ++++ 6 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 26eeb4a28..a5633cefd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -158,7 +158,7 @@ jobs: name: Check compilation warnings command: | dotnet clean --configuration Release - dotnet build --configuration Release -warnAsError -warnAsMessage:CS0618,NETSDK1138 + dotnet build --configuration Release -warnAsError -warnAsMessage:CS0419,CS0618,CS1591,CS1573,CS1574,NETSDK1138 check-code-formatting: docker: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5df233db9..fcc510677 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 4.16.0 [unreleased] +#### Build: + - [#633](https://github.com/influxdata/influxdb-client-csharp/pull/633): Add package XML documentation. + ## 4.15.0 [2024-05-17] ### Bug Fixes diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index adb85b05c..550b77a27 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -27,6 +27,10 @@ true + + true + + diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index f3fb5547e..b5442a27c 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -27,6 +27,10 @@ true + + true + + diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 45795973e..ca7a81529 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -28,6 +28,10 @@ true + + true + + diff --git a/Client/Client.csproj b/Client/Client.csproj index 4b43ef908..fd4aeeb95 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -28,6 +28,10 @@ true + + true + + From 33d6eeaf049ebb4d30c1be0562fa3122d5cd6048 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:04:11 +0200 Subject: [PATCH 073/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 (#639) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.9.0 to 17.10.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.9.0...v17.10.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 8 +++++++- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcc510677..c6413a0ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ ## 4.16.0 [unreleased] -#### Build: +### Features: - [#633](https://github.com/influxdata/influxdb-client-csharp/pull/633): Add package XML documentation. +### Dependencies +Update dependencies: + +#### Test: + - [#639](https://github.com/influxdata/influxdb-client-csharp/pull/639): `Microsoft.NET.Test.Sdk` to `17.10.0` + ## 4.15.0 [2024-05-17] ### Bug Fixes diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index a10bddabf..1b7789d51 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 300635e88..d74d69de4 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 2353a9e07..2d134f7be 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 540e9b6d0..c187df20b 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From e2b0c10dd47b666d0f08706d548f4b6f905fdf4f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:10:12 +0200 Subject: [PATCH 074/119] chore(deps): Bump System.Reactive from 6.0.0 to 6.0.1 (#638) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump System.Reactive from 6.0.0 to 6.0.1 Bumps [System.Reactive](https://github.com/dotnet/reactive) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/dotnet/reactive/releases) - [Commits](https://github.com/dotnet/reactive/commits/ixnet-v6.0.1) --- updated-dependencies: - dependency-name: System.Reactive dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client/Client.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6413a0ec..d31b34642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ ### Dependencies Update dependencies: +#### Build: + - [#638](https://github.com/influxdata/influxdb-client-csharp/pull/638): `System.Reactive` to `6.0.1` + #### Test: - [#639](https://github.com/influxdata/influxdb-client-csharp/pull/639): `Microsoft.NET.Test.Sdk` to `17.10.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index fd4aeeb95..6104d968d 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -44,7 +44,7 @@ - + From ac1ae40369a2083e99ea4e3146a112059db3ab45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:12:10 +0200 Subject: [PATCH 075/119] chore(deps): Bump WireMock.Net from 1.5.51 to 1.5.56 (#641) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.51 to 1.5.56 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.51 to 1.5.56. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.51...1.5.56) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d31b34642..ba20c7f00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Update dependencies: #### Test: - [#639](https://github.com/influxdata/influxdb-client-csharp/pull/639): `Microsoft.NET.Test.Sdk` to `17.10.0` + - [#641](https://github.com/influxdata/influxdb-client-csharp/pull/641): `WireMock.Net` to `1.5.56` ## 4.15.0 [2024-05-17] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 1b7789d51..74b6dd5d2 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 7d5ec03c0799e7c09594e06fbe376be893297574 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:14:49 +0200 Subject: [PATCH 076/119] chore(deps): Bump Radzen.Blazor from 4.29.1 to 4.32.3 (#636) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.29.1 to 4.32.3 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.29.1 to 4.32.3. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.29.1...v4.32.3) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba20c7f00..c2eff0bdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ Update dependencies: - [#639](https://github.com/influxdata/influxdb-client-csharp/pull/639): `Microsoft.NET.Test.Sdk` to `17.10.0` - [#641](https://github.com/influxdata/influxdb-client-csharp/pull/641): `WireMock.Net` to `1.5.56` +#### Examples: + - [#636](https://github.com/influxdata/influxdb-client-csharp/pull/636): `Radzen.Blazor` to `4.32.3` + ## 4.15.0 [2024-05-17] ### Bug Fixes diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 91f1c1de1..cc51fba12 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 61362d3da07166f21eb2cb6ba7eb330e05f70f8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:16:20 +0200 Subject: [PATCH 077/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.3 to 8.0.6 (#635) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.3 to 8.0.6 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.3 to 8.0.6. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.3...v8.0.6) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2eff0bdc..19b1ba209 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Update dependencies: #### Build: + - [#635](https://github.com/influxdata/influxdb-client-csharp/pull/635): `Microsoft.Extensions.ObjectPool` to `8.0.6` - [#638](https://github.com/influxdata/influxdb-client-csharp/pull/638): `System.Reactive` to `6.0.1` #### Test: diff --git a/Client/Client.csproj b/Client/Client.csproj index 6104d968d..705156262 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -40,7 +40,7 @@ - + From 065c460169c94956809a1ae345bbe2b976cd55a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:22:33 +0200 Subject: [PATCH 078/119] chore(deps): Bump CsvHelper from 31.0.2 to 32.0.3 (#634) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump CsvHelper from 31.0.2 to 32.0.3 Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 31.0.2 to 32.0.3. - [Commits](https://github.com/JoshClose/CsvHelper/compare/31.0.2...32.0.3) --- updated-dependencies: - dependency-name: CsvHelper dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core/Client.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19b1ba209..1a3864ba0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Update dependencies: #### Build: + - [#634](https://github.com/influxdata/influxdb-client-csharp/pull/634): `CsvHelper` to `32.0.3` - [#635](https://github.com/influxdata/influxdb-client-csharp/pull/635): `Microsoft.Extensions.ObjectPool` to `8.0.6` - [#638](https://github.com/influxdata/influxdb-client-csharp/pull/638): `System.Reactive` to `6.0.1` diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 550b77a27..b379a8dd5 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -36,7 +36,7 @@ - + From d9c19afd2cd3511bd691e97a79da7cdaf40c5aca Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 24 Jun 2024 11:34:22 +0200 Subject: [PATCH 079/119] chore(release): release version 4.16.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a3864ba0..255ac6792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.16.0 [unreleased] +## 4.16.0 [2024-06-24] ### Features: - [#633](https://github.com/influxdata/influxdb-client-csharp/pull/633): Add package XML documentation. diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index b379a8dd5..8e4d73a47 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.16.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index b5442a27c..0308f1997 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.16.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index ca7a81529..096ab2e0c 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.16.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 705156262..33edcaa85 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.16.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 7cc77455e..97c0bc0b9 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.16.0 - dev + false ../Keys/Key.snk From 553e63179caf5734740c8080d6fb6042b324f1c4 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 24 Jun 2024 11:41:52 +0200 Subject: [PATCH 080/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 255ac6792..945f02714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.17.0 [unreleased] + ## 4.16.0 [2024-06-24] ### Features: diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 8e4d73a47..651299840 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.16.0 - + 4.17.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 0308f1997..56ad58af4 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.16.0 - + 4.17.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 096ab2e0c..f8507ce88 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.16.0 - + 4.17.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 33edcaa85..2b773bcb8 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.16.0 - + 4.17.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 97c0bc0b9..c4331fd4d 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.16.0 - + 4.17.0 + dev false ../Keys/Key.snk From 7047b788c5d8030a3184e4408436c362c9bfe72f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 09:24:04 +0200 Subject: [PATCH 081/119] chore(deps): Bump WireMock.Net from 1.5.56 to 1.5.59 (#646) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.56 to 1.5.59. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.56...1.5.59) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 74b6dd5d2..d7d99d39a 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 8d1cbb1b864d689c9ad1b2126ce5648528fec4c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 09:24:31 +0200 Subject: [PATCH 082/119] chore(deps): Bump Radzen.Blazor from 4.32.3 to 4.33.1 (#645) Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.32.3 to 4.33.1. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.32.3...v4.33.1) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index cc51fba12..57c3546c2 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 210b50226fc43a19eff62b40eac512630b1510c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 09:24:54 +0200 Subject: [PATCH 083/119] chore(deps): Bump CsvHelper from 32.0.3 to 33.0.1 (#644) Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 32.0.3 to 33.0.1. - [Commits](https://github.com/JoshClose/CsvHelper/commits) --- updated-dependencies: - dependency-name: CsvHelper dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core/Client.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 651299840..255d140f0 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -36,7 +36,7 @@ - + From 70fb7e11dec3a31ab4b2121c6df92a19cec7078a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Mon, 22 Jul 2024 11:37:01 +0200 Subject: [PATCH 084/119] fix: async queries also uses `HttpCompletionOption.ResponseHeadersRead` (#649) --- CHANGELOG.md | 3 +++ Client/QueryApi.cs | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 945f02714..5b63fca9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 4.17.0 [unreleased] +### Bug Fixes +1. [#649](https://github.com/influxdata/influxdb-client-csharp/pull/649): Use HttpCompletionOption.ResponseHeadersRead for asynchronous QueryApi + ## 4.16.0 [2024-06-24] ### Features: diff --git a/Client/QueryApi.cs b/Client/QueryApi.cs index 361d10457..34b6a6725 100644 --- a/Client/QueryApi.cs +++ b/Client/QueryApi.cs @@ -792,7 +792,8 @@ private Func, RestRequest> Arguments.CheckNonEmptyString(optionsOrg, OrgArgumentValidation); return advancedResponseWriter => _service - .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query) + .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, + HttpCompletionOption.ResponseHeadersRead) .AddAdvancedResponseHandler(advancedResponseWriter); } From afeb6264eae5b489ceb276ec12a4d5c1b8815f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Tue, 23 Jul 2024 15:17:34 +0200 Subject: [PATCH 085/119] chore(deps): upgrade RestSharp to `111.4.0` (#650) * chore(deps): upgrade RestSharp to `111.4.0` * docs: update CHANGELOG.md --- CHANGELOG.md | 12 +++ Client.Core/Client.Core.csproj | 2 +- Client.Core/Internal/AbstractQueryClient.cs | 96 ++++++++++++------- Client.Core/Internal/RestSharpExtensions.cs | 16 +--- Client.Legacy/FluxClient.cs | 5 +- Client.Test/ItWriteQueryApiTest.cs | 33 +++++++ .../InfluxDB.Client.Api/Client/ApiResponse.cs | 2 +- Client/InvokableScriptsApi.cs | 7 +- Client/QueryApi.cs | 10 +- Client/QueryApiSync.cs | 24 ++--- 10 files changed, 128 insertions(+), 79 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b63fca9d..9d8b20655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,20 @@ ## 4.17.0 [unreleased] +### Breaking Changes + +#### API + +- `ApiResponse` headers has been changed to `IEnumerable<(string Name, string Value)>` + ### Bug Fixes 1. [#649](https://github.com/influxdata/influxdb-client-csharp/pull/649): Use HttpCompletionOption.ResponseHeadersRead for asynchronous QueryApi +### Dependencies +Update dependencies: + +#### Build: +- [#650](https://github.com/influxdata/influxdb-client-csharp/pull/650): `RestSharp` to `111.4.0` + ## 4.16.0 [2024-06-24] ### Features: diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 255d140f0..d9bd75a0e 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -40,7 +40,7 @@ - + diff --git a/Client.Core/Internal/AbstractQueryClient.cs b/Client.Core/Internal/AbstractQueryClient.cs index 519586783..b184be46b 100644 --- a/Client.Core/Internal/AbstractQueryClient.cs +++ b/Client.Core/Internal/AbstractQueryClient.cs @@ -13,6 +13,7 @@ using InfluxDB.Client.Core.Flux.Internal; using Newtonsoft.Json.Linq; using RestSharp; +using RestSharp.Interceptors; namespace InfluxDB.Client.Core.Internal { @@ -39,7 +40,7 @@ protected AbstractQueryClient(IFluxResultMapper mapper, FluxCsvParser csvParser) _csvParser = csvParser; } - protected Task Query(Func, RestRequest> queryFn, + protected Task Query(RestRequest query, FluxCsvParser.IFluxResponseConsumer responseConsumer, Action onError, Action onComplete, CancellationToken cancellationToken) @@ -56,10 +57,10 @@ void Consumer(Stream bufferedStream) } } - return Query(queryFn, Consumer, onError, onComplete, cancellationToken); + return Query(query, Consumer, onError, onComplete, cancellationToken); } - protected Task QueryRaw(Func, RestRequest> queryFn, + protected Task QueryRaw(RestRequest query, Action onResponse, Action onError, Action onComplete, CancellationToken cancellationToken) @@ -76,10 +77,10 @@ void Consumer(Stream bufferedStream) } } - return Query(queryFn, Consumer, onError, onComplete, cancellationToken); + return Query(query, Consumer, onError, onComplete, cancellationToken); } - protected void QuerySync(Func, RestRequest> queryFn, + protected void QuerySync(RestRequest query, FluxCsvParser.IFluxResponseConsumer responseConsumer, Action onError, Action onComplete, @@ -97,21 +98,21 @@ void Consumer(CancellationToken cancellable, Stream bufferedStream) } } - QuerySync(queryFn, Consumer, onError, onComplete, cancellationToken); + QuerySync(query, Consumer, onError, onComplete, cancellationToken); } - private async Task Query(Func, RestRequest> queryFn, + private async Task Query(RestRequest query, Action consumer, Action onError, Action onComplete, CancellationToken cancellationToken) { - Arguments.CheckNotNull(queryFn, "queryFn"); + Arguments.CheckNotNull(query, "query"); Arguments.CheckNotNull(consumer, "consumer"); Arguments.CheckNotNull(onError, "onError"); Arguments.CheckNotNull(onComplete, "onComplete"); try { - var query = queryFn.Invoke((response, request) => + query.AdvancedResponseWriter = (response, request) => { var result = GetStreamFromResponse(response, cancellationToken); result = AfterIntercept((int)response.StatusCode, @@ -122,7 +123,7 @@ private async Task Query(Func, RestRequest> queryFn, + private void QuerySync(RestRequest query, Action consumer, Action onError, Action onComplete, CancellationToken cancellationToken) { - Arguments.CheckNotNull(queryFn, "queryFn"); + Arguments.CheckNotNull(query, "query"); Arguments.CheckNotNull(consumer, "consumer"); Arguments.CheckNotNull(onError, "onError"); Arguments.CheckNotNull(onComplete, "onComplete"); try { - var query = queryFn.Invoke((response, request) => + query.AdvancedResponseWriter = (response, request) => { var result = GetStreamFromResponse(response, cancellationToken); result = AfterIntercept((int)response.StatusCode, @@ -166,7 +167,7 @@ private void QuerySync(Func consumer(cancellationToken, result); return FromHttpResponseMessage(response, request); - }); + }; BeforeIntercept(query); @@ -188,32 +189,21 @@ private void QuerySync(Func } protected async IAsyncEnumerable QueryEnumerable( - Func, RestRequest> queryFn, + RestRequest query, Func convert, [EnumeratorCancellation] CancellationToken cancellationToken) { - Arguments.CheckNotNull(queryFn, nameof(queryFn)); + Arguments.CheckNotNull(query, nameof(query)); - Stream stream = null; - var query = queryFn.Invoke((response, request) => + query.Interceptors = new List { - stream = GetStreamFromResponse(response, cancellationToken); - stream = AfterIntercept((int)response.StatusCode, - () => response.Headers.ToHeaderParameters(response.Content.Headers), stream); - - RaiseForInfluxError(response, stream); - - return FromHttpResponseMessage(response, request); - }); - - BeforeIntercept(query); - - var restResponse = await RestClient.ExecuteAsync(query, cancellationToken).ConfigureAwait(false); - if (restResponse.ErrorException != null) - { - throw restResponse.ErrorException; - } + new RequestBeforeAfterInterceptor( + BeforeIntercept, + (statusCode, headers, body) => AfterIntercept(statusCode, headers, body) + ) + }; + var stream = await RestClient.DownloadStreamAsync(query, cancellationToken).ConfigureAwait(false); await foreach (var (_, record) in _csvParser .ParseFluxResponseAsync(new StreamReader(stream), cancellationToken) .ConfigureAwait(false)) @@ -409,4 +399,42 @@ private Stream GetStreamFromResponse(HttpResponseMessage response, CancellationT return streamFromResponse; } } + + /// + /// The interceptor that is called before and after the request. + /// + internal class RequestBeforeAfterInterceptor : Interceptor + { + private readonly Action _beforeRequest; + private readonly Action>, T> _afterRequest; + + /// + /// Construct the interceptor. + /// + /// Intercept request before HTTP call + /// Intercept response before parsing resutlts + internal RequestBeforeAfterInterceptor( + Action beforeRequest = null, + Action>, T> afterRequest = null) + { + _beforeRequest = beforeRequest; + _afterRequest = afterRequest; + } + + public override ValueTask BeforeRequest(RestRequest request, CancellationToken cancellationToken) + { + _beforeRequest?.Invoke(request); + return base.BeforeRequest(request, cancellationToken); + } + + public override ValueTask AfterHttpRequest(HttpResponseMessage responseMessage, + CancellationToken cancellationToken) + { + _afterRequest?.Invoke( + (int)responseMessage.StatusCode, + () => responseMessage.Headers.ToHeaderParameters(responseMessage.Content.Headers), + default); + return base.AfterHttpRequest(responseMessage, cancellationToken); + } + } } \ No newline at end of file diff --git a/Client.Core/Internal/RestSharpExtensions.cs b/Client.Core/Internal/RestSharpExtensions.cs index fcb01b114..72e1c5541 100644 --- a/Client.Core/Internal/RestSharpExtensions.cs +++ b/Client.Core/Internal/RestSharpExtensions.cs @@ -1,11 +1,7 @@ -using System; using System.Collections.Generic; using System.Linq; -using System.Net.Http; using System.Net.Http.Headers; -using System.Reflection; using System.Threading; -using System.Threading.Tasks; using RestSharp; namespace InfluxDB.Client.Core.Internal @@ -27,20 +23,10 @@ internal static IEnumerable ToHeaderParameters(this HttpHeaders .Select(x => new HeaderParameter(x.Key, x.y)); } - internal static RestRequest AddAdvancedResponseHandler(this RestRequest restRequest, - Func advancedResponseWriter) - { - var field = restRequest.GetType() - .GetField("_advancedResponseHandler", BindingFlags.Instance | BindingFlags.NonPublic); - field!.SetValue(restRequest, advancedResponseWriter); - - return restRequest; - } - internal static RestResponse ExecuteSync(this RestClient client, RestRequest request, CancellationToken cancellationToken = default) { - return client.Execute(request, cancellationToken); + return client.Execute(request); } } } \ No newline at end of file diff --git a/Client.Legacy/FluxClient.cs b/Client.Legacy/FluxClient.cs index 1c6e935dd..e5bfe6f0e 100644 --- a/Client.Legacy/FluxClient.cs +++ b/Client.Legacy/FluxClient.cs @@ -423,10 +423,9 @@ private RestRequest PingRequest() return new RestRequest("ping"); } - private Func, RestRequest> QueryRequest(string query) + private RestRequest QueryRequest(string query) { - return advancedResponseWriter => new RestRequest("api/v2/query", Method.Post) - .AddAdvancedResponseHandler(advancedResponseWriter) + return new RestRequest("api/v2/query", Method.Post) .AddParameter(new BodyParameter("application/json", query, "application/json")); } } diff --git a/Client.Test/ItWriteQueryApiTest.cs b/Client.Test/ItWriteQueryApiTest.cs index 56ec9e237..4f8d3bf67 100644 --- a/Client.Test/ItWriteQueryApiTest.cs +++ b/Client.Test/ItWriteQueryApiTest.cs @@ -4,6 +4,7 @@ using System.Diagnostics; using System.Linq; using System.Threading; +using System.Threading.Tasks; using InfluxDB.Client.Api.Domain; using InfluxDB.Client.Core; using InfluxDB.Client.Writes; @@ -944,5 +945,37 @@ public async Task GzipWithLargeAmountOfData() Assert.AreEqual(1000, tables.Count); Assert.AreEqual(1, tables[0].Records.Count); } + + [Test] + public async Task QueryAsyncEnumerableGzip() + { + Client.EnableGzip(); + Client.SetLogLevel(LogLevel.Body); + + await Client.GetWriteApiAsync().WriteMeasurementsAsync(new[] + { + new H20Measurement + { + Location = "angel_bay", Level = 2.927, Time = DateTime.UtcNow.Add(-TimeSpan.FromSeconds(10)) + }, + new H20Measurement + { + Location = "angel_bay", Level = 1.927, Time = DateTime.UtcNow.Add(-TimeSpan.FromSeconds(20)) + } + }); + + var query = $@"from(bucket: ""{_bucket.Name}"") + |> range(start: 0) + |> filter(fn: (r) => r[""location""] == ""angel_bay"") + |> pivot(rowKey:[""_time""], columnKey: [""_field""], valueColumn: ""_value"")"; + + var list = new List(); + await foreach (var item in _queryApi.QueryAsyncEnumerable(query).ConfigureAwait(false)) + list.Add(item); + + Assert.AreEqual(2, list.Count); + Assert.AreEqual(1.927, list[0].Level); + Assert.AreEqual(2.927, list[1].Level); + } } } \ No newline at end of file diff --git a/Client/InfluxDB.Client.Api/Client/ApiResponse.cs b/Client/InfluxDB.Client.Api/Client/ApiResponse.cs index 0849b4b39..d2942306b 100644 --- a/Client/InfluxDB.Client.Api/Client/ApiResponse.cs +++ b/Client/InfluxDB.Client.Api/Client/ApiResponse.cs @@ -43,7 +43,7 @@ public class ApiResponse /// HTTP status code. /// HTTP headers. /// Data (parsed HTTP body) - public ApiResponse(int statusCode, IEnumerable<(string Name, object Value)> headers, T data) + public ApiResponse(int statusCode, IEnumerable<(string Name, string Value)> headers, T data) { StatusCode = statusCode; Headers = headers diff --git a/Client/InvokableScriptsApi.cs b/Client/InvokableScriptsApi.cs index c26d1d373..9e603d29d 100644 --- a/Client/InvokableScriptsApi.cs +++ b/Client/InvokableScriptsApi.cs @@ -300,14 +300,13 @@ private Task InvokeScript(string scriptId, FluxCsvParser.IFluxResponseConsumer c cancellationToken); } - private Func, RestRequest> CreateRequest(string scriptId, + private RestRequest CreateRequest(string scriptId, Dictionary bindParams = default) { Arguments.CheckNonEmptyString(scriptId, nameof(scriptId)); - return advancedResponseWriter => _service - .PostScriptsIDInvokeWithRestRequest(scriptId, new ScriptInvocationParams(bindParams)) - .AddAdvancedResponseHandler(advancedResponseWriter); + return _service + .PostScriptsIDInvokeWithRestRequest(scriptId, new ScriptInvocationParams(bindParams)); } } } \ No newline at end of file diff --git a/Client/QueryApi.cs b/Client/QueryApi.cs index 34b6a6725..2946ff26b 100644 --- a/Client/QueryApi.cs +++ b/Client/QueryApi.cs @@ -783,18 +783,18 @@ private Task QueryAsync(Query query, FluxCsvParser.IFluxResponseConsumer consume cancellationToken); } - private Func, RestRequest> CreateRequest(Query query, - string org = null) + private RestRequest CreateRequest(Query query, string org = null) { Arguments.CheckNotNull(query, nameof(query)); var optionsOrg = org ?? _options.Org; Arguments.CheckNonEmptyString(optionsOrg, OrgArgumentValidation); - return advancedResponseWriter => _service + var postQueryWithRestRequest = _service .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, - HttpCompletionOption.ResponseHeadersRead) - .AddAdvancedResponseHandler(advancedResponseWriter); + HttpCompletionOption.ResponseHeadersRead); + + return postQueryWithRestRequest; } internal static Query CreateQuery(string query, Dialect dialect = null) diff --git a/Client/QueryApiSync.cs b/Client/QueryApiSync.cs index dc0c30622..ce0baa26e 100644 --- a/Client/QueryApiSync.cs +++ b/Client/QueryApiSync.cs @@ -140,15 +140,11 @@ public List QuerySync(Query query, string org = null, CancellationToken ca var consumer = new FluxResponseConsumerPoco(poco => { measurements.Add(poco); }, Mapper); - RestRequest QueryFn(Func advancedResponseWriter) - { - return _service - .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, - HttpCompletionOption.ResponseHeadersRead) - .AddAdvancedResponseHandler(advancedResponseWriter); - } + var restRequest = _service + .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, + HttpCompletionOption.ResponseHeadersRead); - QuerySync(QueryFn, consumer, ErrorConsumer, EmptyAction, cancellationToken); + QuerySync(restRequest, consumer, ErrorConsumer, EmptyAction, cancellationToken); return measurements; } @@ -193,15 +189,11 @@ public List QuerySync(Query query, string org = null, CancellationTok var optionsOrg = org ?? _options.Org; Arguments.CheckNonEmptyString(optionsOrg, OrgArgumentValidation); - RestRequest QueryFn(Func advancedResponseWriter) - { - return _service - .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, - HttpCompletionOption.ResponseHeadersRead) - .AddAdvancedResponseHandler(advancedResponseWriter); - } + var restRequest = _service + .PostQueryWithRestRequest(null, "application/json", null, optionsOrg, null, query, + HttpCompletionOption.ResponseHeadersRead); - QuerySync(QueryFn, consumer, ErrorConsumer, EmptyAction, cancellationToken); + QuerySync(restRequest, consumer, ErrorConsumer, EmptyAction, cancellationToken); return consumer.Tables; } From 31c4268ae2b220937396f9ea9567c30dbdc870d8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:24:38 +0200 Subject: [PATCH 086/119] chore(deps): Bump NUnit3TestAdapter from 4.5.0 to 4.6.0 (#652) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump NUnit3TestAdapter from 4.5.0 to 4.6.0 Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 4.5.0 to 4.6.0. - [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases) - [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.5.0...V4.6.0) --- updated-dependencies: - dependency-name: NUnit3TestAdapter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 5 ++++- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d8b20655..405e08c34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,10 @@ Update dependencies: #### Build: -- [#650](https://github.com/influxdata/influxdb-client-csharp/pull/650): `RestSharp` to `111.4.0` + - [#650](https://github.com/influxdata/influxdb-client-csharp/pull/650): `RestSharp` to `111.4.0` + +#### Test: + - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` ## 4.16.0 [2024-06-24] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index d7d99d39a..5840650fd 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -15,7 +15,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index d74d69de4..24a70399a 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -12,7 +12,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 2d134f7be..508680cf3 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index c187df20b..abcc7adac 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -14,7 +14,7 @@ - + From ba499294165f214df7c18fe028310249b046c3d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:39:40 +0200 Subject: [PATCH 087/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.6 to 8.0.7 (#655) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.6 to 8.0.7 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.6 to 8.0.7. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.6...v8.0.7) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 405e08c34..ade802381 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Update dependencies: #### Build: - [#650](https://github.com/influxdata/influxdb-client-csharp/pull/650): `RestSharp` to `111.4.0` + - [#655](https://github.com/influxdata/influxdb-client-csharp/pull/655): `Microsoft.Extensions.ObjectPool` to `8.0.7` #### Test: - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index 2b773bcb8..e7d67a148 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -40,7 +40,7 @@ - + From 9dcc11bf6f0dcbd95d79752d9efe31e5baa31d24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:52:48 +0200 Subject: [PATCH 088/119] chore(deps): Bump WireMock.Net from 1.5.59 to 1.5.62 (#654) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.59 to 1.5.62 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.59 to 1.5.62. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.59...1.5.62) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip ci] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ade802381..5d1d92899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ Update dependencies: #### Test: - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` + - [#654](https://github.com/influxdata/influxdb-client-csharp/pull/654): `WireMock.Net` to `1.5.62` ## 4.16.0 [2024-06-24] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 5840650fd..0f9996101 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From ce5f722fcccbe9a22cb5282b9a35f4288359eee2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:30:58 +0200 Subject: [PATCH 089/119] chore(deps): Bump Radzen.Blazor from 4.33.1 to 5.0.6 (#657) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 4.33.1 to 5.0.6 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 4.33.1 to 5.0.6. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v4.33.1...v5.0.6) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d1d92899..36b231e56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ Update dependencies: - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` - [#654](https://github.com/influxdata/influxdb-client-csharp/pull/654): `WireMock.Net` to `1.5.62` +#### Examples: + - [#657](https://github.com/influxdata/influxdb-client-csharp/pull/657): `Radzen.Blazor` to `5.0.6` + ## 4.16.0 [2024-06-24] ### Features: diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 57c3546c2..c1bfa72ef 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 24e9b5a2f4fccfb67d8fcc27aa52001fb3e1eabf Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 12 Aug 2024 09:52:46 +0200 Subject: [PATCH 090/119] chore(release): release version 4.17.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36b231e56..df67f64bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.17.0 [unreleased] +## 4.17.0 [2024-08-12] ### Breaking Changes diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index d9bd75a0e..b6f33a88d 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.17.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 56ad58af4..7a01bbe0b 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.17.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index f8507ce88..1af7499c9 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.17.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index e7d67a148..b4167543f 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.17.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index c4331fd4d..f2b95847e 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.17.0 - dev + false ../Keys/Key.snk From 11c2f23850301a8c9b2046c6322f2eabeedfeb0a Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 12 Aug 2024 10:10:12 +0200 Subject: [PATCH 091/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df67f64bb..08ba5b2a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.18.0 [unreleased] + ## 4.17.0 [2024-08-12] ### Breaking Changes diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index b6f33a88d..61dfa920a 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.17.0 - + 4.18.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 7a01bbe0b..ab905d044 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.17.0 - + 4.18.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 1af7499c9..0f8d667f6 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.17.0 - + 4.18.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index b4167543f..f19e709ad 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.17.0 - + 4.18.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index f2b95847e..3f6b28cbf 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.17.0 - + 4.18.0 + dev false ../Keys/Key.snk From 66d226c79f9a20a97cfc46a934ee6c8c57db1a9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 10:29:40 +0200 Subject: [PATCH 092/119] chore(deps): Bump RestSharp from 111.4.0 to 112.0.0 in /Client.Core (#659) Bumps [RestSharp](https://github.com/restsharp/RestSharp) from 111.4.0 to 112.0.0. - [Release notes](https://github.com/restsharp/RestSharp/releases) - [Commits](https://github.com/restsharp/RestSharp/compare/111.4.0...112.0.0) --- updated-dependencies: - dependency-name: RestSharp dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core/Client.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 61dfa920a..66d2eb6fe 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -40,7 +40,7 @@ - + From fd2ea4764bfee0e9eec3ef91eb135584c8cbe1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Mon, 2 Sep 2024 10:57:20 +0200 Subject: [PATCH 093/119] docs: Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08ba5b2a5..67311444c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 4.18.0 [unreleased] +### Dependencies +Update dependencies: + +#### Build: + - [#659](https://github.com/influxdata/influxdb-client-csharp/pull/659): `RestSharp` to `112.0.0` + ## 4.17.0 [2024-08-12] ### Breaking Changes From f212951a1c12b8528afe809c94701c7af64daa22 Mon Sep 17 00:00:00 2001 From: karel-rehor Date: Mon, 2 Sep 2024 17:25:24 +0200 Subject: [PATCH 094/119] feat: add response headers to HttpException (#658) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: (WIP) add response headers to HttpException * chore: (WIP) reformat test code * feat: (WIP) makes response headers accessible from WriteErrorEvent * chore: reformat code in recent changes. * docs: adds examples of handling HTTP Headers in errors. * chore: tweak wait polling in new example. * docs: add API doc and update Examples/README.md * docs: tweaking new example. * docs: update CHANGELOG.md * chore: change Headers from raw field to AutoProperty * chore: explicitly set nullable context for Headers. --------- Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 + Client.Core/Exceptions/InfluxException.cs | 9 ++ Client.Test/InfluxExceptionTest.cs | 46 +++++++ Client.Test/ItErrorEventsTest.cs | 103 +++++++++++++++ Client.Test/ItWriteApiAsyncTest.cs | 25 ++++ Client.Test/WriteApiTest.cs | 57 +++++++++ Client/Writes/Events.cs | 11 ++ Examples/HttpErrorHandling.cs | 147 ++++++++++++++++++++++ Examples/README.md | 1 + Examples/RunExamples.cs | 3 + 10 files changed, 405 insertions(+) create mode 100644 Client.Test/InfluxExceptionTest.cs create mode 100644 Client.Test/ItErrorEventsTest.cs create mode 100644 Examples/HttpErrorHandling.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 67311444c..60bff6e03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 4.18.0 [unreleased] +### Features: +1. [#658](https://github.com/influxdata/influxdb-client-csharp/pull/658): Add HttpHeaders as `IEnumerable` to `HttpException` and facilitate access in `WriteErrorEvent`. Includes new example `HttpErrorHandling`. + ### Dependencies Update dependencies: diff --git a/Client.Core/Exceptions/InfluxException.cs b/Client.Core/Exceptions/InfluxException.cs index d413f25c5..ef679c58b 100644 --- a/Client.Core/Exceptions/InfluxException.cs +++ b/Client.Core/Exceptions/InfluxException.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Net; using System.Net.Http; +using System.Net.Http.Headers; using InfluxDB.Client.Core.Internal; using Newtonsoft.Json; using Newtonsoft.Json.Linq; @@ -56,6 +57,13 @@ public HttpException(string message, int status, Exception exception = null) : b /// public int? RetryAfter { get; set; } +#nullable enable + /// + /// The response headers + /// + public IEnumerable? Headers { get; private set; } +#nullable disable + public static HttpException Create(RestResponse requestResult, object body) { Arguments.CheckNotNull(requestResult, nameof(requestResult)); @@ -162,6 +170,7 @@ public static HttpException Create(object content, IEnumerable err.ErrorBody = errorBody; err.RetryAfter = retryAfter; + err.Headers = headers; return err; } diff --git a/Client.Test/InfluxExceptionTest.cs b/Client.Test/InfluxExceptionTest.cs new file mode 100644 index 000000000..2c7e6a73c --- /dev/null +++ b/Client.Test/InfluxExceptionTest.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using InfluxDB.Client.Core.Exceptions; +using Newtonsoft.Json.Linq; +using NUnit.Framework; +using RestSharp; + +namespace InfluxDB.Client.Test +{ + [TestFixture] + public class InfluxExceptionTest + { + [Test] + public void ExceptionHeadersTest() + { + try + { + throw HttpException.Create( + JObject.Parse("{\"callId\": \"123456789\", \"message\": \"error in content object\"}"), + new List + { + new HeaderParameter("Trace-Id", "123456789ABCDEF0"), + new HeaderParameter("X-Influx-Version", "1.0.0"), + new HeaderParameter("X-Platform-Error-Code", "unavailable"), + new HeaderParameter("Retry-After", "60000") + }, + null, + HttpStatusCode.ServiceUnavailable); + } + catch (HttpException he) + { + Assert.AreEqual("error in content object", he?.Message); + + Assert.AreEqual(4, he?.Headers.Count()); + var headers = new Dictionary(); + foreach (var header in he?.Headers) headers.Add(header.Name, header.Value); + Assert.AreEqual("123456789ABCDEF0", headers["Trace-Id"]); + Assert.AreEqual("1.0.0", headers["X-Influx-Version"]); + Assert.AreEqual("unavailable", headers["X-Platform-Error-Code"]); + Assert.AreEqual("60000", headers["Retry-After"]); + } + } + } +} \ No newline at end of file diff --git a/Client.Test/ItErrorEventsTest.cs b/Client.Test/ItErrorEventsTest.cs new file mode 100644 index 000000000..e604200a5 --- /dev/null +++ b/Client.Test/ItErrorEventsTest.cs @@ -0,0 +1,103 @@ +using System; +using NUnit.Framework; +using System.Collections.Generic; +using System.Threading.Tasks; +using InfluxDB.Client.Api.Domain; +using InfluxDB.Client.Writes; + +namespace InfluxDB.Client.Test +{ + [TestFixture] + public class ItErrorEventsTest : AbstractItClientTest + { + private Organization _org; + private Bucket _bucket; + private string _token; + private InfluxDBClientOptions _options; + + [SetUp] + public new async Task SetUp() + { + _org = await FindMyOrg(); + _bucket = await Client.GetBucketsApi() + .CreateBucketAsync(GenerateName("fliers"), null, _org); + + // + // Add Permissions to read and write to the Bucket + // + var resource = new PermissionResource(PermissionResource.TypeBuckets, _bucket.Id, null, + _org.Id); + + var readBucket = new Permission(Permission.ActionEnum.Read, resource); + var writeBucket = new Permission(Permission.ActionEnum.Write, resource); + + var loggedUser = await Client.GetUsersApi().MeAsync(); + Assert.IsNotNull(loggedUser); + + var authorization = await Client.GetAuthorizationsApi() + .CreateAuthorizationAsync(_org, + new List { readBucket, writeBucket }); + + _token = authorization.Token; + + Client.Dispose(); + + _options = new InfluxDBClientOptions(InfluxDbUrl) + { + Token = _token, + Org = _org.Id, + Bucket = _bucket.Id + }; + + Client = new InfluxDBClient(_options); + } + + + [Test] + public void HandleEvents() + { + using (var writeApi = Client.GetWriteApi()) + { + writeApi.EventHandler += (sender, eventArgs) => + { + switch (eventArgs) + { + case WriteSuccessEvent successEvent: + Assert.Fail("Call should not succeed"); + break; + case WriteErrorEvent errorEvent: + Assert.AreEqual("unable to parse 'velocity,unit=C3PO mps=': missing field value", + errorEvent.Exception.Message); + var eventHeaders = errorEvent.GetHeaders(); + if (eventHeaders == null) + { + Assert.Fail("WriteErrorEvent must return headers."); + } + + var headers = new Dictionary { }; + foreach (var hp in eventHeaders) + { + Console.WriteLine("DEBUG {0}: {1}", hp.Name, hp.Value); + headers.Add(hp.Name, hp.Value); + } + + Assert.AreEqual(4, headers.Count); + Assert.AreEqual("OSS", headers["X-Influxdb-Build"]); + Assert.True(headers["X-Influxdb-Version"].StartsWith('v')); + Assert.AreEqual("invalid", headers["X-Platform-Error-Code"]); + Assert.AreNotEqual("missing", headers.GetValueOrDefault("Date", "missing")); + break; + case WriteRetriableErrorEvent retriableErrorEvent: + Assert.Fail("Call should not be retriable."); + break; + case WriteRuntimeExceptionEvent runtimeExceptionEvent: + Assert.Fail("Call should not result in runtime exception. {0}", runtimeExceptionEvent); + break; + } + }; + + writeApi.WriteRecord("velocity,unit=C3PO mps=", WritePrecision.S, _bucket.Name, _org.Name); + } + } + } +} \ No newline at end of file diff --git a/Client.Test/ItWriteApiAsyncTest.cs b/Client.Test/ItWriteApiAsyncTest.cs index 6cfb6323e..a9aba7798 100644 --- a/Client.Test/ItWriteApiAsyncTest.cs +++ b/Client.Test/ItWriteApiAsyncTest.cs @@ -1,9 +1,11 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Net; using System.Threading.Tasks; using InfluxDB.Client.Api.Domain; using InfluxDB.Client.Core; +using InfluxDB.Client.Core.Exceptions; using InfluxDB.Client.Core.Flux.Domain; using InfluxDB.Client.Core.Test; using InfluxDB.Client.Writes; @@ -185,5 +187,28 @@ public async Task WriteULongValues() Assert.AreEqual(ulong.MaxValue, query[0].Records[0].GetValue()); } + + [Test] + public async Task WriteWithError() + { + try + { + await _writeApi.WriteRecordAsync("h2o,location=fox_hollow water_level="); + Assert.Fail("Call should fail"); + } + catch (HttpException exception) + { + Assert.AreEqual("unable to parse 'h2o,location=fox_hollow water_level=': missing field value", + exception.Message); + Assert.AreEqual(400, exception.Status); + Assert.GreaterOrEqual(4, exception.Headers.Count()); + var headers = new Dictionary(); + foreach (var header in exception?.Headers) headers.Add(header.Name, header.Value); + Assert.AreEqual("OSS", headers["X-Influxdb-Build"]); + Assert.AreEqual("invalid", headers["X-Platform-Error-Code"]); + Assert.IsTrue(headers["X-Influxdb-Version"].StartsWith('v')); + Assert.NotNull(headers["Date"]); + } + } } } \ No newline at end of file diff --git a/Client.Test/WriteApiTest.cs b/Client.Test/WriteApiTest.cs index ec2b3fc3a..29d3212b4 100644 --- a/Client.Test/WriteApiTest.cs +++ b/Client.Test/WriteApiTest.cs @@ -4,6 +4,7 @@ using System.IO; using System.Linq; using System.Threading; +using Castle.Core.Smtp; using InfluxDB.Client.Api.Domain; using InfluxDB.Client.Core; using InfluxDB.Client.Core.Exceptions; @@ -506,6 +507,62 @@ public void WriteRuntimeException() Assert.AreEqual(0, MockServer.LogEntries.Count()); } + [Test] + public void WriteExceptionWithHeaders() + { + var localWriteApi = _client.GetWriteApi(new WriteOptions { RetryInterval = 1_000 }); + + var traceId = Guid.NewGuid().ToString(); + const string buildName = "TestBuild"; + const string version = "v99.9.9"; + + localWriteApi.EventHandler += (sender, eventArgs) => + { + switch (eventArgs) + { + case WriteErrorEvent errorEvent: + Assert.AreEqual("just a test", errorEvent.Exception.Message); + var errHeaders = errorEvent.GetHeaders(); + var headers = new Dictionary(); + foreach (var h in errHeaders) + headers.Add(h.Name, h.Value); + Assert.AreEqual(6, headers.Count); + Assert.AreEqual(traceId, headers["Trace-Id"]); + Assert.AreEqual(buildName, headers["X-Influxdb-Build"]); + Assert.AreEqual(version, headers["X-Influxdb-Version"]); + break; + default: + Assert.Fail("Expect only WriteErrorEvents but got {0}", eventArgs.GetType()); + break; + } + }; + MockServer + .Given(Request.Create().WithPath("/api/v2/write").UsingPost()) + .RespondWith( + CreateResponse("{ \"message\": \"just a test\", \"status-code\": \"Bad Request\"}") + .WithStatusCode(400) + .WithHeaders(new Dictionary() + { + { "Content-Type", "application/json" }, + { "Trace-Id", traceId }, + { "X-Influxdb-Build", buildName }, + { "X-Influxdb-Version", version } + }) + ); + + + var measurement = new SimpleModel + { + Time = new DateTime(2024, 09, 01, 6, 15, 00), + Device = "R2D2", + Value = 1976 + }; + + localWriteApi.WriteMeasurement(measurement, WritePrecision.S, "b1", "org1"); + + localWriteApi.Dispose(); + } + [Test] public void RequiredOrgBucketWriteApi() { diff --git a/Client/Writes/Events.cs b/Client/Writes/Events.cs index 14ae98db8..dd8b32227 100644 --- a/Client/Writes/Events.cs +++ b/Client/Writes/Events.cs @@ -1,7 +1,10 @@ using System; +using System.Collections.Generic; using System.Diagnostics; using InfluxDB.Client.Api.Domain; using InfluxDB.Client.Core; +using InfluxDB.Client.Core.Exceptions; +using RestSharp; namespace InfluxDB.Client.Writes { @@ -42,6 +45,14 @@ internal override void LogEvent() { Trace.TraceError($"The error occurred during writing of data: {Exception.Message}"); } + + /// + /// Get headers from the nested exception. + /// + public IEnumerable GetHeaders() + { + return ((HttpException)Exception)?.Headers; + } } /// diff --git a/Examples/HttpErrorHandling.cs b/Examples/HttpErrorHandling.cs new file mode 100644 index 000000000..3c1f3fc80 --- /dev/null +++ b/Examples/HttpErrorHandling.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using InfluxDB.Client; +using InfluxDB.Client.Api.Domain; +using InfluxDB.Client.Core.Exceptions; +using InfluxDB.Client.Writes; +using RestSharp; + +namespace Examples +{ + public class HttpErrorHandling + { + private static InfluxDBClient _client; + private static List _lpRecords; + + private static void Setup() + { + _client = new InfluxDBClient("http://localhost:9999", + "my-user", "my-password"); + var nowMillis = DateTimeOffset.Now.ToUnixTimeMilliseconds(); + + _lpRecords = new List() + { + $"temperature,location=north value=42 {nowMillis}", + $"temperature,location=north value=17 {nowMillis - 10000}", + $"temperature,location=north value= {nowMillis - 20000}", // one flaky record + $"temperature,location=north value=5 {nowMillis - 30000}" + }; + } + + private static void TearDown() + { + _client.Dispose(); + } + + private static Dictionary Headers2Dictionary(IEnumerable headers) + { + var result = new Dictionary(); + foreach (var hp in headers) + result.Add(hp.Name, hp.Value); + return result; + } + + private static async Task WriteRecordsAsync() + { + Console.WriteLine("Write records async with one invalid record."); + + // + // Write Data + // + var writeApiAsync = _client.GetWriteApiAsync(); + + try + { + await writeApiAsync.WriteRecordsAsync(_lpRecords, WritePrecision.Ms, + "my-bucket", "my-org"); + } + catch (HttpException he) + { + Console.WriteLine(" WARNING write failed"); + var headersDix = Headers2Dictionary(he.Headers); + Console.WriteLine(" Caught Exception({0}) \"{1}\"", + he.GetType(), + he.Message); + Console.WriteLine(" Response Status: {0}", he.Status); + Console.WriteLine(" Headers:"); + foreach (var key in headersDix.Keys) + Console.WriteLine($" {key}: {headersDix[key]}"); + } + finally + { + Console.WriteLine(" ===================="); + } + } + + private static void WriteRecordsWithErrorEvent() + { + Console.WriteLine("Write records with error event."); + + var caughtError = false; + using (var writeApi = _client.GetWriteApi()) + { + writeApi.EventHandler += (sender, eventArgs) => + { + switch (eventArgs) + { + case WriteErrorEvent wee: + Console.WriteLine(" WARNING write failed"); + Console.WriteLine(" Received event WriteErrorEvent with:"); + Console.WriteLine(" Status: {0}", ((HttpException)wee.Exception).Status); + Console.WriteLine(" Exception: {0}", wee.Exception.GetType()); + Console.WriteLine(" Message: {0}", wee.Exception.Message); + Console.WriteLine(" Headers:"); + var headersDix = Headers2Dictionary(wee.GetHeaders()); + foreach (var key in headersDix.Keys) + Console.WriteLine($" {key}: {headersDix[key]}"); + caughtError = true; + break; + default: + throw new Exception("Should only receive WriteErrorEvent"); + } + }; + Console.WriteLine("Trying the records list"); + writeApi.WriteRecords(_lpRecords, WritePrecision.Ms, "my-bucket", "my-org"); + var slept = 0; + while (!caughtError && slept < 3001) + { + Thread.Sleep(1000); + slept += 1000; + } + + if (!caughtError) + { + Console.WriteLine("WARN, did not encounter expected error"); + } + + + // manually retry the bad record + Console.WriteLine("Manually retrying the bad record."); + writeApi.WriteRecord(_lpRecords[2], WritePrecision.Ms, "my-bucket", "my-org"); + caughtError = false; + slept = 0; + while (!caughtError && slept < 3001) + { + Thread.Sleep(1000); + slept += 1000; + } + + if (!caughtError) + { + Console.WriteLine("WARN, did not encounter expected error"); + } + } + } + + public static async Task Main() + { + Console.WriteLine("Main()"); + Setup(); + await WriteRecordsAsync(); + WriteRecordsWithErrorEvent(); + TearDown(); + } + } +} \ No newline at end of file diff --git a/Examples/README.md b/Examples/README.md index 6eca76b7a..e8681b3f4 100644 --- a/Examples/README.md +++ b/Examples/README.md @@ -2,6 +2,7 @@ ## Writes - [WriteEventHandlerExample.cs](WriteEventHandlerExample.cs) - How to use WriteAPI with batch options and how to handle events +- [HttpErrorHandling.cs](HttpErrorHandling.cs) - How to handle errors on write and retrieve response headers. ## Others - [InvokableScripts.cs](InvokableScripts.cs) - How to use Invokable scripts Cloud API to create custom endpoints that query data diff --git a/Examples/RunExamples.cs b/Examples/RunExamples.cs index 91d5e59f8..a40688819 100644 --- a/Examples/RunExamples.cs +++ b/Examples/RunExamples.cs @@ -72,6 +72,9 @@ public static async Task Main(string[] args) case "RecordRowExample": await RecordRowExample.Main(); break; + case "HttpErrorHandling": + await HttpErrorHandling.Main(); + break; } } else From 3464c5cea43ad6382370d12aa6a4cf4cd301d96d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:15:53 +0200 Subject: [PATCH 095/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.0 (#661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.10.0 to 17.11.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 1 + Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60bff6e03..4a07ea818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ Update dependencies: #### Test: - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` - [#654](https://github.com/influxdata/influxdb-client-csharp/pull/654): `WireMock.Net` to `1.5.62` + - [#661](https://github.com/influxdata/influxdb-client-csharp/pull/661): `Microsoft.NET.Test.Sdk` to `17.11.0` #### Examples: - [#657](https://github.com/influxdata/influxdb-client-csharp/pull/657): `Radzen.Blazor` to `5.0.6` diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 0f9996101..d46ec0d97 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 24a70399a..66e29775e 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 508680cf3..11f59644d 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index abcc7adac..eef60c078 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From 39fc3789a0968920263813c23ece74d53f7c4d32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:16:56 +0200 Subject: [PATCH 096/119] chore(deps): Bump Radzen.Blazor from 5.0.6 to 5.1.6 (#664) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 5.0.6 to 5.1.6 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 5.0.6 to 5.1.6. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v5.0.6...v5.1.6) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a07ea818..756fbde62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ Update dependencies: - [#661](https://github.com/influxdata/influxdb-client-csharp/pull/661): `Microsoft.NET.Test.Sdk` to `17.11.0` #### Examples: - - [#657](https://github.com/influxdata/influxdb-client-csharp/pull/657): `Radzen.Blazor` to `5.0.6` + - [#664](https://github.com/influxdata/influxdb-client-csharp/pull/664): `Radzen.Blazor` to `5.1.6` ## 4.16.0 [2024-06-24] diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index c1bfa72ef..ad7012442 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 412970cb51c6c361e9025427c832ebbb1cbacc67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:18:11 +0200 Subject: [PATCH 097/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.7 to 8.0.8 (#662) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.7 to 8.0.8 Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 2 +- Client/Client.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 756fbde62..428d94caf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ Update dependencies: #### Build: - [#650](https://github.com/influxdata/influxdb-client-csharp/pull/650): `RestSharp` to `111.4.0` - - [#655](https://github.com/influxdata/influxdb-client-csharp/pull/655): `Microsoft.Extensions.ObjectPool` to `8.0.7` + - [#662](https://github.com/influxdata/influxdb-client-csharp/pull/662): `Microsoft.Extensions.ObjectPool` to `8.0.8` #### Test: - [#652](https://github.com/influxdata/influxdb-client-csharp/pull/652): `NUnit3TestAdapter` to `4.6.0` diff --git a/Client/Client.csproj b/Client/Client.csproj index f19e709ad..03e84ac66 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -40,7 +40,7 @@ - + From c723766d54f11f8fdb2c33d967275952c8d1b3e0 Mon Sep 17 00:00:00 2001 From: alespour <42931850+alespour@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:37:52 +0200 Subject: [PATCH 098/119] test: add test for server returning 201 Created for writes (#665) --- Client.Test/WriteApiTest.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Client.Test/WriteApiTest.cs b/Client.Test/WriteApiTest.cs index 29d3212b4..83fe59a14 100644 --- a/Client.Test/WriteApiTest.cs +++ b/Client.Test/WriteApiTest.cs @@ -381,6 +381,27 @@ public void RetryContainsMessage() StringAssert.Contains(message, writer.ToString()); } + [Test] + public void Created() + { + var listener = new EventListener(_writeApi); + + MockServer.Reset(); + MockServer + .Given(Request.Create().UsingPost()) + .RespondWith(CreateResponse( + "OK", + 201)); + + _writeApi.WriteRecord("h2o_feet,location=coyote_creek level\\ description=\"feet 1\",water_level=1.0 1", + WritePrecision.Ns, "b1", "org1"); + _writeApi.Flush(); + + var writeSuccessEvent = listener.Get(); + Assert.AreEqual("h2o_feet,location=coyote_creek level\\ description=\"feet 1\",water_level=1.0 1", + writeSuccessEvent.LineProtocol); + } + [Test] public void TwiceDispose() { From ed645d1bfea78c75202f7d5bb2a90eca251c3a85 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:50:30 +0200 Subject: [PATCH 099/119] chore(deps): Bump WireMock.Net from 1.5.62 to 1.6.1 (#663) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump WireMock.Net from 1.5.62 to 1.6.1 Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.5.62 to 1.6.1. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.5.62...1.6.1) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] * docs: Update CHANGELOG.md [skip CI] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 3 +++ Client.Core.Test/Client.Core.Test.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 428d94caf..4b794c17e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ Update dependencies: #### Build: - [#659](https://github.com/influxdata/influxdb-client-csharp/pull/659): `RestSharp` to `112.0.0` +#### Test: + - [#663](https://github.com/influxdata/influxdb-client-csharp/pull/663): `WireMock.Net` to `1.6.1` + ## 4.17.0 [2024-08-12] ### Breaking Changes diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index d46ec0d97..415ac99d8 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 407e37514d241c2f8b7442be78d27788f8df3730 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 13 Sep 2024 08:29:07 +0200 Subject: [PATCH 100/119] chore(release): release version 4.18.0 [skip ci] --- CHANGELOG.md | 2 +- Client.Core/Client.Core.csproj | 2 +- Client.Legacy/Client.Legacy.csproj | 2 +- Client.Linq/Client.Linq.csproj | 2 +- Client/Client.csproj | 2 +- Examples/Examples.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b794c17e..f51320987 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.18.0 [unreleased] +## 4.18.0 [2024-09-13] ### Features: 1. [#658](https://github.com/influxdata/influxdb-client-csharp/pull/658): Add HttpHeaders as `IEnumerable` to `HttpException` and facilitate access in `WriteErrorEvent`. Includes new example `HttpErrorHandling`. diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 66d2eb6fe..63c441b2b 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Core 4.18.0 - dev + InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index ab905d044..25b8e4694 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -7,7 +7,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Flux 4.18.0 - dev + InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index 0f8d667f6..e5a8bb8e0 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client.Linq 4.18.0 - dev + InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 03e84ac66..2bcd86e26 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -8,7 +8,7 @@ influxdb-client-csharp Contributors InfluxDB.Client 4.18.0 - dev + InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 3f6b28cbf..086de18e0 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -5,7 +5,7 @@ netcoreapp3.1;net5.0;net6.0;net7.0 8 4.18.0 - dev + false ../Keys/Key.snk From a404f80c169caabb85000aa498383378098cc0fa Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Fri, 13 Sep 2024 08:38:25 +0200 Subject: [PATCH 101/119] chore(release): prepare for next development iteration --- CHANGELOG.md | 2 ++ Client.Core/Client.Core.csproj | 4 ++-- Client.Legacy/Client.Legacy.csproj | 4 ++-- Client.Linq/Client.Linq.csproj | 4 ++-- Client/Client.csproj | 4 ++-- Examples/Examples.csproj | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f51320987..c1ce7b232 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.19.0 [unreleased] + ## 4.18.0 [2024-09-13] ### Features: diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 63c441b2b..d6363b92e 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -7,8 +7,8 @@ InfluxDB Client Core - exceptions, validations, REST client. influxdb-client-csharp Contributors InfluxDB.Client.Core - 4.18.0 - + 4.19.0 + dev InfluxDB.Client.Core influxdata;timeseries;flux;influxdb diff --git a/Client.Legacy/Client.Legacy.csproj b/Client.Legacy/Client.Legacy.csproj index 25b8e4694..b10393a7f 100644 --- a/Client.Legacy/Client.Legacy.csproj +++ b/Client.Legacy/Client.Legacy.csproj @@ -6,8 +6,8 @@ The client that allow perform Flux Query against the InfluxDB 1.7+. influxdb-client-csharp Contributors InfluxDB.Client.Flux - 4.18.0 - + 4.19.0 + dev InfluxDB.Client.Flux influxdata;timeseries;flux;influxdb diff --git a/Client.Linq/Client.Linq.csproj b/Client.Linq/Client.Linq.csproj index e5a8bb8e0..fcadbde5f 100644 --- a/Client.Linq/Client.Linq.csproj +++ b/Client.Linq/Client.Linq.csproj @@ -7,8 +7,8 @@ The library supports querying InfluxDB 2.x by LINQ expressions. influxdb-client-csharp Contributors InfluxDB.Client.Linq - 4.18.0 - + 4.19.0 + dev InfluxDB.Client.Linq influxdata;timeseries;flux;influxdb;linq diff --git a/Client/Client.csproj b/Client/Client.csproj index 2bcd86e26..c188d9034 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -7,8 +7,8 @@ The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x. influxdb-client-csharp Contributors InfluxDB.Client - 4.18.0 - + 4.19.0 + dev InfluxDB.Client influxdata;timeseries;flux;influxdb diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 086de18e0..5a150fc45 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -4,8 +4,8 @@ Exe netcoreapp3.1;net5.0;net6.0;net7.0 8 - 4.18.0 - + 4.19.0 + dev false ../Keys/Key.snk From b233c244763321a0263982ccac7741fc22d12656 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:59:02 +0200 Subject: [PATCH 102/119] chore(deps): Bump WireMock.Net from 1.6.1 to 1.6.5 (#670) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.6.1 to 1.6.5. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.1...1.6.5) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 415ac99d8..c2f7b3a85 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From b66abe34168f29d5b75c51591f70fa7cf0b36079 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:59:16 +0200 Subject: [PATCH 103/119] chore(deps): Bump NodaTime from 3.1.11 to 3.1.12 (#668) Bumps [NodaTime](https://github.com/nodatime/nodatime) from 3.1.11 to 3.1.12. - [Release notes](https://github.com/nodatime/nodatime/releases) - [Commits](https://github.com/nodatime/nodatime/compare/3.1.11...3.1.12) --- updated-dependencies: - dependency-name: NodaTime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core/Client.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index d6363b92e..48e13803d 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -38,7 +38,7 @@ - + From 2912a2a82b4725b463e5497be5f8d7458b49f2b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:59:47 +0200 Subject: [PATCH 104/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1 (#667) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.0 to 17.11.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.11.0...v17.11.1) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index c2f7b3a85..f5d4a9c18 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index 66e29775e..f9f767989 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 11f59644d..d69362ee4 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index eef60c078..ecd698e16 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From c9484368d8d71cb16ea229f7c71dfc31d945f960 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:31:39 +0200 Subject: [PATCH 105/119] chore(deps): Bump Radzen.Blazor from 5.1.6 to 5.2.5 (#669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Radzen.Blazor from 5.1.6 to 5.2.5 Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 5.1.6 to 5.2.5. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v5.1.6...v5.2.5) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 13 +++++++++++++ Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1ce7b232..68fa250c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ ## 4.19.0 [unreleased] +### Dependencies +Update dependencies: + +#### Build: + - [#668](https://github.com/influxdata/influxdb-client-csharp/pull/668): `NodaTime` to `3.1.12` + +#### Test: + - [#670](https://github.com/influxdata/influxdb-client-csharp/pull/670): `WireMock.Net` to `1.6.5` + - [#667](https://github.com/influxdata/influxdb-client-csharp/pull/667): `Microsoft.NET.Test.Sdk` to `17.11.01` + +#### Examples: + - [#669](https://github.com/influxdata/influxdb-client-csharp/pull/669): `Radzen.Blazor` to `5.2.5` + ## 4.18.0 [2024-09-13] ### Features: diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index ad7012442..aed16984d 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From e19667e2673a17ed489a445f4f799fca69bf448e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:09:08 +0100 Subject: [PATCH 106/119] chore(deps): Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.1 to 17.12.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * docs: Update CHANGELOG.md [skip CI] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- CHANGELOG.md | 11 +---------- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68fa250c8..a40332236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,8 @@ ## 4.19.0 [unreleased] ### Dependencies -Update dependencies: - -#### Build: - - [#668](https://github.com/influxdata/influxdb-client-csharp/pull/668): `NodaTime` to `3.1.12` -#### Test: - - [#670](https://github.com/influxdata/influxdb-client-csharp/pull/670): `WireMock.Net` to `1.6.5` - - [#667](https://github.com/influxdata/influxdb-client-csharp/pull/667): `Microsoft.NET.Test.Sdk` to `17.11.01` - -#### Examples: - - [#669](https://github.com/influxdata/influxdb-client-csharp/pull/669): `Radzen.Blazor` to `5.2.5` +⚠️ Important Notice: Starting from this release, we won’t be listing every dependency change in our changelog. This helps us maintain the project faster and focus on important features for our InfluxDB client. ## 4.18.0 [2024-09-13] diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index f5d4a9c18..4f58eff0c 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -13,7 +13,7 @@ - + diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index f9f767989..f9af7b596 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index d69362ee4..17fe35d46 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index ecd698e16..6d8fd4967 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -12,7 +12,7 @@ - + From eb31f062ef7e4d4a8535d25ad49fee3d117e2277 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:09:44 +0100 Subject: [PATCH 107/119] chore(deps): Bump RestSharp from 112.0.0 to 112.1.0 (#677) Bumps [RestSharp](https://github.com/restsharp/RestSharp) from 112.0.0 to 112.1.0. - [Release notes](https://github.com/restsharp/RestSharp/releases) - [Commits](https://github.com/restsharp/RestSharp/compare/112.0.0...112.1.0) --- updated-dependencies: - dependency-name: RestSharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core/Client.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 48e13803d..0a1c74ff6 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -40,7 +40,7 @@ - + From 19b7227ceb3ca222994a02637af48faa190be6a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:10:05 +0100 Subject: [PATCH 108/119] chore(deps): Bump NodaTime from 3.1.12 to 3.2.0 (#675) Bumps [NodaTime](https://github.com/nodatime/nodatime) from 3.1.12 to 3.2.0. - [Release notes](https://github.com/nodatime/nodatime/releases) - [Commits](https://github.com/nodatime/nodatime/compare/3.1.12...3.2.0) --- updated-dependencies: - dependency-name: NodaTime dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core/Client.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core/Client.Core.csproj b/Client.Core/Client.Core.csproj index 0a1c74ff6..69b59f496 100644 --- a/Client.Core/Client.Core.csproj +++ b/Client.Core/Client.Core.csproj @@ -38,7 +38,7 @@ - + From 646e126d8089d29541e2ad773cffb31896e24e5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:10:25 +0100 Subject: [PATCH 109/119] chore(deps): Bump Radzen.Blazor from 5.2.5 to 5.6.10 (#680) Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 5.2.5 to 5.6.10. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v5.2.5...v5.6.10) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index aed16984d..80cab8105 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 8b27fbf8cdd41707468c824d53b8d50b3c366eb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:10:51 +0100 Subject: [PATCH 110/119] chore(deps): Bump WireMock.Net from 1.6.5 to 1.6.8 (#679) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.6.5 to 1.6.8. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/commits) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 4f58eff0c..fdabe7028 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From 32b375fb4ec0cfd5671fa71e024fb38d4c41de1d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:39:56 +0100 Subject: [PATCH 111/119] chore(deps): Bump System.Configuration.ConfigurationManager from 8.0.0 to 9.0.0 (#681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Bump System.Configuration.ConfigurationManager Bumps [System.Configuration.ConfigurationManager](https://github.com/dotnet/runtime) from 8.0.0 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: System.Configuration.ConfigurationManager dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * feat: default dotnet image to 8 * feat: default dotnet image to 8 * feat: default dotnet image to 8 * feat: default dotnet image to 8 * feat: default dotnet image to 8 * feat: default dotnet image to 8 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednář --- .circleci/config.yml | 26 +++++++++++--------- CHANGELOG.md | 3 +++ Client.Core.Test/Client.Core.Test.csproj | 4 +-- Client.Legacy.Test/Client.Legacy.Test.csproj | 4 +-- Client.Linq.Test/Client.Linq.Test.csproj | 4 +-- Client.Test/Client.Test.csproj | 4 +-- Client/Client.csproj | 2 +- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- Examples/Examples.csproj | 2 +- Scripts/ci-test.sh | 19 ++++++++------ 10 files changed, 40 insertions(+), 30 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a5633cefd..a361b04be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,7 +61,7 @@ jobs: parameters: dotnet-image: type: string - default: &default-dotnet-image "mcr.microsoft.com/dotnet/sdk:7.0" + default: &default-dotnet-image "mcr.microsoft.com/dotnet/sdk:8.0" dotnet-target-version: type: string default: "netstandard2.1" @@ -132,11 +132,11 @@ jobs: command: /c/influxdata/influxdb-1.8.0-1/influxd.exe -config "Scripts/influxdb.conf" background: true - run: | - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Test/Client.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Examples/Examples.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Test/Client.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net5.0'<\/TargetFramework>' Examples/Examples.csproj - run: dotnet sln remove Examples/ExampleBlazor/ExampleBlazor.csproj - run: dotnet nuget locals --clear all - run: dotnet restore --no-cache --force -s https://api.nuget.org/v3/index.json @@ -149,11 +149,11 @@ jobs: steps: - checkout - run: | - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net7.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net7.0'<\/TargetFramework>' Client.Test/Client.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net7.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net7.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj - sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'net7.0'<\/TargetFramework>' Examples/Examples.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net8.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net8.0'<\/TargetFramework>' Client.Test/Client.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net8.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net8.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj + sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'net8.0'<\/TargetFramework>' Examples/Examples.csproj - run: name: Check compilation warnings command: | @@ -225,6 +225,9 @@ workflows: dotnet-image: "mcr.microsoft.com/dotnet/sdk:6.0" - tests-dotnet: name: dotnet-7.0 + dotnet-image: "mcr.microsoft.com/dotnet/sdk:7.0" + - tests-dotnet: + name: dotnet-8.0 - tests-windows: name: dotnet-windows - deploy-preview: @@ -236,6 +239,7 @@ workflows: - dotnet-5.0 - dotnet-6.0 - dotnet-7.0 + - dotnet-8.0 - dotnet-windows filters: branches: diff --git a/CHANGELOG.md b/CHANGELOG.md index a40332236..5683da693 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ⚠️ Important Notice: Starting from this release, we won’t be listing every dependency change in our changelog. This helps us maintain the project faster and focus on important features for our InfluxDB client. +### CI +1. [#681](https://github.com/influxdata/influxdb-client-csharp/pull/681): Add build for `dotnet8` + ## 4.18.0 [2024-09-13] ### Features: diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index fdabe7028..26dd5bb89 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net5.0;net6.0;net7.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 8 false @@ -24,7 +24,7 @@ - |net5.0|net6.0|net7.0| + |net5.0|net6.0|net7.0|net8.0| diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index f9af7b596..b8c305846 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net5.0;net6.0;net7.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 8 false @@ -21,7 +21,7 @@ - |net5.0|net6.0|net7.0| + |net5.0|net6.0|net7.0|net8.0| diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 17fe35d46..59cd9b455 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net5.0;net6.0;net7.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 8 false @@ -23,7 +23,7 @@ - |net5.0|net6.0|net7.0| + |net5.0|net6.0|net7.0|net8.0| diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 6d8fd4967..c4b6882f7 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net5.0;net6.0;net7.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 8 false @@ -24,7 +24,7 @@ - |net5.0|net6.0|net7.0| + |net5.0|net6.0|net7.0|net8.0| diff --git a/Client/Client.csproj b/Client/Client.csproj index c188d9034..e08657dd1 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -43,7 +43,7 @@ - + diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index 80cab8105..c20e369b1 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index 5a150fc45..32dfbbd68 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1;net5.0;net6.0;net7.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 8 4.19.0 dev diff --git a/Scripts/ci-test.sh b/Scripts/ci-test.sh index ffc662d02..b6d258413 100755 --- a/Scripts/ci-test.sh +++ b/Scripts/ci-test.sh @@ -20,11 +20,11 @@ echo "$NET_TEST_VERSION" DEFAULT_NET_TARGET_VERSION="netstandard2.1" NET_TARGET_VERSION="${NET_TARGET_VERSION:-$DEFAULT_NET_TARGET_VERSION}" -sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj -sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Test/Client.Test.csproj -sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj -sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj -sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Examples/Examples.csproj +sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj +sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Test/Client.Test.csproj +sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj +sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj +sed -i '/netcoreapp3.1;net5.0;net6.0;net7.0;net8.0<\/TargetFrameworks>/c\'"${NET_TEST_VERSION}"'<\/TargetFramework>' Examples/Examples.csproj sed -i '/netstandard2.0;netstandard2.1<\/TargetFrameworks>/c\'"${NET_TARGET_VERSION}"'<\/TargetFramework>' Client.Core/Client.Core.csproj sed -i '/netstandard2.0;netstandard2.1<\/TargetFrameworks>/c\'"${NET_TARGET_VERSION}"'<\/TargetFramework>' Client/Client.csproj @@ -42,10 +42,13 @@ else TRX2JUNIT_VERSION="1.3.2" fi -if [[ "$NET_TEST_VERSION" = "netcoreapp6.0" || "$NET_TEST_VERSION" = "netcoreapp7.0" ]] +if [[ "$NET_TEST_VERSION" = "netcoreapp6.0" || "$NET_TEST_VERSION" = "netcoreapp7.0" || "$NET_TEST_VERSION" = "netcoreapp8.0" ]] +then + TRX2JUNIT_VERSION="2.1.0" +fi + +if [[ "$NET_TEST_VERSION" != "netcoreapp8.0" ]] then - TRX2JUNIT_VERSION="2.0.4" -else dotnet sln remove Examples/ExampleBlazor/ExampleBlazor.csproj fi From 4ec4fc70dd0ad9cfa816e95e745c7f12731cc7d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:40:14 +0100 Subject: [PATCH 112/119] chore(deps): Bump Microsoft.Extensions.ObjectPool from 8.0.8 to 9.0.0 (#678) Bumps [Microsoft.Extensions.ObjectPool](https://github.com/dotnet/aspnetcore) from 8.0.8 to 9.0.0. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v9.0.0) --- updated-dependencies: - dependency-name: Microsoft.Extensions.ObjectPool dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client/Client.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Client.csproj b/Client/Client.csproj index e08657dd1..746444d84 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -40,7 +40,7 @@ - + From 314ce1c276ca5670e66065615b3b66b887d852aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:49:35 +0100 Subject: [PATCH 113/119] chore(deps): Bump System.Collections.Immutable from 8.0.0 to 9.0.0 (#683) Bumps [System.Collections.Immutable](https://github.com/dotnet/runtime) from 8.0.0 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: System.Collections.Immutable dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client/Client.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Client.csproj b/Client/Client.csproj index 746444d84..9c02424da 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -42,7 +42,7 @@ - + From bcb1a1b279b18e97ac69f669a14d3da039f164dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:48:20 +0100 Subject: [PATCH 114/119] chore(deps): Bump Radzen.Blazor from 5.6.10 to 5.7.2 (#687) Bumps [Radzen.Blazor](https://github.com/radzenhq/radzen-blazor) from 5.6.10 to 5.7.2. - [Release notes](https://github.com/radzenhq/radzen-blazor/releases) - [Commits](https://github.com/radzenhq/radzen-blazor/compare/v5.6.10...v5.7.2) --- updated-dependencies: - dependency-name: Radzen.Blazor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Examples/ExampleBlazor/ExampleBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBlazor/ExampleBlazor.csproj b/Examples/ExampleBlazor/ExampleBlazor.csproj index c20e369b1..53dbaa35f 100644 --- a/Examples/ExampleBlazor/ExampleBlazor.csproj +++ b/Examples/ExampleBlazor/ExampleBlazor.csproj @@ -9,7 +9,7 @@ - + From 5a112a7d21dc2d4ed0abba93cf09595909dfcddb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:10:04 +0100 Subject: [PATCH 115/119] chore(deps): Bump coverlet.collector from 6.0.2 to 6.0.3 (#689) Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.2...v6.0.3) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- Client.Legacy.Test/Client.Legacy.Test.csproj | 2 +- Client.Linq.Test/Client.Linq.Test.csproj | 2 +- Client.Test/Client.Test.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index 26dd5bb89..d8b9fa7b7 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Legacy.Test/Client.Legacy.Test.csproj b/Client.Legacy.Test/Client.Legacy.Test.csproj index b8c305846..6f7dc4d54 100644 --- a/Client.Legacy.Test/Client.Legacy.Test.csproj +++ b/Client.Legacy.Test/Client.Legacy.Test.csproj @@ -25,7 +25,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Linq.Test/Client.Linq.Test.csproj b/Client.Linq.Test/Client.Linq.Test.csproj index 59cd9b455..bdb960d6d 100644 --- a/Client.Linq.Test/Client.Linq.Test.csproj +++ b/Client.Linq.Test/Client.Linq.Test.csproj @@ -27,7 +27,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index c4b6882f7..0824a2b95 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 75a4d6dd839aada42221fd1f143fad5c6be39bbe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:30:38 +0100 Subject: [PATCH 116/119] chore(deps): Bump Tomlyn.Signed from 0.17.0 to 0.18.0 (#690) Bumps [Tomlyn.Signed](https://github.com/xoofx/Tomlyn) from 0.17.0 to 0.18.0. - [Release notes](https://github.com/xoofx/Tomlyn/releases) - [Changelog](https://github.com/xoofx/Tomlyn/blob/main/changelog.md) - [Commits](https://github.com/xoofx/Tomlyn/compare/0.17.0...0.18.0) --- updated-dependencies: - dependency-name: Tomlyn.Signed dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Test/Client.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Test/Client.Test.csproj b/Client.Test/Client.Test.csproj index 0824a2b95..1a4ca903c 100644 --- a/Client.Test/Client.Test.csproj +++ b/Client.Test/Client.Test.csproj @@ -15,7 +15,7 @@ - + From c25591e31931fbf5ab8a08a222a1073b4c8bde34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:43:07 +0100 Subject: [PATCH 117/119] chore(deps): Bump WireMock.Net from 1.6.8 to 1.6.11 (#691) Bumps [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) from 1.6.8 to 1.6.11. - [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases) - [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md) - [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.8...1.6.11) --- updated-dependencies: - dependency-name: WireMock.Net dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client.Core.Test/Client.Core.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Core.Test/Client.Core.Test.csproj b/Client.Core.Test/Client.Core.Test.csproj index d8b9fa7b7..d504ffbf8 100644 --- a/Client.Core.Test/Client.Core.Test.csproj +++ b/Client.Core.Test/Client.Core.Test.csproj @@ -16,7 +16,7 @@ - + From ebfe62f6f4665d2cc5e2731e3c20ae6a0a66f5bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 10:08:19 +0100 Subject: [PATCH 118/119] chore(deps): Bump System.Collections.Immutable from 9.0.0 to 9.0.1 (#692) Bumps [System.Collections.Immutable](https://github.com/dotnet/runtime) from 9.0.0 to 9.0.1. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.1) --- updated-dependencies: - dependency-name: System.Collections.Immutable dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client/Client.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Client.csproj b/Client/Client.csproj index 9c02424da..41597aefb 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -42,7 +42,7 @@ - + From d292ca7952bdf62f73b6dddd04c69b6d4e42a7da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 10:18:56 +0100 Subject: [PATCH 119/119] chore(deps): Bump Microsoft.Net.Http.Headers from 2.2.8 to 2.3.0 (#693) Bumps [Microsoft.Net.Http.Headers](https://github.com/dotnet/aspnetcore) from 2.2.8 to 2.3.0. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/commits) --- updated-dependencies: - dependency-name: Microsoft.Net.Http.Headers dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Client/Client.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Client.csproj b/Client/Client.csproj index 41597aefb..bda849b60 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -41,7 +41,7 @@ - + pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy