Skip to content

Update Elastic.Transport dependency #8134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2024
Merged
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
6 changes: 3 additions & 3 deletions benchmarks/Benchmarks/packages.lock.json
Original file line number Diff line number Diff line change
@@ -67,8 +67,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -1196,7 +1196,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
6 changes: 3 additions & 3 deletions benchmarks/Profiling/packages.lock.json
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -122,7 +122,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -185,7 +185,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
@@ -234,8 +234,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -381,7 +381,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
@@ -421,8 +421,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -560,7 +560,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
@@ -600,8 +600,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -691,7 +691,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
@@ -731,8 +731,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
@@ -788,7 +788,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.3.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
30 changes: 15 additions & 15 deletions src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json
Original file line number Diff line number Diff line change
@@ -22,9 +22,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -205,9 +205,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -396,9 +396,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -570,9 +570,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -696,9 +696,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.NETFramework.ReferenceAssemblies": {
"type": "Direct",
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.3.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
30 changes: 15 additions & 15 deletions src/Elastic.Clients.Elasticsearch/packages.lock.json
Original file line number Diff line number Diff line change
@@ -22,9 +22,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -205,9 +205,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -396,9 +396,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
@@ -570,9 +570,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -696,9 +696,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.NETFramework.ReferenceAssemblies": {
"type": "Direct",
2 changes: 1 addition & 1 deletion src/Playground/Playground.csproj
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
</ItemGroup>

<ItemGroup>
24 changes: 9 additions & 15 deletions src/Playground/Program.cs
Original file line number Diff line number Diff line change
@@ -3,21 +3,15 @@
// See the LICENSE file in the project root for more information.

using Elastic.Clients.Elasticsearch;
using Elastic.Clients.Elasticsearch.Aggregations;
using Elastic.Clients.Elasticsearch.IndexManagement;
using Elastic.Clients.Elasticsearch.Mapping;
using Elastic.Transport;
using Moq;
using Playground;

var client = new ElasticsearchClient();

var resp = client.Search<Person>();

var adj = resp.Aggregations!.GetAdjacencyMatrix("test");
var firstAdj = adj!.Buckets.First();
var firstAdjSub = firstAdj.GetBoxplot("sub");

var mis = resp.Aggregations!.GetMissing("test");
var misSub = mis!.GetBoxplot("sub");
var settings = new ElasticsearchClientSettings(new Uri("https://primary.es.europe-west3.gcp.cloud.es.io"))
.Authentication(new BasicAuthentication("elastic", "Oov35Wtxj5DzpZNzYAzFb0KZ"))
.DisableDirectStreaming()
.EnableDebugMode(cd =>
{
//var request = System.Text.Encoding.Default.GetString(cd.RequestBodyInBytes);
Console.WriteLine(cd.DebugInformation);
});

var client = new ElasticsearchClient(settings);
10 changes: 5 additions & 5 deletions src/Playground/packages.lock.json
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -145,7 +145,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
@@ -158,7 +158,7 @@
"elastic.clients.elasticsearch.serverless": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
12 changes: 6 additions & 6 deletions tests/Tests.ClusterLauncher/packages.lock.json
Original file line number Diff line number Diff line change
@@ -75,8 +75,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
@@ -1278,7 +1278,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
@@ -1395,8 +1395,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"FluentAssertions": {
"type": "Transitive",
@@ -2581,7 +2581,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
Loading
Loading