Skip to content

Releases: microsoft/semantic-kernel

python-1.28.0

11 Apr 09:17
bae7e28
Compare
Choose a tag to compare

New Features

Enhancements and Improvements

Bug Fixes

  • Python: Fix TypeError when required is missing in MCP tool's inputSchema by @KanchiShimono in #11458
  • Python: Bug fix for azure ai agent truncate strategy. Add sample. by @moonbox3 in #11503
  • Added missing import asyncio to agent with plugin python by @sphenry in #11472

Python Package Updates

  • Python: Update chromadb requirement from <0.7,>=0.5 to >=0.5,<1.1 in /python by @dependabot in #11420
  • Python: Bump google-cloud-aiplatform from 1.86.0 to 1.87.0 in /python by @dependabot in #11423

dotnet-1.46.0

11 Apr 11:25
bae7e28
Compare
Choose a tag to compare

Changes:

python-1.27.2

07 Apr 12:24
0ff97c7
Compare
Choose a tag to compare

Release Notes

New Features

Enhancements and Improvements

Bug Fixes

  • Python: fix for enum handling in openai event creation in realtime by @eavanvalkenburg in #11397
  • Python: add AzureAIAgent, OpenAIAssistant and OpenAIResponsesAgent Integration tests, AzureAIAgent FCC gen bug fix by @moonbox3 in #11394

Full Changelog: python-1.27.1...python-1.27.2

python-1.27.1

04 Apr 13:43
ff498b4
Compare
Choose a tag to compare

Release Notes

Important

This version contains a regression for AzureAIAgent function calling paths. Please upgrade to the 1.27.2 or later.

New Features

  • Python: Unit tests for OpenAI realtime and Ollama chat completion by @gaudyb in #11343

Enhancements and Improvements

Bug Fixes

  • Python: Use correct env var for AOAI Responses Deployment Name in README, Fix Responses config checks by @moonbox3 in #11379

New Contributors

Full Changelog: python-1.27.0...python-1.27.1

python-1.27.0

03 Apr 23:51
2cc43be
Compare
Choose a tag to compare

Release Notes

New Features

Enhancements and Improvements

Bug Fixes

Python Package Updates

  • Python: Bump google-cloud-aiplatform from 1.83.0 to 1.85.0 in /python by @dependabot in #11176
  • Python: Bump google-cloud-aiplatform from 1.85.0 to 1.86.0 in /python by @dependabot in #11295
  • Python: Update sentence-transformers requirement from <4.0,>=2.2 to >=2.2,<5.0 in /python by @dependabot in #11294
  • Python: Update pydantic requirement from !=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.11,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.12 in /python by @dependabot in #11293
  • Python: Update websockets requirement from <15,>=13 to >=13,<16 in /python by @dependabot in #11016
  • Python: Bump Python version to 1.27.0 for a release. by @moonbox3 in #11358

Full Changelog: python-1.26.1...python-1.27.0

dotnet-1.45.0

03 Apr 18:09
bcedfb6
Compare
Choose a tag to compare

Changes:

