Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
1. [#353](https://github.com/influxdata/influxdb-client-csharp/pull/353): Support for `double` types in LINQ expression [LINQ]
1. [#360](https://github.com/influxdata/influxdb-client-csharp/pull/360): Designated `HealthAsync` as obsolete in `IInfluxDBClient`

### Others
1. [#368](https://github.com/influxdata/influxdb-client-csharp/pull/368): Use builtin support for synchronous HTTP requests from `RestSharp`

### Documentation
1. [#355](https://github.com/influxdata/influxdb-client-csharp/pull/355): Add an example how to use `EventHandler` for `WriteApi`

Expand All @@ -13,6 +16,7 @@ Update dependencies:
#### Build:
- [#364](https://github.com/influxdata/influxdb-client-csharp/pull/364): `System.Configuration.ConfigurationManager` to `6.0.1`
- [#365](https://github.com/influxdata/influxdb-client-csharp/pull/365): `Microsoft.Extensions.ObjectPool` to `6.0.9`
- [#368](https://github.com/influxdata/influxdb-client-csharp/pull/368): `RestSharp` to `108.0.2`

#### Examples:
- [#367](https://github.com/influxdata/influxdb-client-csharp/pull/367): `Radzen.Blazor` to `4.0.0`
Expand Down
2 changes: 1 addition & 1 deletion Client.Core/Client.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NodaTime" Version="3.1.2" />
<PackageReference Include="NodaTime.Serialization.JsonNet" Version="3.0.0" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="RestSharp" Version="108.0.2" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions Client.Core/Internal/RestSharpExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ internal static RestRequest AddAdvancedResponseHandler(this RestRequest restRequ
internal static RestResponse ExecuteSync(this RestClient client,
RestRequest request, CancellationToken cancellationToken = default)
{
// return client.Execute(request);
return client.ExecuteAsync(request, cancellationToken).ConfigureAwait(false).GetAwaiter().GetResult();
return client.Execute(request, cancellationToken);
}
}
}