From d5a6070449c99075ddfb1ad6abc67eff6ddda337 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Tue, 7 Nov 2023 10:46:48 +0100 Subject: [PATCH 01/79] 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 02/79] 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 03/79] 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 04/79] 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 05/79] 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 06/79] 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 07/79] 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 08/79] 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 09/79] 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 10/79] 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 11/79] 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 12/79] 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 13/79] 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 14/79] 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 15/79] 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 16/79] 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 17/79] 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 18/79] 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 19/79] 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 20/79] 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 21/79] 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 22/79] 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 23/79] 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 24/79] 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 25/79] 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 26/79] 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 27/79] 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 28/79] 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 29/79] 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 30/79] 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 31/79] 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 32/79] 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 33/79] 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 34/79] 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 35/79] 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 36/79] 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 37/79] 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 38/79] 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 39/79] 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 40/79] 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 41/79] 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 42/79] 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 43/79] 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 44/79] 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 45/79] 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 46/79] 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 47/79] 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 48/79] 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 49/79] 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 50/79] 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 51/79] 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 52/79] 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 53/79] 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 54/79] 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 55/79] 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 56/79] 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 57/79] 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 58/79] 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 59/79] 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 60/79] 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 61/79] 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 62/79] 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 63/79] 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 64/79] 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 65/79] 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 66/79] 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 67/79] 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 68/79] 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 69/79] 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 70/79] 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 71/79] 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 72/79] 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 73/79] 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 74/79] 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 75/79] 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 76/79] 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 77/79] 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 78/79] 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 79/79] 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