Skip to content

Commit fbb4b55

Browse files
Merge pull request #1098 from NiklasGustafsson/bugs
Update to SkiaSharp 2.88.6
2 parents f6bbf35 + a96334f commit fbb4b55

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

RELEASENOTES.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

33
Releases, starting with 9/2/2021, are listed with the most recent release at the top.
44

5+
## NuGet Version 0.100.6
6+
7+
__Bug Fixes__:
8+
9+
Update to SkiaSharp 2.88.6 to avoid the libwebp vulnerability.<br/>
10+
511
## NuGet Version 0.100.5
612

713
__Breaking Changes__:
814

915
Inplace operators no longer create an alias, but instead return 'this'. This change will impact any code that explicitly calls `Dispose` on a tensor after the operation.
1016

11-
__API Changes__:
12-
1317
__Bug Fixes__:
1418

1519
#1041 Running example code got error in Windows 10<br/>

build/BranchInfo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<MajorVersion>0</MajorVersion>
44
<MinorVersion>100</MinorVersion>
5-
<PatchVersion>5</PatchVersion>
5+
<PatchVersion>6</PatchVersion>
66
</PropertyGroup>
77

88
</Project>

src/Examples/Examples.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
<ItemGroup>
2727
<PackageReference Include="Microsoft.Net.Http" Version="2.2.29" Condition="'$(TargetFramework)' == 'net472'" />
2828
<PackageReference Include="SharpZipLib" Version="1.4.0" />
29-
<PackageReference Include="SkiaSharp" Version="2.88.3" />
29+
<PackageReference Include="SkiaSharp" Version="2.88.6" />
30+
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
3031
<PackageReference Include="System.Memory" Version="4.5.5" />
3132
</ItemGroup>
3233

src/TorchSharp/TorchSharp.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
<ItemGroup>
3131
<PackageReference Include="Google.Protobuf" Version="3.21.9" />
3232
<PackageReference Include="SharpZipLib" Version="1.4.0" />
33-
<PackageReference Include="SkiaSharp" Version="2.88.3" />
33+
<PackageReference Include="SkiaSharp" Version="2.88.6" />
34+
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
3435
<PackageReference Include="System.Memory" Version="4.5.5" />
3536
</ItemGroup>
3637

src/TorchVision/TorchVision.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="SkiaSharp" Version="2.88.3" />
32-
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.3" />
31+
<PackageReference Include="SkiaSharp" Version="2.88.6" />
32+
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
3333
</ItemGroup>
3434

3535
<ItemGroup>

test/TorchSharpTest/TestJIT.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
using static TorchSharp.torch.nn;
77
using Xunit;
88

9-
#if false
109
#nullable enable
1110

1211
namespace TorchSharp
1312
{
1413
[Collection("Sequential")]
1514
public class TestJIT
1615
{
16+
#if false
1717
[Fact]
1818
public void TestLoadJIT_Func()
1919
{
@@ -445,6 +445,6 @@ def list_from_two(a: List[Tensor], b: List[Tensor]) -> List[Tensor]:
445445
Assert.Equal(w, zArr[3]);
446446
}
447447
}
448+
#endif
448449
}
449-
}
450-
#endif
450+
}

0 commit comments

Comments
 (0)