Skip to content

Commit a822df9

Browse files
authored
BREAKING CHANGE: Remove format_as_xml module (#2446)
1 parent 8f131eb commit a822df9

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

docs/api/format_as_xml.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ See [#2443](https://github.com/pydantic/pydantic-ai/pull/2443) - The `data` prop
2121
See [#2445](https://github.com/pydantic/pydantic-ai/pull/2445) - The `get_data` and `validate_structured_result` methods were removed from the
2222
`StreamedRunResult` class. Use `get_output` and `validate_structured_output` instead.
2323

24+
See [#2446](https://github.com/pydantic/pydantic-ai/pull/2446) - The `format_as_xml` function was moved to the `pydantic_ai.format_as_xml` module.
25+
Import it via `from pydantic_ai import format_as_xml` instead.
26+
2427
### v0.5.0 (2025-08-04)
2528

2629
See [#2388](https://github.com/pydantic/pydantic-ai/pull/2388) - The `source` field of an `EvaluationResult` is now of type `EvaluatorSpec` rather than the actual source `Evaluator` instance, to help with serialization/deserialization.

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ nav:
8080
- api/settings.md
8181
- api/usage.md
8282
- api/mcp.md
83-
- api/format_as_xml.md
8483
- api/format_prompt.md
8584
- api/direct.md
8685
- api/ext.md

pydantic_ai_slim/pydantic_ai/format_as_xml.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)