Skip to content

Commit 722bbf1

Browse files
committed
fixes
1 parent 2887c1f commit 722bbf1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/migrations/v1_0/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Migration Guide: v0.3 → v1.0
22

3-
This guide covers the breaking changes introduced in `a2a-sdk` v1.0 and explains how to update your code.
3+
This guide covers the breaking changes introduced in `a2a-sdk` v1.0 and explains how to update your code. The changes reflect updates to the A2A protocol specification — see the [A2A protocol What's new in v1.0](https://a2a-protocol.org/latest/whats-new-v1/).
44

55
> **Related guides**: If you use the database persistence layer, also see the [Database Migration Guide](database/).
66
@@ -65,7 +65,6 @@ This affects every enum in the SDK: `TaskState`, `Role`.
6565
Key differences:
6666
- `Part(TextPart(text=...))``Part(text=...)` (flat union field)
6767
- `Role.user``Role.ROLE_USER`, `Role.agent``Role.ROLE_AGENT`
68-
- `TextPart` is no longer needed; use `Part(text=...)` directly
6968

7069
**Before (v0.3):**
7170
```python
@@ -111,7 +110,7 @@ Key differences:
111110
- `AgentCapabilities.input_modes` and `AgentCapabilities.output_modes` are removed; use `AgentCard.default_input_modes` / `AgentCard.default_output_modes` for card-level defaults, or `AgentSkill.input_modes` / `AgentSkill.output_modes` for per-skill overrides
112111
- `supports_authenticated_extended_card` is no longer a top-level `AgentCard` field; it has moved into `AgentCapabilities` and is renamed to `extended_agent_card`
113112
- `AgentInterface.protocol_binding` accepted values: `'JSONRPC'`, `'HTTP+JSON'`, `'GRPC'`
114-
- `examples` field has moved to `AgentSkill.examples` (set it per skill instead)
113+
- `examples` field was removed; set it per `AgentSkill` instead
115114

116115
**Before (v0.3):**
117116
```python

0 commit comments

Comments
 (0)