Skip to content

Commit 5aa900d

Browse files
authored
DYN-8272 Update RestSharp to v112.0.0 (#15494) (#15817)
1 parent 9efc515 commit 5aa900d

File tree

13 files changed

+204
-195
lines changed

13 files changed

+204
-195
lines changed

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LIBG, ProtoGeometry v.2.7.0, DynamoVisualProgramming.Analytics, CER, ADP, GRegRe
2626

2727
Third-Party Trademarks, Software Credits and Attributions
2828

29-
Greg v.2.5.0.5076:
29+
Greg v.3.0.2.6284:
3030
(The MIT License)
3131
Copyright (c) 2013 Peter Boyer [email protected] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3232

@@ -57,7 +57,7 @@ The above copyright notice and this permission notice shall be included in all c
5757

5858
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5959

60-
RestSharp v.106.12.0.0:
60+
RestSharp v.112.0.0.0:
6161
http://www.apache.org/licenses/LICENSE-2.0
6262
Copyright © 2021 Alexe Zimarev
6363

doc/distrib/License.rtf

Lines changed: 174 additions & 172 deletions
Large diffs are not rendered by default.

src/DynamoCore/DynamoCore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
</ItemGroup>
3232
<ItemGroup Label="Common dependencies">
3333
<PackageReference Include="Autodesk.IDSDK" Version="1.1.8" />
34-
<PackageReference Include="Greg" Version="3.0.2.5756" />
34+
<PackageReference Include="Greg" Version="3.0.2.6284" />
3535
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.5365" GeneratePathProperty="true" />
3636
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" CopyXML="true" />
37-
<PackageReference Include="RestSharp" Version="108.0.1" CopyXML="true" />
37+
<PackageReference Include="RestSharp" Version="112.0.0" CopyXML="true" />
3838
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00016" />
3939
<PackageReference Include="Lucene.Net.Analysis.Common" Version="4.8.0-beta00016" />
4040
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00016" />

src/DynamoCoreWpf/DynamoCoreWpf.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@
189189
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.5365" />
190190
<PackageReference Include="FontAwesome5" Version="2.1.11" />
191191
<PackageReference Include="AvalonEdit" Version="6.3.0.90" CopyXML="true" />
192-
<PackageReference Include="Greg" Version="3.0.2.5756" />
192+
<PackageReference Include="Greg" Version="3.0.2.6284" />
193193
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2045.28" />
194194
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
195-
<PackageReference Include="RestSharp" Version="108.0.1" />
195+
<PackageReference Include="RestSharp" Version="112.0.0" />
196196
<PackageReference Include="Cyotek.Drawing.BitmapFont" Version="2.0.0" />
197197
<PackageReference Include="SharpDX" Version="4.2.0" />
198198
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0">

src/DynamoCoreWpf/ViewModels/PackageManager/PackageManagerSearchViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ public List<FilterEntry> InitializeHostFilter()
741741
var hostFilter = new List<FilterEntry>();
742742
try
743743
{
744-
foreach (var host in PackageManagerClientViewModel.Model.GetKnownHosts())
744+
foreach (var host in PackageManagerClientViewModel.Model?.GetKnownHosts())
745745
{
746746
hostFilter.Add(new FilterEntry(host, Resources.PackageFilterByHost, Resources.PackageHostDependencyFilterContextItem, this));
747747
}

src/DynamoCoreWpf/ViewModels/PackageManager/PublishPackageViewModel.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,9 +1229,16 @@ internal List<string> GetCommonPaths(string[] paths)
12291229
private List<HostComboboxEntry> initializeHostSelections()
12301230
{
12311231
var hostSelections = new List<HostComboboxEntry>();
1232-
foreach (var host in dynamoViewModel.PackageManagerClientViewModel.Model.GetKnownHosts())
1232+
try
1233+
{
1234+
foreach (var host in dynamoViewModel.PackageManagerClientViewModel.Model?.GetKnownHosts())
1235+
{
1236+
hostSelections.Add(new HostComboboxEntry(host));
1237+
}
1238+
}
1239+
catch (Exception ex)
12331240
{
1234-
hostSelections.Add(new HostComboboxEntry(host));
1241+
dynamoViewModel.Model.Logger.Log("Could not fetch hosts: " + ex.Message);
12351242
}
12361243
return hostSelections;
12371244
}

src/DynamoMLDataPipeline/DynamoMLDataPipeline.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
13-
<PackageReference Include="RestSharp" Version="108.0.1" />
14-
<PackageReference Include="Greg" Version="3.0.2.5756" />
13+
<PackageReference Include="RestSharp" Version="112.0.0" />
14+
<PackageReference Include="Greg" Version="3.0.2.6284" />
1515
</ItemGroup>
1616
<ItemGroup>
1717
<ProjectReference Include="..\DynamoCore\DynamoCore.csproj">

src/DynamoPackages/DynamoPackages.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
<Content Include="PackageManagerExtension_ExtensionDefinition.xml" />
3131
</ItemGroup>
3232
<ItemGroup>
33-
<PackageReference Include="Greg" Version="3.0.2.5756" />
33+
<PackageReference Include="Greg" Version="3.0.2.6284" />
3434
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
35-
<PackageReference Include="RestSharp" Version="108.0.1" />
35+
<PackageReference Include="RestSharp" Version="112.0.0" />
3636
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="8.0.0" />
3737
</ItemGroup>
3838
<ItemGroup>

src/PackageDetailsViewExtension/PackageDetailsViewExtension.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<EnableDefaultPageItems>false</EnableDefaultPageItems>
1515
</PropertyGroup>
1616
<ItemGroup>
17-
<PackageReference Include="Greg" Version="3.0.2.5756" />
17+
<PackageReference Include="Greg" Version="3.0.2.6284" />
1818
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
19-
<PackageReference Include="RestSharp" Version="108.0.1" />
19+
<PackageReference Include="RestSharp" Version="112.0.0" />
2020
</ItemGroup>
2121
<ItemGroup>
2222
<ProjectReference Include="..\DynamoCoreWpf\DynamoCoreWpf.csproj">

src/Tools/NodeDocumentationMarkdownGenerator/NodeDocumentationMarkdownGenerator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
</PropertyGroup>
1313
<ItemGroup>
1414
<PackageReference Include="CommandLineParser" Version="2.8.0" />
15-
<PackageReference Include="Greg" Version="3.0.2.5756" />
15+
<PackageReference Include="Greg" Version="3.0.2.6284" />
1616
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.5365" />
1717
<PackageReference Include="Magick.NET.Core" Version="7.0.1" />
1818
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="7.24.1" />
1919
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
20-
<PackageReference Include="RestSharp" Version="108.0.1" />
20+
<PackageReference Include="RestSharp" Version="112.0.0" />
2121
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
2222
</ItemGroup>
2323
<ItemGroup>

0 commit comments

Comments
 (0)