Skip to content

Commit 385d8c4

Browse files
authored
Dependencies upgrade (#953)
1 parent c0b4e60 commit 385d8c4

File tree

9 files changed

+54
-40
lines changed

9 files changed

+54
-40
lines changed

Directory.Packages.props

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,65 +3,65 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="AWSSDK.S3" Version="3.7.405.7" />
6+
<PackageVersion Include="AWSSDK.S3" Version="3.7.410.8" />
77
<PackageVersion Include="Azure.AI.ContentSafety" Version="1.0.0" />
88
<PackageVersion Include="Azure.AI.FormRecognizer" Version="4.1.0" />
99
<PackageVersion Include="Azure.Identity" Version="1.13.1" />
1010
<PackageVersion Include="Azure.Search.Documents" Version="11.6.0" />
11-
<PackageVersion Include="Azure.Storage.Blobs" Version="12.22.2" />
12-
<PackageVersion Include="Azure.Storage.Queues" Version="12.20.1" />
11+
<PackageVersion Include="Azure.Storage.Blobs" Version="12.23.0" />
12+
<PackageVersion Include="Azure.Storage.Queues" Version="12.21.0" />
1313
<PackageVersion Include="Elastic.Clients.Elasticsearch" Version="8.12.1" />
14-
<PackageVersion Include="DocumentFormat.OpenXml" Version="3.1.1" />
15-
<PackageVersion Include="HtmlAgilityPack" Version="1.11.70" />
14+
<PackageVersion Include="DocumentFormat.OpenXml" Version="3.2.0" />
15+
<PackageVersion Include="HtmlAgilityPack" Version="1.11.71" />
1616
<PackageVersion Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
1717
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.2" />
18-
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
19-
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
20-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
21-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
22-
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
18+
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
19+
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
20+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
21+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
22+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
2323
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" />
24-
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.1" />
24+
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.0" />
2525
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
26-
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
26+
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
2727
<PackageVersion Include="Microsoft.ML.OnnxRuntimeGenAI" Version="0.5.2" />
2828
<PackageVersion Include="Microsoft.ML.OnnxRuntimeGenAI.Cuda" Version="0.5.2" />
2929
<PackageVersion Include="Microsoft.ML.OnnxRuntimeGenAI.DirectML" Version="0.5.2" />
3030
<PackageVersion Include="MongoDB.Driver.GridFS" Version="2.30.0" />
3131
<PackageVersion Include="Moq" Version="4.20.72" />
3232
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
33-
<PackageVersion Include="OllamaSharp" Version="4.0.3" />
33+
<PackageVersion Include="OllamaSharp" Version="4.0.11" />
3434
<PackageVersion Include="PdfPig" Version="0.1.9" />
35-
<PackageVersion Include="Polly.Core" Version="8.4.2" />
35+
<PackageVersion Include="Polly.Core" Version="8.5.0" />
3636
<PackageVersion Include="RabbitMQ.Client" Version="6.8.1" />
3737
<PackageVersion Include="ReadLine" Version="2.0.1" />
38-
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.9.0" />
38+
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.2.0" />
3939
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
40-
<PackageVersion Include="System.Memory.Data" Version="8.0.1" />
41-
<PackageVersion Include="System.Numerics.Tensors" Version="8.0.0" />
40+
<PackageVersion Include="System.Memory.Data" Version="9.0.0" />
41+
<PackageVersion Include="System.Numerics.Tensors" Version="9.0.0" />
4242
<!-- Tokenizers Data Packages -->
4343
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" Version="1.0.0" />
4444
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.O200kBase" Version="1.0.0" />
4545
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.P50kBase" Version="1.0.0" />
4646
</ItemGroup>
4747
<!-- Security upgrades -->
4848
<ItemGroup>
49-
<PackageVersion Include="System.Runtime.Caching" Version="8.0.1" />
49+
<PackageVersion Include="System.Runtime.Caching" Version="9.0.0" />
5050
</ItemGroup>
5151
<!-- Missing Strong Name (CS8002) -->
5252
<ItemGroup>
5353
<PackageVersion Include="ClosedXML" Version="0.104.2" />
54-
<PackageVersion Include="LLamaSharp" Version="0.18.0" />
55-
<PackageVersion Include="LLamaSharp.Backend.Cpu" Version="0.18.0" />
54+
<PackageVersion Include="LLamaSharp" Version="0.19.0" />
55+
<PackageVersion Include="LLamaSharp.Backend.Cpu" Version="0.19.0" />
5656
<PackageVersion Include="Pgvector" Version="0.3.0" />
57-
<PackageVersion Include="NRedisStack" Version="0.13.0" />
57+
<PackageVersion Include="NRedisStack" Version="0.13.1" />
5858
</ItemGroup>
5959
<!-- Semantic Kernel -->
6060
<ItemGroup>
61-
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.26.0" />
62-
<PackageVersion Include="Microsoft.SemanticKernel.Abstractions" Version="1.26.0" />
63-
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.OpenAI" Version="1.26.0" />
64-
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureOpenAI" Version="1.26.0" />
61+
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.32.0" />
62+
<PackageVersion Include="Microsoft.SemanticKernel.Abstractions" Version="1.32.0" />
63+
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.OpenAI" Version="1.32.0" />
64+
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureOpenAI" Version="1.32.0" />
6565
</ItemGroup>
6666
<!-- Documentation -->
6767
<ItemGroup>
@@ -73,7 +73,7 @@
7373
<PrivateAssets>all</PrivateAssets>
7474
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
7575
</PackageVersion>
76-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.11.0">
76+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.12.0">
7777
<PrivateAssets>all</PrivateAssets>
7878
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
7979
</PackageVersion>
@@ -85,11 +85,11 @@
8585
<PrivateAssets>all</PrivateAssets>
8686
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8787
</PackageVersion>
88-
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.12.9">
88+
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.12.10">
8989
<PrivateAssets>all</PrivateAssets>
9090
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
9191
</PackageVersion>
92-
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.9">
92+
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.10">
9393
<PrivateAssets>all</PrivateAssets>
9494
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
9595
</PackageVersion>
@@ -100,15 +100,15 @@
100100
<PrivateAssets>all</PrivateAssets>
101101
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
102102
</PackageVersion>
103-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
103+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
104104
<PackageVersion Include="xunit" Version="2.9.2" />
105105
<PackageVersion Include="xunit.abstractions" Version="2.0.3" />
106106
<PackageVersion Include="xunit.extensibility.core" Version="2.7.1" />
107-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2">
107+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0">
108108
<PrivateAssets>all</PrivateAssets>
109109
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
110110
</PackageVersion>
111-
<PackageVersion Include="Xunit.DependencyInjection" Version="9.6.0" />
111+
<PackageVersion Include="Xunit.DependencyInjection" Version="9.7.0" />
112112
<PackageVersion Include="Xunit.DependencyInjection.Logging" Version="9.0.0" />
113113
</ItemGroup>
114114
<!-- Aspire -->

KernelMemory.sln

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{B897
9494
EndProject
9595
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{48E79819-1E9E-4075-90DA-BAEC761C89B2}"
9696
ProjectSection(SolutionItems) = preProject
97-
.github\workflows\docker-build-push.yml = .github\workflows\docker-build-push.yml
9897
.github\workflows\dotnet-build.yml = .github\workflows\dotnet-build.yml
9998
.github\workflows\dotnet-unit-tests.yml = .github\workflows\dotnet-unit-tests.yml
10099
.github\workflows\github-pages-jekyll.yml = .github\workflows\github-pages-jekyll.yml
101100
.github\workflows\spell-check-with-typos.yml = .github\workflows\spell-check-with-typos.yml
101+
.github\workflows\docker-amd64.yml = .github\workflows\docker-amd64.yml
102+
.github\workflows\docker-armd64.yml = .github\workflows\docker-armd64.yml
103+
.github\workflows\fortify.yml = .github\workflows\fortify.yml
104+
.github\workflows\securitycodescan.yml = .github\workflows\securitycodescan.yml
102105
EndProjectSection
103106
EndProject
104107
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "service", "service", "{87DEAE8D-138C-4FDD-B4C9-11C3A7817E8F}"

examples/002-dotnet-Serverless/002-dotnet-Serverless.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
<PackageReference Include="System.Memory.Data" />
1414
</ItemGroup>
1515

16+
<ItemGroup>
17+
<!-- If you plan on using LLamaSharp, you will need to enable one of these backends,
18+
which depend on the hardware hosting Kernel Memory code. -->
19+
20+
<!-- <PackageReference Include="LLamaSharp.Backend.Cpu" /> -->
21+
<!-- <PackageReference Include="LLamaSharp.Backend.Cuda11" /> -->
22+
<!-- <PackageReference Include="LLamaSharp.Backend.Cuda12" /> -->
23+
</ItemGroup>
24+
1625
<ItemGroup>
1726
<None Remove="file1-Wikipedia-Carbon.txt" />
1827
<Content Include="file1-Wikipedia-Carbon.txt">

examples/204-dotnet-ASP.NET-MVC-integration/204-dotnet-ASP.NET-MVC-integration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.KernelMemory.Service.AspNetCore" Version="0.90.241021.1" />
13+
<PackageReference Include="Microsoft.KernelMemory.Service.AspNetCore" Version="0.95.241216.2" />
1414
</ItemGroup>
1515

1616
</Project>

examples/204-dotnet-ASP.NET-MVC-integration/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
wepApp.MapControllers();
2828

2929
// Optional: add Kernel Memory web endpoints
30-
wepApp.AddGetIndexesEndpoint("/km/"); // GET /km/indexes
30+
wepApp.AddListIndexesEndpoint("/km/"); // GET /km/indexes
3131

3232
// Start ASP.NET app
3333
wepApp.Run();

examples/301-discord-test-application/301-discord-test-application.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.2.2" />
14+
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.0" />
1515
<PackageReference Include="Discord.Net" Version="3.16.0" />
16-
<PackageReference Include="Microsoft.KernelMemory.Service.AspNetCore" Version="0.90.241021.1" />
16+
<PackageReference Include="Microsoft.KernelMemory.Service.AspNetCore" Version="0.95.241216.2" />
1717
</ItemGroup>
1818

1919
</Project>

examples/301-discord-test-application/DiscordMessageHandler.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public DiscordMessageHandler(
4949
this._firstInvokeDb = serviceProvider.GetService<DiscordDbContext>() ?? throw new ConfigurationException("Discord DB Content is not defined");
5050
}
5151

52-
public async Task<(bool success, DataPipeline updatedPipeline)> InvokeAsync(DataPipeline pipeline, CancellationToken cancellationToken = default)
52+
public async Task<(ReturnType returnType, DataPipeline updatedPipeline)> InvokeAsync(DataPipeline pipeline, CancellationToken cancellationToken = default)
5353
{
5454
this.OnFirstInvoke();
5555

@@ -75,13 +75,13 @@ public DiscordMessageHandler(
7575
if (data == null)
7676
{
7777
this._log.LogError("Failed to deserialize Discord data file, result is NULL");
78-
return (true, pipeline);
78+
return (ReturnType.FatalError, pipeline);
7979
}
8080
}
8181
catch (Exception e)
8282
{
8383
this._log.LogError(e, "Failed to deserialize Discord data file");
84-
return (true, pipeline);
84+
return (ReturnType.FatalError, pipeline);
8585
}
8686

8787
await db.Messages.AddAsync(data, cancellationToken).ConfigureAwait(false);
@@ -90,7 +90,7 @@ public DiscordMessageHandler(
9090
await db.SaveChangesAsync(cancellationToken).ConfigureAwait(false);
9191
}
9292

93-
return (true, pipeline);
93+
return (ReturnType.Success, pipeline);
9494
}
9595

9696
public void Dispose()

service/tests/Abstractions.UnitTests/Http/SSETest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Microsoft.KM.Abstractions.UnitTests.Http;
88

9+
[Trait("Category", "UnitTest")]
910
public class SSETest
1011
{
1112
[Theory]

service/tests/Core.UnitTests/Configuration/ConfigEnvVarsTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace Microsoft.KM.Core.UnitTests.Configuration;
1414

15+
[Trait("Category", "UnitTest")]
1516
public class ConfigEnvVarsTest : BaseUnitTestCase
1617
{
1718
public ConfigEnvVarsTest(ITestOutputHelper output) : base(output)

0 commit comments

Comments
 (0)