Skip to content

Commit f5419b9

Browse files
authored
Python: bump package versions for 1.2.2 release (#5561)
* Python: bump package versions for 1.2.2 release PATCH bump (1.2.1 -> 1.2.2) for the released cohort. Five PRs land in this window: - agent-framework-openai: fix file_search citations breaking the assistant- message history roundtrip (#5557) — drives the released-tier PATCH - agent-framework-orchestrations: [BREAKING] standardize orchestration terminal outputs as AgentResponse (#5301) - agent-framework-core, agent-framework-declarative: preserve Workflow.run() shared state across calls, accept list[Message] in declarative start executor, and coerce Enum values when serializing PowerFx symbols (#5531) - agent-framework-foundry-hosting: add hosted Durable Workflow support (#5531) - agent-framework-azure-contentunderstanding: new alpha package — Azure AI Content Understanding context provider (#4829) - dependencies: workspace package dependency refresh (#5555) Per lockstep convention, all 21 beta packages stamp 1.0.0b260429 and all 4 alpha packages (now including the new contentunderstanding) stamp 1.0.0a260429. Date stamp reflects 2026-04-29 Pacific. Every non-core package floor on agent-framework-core is raised to >=1.2.2; the new contentunderstanding package's stale >=1.0.0 floor is brought into line. Two follow-on fixes bundled to keep validate-dependency-bounds-test green at lowest-direct resolution: - Bump agent-framework-azure-contentunderstanding's azure-ai-content understanding lower bound from >=1.0.0 to >=1.0.1 (1.0.0 ships without proper typing — pyright reports 65 unknown-type errors) - Add pyright ignore comments to core/foundry/__init__.pyi for the new alpha package's type-stub imports, since alpha packages are not in core's [all] extra and therefore aren't installed at lowest-direct * Python: add #5552 to 1.2.2 CHANGELOG Add the streaming-span observability fix to the Fixed section. PR is on upstream/main but not yet pulled into origin/main; the code itself will land via the PR merge. * Python: address PR #5561 review feedback on dependency bounds Two packaging fixes flagged in review: 1. agent-framework-azure-contentunderstanding: add agent-framework-foundry as a runtime dependency. The package's README directs users to `pip install agent-framework-azure-contentunderstanding --pre` and the basic example imports `FoundryChatClient` from `agent_framework.foundry`, so the documented install path was failing with ImportError. Pulling agent-framework-foundry into deps makes the advertised entry path self-contained. 2. agent-framework-foundry: bump agent-framework-openai lower bound from >=1.1.0 to >=1.2.2,<2. Foundry imports private modules from agent_framework_openai (`_chat_client.py:22`, `_agent.py:34`), so resolvers were free to pair foundry==1.2.2 with older OpenAI versions that lack this release's coordinated Responses/history fix. Lockstep the floor with the released cohort to prevent mismatched installs. Both changes pass `validate-dependency-bounds-test` lower + upper at their respective packages.
1 parent 03e47b5 commit f5419b9

42 files changed

Lines changed: 135 additions & 136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python/CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.2] - 2026-04-29
11+
12+
### Added
13+
- **agent-framework-azure-contentunderstanding**: New alpha package — Azure AI Content Understanding context provider that auto-analyzes file attachments (documents, images, audio, video) and injects structured results into the LLM context, with multi-document session state, configurable timeout, output filtering via `AnalysisSection`, and auto-registered `list_documents` / `get_analyzed_document` tools ([#4829](https://github.com/microsoft/agent-framework/pull/4829))
14+
- **agent-framework-foundry-hosting**: Add hosted Durable Workflow support — propagate full conversation history to workflow agents and wire `Workflow.as_agent()` end-to-end via the foundry hosting layer ([#5531](https://github.com/microsoft/agent-framework/pull/5531))
15+
16+
### Changed
17+
- **agent-framework-orchestrations**: [BREAKING] Standardize orchestration terminal outputs as `AgentResponse` so `Workflow.as_agent()` returns the final answer only; aligns sequential-approval (`with_request_info`) and concurrent (`intermediate_outputs=True`) flows on the same output contract ([#5301](https://github.com/microsoft/agent-framework/pull/5301))
18+
- **agent-framework-core**, **agent-framework-declarative**: Preserve `Workflow.run()` shared state across calls so multi-turn `WorkflowAgent` invocations retain context, accept `list[Message]` input in the declarative start executor, and coerce `Enum` values when serializing PowerFx symbols ([#5531](https://github.com/microsoft/agent-framework/pull/5531))
19+
- **dependencies**: Update workspace package dependencies and preserve `mcp[ws]` / `uvicorn[standard]` extras through override-dependencies in `/python` ([#5555](https://github.com/microsoft/agent-framework/pull/5555))
20+
21+
### Fixed
22+
- **agent-framework-core**: Fix observability spans not being correctly nested when using streaming ([#5552](https://github.com/microsoft/agent-framework/pull/5552))
23+
- **agent-framework-openai**: Fix `file_search` citations breaking the assistant-message history roundtrip — skip `hosted_file` content in the assistant role so the Responses API no longer rejects `input_file` ([#5557](https://github.com/microsoft/agent-framework/pull/5557))
24+
1025
## [1.2.1] - 2026-04-28
1126

1227
### Added
@@ -1003,7 +1018,8 @@ Release candidate for **agent-framework-core** and **agent-framework-azure-ai**
10031018

10041019
For more information, see the [announcement blog post](https://devblogs.microsoft.com/foundry/introducing-microsoft-agent-framework-the-open-source-engine-for-agentic-ai-apps/).
10051020

1006-
[Unreleased]: https://github.com/microsoft/agent-framework/compare/python-1.2.1...HEAD
1021+
[Unreleased]: https://github.com/microsoft/agent-framework/compare/python-1.2.2...HEAD
1022+
[1.2.2]: https://github.com/microsoft/agent-framework/compare/python-1.2.1...python-1.2.2
10071023
[1.2.1]: https://github.com/microsoft/agent-framework/compare/python-1.2.0...python-1.2.1
10081024
[1.2.0]: https://github.com/microsoft/agent-framework/compare/python-1.1.1...python-1.2.0
10091025
[1.1.1]: https://github.com/microsoft/agent-framework/compare/python-1.1.0...python-1.1.1

python/packages/a2a/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "A2A integration for Microsoft Agent Framework."
44
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
version = "1.0.0b260428"
7+
version = "1.0.0b260429"
88
license-files = ["LICENSE"]
99
urls.homepage = "https://aka.ms/agent-framework"
1010
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
@@ -23,7 +23,7 @@ classifiers = [
2323
"Typing :: Typed",
2424
]
2525
dependencies = [
26-
"agent-framework-core>=1.2.1,<2",
26+
"agent-framework-core>=1.2.2,<2",
2727
"a2a-sdk>=0.3.5,<0.3.24",
2828
]
2929

python/packages/ag-ui/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agent-framework-ag-ui"
3-
version = "1.0.0b260428"
3+
version = "1.0.0b260429"
44
description = "AG-UI protocol integration for Agent Framework"
55
readme = "README.md"
66
license-files = ["LICENSE"]
@@ -22,7 +22,7 @@ classifiers = [
2222
"Typing :: Typed",
2323
]
2424
dependencies = [
25-
"agent-framework-core>=1.2.1,<2",
25+
"agent-framework-core>=1.2.2,<2",
2626
"ag-ui-protocol>=0.1.16,<0.2",
2727
"fastapi>=0.115.0,<0.133.1",
2828
"uvicorn[standard]>=0.30.0,<0.42.0"

python/packages/anthropic/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Anthropic integration for Microsoft Agent Framework."
44
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
version = "1.0.0b260428"
7+
version = "1.0.0b260429"
88
license-files = ["LICENSE"]
99
urls.homepage = "https://aka.ms/agent-framework"
1010
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
@@ -23,7 +23,7 @@ classifiers = [
2323
"Typing :: Typed",
2424
]
2525
dependencies = [
26-
"agent-framework-core>=1.2.1,<2",
26+
"agent-framework-core>=1.2.2,<2",
2727
"anthropic>=0.80.0,<0.80.1",
2828
]
2929

python/packages/azure-ai-search/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Azure AI Search integration for Microsoft Agent Framework."
44
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
version = "1.0.0b260428"
7+
version = "1.0.0b260429"
88
license-files = ["LICENSE"]
99
urls.homepage = "https://aka.ms/agent-framework"
1010
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
@@ -23,7 +23,7 @@ classifiers = [
2323
"Typing :: Typed",
2424
]
2525
dependencies = [
26-
"agent-framework-core>=1.2.1,<2",
26+
"agent-framework-core>=1.2.2,<2",
2727
"azure-search-documents>=11.7.0b2,<11.7.0b3",
2828
]
2929

python/packages/azure-contentunderstanding/pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Azure Content Understanding integration for Microsoft Agent Frame
44
authors = [{ name = "Microsoft", email = "af-support@microsoft.com" }]
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
version = "1.0.0a260401"
7+
version = "1.0.0a260429"
88
license-files = ["LICENSE"]
99
urls.homepage = "https://aka.ms/agent-framework"
1010
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
@@ -23,8 +23,9 @@ classifiers = [
2323
"Typing :: Typed",
2424
]
2525
dependencies = [
26-
"agent-framework-core>=1.0.0,<2",
27-
"azure-ai-contentunderstanding>=1.0.0,<1.1",
26+
"agent-framework-core>=1.2.2,<2",
27+
"agent-framework-foundry>=1.2.2,<2",
28+
"azure-ai-contentunderstanding>=1.0.1,<1.1",
2829
"aiohttp>=3.9,<4",
2930
"filetype>=1.2,<2",
3031
]

python/packages/azure-contentunderstanding/samples/01-get-started/01_document_qa.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
from pathlib import Path
1616

1717
from agent_framework import Agent, Content, Message
18-
from agent_framework.foundry import FoundryChatClient
18+
from agent_framework.foundry import ContentUnderstandingContextProvider, FoundryChatClient
1919
from azure.identity import AzureCliCredential
2020
from dotenv import load_dotenv
2121

22-
from agent_framework.foundry import ContentUnderstandingContextProvider
23-
2422
load_dotenv()
2523

2624
"""

python/packages/azure-contentunderstanding/samples/01-get-started/02_multi_turn_session.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
from pathlib import Path
1616

1717
from agent_framework import Agent, AgentSession, Content, Message
18-
from agent_framework.foundry import FoundryChatClient
18+
from agent_framework.foundry import ContentUnderstandingContextProvider, FoundryChatClient
1919
from azure.identity import AzureCliCredential
2020
from dotenv import load_dotenv
2121

22-
from agent_framework.foundry import ContentUnderstandingContextProvider
23-
2422
load_dotenv()
2523

2624
"""

python/packages/azure-contentunderstanding/samples/01-get-started/03_multimodal_chat.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
from pathlib import Path
1717

1818
from agent_framework import Agent, AgentSession, Content, Message
19-
from agent_framework.foundry import FoundryChatClient
19+
from agent_framework.foundry import ContentUnderstandingContextProvider, FoundryChatClient
2020
from azure.identity import AzureCliCredential
2121
from dotenv import load_dotenv
2222

23-
from agent_framework.foundry import ContentUnderstandingContextProvider
24-
2523
load_dotenv()
2624

2725
"""

python/packages/azure-contentunderstanding/samples/01-get-started/04_invoice_processing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@
1616
from pathlib import Path
1717

1818
from agent_framework import Agent, AgentSession, Content, Message
19-
from agent_framework.foundry import FoundryChatClient
19+
from agent_framework.foundry import ContentUnderstandingContextProvider, FoundryChatClient
2020
from azure.identity import AzureCliCredential
2121
from dotenv import load_dotenv
2222
from pydantic import BaseModel, Field
2323

24-
from agent_framework.foundry import ContentUnderstandingContextProvider
25-
2624
load_dotenv()
2725

2826
"""

0 commit comments

Comments
 (0)