See More
  • 0a94e61 .Net: Add date to obsolete messages for when to expect these methods to be deleted. (#11329) [ #11315 ]
  • 14f9e21 .Net: Rename OnNewMessage callback to OnIntermediateMessage (#11328)
  • 5f8a56a .Net: Move hybrid search tests to new projects and adopt updated software design. (#11339) [ #11311 ]
  • 44370f9 .Net: Removing KernelAgent.cs and moving its functionality into Agent.cs (#11244)
  • fa4b64a .Net: Add Audio Input and Output support for OpenAI chat completions (#11279) [ #10493 ]
  • ec1222c .Net: Merge Tavily feature branch to main (#11227) [ #11060 ]
  • a86b2b9 .Net: Fix mapping of the KernelParameterMetadata.IsRequired property (#11309)
  • de8b2ab .Net: Add hybrid search sample (#11262) [ #10896 ]
  • 8f0d00a .Net: Refactor MCP client for improved code readability (#11306)
  • 6e74be2 .Net: Qdrant CRUD datetime support (#11285) [ #11086 ]
  • f4495d9 .Net: Update MCP nuget package (#11288)
  • 53a503c .Net: Remove the Agent preview suffix (#11303)
  • 6105f91 .Net: Bump AWSSDK.BedrockRuntime and AWSSDK.Core in /dotnet (#11296) [ #3721, #3714 ]
  • 635eb24 .Net: Saicharan ms/openapi server override hierarchy support (#11216)
  • dd5aa2f .NET: Exclude 'decisions' folder from link check (#11191)
  • f75757a .Net: Upgraded Microsoft.CodeAnalysis.Common from 4.11.0 to 4.13.0. (#11168) [ #10868 ]
  • 026dc1d .Net: Removing groupchat from samples that have a single agent and aren't demonstrating a groupchat concept (#11261)
  • bfb9647 .Net: Fix the unknow typo (#11260)
  • 57d1a5e .Net: Switch from hardcoded model id (#11234)
  • 038dddd .Net: Add fix to ChatCompletionAgent for function call termination bug (#11235)
  • 69e4e6b .Net: Add MCP server/client sample (#11232)
  • 38d891e .Net: Add support for getting notified of all messages and obsolete remaining methods using threadId. (#11229)
  • 8875f9f .Net: Add support for agent specific params (#11201)
  • d35d0c9 .Net: Add invoke overloads for string and no message. (#11219)
  • a9b99d4 .Net: Fixing some issues with streaming invoke, obsoleting old invoke metho… (#11218)
  • e1c4879 .Net: Fix bug where invoking with no message throws for some agents. (#11217)
  • aaf7aa6 .Net: Add additional integration tests for the common agent invoke api (#11186)
  • 225a95c .Net: Update README.md (Typo "Azure Open AI"→"Azure OpenAI") (#11193)
  • aa50688 .Net: Added missing KernelFunction attribute to DownloadFileAsync in SessionsPythonPlugin (#11215)

This list of changes was auto generated.

dotnet-1.44.0

26 Mar 16:14
a2aa88a
Compare
Choose a tag to compare

Changes:

python-1.26.1

25 Mar 07:56
2c20c5e
Compare
Choose a tag to compare

Release Notes

New Features

Important

Please review the updated migration guide for details on updating your agent-related code

Common Agent Invocation API

We introduced a new common abstraction to manage threads for all agents. For each agent we now expose a thread class that implements the AgentThread base class, allowing context management via methods like create() and delete().

Agent responses get_response(...), invoke(...), invoke_stream(...) now return an AgentResponseItem[ChatMessageContent], which has two attributes:

message: TMessage  # Usually ChatMessageContent
thread: AgentThread  # Contains the concrete type for the given agent

It is still possible to get the content, role, or items properties on the response object:

for user_input in USER_INPUTS:
    print(f"# User: {user_input}")
    response = await agent.get_response(messages=user_input, thread=thread)
    print(f"# {response.name}: {response}"

Agent Invocation Updates

Further, we have updated the previous message keyword argument on all the agent get_response(...), invoke(...), and invoke_stream(...) methods. The new argument is messages which has the type str | ChatMessageContent | list[str | ChatMessageContent].

Agent Imports

All agent import paths have been consolidated under semantic_kernel.agents.

Updated import style

from semantic_kernel.agents import (
    AutoGenConversableAgent,
    AzureAIAgent,
    AzureAssistantAgent,
    BedrockAgent,
    ChatCompletionAgent,
    OpenAIAssistantAgent,
)

Previous import style (deprecated):

from semantic_kernel.agents import ChatCompletionAgent
from semantic_kernel.agents.autogen import AutoGenConversableAgent
from semantic_kernel.agents.azure_ai import AzureAIAgent
from semantic_kernel.agents.bedrock import BedrockAgent
from semantic_kernel.agents.open_ai import AzureAssistantAgent, OpenAIAssistantAgent

Enhancements and Improvements

Bug Fixes

  • Python: Fix agent_id kwarg in AzureAIAgent retrieval sample by @moonbox3 in #11057
  • Python: Pass api_key to azure config base init by @moonbox3 in #11056
  • Python: lazy-loading mechanism for agent dependencies by @moonbox3 in #11180

Python Package Updates

  • Python: Unit tests for ollama services utils and dapr_actor_registration by @rracanicci in #10849

New Contributors

Full Changelog: python-1.25.0...python-1.26.1

dotnet-1.43.0

25 Mar 00:14
17e63a7
Compare
Choose a tag to compare

Changes:

See More

python-1.25.0

18 Mar 21:13
adf74e1
Compare
Choose a tag to compare

Release Notes

New Features

Enhancements and Improvements

Python Package Updates

  • Python: bump Python version to 1.25.0 for a release by @moonbox3 in #11034

New Contributors

Full Changelog: python-1.24.1...python-1.25.0