Repository navigation
[release/5.0] Update Semantic Kernel with GenAI-scoped dependencies - #7783
Merged
matouskozak merged 4 commits intoOct 13, 2026
Merged
Conversation
Keep Semantic Kernel at 1.71.0 while restoring release-wide dependency versions. Apply the required AI, DI, JSON, pipelines, tensor and channel versions only to GenAI libraries, tests and samples. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 986295c4-c4b2-48cb-afc5-cf550ad33294
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 986295c4-c4b2-48cb-afc5-cf550ad33294
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 986295c4-c4b2-48cb-afc5-cf550ad33294
rosebyte
approved these changes
Oct 13, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The narrowly scoped dependency updates align with the stated release-branch requirements.
0 open findings
What changed in this PR
Updates Semantic Kernel while isolating supporting dependency upgrades to GenAI projects.
Changes:
- Updates Semantic Kernel to 1.71.0.
- Conditionally upgrades required dependencies for
Microsoft.ML.GenAI.*projects.
| File | Description |
|---|---|
eng/Versions.props |
Updates and scopes GenAI dependency versions. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/5.0 #7783 +/- ##
===============================================
- Coverage 69.03% 69.03% -0.01%
===============================================
Files 1483 1483
Lines 274195 274195
Branches 28271 28271
===============================================
- Hits 189303 189298 -5
Misses 77512 77512
- Partials 7380 7385 +5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
matouskozak
added a commit
that referenced
this pull request
Oct 15, 2026
Adds concise servicing release notes for stable ML.NET **5.0.1**, experimental packages (including DataFrame and GenAI) **0.23.1**, and Tokenizers/data packages **2.0.1**, following the previous servicing-note style. Changes are derived from [v5.0.0 through candidate a4f730e](v5.0.0...a4f730e). The notes cover the Microsoft.Bcl.Memory dependency changes (#7773), GenAI-scoped dependency updates (#7783), and grouped build/test maintenance. The compatibility note explains that .NET 8+ consumers no longer require Microsoft.Bcl.Memory through the affected packages, while .NET Standard 2.0 builds retain the dependency at 9.0.14. Related dependency issue: #7589. Documentation only. --- This should get later backported to `release/5.0` Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 821449d3-0a50-4efd-8aae-4bec87eb79ce
This was referenced Oct 15, 2026
rosebyte
pushed a commit
that referenced
this pull request
Oct 16, 2026
Updated [Microsoft.ML](https://github.com/dotnet/machinelearning) from 4.0.0-preview.24378.1 to 5.0.1. <details> <summary>Release notes</summary> _Sourced from [Microsoft.ML's releases](https://github.com/dotnet/machinelearning/releases)._ ## 5.0.1 ## **Enhancements** - **[release/5.0] Avoid Microsoft.Bcl.Memory on modern .NET targets** ([#7773](#7773)) Compatibility note: .NET 8+ applications no longer require `Microsoft.Bcl.Memory` through these packages. .NET Standard 2.0 builds remain available with the dependency updated to **9.0.14**. - **[release/5.0] Update Semantic Kernel to 1.71.0 with GenAI-scoped dependencies** ([#7783](#7783)) ## **Build / Test updates** - **[release/5.0] Restore CI infrastructure and test downloads, and stabilize SDCA tests** ([#7695](#7695), [#7729](#7729)) - **[release/5.0] Update macOS build machines and Arcade dependencies** ([#7560](#7560), [#7776](#7776)) ## 5.0.0 # [ML.NET](http://dot.net/ml) 5.0.0 ## **New Features** - **[GenAI] Introduce CausalLMPipelineChatClient for MEAI.IChatClient** ([#7270](#7270)) - **Introducing SentencePiece Unigram Tokenizer Model** ([#7390](#7390)) - **Phi-4 Tokenizer Support** ([#7396](#7396)) - **Support O3 OpenAI model mapping** ([#7394](#7394)) - **Support ByteLevel encoding in Bpe tokenizer to support DeepSeek model** ([#7425](#7425)) - **Support Tiktoken Gpt-4.1 Model** ([#7453](#7453)) - **Support OpenAI OSS Models with Tiktoken tokenizer** ([#7494](#7494)) - **Add deterministic option for LightGBM** ([#7415](#7415)) - **Added NumberOfLeaves to FastForestRegression and FastForestOva options** ([#7499](#7499)) - Thanks @JoshuaSloan! ## **Enhancements** - **Add Timeout to Regex used in the tokenizers** ([#7284](#7284)) - **Final tokenizer's cleanup** ([#7291](#7291)) - **Update System.Numerics.Tensors version** ([#7322](#7322)) - Thanks @asmirnov82! - **[GenAI] SFT Example** ([#7316](#7316)) - **Update M.E.AI version used by Microsoft.ML.GenAI.Core** ([#7329](#7329)) - **Update DependencyModel** ([#7338](#7338)) - **Some tweaks to the Microsoft.ML.Tokenizers PACKAGE.md** ([#7360](#7360)) - **Consolidate System.Numerics.Tensors dependency** ([#7356](#7356)) - Thanks @asmirnov82! - **Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11** ([#7388](#7388)) - **Create SentencePieceTokenizer from options object** ([#7403](#7403)) - **Unigram tokenizer fixes** ([#7409](#7409)) - **Update to M.E.AI 9.3.0-preview.1.25161.3** ([#7414](#7414)) - **Reduce usage of unsafe constructs throughout codebase** ([#7426](#7426)) - Thanks @GrabYourPitchforks! - **Cleanup SentencePiece tokenizer** ([#7427](#7427)) - **Update to M.E.AI 9.4.0-preview.1.25207.5** ([#7439](#7439)) - **Update to M.E.AI 9.4.3-preview.1.25230.7** ([#7459](#7459)) - **Update to stable Microsoft.Extensions.AI.Abstractions** ([#7466](#7466)) - **Convert repository to NuGet Central Package Management** ([#7482](#7482)) - **Rename Casual to Causal** ([#7484](#7484)) - Thanks @feiyun0112! - **Updated Tensorflow.Net to 0.70.2 with Tensorflow 2.7.0.** ([#7472](#7472)) - Thanks @Crichen! - **Mark internal classes as internal** ([#7511](#7511)) - **Address the design review feedback** ([#7513](#7513)) - **BpeTokenizer Cleanup** ([#7514](#7514)) - **Improve native build and mark our official build as CFS Clean** ([#7516](#7516)) - **Improve unique directory generation for temp files** ([#7520](#7520)) - **Updating OnnxRuntime** ([#7469](#7469)) ## **Bug Fixes** - **Fix broken inheritance from DataFrameColumn class** ([#7324](#7324)) - Thanks @asmirnov82! - **Moved SpecialTokens assignment after the modification to avoid "Collection Modified" error** ([#7328](#7328)) - Thanks @shaltielshmid! - **Fix DateTime export to csv with culture info** ([#7358](#7358)) - Thanks @asmirnov82! - **Increase cancelling waiting time for AutoMLExperiment_return_current_best_trial_when_ct_is_canceled_with_trial_completed_Async** ([#7424](#7424)) - **Fixed light gbm update** ([#7431](#7431)) - **Fix incorrect IntPtr null check in FftUtils** ([#7434](#7434)) - Thanks @GrabYourPitchforks! - **ImageClassificationTrainer PredictedLabelColumnName bug when the name is not default** ([#7458](#7458)) - Thanks @feiyun0112! - **Fix ElementwiseGreaterThanOrEqual to use >= instead of ==** ([#7475](#7475)) - Thanks @vsarakhan! ... (truncated) ## 5.0.0-preview1 # [ML.NET](http://dot.net/ml) 5.0-preview.1 ## **New Features** - **Introducing SentencePiece Unigram Tokenizer Model** ([#7390](#7390)) - **Phi-4 Tokenizer Support** ([#7396](#7396)) ## **Enhancements** - **Support O3 OpenAI model mapping** ([#7394](#7394)) ## **Bug Fixes** - **Fix DateTime export to csv with culture info** ([#7358](#7358)) - Thanks @asmirnov82! - **Moved SpecialTokens assignment after the modification to avoid "Collection Modified" error** ([#7328](#7328)) - Thanks @shaltielshmid! - **Fix broken inheritance from DataFrameColumn class** ([#7324](#7324)) - Thanks @asmirnov82! ## **Build / Test updates** - **[main] Update dependencies from dotnet/arcade** ([#7387](#7387)) - **Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11** ([#7388](#7388)) - **Update MSTest to latest** ([#7349](#7349)) - **[main] Update dependencies from dotnet/arcade** ([#7352](#7352)) - **Consolidate System.Numerics.Tensors dependency** ([#7356](#7356)) - Thanks @asmirnov82! - **[main] Update dependencies from dotnet/arcade** ([#7382](#7382)) - **[main] Update dependencies from dotnet/arcade** ([#7376](#7376)) - **[main] Update dependencies from dotnet/arcade** ([#7374](#7374)) - **Net8 tests** ([#7319](#7319)) - **[main] Update dependencies from dotnet/arcade** ([#7266](#7266)) - **Update DependencyModel** ([#7338](#7338)) - **Update M.E.AI version used by Microsoft.ML.GenAI.Core** ([#7329](#7329)) - **Update System.Numerics.Tensors version** ([#7322](#7322)) - Thanks @asmirnov82! ## **Documentation Updates** - **Fix up docs for MLContext** ([#7334](#7334)) - **Some tweaks to the Microsoft.ML.Tokenizers PACKAGE.md** ([#7360](#7360)) - **[GenAI] SFT Example** ([#7316](#7316)) - **Update dynamic loading report reference** ([#7321](#7321)) - Thanks @emmanuel-ferdman! ## 4.0.3 # [ML.NET](http://dot.net/ml) 4.0.3 ## **Bug Fixes** - **[release/4.0] Improve unique directory generation for temp files** ([#7528](#7528)) - Compatibility note: This change resolves a performance problem where past versions of ML.NET would leave behind folders with the pattern `ml_dotnet\d+` in the temp directory, which would cause model opening performance to degrade. This fixes the problem. You may also wish to delete these empty folders once after updating. Using powershell: ```powershell Get-ChildItem "$env:TEMP" -Directory -Filter "ml_dotnet*" | Remove-Item -Recurse -Force ``` Using Bash: ```bash find "$TEMP" -type d -name "ml_dotnet*" -exec rm -rf {} + ``` ## **Build / Test updates** - **[release/4.0] Update dependencies from dotnet/arcade** ([#7470](#7470)) - **[release/4.0] Use arcade script for installing MacOS dependencies** ([#7534](#7534)) ## 4.0.2 # [ML.NET](http://dot.net/ml) 4.0.2 ## **Enhancements** - **[release/4.0] Support O3 OpenAI model mapping #7395** ([#7395](#7395)) ## **Build / Test updates** - **[release/4.0] Update dependencies from dotnet/arcade** ([#7369](#7369)) - **[release/4.0] Update dependencies from dotnet/arcade** ([#7377](#7377)) - **[release/4.0] Update dependencies from dotnet/arcade** ([#7386](#7386)) ## 4.0.1 # [ML.NET](http://dot.net/ml) Servicing Release 4.0.1 ## **Bug Fixes** - **Fix the BERT tokenizer to handle special tokens correctly.** ([#7330](#7330)) - Thanks @shaltielshmid - **Fix broken inheritance from DataFrameColumn class (#7324)** ([#7331](#7331)) - Thanks @asmirnov82! ## **Build / Test updates** - **Update System.Numerics.Tensors version (#7322)** ([#7355](#7355)) - Thanks @asmirnov82! - **[release/4.0] Update dependencies from dotnet/arcade** ([#7327](#7327)) - **Update MicrosoftExtensionsDependencyModelVersion** ([#7342](#7342)) ## **Documentation Updates** - **[release/4.0] Some tweaks to the Microsoft.ML.Tokenizers PACKAGE.md** ([#7364](#7364)) - **[release/4.0] Fix up docs for MLContext** ([#7363](#7363)) ## 4.0.0-preview1 ## What's Changed * Migrate to the 'locker' GitHub action for locking closed/stale issues/PRs by @jeffhandley in #6896 * Update release-3.0.0.md by @taeerhebend in #6895 * Add support for Apache.Arrow.Types.TimestampType to DataFrame by @asmirnov82 in #6871 * Update developer-guide.md by @computerscienceiscool in #6870 * Issue #6606 - Add sample variance and standard deviation to NormalizeMeanVariance by @tearlant in #6885 * Reorganize dataframe files by @asmirnov82 in #6872 * Updated ml.net versioning by @michaelgsharp in #6907 * Don't include the SDK in our helix payload by @ericstj in #6918 * Rename NameEntity to NamedEntity by @ericstj in #6917 * Fix assert by only accessing idx by @ericstj in #6924 * Make double assertions compare with tolerance instead of precision by @ericstj in #6923 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6703 * Only use semi-colons for NoWarn - fixes build break by @ericstj in #6935 * Fixes NER to correctly expand/shrink the labels by @michaelgsharp in #6928 * Split out non concurrent test collections. by @michaelgsharp in #6937 * Add Backport github workflow by @ericstj in #6944 * fix #6949 by @LittleLittleCloud in #6951 * Torch sharp version updates and test fixes by @michaelgsharp in #6954 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6957 * Added in release notes for 3.0.1 by @michaelgsharp in #6962 * Update .NET Runtimes to latest version by @ericstj in #6964 * Add sweepable estimator to NER by @zewditu in #6965 * Testing light gbm bad allocation by @michaelgsharp in #6968 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6969 * Add new type to key-value converter by @zewditu in #6973 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6976 * Introducing Tiktoken Tokenizer by @tarekgh in #6981 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6985 * FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning by @dotnet-policy-service in #6983 * Add text normalizer transformer to AutoML by @zewditu in #6998 * Tokenizer's Interfaces Cleanup by @tarekgh in #7001 * First round of perf improvements for tiktoken by @stephentoub in #7012 * Avoid LruCache in Tiktoken when cacheSize specified is 0 by @stephentoub in #7016 * Tweak Tiktoken's BytePairEncode for improved perf by @stephentoub in #7017 * Tweak CreateByModelNameAsync by @stephentoub in #7015 * Match SweepableEstimatorFactory name with Ml.net name. by @zewditu in #7007 * Update OnnxRuntime to 1.16.3 by @michaelgsharp in #6975 * Temp fix for the race condition during the tests. by @michaelgsharp in #7021 * Fix formatting that fails in VS by @michaelgsharp in #7023 * Optimize regexes used in tiktoken by @stephentoub in #7020 * Address the feedback on the tokenizer's library by @tarekgh in #7024 * Make MlImage tests not block file for reading by @michaelgsharp in #7029 * Packaging cleanup by @ericstj in #6939 * Remove SourceLink SDK references by @ericstj in #7037 * Add Span support in tokenizer's Model abstraction by @tarekgh in #7035 * [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #6995 * Change official build to use 1ES templates by @directhex in #7048 * Adding needed Tokenizer's APIs by @tarekgh in #7047 * Auto-generated baselines by 1ES Pipeline Templates by @directhex in #7051 ... (truncated) Commits viewable in [compare view](https://github.com/dotnet/machinelearning/commits/v5.0.1). </details> Updated [Microsoft.ML.Ensemble](https://github.com/dotnet/machinelearning) from 0.22.0-preview.24378.1 to 0.23.1. <details> <summary>Release notes</summary> _Sourced from [Microsoft.ML.Ensemble's releases](https://github.com/dotnet/machinelearning/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/dotnet/machinelearning/commits). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Oct 16, 2026
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapt the dependency-only change from closed, unmerged #7723 onto a fresh
release/5.0base (412a0c8ac6764cec1cd17df90a0293291370e4d6).Keep Semantic Kernel at
1.71.0. Scope the supporting dependency updates to projects whose names start withMicrosoft.ML.GenAI.(libraries, tests and samples).