Skip to content

Commit 50c16fe

Browse files
authored
chore(samples): update sample package versions (#613)
* chore(samples): update sample package versions Update Datasync packages to 10.1.2, Microsoft packages to 10.0.14, Avalonia to 12.1.5, MAUI to 10.0.120, Uno SDK to 6.7.45, and other patch-level dependencies. Pin Microsoft.Data.SqlClient 6.1.8 in the SQL Server samples to resolve NU1902/NU1903 warnings. Closes #588 * chore(samples): revert Xamarin.AndroidX.Core.SplashScreen bump 1.2.0.3 causes a duplicate-class R8 failure (androidx.core.animation.AnimatorKt) in the Avalonia Android sample build. Keep 1.0.1.15 pending follow-up.
1 parent 451623d commit 50c16fe

14 files changed

Lines changed: 55 additions & 51 deletions

File tree

‎samples/datasync-server-cosmosdb-singlecontainer/src/Sample.Datasync.Server.SingleContainer.csproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
already pins Microsoft.Spatial to. Pin it explicitly here to keep the resolved assembly versions
1818
consistent, matching the src/Directory.Packages.props ODataVersion.
1919
-->
20-
<PackageReference Include="Microsoft.OData.Core" Version="8.4.3" />
21-
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.3" />
20+
<PackageReference Include="Microsoft.OData.Core" Version="8.4.4" />
21+
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.4" />
2222
</ItemGroup>
2323

2424
</Project>

‎samples/datasync-server/src/Sample.Datasync.Server/Sample.Datasync.Server.csproj‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.9" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.9" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.9">
10+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.14" />
11+
<!-- Pin Microsoft.Data.SqlClient to resolve NU1902/NU1903 (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7): Microsoft.EntityFrameworkCore.SqlServer floats SqlClient 6.1.7 -> System.Security.Cryptography.Pkcs 9.0.11. Remove once EF Core SqlServer floats a patched SqlClient. -->
12+
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.8" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.14" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.14">
1315
<PrivateAssets>all</PrivateAssets>
1416
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1517
</PackageReference>
@@ -20,8 +22,8 @@
2022
already pins Microsoft.Spatial to. Pin it explicitly here to keep the resolved assembly versions
2123
consistent, matching the src/Directory.Packages.props ODataVersion.
2224
-->
23-
<PackageReference Include="Microsoft.OData.Core" Version="8.4.3" />
24-
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.3" />
25+
<PackageReference Include="Microsoft.OData.Core" Version="8.4.4" />
26+
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.4" />
2527
</ItemGroup>
2628

2729
<ItemGroup>

‎samples/todoapp-blazor-wasm/TodoApp.BlazorWasm.Client/TodoApp.BlazorWasm.Client.csproj‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.9" />
12-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.9" PrivateAssets="all" />
13-
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.9" />
10+
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.2" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.14" />
12+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.14" PrivateAssets="all" />
13+
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.14" />
1414
<!-- Force the SQLitePCLRaw 3.x line to resolve NU1903 (GHSA-2m69-gcr7-jv3q) floated by CommunityToolkit.Datasync.Client -> Microsoft.EntityFrameworkCore.Sqlite. See #492. -->
15-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
15+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.5" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

‎samples/todoapp-blazor-wasm/TodoApp.BlazorWasm.Server/TodoApp.BlazorWasm.Server.csproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.0" />
11-
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="10.1.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.9" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.9" />
10+
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.2" />
11+
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="10.1.2" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.14" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.14" />
1414
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.14" />
1515
</ItemGroup>
1616

‎samples/todoapp-mvc/TodoApp.Service/TodoApp.Service.csproj‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.0" />
11-
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="10.1.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.9" />
13-
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="3.0.71" />
10+
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.2" />
11+
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="10.1.2" />
12+
<!-- Pin Microsoft.Data.SqlClient to resolve NU1902/NU1903 (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7): Microsoft.EntityFrameworkCore.SqlServer floats SqlClient 6.1.7 -> System.Security.Cryptography.Pkcs 9.0.11. Remove once EF Core SqlServer floats a patched SqlClient. -->
13+
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.8" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.14" />
15+
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="3.0.114" />
1416
</ItemGroup>
1517

1618
<Target Name="CleanWwwRootLib" AfterTargets="Clean">

‎samples/todoapp-tutorial/ClientApp/ClientApp.csproj‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.0" />
13-
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
12+
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.2" />
13+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
1414
<!-- Force the SQLitePCLRaw 3.x line to resolve NU1903 (GHSA-2m69-gcr7-jv3q) floated by CommunityToolkit.Datasync.Client -> Microsoft.EntityFrameworkCore.Sqlite. See #492. -->
15-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
15+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.5" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

‎samples/todoapp-tutorial/ServerApp/ServerApp.csproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.0" />
11-
<PackageReference Include="CommunityToolkit.Datasync.Server.InMemory" Version="10.1.0" />
10+
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="10.1.2" />
11+
<PackageReference Include="CommunityToolkit.Datasync.Server.InMemory" Version="10.1.2" />
1212
</ItemGroup>
1313

1414
</Project>

‎samples/todoapp/TodoApp.Avalonia/Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<!-- Major-version bump from 11.3.18 to the 12.x line (12.1.0, the latest release as of this
66
writing) for general currency ahead of 11.x reaching end-of-support. See
77
https://docs.avaloniaui.net/docs/avalonia12-breaking-changes and #507. -->
8-
<AvaloniaVersion>12.1.0</AvaloniaVersion>
8+
<AvaloniaVersion>12.1.5</AvaloniaVersion>
99
</PropertyGroup>
1010
</Project>

‎samples/todoapp/TodoApp.Avalonia/TodoApp.Avalonia/TodoApp.Avalonia.csproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
1515
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
1616
<PackageReference Include="Avalonia.Fonts.Inter" Version="$(AvaloniaVersion)" />
17-
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.0" />
18-
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
19-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.9" />
17+
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.2" />
18+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
19+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.14" />
2020
<!-- Force the SQLitePCLRaw 3.x line to resolve NU1903 (GHSA-2m69-gcr7-jv3q) floated by CommunityToolkit.Datasync.Client -> Microsoft.EntityFrameworkCore.Sqlite. See #492. -->
21-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
21+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.5" />
2222
</ItemGroup>
2323
</Project>

‎samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@
7676
</ItemGroup>
7777

7878
<ItemGroup>
79-
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.0" />
80-
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
81-
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.40" />
82-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.9" />
79+
<PackageReference Include="CommunityToolkit.Datasync.Client" Version="10.1.2" />
80+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
81+
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.120" />
82+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.14" />
8383
<!-- Force the SQLitePCLRaw 3.x line to resolve NU1903 (GHSA-2m69-gcr7-jv3q) floated by CommunityToolkit.Datasync.Client -> Microsoft.EntityFrameworkCore.Sqlite. See #492. -->
84-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
84+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.5" />
8585
</ItemGroup>
8686

8787
<ItemGroup>

0 commit comments

Comments
 (0)