Skip to content

Upgrade Microsoft.SemanticKernel packages from 1.66.0 to 1.74.0#46906

Open
crutkas wants to merge 3 commits intomainfrom
copilot/upgrade-microsoft-semantic-kernel-core
Open

Upgrade Microsoft.SemanticKernel packages from 1.66.0 to 1.74.0#46906
crutkas wants to merge 3 commits intomainfrom
copilot/upgrade-microsoft-semantic-kernel-core

Conversation

@crutkas
Copy link
Copy Markdown
Member

@crutkas crutkas commented Apr 11, 2026

Summary of the Pull Request

Upgrades Microsoft.SemanticKernel and all connectors from 1.66.0 to 1.74.0, along with all required transitive dependency bumps.

SemanticKernel packages (1.66.0 → 1.74.0):

  • Microsoft.SemanticKernel
  • Microsoft.SemanticKernel.Connectors.OpenAI
  • Microsoft.SemanticKernel.Connectors.AzureAIInference (beta)
  • Microsoft.SemanticKernel.Connectors.Google (alpha)
  • Microsoft.SemanticKernel.Connectors.MistralAI (alpha)
  • Microsoft.SemanticKernel.Connectors.Ollama (alpha)

Transitive dependency upgrades required by SK 1.74.0:

  • Microsoft.Extensions.AI: 9.9.1 → 10.4.1
  • Microsoft.Extensions.AI.OpenAI: 9.9.1-preview → 10.4.1
  • Microsoft.Extensions.Caching.Abstractions: 9.0.10 → 10.0.5
  • Microsoft.Extensions.Caching.Memory: 9.0.10 → 10.0.5
  • Microsoft.Extensions.DependencyInjection: 9.0.10 → 10.0.5
  • Microsoft.Extensions.Logging: 9.0.10 → 10.0.5
  • Microsoft.Extensions.Logging.Abstractions: 9.0.10 → 10.0.5
  • Microsoft.Extensions.Hosting: 9.0.10 → 10.0.5
  • Microsoft.Extensions.Hosting.WindowsServices: 9.0.10 → 10.0.5
  • Microsoft.Bcl.AsyncInterfaces: 9.0.10 → 10.0.5
  • Newtonsoft.Json: 13.0.3 → 13.0.4
  • OpenAI: 2.5.0 → 2.9.1
  • System.ClientModel: 1.7.0 → 1.9.0
  • System.Diagnostics.EventLog: 9.0.10 → 10.0.5
  • System.Numerics.Tensors: 9.0.11 → 10.0.4
  • System.ServiceProcess.ServiceController: 9.0.10 → 10.0.5
  • System.Text.Json: 9.0.10 → 10.0.5

PR Checklist

  • Communication: I've discussed this with core contributors already.
  • Tests: Full solution builds successfully (MSBuild Release x64)

Validation Steps Performed

  • Full solution restore (\dotnet restore PowerToys.slnx) — no NU errors
  • Full solution build (\MSBuild PowerToys.slnx /p:Configuration=Release /p:Platform=x64) — exit code 0, no compilation errors

Copilot AI and others added 2 commits April 11, 2026 04:10
Upgrade Microsoft.Extensions.*, OpenAI, System.Text.Json, and other
transitive dependencies to versions compatible with SemanticKernel 1.74.0:

- Microsoft.Extensions.AI: 9.9.1 -> 10.4.1
- Microsoft.Extensions.AI.OpenAI: 9.9.1-preview -> 10.4.1
- Microsoft.Extensions.Caching.Abstractions: 9.0.10 -> 10.0.5
- Microsoft.Extensions.Caching.Memory: 9.0.10 -> 10.0.5
- Microsoft.Extensions.DependencyInjection: 9.0.10 -> 10.0.5
- Microsoft.Extensions.Logging: 9.0.10 -> 10.0.5
- Microsoft.Extensions.Logging.Abstractions: 9.0.10 -> 10.0.5
- Microsoft.Extensions.Hosting: 9.0.10 -> 10.0.5
- Microsoft.Extensions.Hosting.WindowsServices: 9.0.10 -> 10.0.5
- Microsoft.Bcl.AsyncInterfaces: 9.0.10 -> 10.0.5
- Newtonsoft.Json: 13.0.3 -> 13.0.4
- OpenAI: 2.5.0 -> 2.9.1
- System.ClientModel: 1.7.0 -> 1.9.0
- System.Diagnostics.EventLog: 9.0.10 -> 10.0.5
- System.Numerics.Tensors: 9.0.11 -> 10.0.4
- System.ServiceProcess.ServiceController: 9.0.10 -> 10.0.5
- System.Text.Json: 9.0.10 -> 10.0.5

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@crutkas crutkas added the Needs-Review This Pull Request awaits the review of a maintainer. label Apr 11, 2026
…ystem.Threading.Channels

Add PackageReference for System.Diagnostics.EventLog and System.Threading.Channels
to all C# projects via Directory.Build.props, ensuring the NuGet 10.x versions
take precedence over the 9.x versions bundled in the .NET 9 runtime. This resolves
the verifyDepsJsonLibraryVersions CI check failure where different projects would
reference different DLL versions of these libraries.

- Add System.Threading.Channels 10.0.4 to Directory.Packages.props
- Add PackageReference for both packages in Directory.Build.props (C# only)
- Remove ExcludeAssets=runtime from System.Diagnostics.EventLog in 6 projects
  (no longer needed since we want the 10.x NuGet version to override the runtime)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs-Review This Pull Request awaits the review of a maintainer.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants