Releases: microsoft/semantic-kernel
python-1.20.0
Release Notes
New Features
-
Deepseek Service in Concept Samples #10306 by @TaoChenOSU
-
Prompt Template Config and Kernel Args Support for Agents #10298 by @moonbox3
Note: The OpenAIChatCompletion
and AzureChatCompletion
classes now support an instruction_role
keyword argument. This is particularly useful when using reasoning models like o1
. When set, any AuthorRole.SYSTEM
messages are converted to AuthorRole.DEVELOPER
before being sent to the model.
Example usage:
chat_service = OpenAIChatCompletion(service_id=service_id, instruction_role="developer")
Python Package Updates
Enhancements and Fixes
-
Improve handling for kernel plugin from file. #10286 by @moonbox3
-
Improve hashing of CMC and SCMC items. Add tests. #10332 by @moonbox3
-
Improve agent samples and chat history handling. #10301 by @eavanvalkenburg
-
Allow enums to be passed into
on_function_result
. Improve handling of FRC result so it can be hashed. #10316 by @moonbox3
Bug Fixes and Improvements
- Bug fixes from GraphRAG insights. #10270 by @eavanvalkenburg
Full Changelog: python-1.19.0...python-1.20.0
dotnet-1.35.0
Changes:
- 89cd872 .Net: issue-10278 : Change ChatPromptParser to enable 0-n text part instead of single value (#10304) [ #10278 ]
- 6fbbb44 .Net: Add CachedContent Property to GeminiPromptExecutionSettings (#10268)
- 471d9a8 .Net: Bump DuckDB.NET.Data.Full from 1.1.2.1 to 1.1.3 in /dotnet (#10313)
- 10818c5 .Net: SK Process Cloud Events - Publish Interface abstractions scaffolding (#10222) [ #9721 ]
- 9655254 .Net: Version 1.35.0 (#10318)
- 989b8d5 .Net: Adding Ollama extension for improved Aspire experience (#10324) [ #10321 ]
- 62417d8 .Net: Bump xunit.runner.visualstudio from 3.0.0 to 3.0.1 in /dotnet (#10311) [ #433, #432, #431 ]
- 015f560 .Net: Bump Azure.Identity, Microsoft.Identity.Client and System.Text.Json in /dotnet (#10312) [ #47035, #47156, #47470, #47796, #47753, #47818, #47831, #47793, #47820, #47794, #47340, #5077, #4984, #4986, #5025, #4931, #4988, #4895, #5036, #4860, #5016, #4987, #5081, #5078, #5072, #5066, #5071, #5070, #5053, #5044, #7, #75396, #75530, #74330, #67772, #75529, #75454, #66477, #75528, #74696, #75526, #75311 ]
- c69d55c .Net: Bump Moq.Analyzers from 0.1.2 to 0.3.0 in /dotnet (#10315)
See More
- 07db439 .Net: Bump Testcontainers.Milvus from 4.0.0 to 4.1.0 in /dotnet (#10314) [ #1309, #1313, #1311, #1165, #1310, #1304, #1299, #1297, #1287, #1300, #1307, #1305, #1295, #1292 ]
- 2d7a558 .Net: Agents: Support Azure AI Agent (#10134)
- b592a4a .Net: Moved IChatHistoryReducer from Agents to SK packages (#10285)
- 1ce010b .Net: Added example for chat completion with data and function calling (#10261)
- 2f0ecac .Net: Improve auto-recovery for Azure{OpenAI} models (#10275)
- 391d1b4 add ai model item
This list of changes was auto generated.
vectordata-dotnet-9.0.0-preview.1.25078.1
Changes:
- 39934f5 .Net: Fixing distance functions for Pinecone, Weaviate and Redis and adding integration tests for score testing for these. (#10170) [ #10103 ]
This list of changes was auto generated.
python-1.19.0
Release Notes
New Features
- Python: Feat/Add DEVELOPER role for OpenAI o1 by @ymuichiro in #10033
- Python: Add agent invocation spans by @TaoChenOSU in #10255
Python Package Updates
- Python: Update pyarrow requirement from
<19.0,>=12.0
to>=12.0,<20.0
in/python
by @dependabot in #10243 - Python: Bump Python version to 1.19.0 for a release by @moonbox3 in #10254
Enhancements and Fixes
- Python: Update gen_ai traces and logs by @TaoChenOSU in #10173
- Python: Update sort step method for assistant invoke by @moonbox3 in #10191
- Python: Improve Makefile
uv
installation logic by @moonbox3 in #10246 - Python: Grab
function_name
from kwargs if present inProcessStepEdgeBuilder
by @moonbox3 in #10245
Full Changelog: python-1.18.2...python-1.19.0
dotnet-1.34.0
Changes:
- 0cd59f1 .Net: Updated package version (#10264)
- e98155a .Net: Sanitize function names (#10257)
- ef28a1e .Net: Onnx Chinese Characters Fix (#10232) [ #10209 ]
- d9adf37 .Net: Function Calling Reliability ADR (#10248)
- 9f0ee59 .Net: Refactor shared integration tests to allow attribute based disable. (#10236)
- 704fbdf .Net: Add support for Base64 encoded images in MistralAI (#10180) [ #10166 ]
See More
- 7a61c9c .Net: Bump Microsoft.Azure.Functions.Worker.Extensions.Http from 3.1.0 to 3.2.0 in /dotnet (#10240)
- 0df5fa8 .Net: Bump Roslynator.Analyzers from 4.11.0 to 4.12.10 in /dotnet (#10241) [ #1591, #1590, #1588, #1585, #1576, #1586, #1583, #1582, #1574 ]
- d6f6af6 .Net: OllamaPromptExecutionSettings doesn't have NumPredict property (#10227) [ #10226 ]
- b8224ed .Net: Update M.E.AI to 9.1.0-preview.1.25064.3 (#10199)
- a44e802 .Net: Bump coverlet.collector from 6.0.2 to 6.0.4 in /dotnet (#10244) [ #1726, #1705, #1679, #989, #1620, #1649, #1631, #1646, #1490, #1693, #660, #1731, #1730, #1728, #1725, #1724, #1721, #1681, #1700 ]
- b34b16e .Net: Add Async Support for ConverseStreamResponse to Avoid Thread Blocking (#10159) [ #9519 ]
- 39934f5 .Net: Fixing distance functions for Pinecone, Weaviate and Redis and adding integration tests for score testing for these. (#10170) [ #10103 ]
- 8d46ee7 .Net: Fixed the condition judgment of the TrackStreamingToolingUpdate method (#10178)
- bc3e294 .Net: Use explicit arguments in TextSearch delegates to ensure type conversion (#10151)
- d06d230 .Net: Add a request index to the streamed function call update content (#10129)
- a76229b .Net: Google Gemini - Adding response schema (Structured Outputs support) (#10135) [ #9501 ]
- e8b31a2 .Net: Add shared integration tests for checking vector search scores (#10144) [ #10103 ]
- 53995c8 .Net: Add unit tests for Text Search AOT enhancements (#10143) [ #9342 ]
- 9a5e2db .Net: Samples demonstrating techniques of providing AI models with function return type metadata. (#10145)
- cde7ac1 .Net: fix bug: Example Step00 of Process Framework is wrong (#10119) [ #10087 ]
- c4100ee .Net: Use UriKind.Relative (#10123) [ #9264, #10105 ]
- 9a0d63b Do not exclude entire README from spell checking (#10122) [ #9898 ]
- 77c96c2 .Net: Fix bash script to build the dotnet solution (#10003)
- 2a5e51b Bump astral-sh/setup-uv from 4 to 5 (#10030) [ #193, #185, #191, #194, #187, #210, #207, #206, #201, #200, #198, #196, #189, #195 ]
This list of changes was auto generated.
python-1.18.2
Release Notes
Bug Fixes and Improvements
Enhancements and Fixes
Python Package Updates
Full Changelog: python-1.18.1...python-1.18.2
python-1.18.1
Release Notes
Python Package Updates
- Bump astral-sh/setup-uv from 4 to 5 by @dependabot in #10030
- Python: Bump Python version to 1.18.1 for a release. by @moonbox3 in #10146
Enhancements and Fixes
- Python: Upgrade AOAI api version to latest GA: 2024-10-21 by @moonbox3 in #10118
- Python: Improve agent retrieval by passing necessary kwargs. Add unit tests. by @moonbox3 in #10116
Bug Fixes and Improvements
- Python: Temporarily xFail some Google AI integration tests to unblock by @TaoChenOSU in #10136
- Python: Fix function call content argument parsing by @TaoChenOSU in #10132
Full Changelog: python-1.18.0...python-1.18.1
python-1.18.0
Release Notes
Note: The OpenAI plugin has been removed. This change aligns with the .NET version, where the plugin was removed in early 2024. The plugin had previously been marked as deprecated in Python.
Python Package Updates
- Python: Update
chromadb
requirement from<0.6,>=0.5
to>=0.5,<0.7
in/python
by @dependabot in #10042 - Python: Bump Python version to
1.18.0
for a release by @moonbox3 in #10115
Enhancements and Fixes
- Python: Change order used to check variants in (de)ser steps by @eavanvalkenburg in #10051
- Python: Remove OpenAI plugin. Update OpenAPI exec params to use direct predicate reference by @moonbox3 in #10095
- Python: Update README.md by @AndreeaDan27 in #10028
- Python: Agent content generation for function call content should be assistant role by @moonbox3 in #10096
- Python: Improve Azure assistant agent settings and retrieval operations by @moonbox3 in #10063
Bug Fixes and Improvements
- Python: Fix pydantic alias issue by @john0isaac in #10027
- Python: Improve link check by using Ubuntu 22 by @eavanvalkenburg in #10058
New Contributors
- @AndreeaDan27 made their first contribution in #10028
Full Changelog: python-1.17.1...python-1.18.0
dotnet-1.33.0
Changes:
- b438cef .Net: Version 1.33.0 (#10111)
- 5e4012f .Net: adds support for strict mode with OpenAI (#9924) [ #9786, #9741 ]
- 941ee64 .Net: Add factory for customizing OpenAPI plugins responses (#10106)
- 4a70658 .Net: Amazon Connector - InnerContent Metadata Support (#10086) [ #9989 ]
- 9583f5f .Net: Bump OllamaSharp from 4.0.8 to 4.0.17 in /dotnet (#10091) [ #160, #154, #159, #158, #147, #150, #157, #161 ]
- 08a4111 .Net: Bump HtmlAgilityPack from 1.11.71 to 1.11.72 in /dotnet (#10093) [ #575, zzzprojects/html-agility-pack#575 ]
- 7c5f7e5 .Net: Bump DocumentFormat.OpenXml and System.IO.Packaging in /dotnet (#10094) [ #1802, #1814, #1681, #1771, #1745, #1838, #1794, #1795, #1796, #1782, #1808, #1762, #1775, #1837, #1836, #1834, #1835, #1833, #1832, #1828, #1829 ]
- a415213 .Net: Process mermaid flowchart code generation, image generation on flowchart and sample usage. (#9705)
See More
- 5b97ad1 .Net: HomeAutomation AzureOpenAI Configuration Fix (#10054)
- 81a230f .Net: Add JsonNumberHandling Attribute to Execution Settings in Ollama, ONNX, and Other Connectors (#10055) [ #9318 ]
- 8751cbc Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.1 to 5.4.3 (#10043) [ #717, #700, #716, #719 ]
- 5471eb3 .Net: Support DateTime parameters in tools for Assistants API #9940 (#10037)
- 118cc5b .Net: RestApiOperationRunner refactoring (#10080)
- 78d8260 .Net: Remove potential ambituity for Step05 Processes Sample (#10013)
- caf416f .Net: Handle media types with parameters (#10000)
- 2cc5830 .Net: Bump xunit.runner.visualstudio from 2.8.2 to 3.0.0 in /dotnet (#9995) [ #426, #422 ]
- a93e9f9 .Net: Bump Microsoft.Plugins.Manifest and Microsoft.VisualStudio.Threading.Analyzers in /dotnet (#9991)
- 01c8cc0 .Net: Bump AWSSDK.BedrockRuntime and AWSSDK.Core in /dotnet (#9994)
- d91c734 .Net: fix payload parameter value resolution (#9997)
- d201b5e .Net: fix: expected empty response in rest APIs (#9999) [ #9990 ]
- 2601e32 use ubuntu 22 for link check (#10058)
- 4650d27 .Net Agents - Support name based KernelFunction*Strategy (#9967)
- 5874188 .Net: fix: includes path item path parameters to OpenAPI document parsing (#9969) [ #9962 ]
- 6d02eef .Net: Allow customization of building REST API operation URL, payload, and headers (#9985)
- 7c25ac4 .Net: Fix typo in GettingStarted.Step3_Yaml_Prompt - CreatPrompt -> CreatePrompt (#9823)
- c7a371e .Net: Add PostgresVectorStore Memory connector. (#9324)
- e883843 .Net: Fix OpenApiDocumentParser fail when X-API-version is provide in the content key (#9959) [ #9952 ]
- e66883e .Net: Bump Microsoft.Data.Sqlite from 8.0.10 to 9.0.0 in /dotnet (#9915) [ dotnet/efcore#31465, dotnet/efcore#31467, dotnet/efcore#31461, dotnet/efcore#31463, dotnet/efcore#31462, dotnet/efcore#31474, dotnet/efcore#31483, dotnet/efcore#31482, dotnet/efcore#31421, dotnet/efcore#31499, dotnet/efcore#31509, dotnet/efcore#31510, dotnet/efcore#31512, dotnet/efcore#31516, dotnet/efcore#31523, dotnet/efcore#31524, dotnet/efcore#31526, dotnet/efcore#31528, dotnet/efcore#31542, dotnet/efcore#31566, dotnet/efcore#31575, dotnet/efcore#31582, dotnet/efcore#31598, dotnet/efcore#31601, dotnet/efcore#31624, dotnet/efcore#31632, dotnet/efcore#31635, dotnet/efcore#31636, dotnet/efcore#31560, dotnet/efcore#31640, dotnet/efcore#31641, dotnet/efcore#30470, dotnet/efcore#30471, dotnet/efcore#30466, dotnet/efcore#31648, dotnet/efcore#31649, dotnet/efcore#31650, dotnet/efcore#31654, dotnet/efcore#31660, dotnet/efcore#31667, dotnet/efcore#31668, dotnet/efcore#31670, dotnet/efcore#31671, dotnet/efcore#31674, dotnet/efcore#31669, dotnet/efcore#31678 ]
- b40e0cc .Net: fix: add "status" field to Python dynamic session response (#9903) [ #9902 ]
- d229179 .Net: Add store and metadata properties to OpenAIPromptExecutionSettings (#9936) [ #9918 ]
- 11c80af .Net: Bump HtmlAgilityPack from 1.11.67 to 1.11.71 in /dotnet (#9914) [ #573 ]
- 5c6ccd9 .Net: Bump xunit.analyzers from 1.16.0 to 1.17.0 in /dotnet (#9916)
- b1dec16 Bump xt0rted/pull-request-comment-branch from 1 to 3 (#9820) [ #437, #461, #463, #462 ]
- 27aa867 .Net: Bump Microsoft.Azure.Kusto.Data from 12.2.7 to 12.2.8 in /dotnet (#9869)
- 934b2bb Remove build Java badge from readme (#7561)
- f54674b Add ADR for creating a separate Java repository (#6820)
- 43235b8 .Net: Refactored integration tests for vector stores (#9905)
- 88635e1 .Net: Replace stj-schema-mapper source code with M.E.AI schema generation (#9807)
python-1.17.1
Release Notes
Python Package Updates
- Update
pymilvus
requirement from<2.5,>=2.3
to>=2.3,<2.6
in /python by @dependabot in #9864 - Updated Pydantic to 2.10.3 by @eavanvalkenburg in #9923
- Upgrade Minimum Onnx Version to enable MacOS Unit Tests by @nmoeller in #9981
Enhancements and Fixes
- Enable Ollama streaming tool calls by @eavanvalkenburg in #9890
- Add store and metadata properties to OpenAIPromptExecutionSettings by @markwallace-microsoft in #9946
- Introduce agent name field regex by @moonbox3 in #9887
- Include the sessions plugin status key in return value by @moonbox3 in #9904
- Adjust tool limit per request by @TaoChenOSU in #9894
- Deprecated retry_mechanism by @TaoChenOSU in #9965
- Qdrant - fix in filter and 100% test coverage by @eavanvalkenburg in #9982
- Secure Python test coverage workflow by @TaoChenOSU in #9961
- Add PR number to test coverage workflow by @TaoChenOSU in #9964
- Add write token to report by @eavanvalkenburg in #9980
- Improved
text_search
folder testing by @eavanvalkenburg in #9984 - Include a function_invoke_attempt index with Streaming CMC by @moonbox3 in #10009
Bug Fixes and Improvements
- Fix
set-env
not allowed in workflow by @TaoChenOSU in #9973 - FunctionResultContent hash fix to handle lists/sets by @moonbox3 in #9978
- Anthropic function calling fixes by @TaoChenOSU in #9938
- Yield FunctionResultContent in streaming chat completion path. Update tests. by @moonbox3 in #9974
- Fix Anthropic parallel tool call by @TaoChenOSU in #10005
Miscellaneous
Full Changelog: python-1.17.0...python-1.17.1