From d973bcbcaa2375cc5025c80cf82841adaed1d1d4 Mon Sep 17 00:00:00 2001 From: Gordon Lam <73506701+yeelam-gordon@users.noreply.github.com> Date: Tue, 19 May 2026 16:25:41 +0800 Subject: [PATCH] Update Microsoft.SemanticKernel packages from 1.66.0 to 1.71.0 (#47819) ## Summary Updates the `Microsoft.SemanticKernel` package family from 1.66.0 to 1.71.0 to pick up upstream improvements and bug fixes from the Semantic Kernel project. > Note: the `Connectors.AzureAIInference` (`-beta`), `Connectors.Google` / `Connectors.MistralAI` / `Connectors.Ollama` (`-alpha`) packages have no stable upstream release yet, but are required to keep the existing Advanced Paste AI provider options working. ## Packages updated **SemanticKernel family:** | Package | From | To | |---------|------|----| | `Microsoft.SemanticKernel` | 1.66.0 | 1.71.0 | | `Microsoft.SemanticKernel.Connectors.OpenAI` | 1.66.0 | 1.71.0 | | `Microsoft.SemanticKernel.Connectors.AzureAIInference` | 1.66.0-beta | 1.71.0-beta | | `Microsoft.SemanticKernel.Connectors.Google` | 1.66.0-alpha | 1.71.0-alpha | | `Microsoft.SemanticKernel.Connectors.MistralAI` | 1.66.0-alpha | 1.71.0-alpha | | `Microsoft.SemanticKernel.Connectors.Ollama` | 1.66.0-alpha | 1.71.0-alpha | **Transitive dependencies bumped to satisfy SK 1.71's resolution constraints:** | Package | From | To | |---------|------|----| | `Microsoft.Extensions.AI` | 9.9.1 | 10.2.0 | | `Microsoft.Extensions.AI.OpenAI` | 9.9.1-preview.1.25474.6 | 10.0.1-preview.1.25571.5 | | `System.Numerics.Tensors` | 9.0.11 | 10.0.2 | | `Newtonsoft.Json` | 13.0.3 | 13.0.4 | | `OpenAI` | 2.5.0 | 2.7.0 | | `System.ClientModel` | 1.7.0 | 1.8.0 | These transitive bumps were required to avoid `NU1109` package-downgrade errors after the SK upgrade. ## Scope - `Directory.Packages.props` only central package version bumps. - No source-code changes. ## Consumers - AdvancedPaste uses the SK `Kernel` / `IChatCompletionService` / connector surfaces unchanged. - `LanguageModelProvider` and `FoundryLocalPasteProvider` use the stable `Microsoft.Extensions.AI` `IChatClient` / `ChatMessage` / `ChatRole` / `ChatResponse` / `AsIChatClient()` types unchanged across 9.x to 10.x. ## Validation - Static API-surface review of all SK / `Microsoft.Extensions.AI` call sites only stable types in use. - CI build pipeline will provide the full restore + compile verification across the solution. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Directory.Packages.props | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 951f5e9de2..f5612b5512 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -47,8 +47,8 @@ - - + + @@ -57,12 +57,12 @@ - - - - - - + + + + + + @@ -90,11 +90,12 @@ - + - + + @@ -114,13 +115,13 @@ - + - +