Also in 0.15, not breaking
Part of Upgrading from 0.14 to 0.15. These change behaviour without breaking an API; they are the ones a gateway, a test or a client is most likely to meet.
- Deprecated. Besides
sign_agent_cardandClientConfig::preferred_bindings:HotReloadAgentCardHandler::updateis deprecated fortry_update, which checks the card asreload_from_jsondoes and refuses an invalid one withInvalidParams, leaving the current card in place.OAuthFlows::ImplicitandOAuthFlows::Passwordare deprecated because the A2A 1.0 proto marks both; they stay, parse and serialize as before (spec §1.4 keeps deprecated definitions until the next major version), and code that names them gets a warning. - Several replicas sharing a store need session affinity. Without every turn of a task routed to one replica, two replicas can run the same task at once, and a continuation saved on one can overwrite what the other's turn wrote meanwhile. One replica, or several with affinity, is the supported topology for 0.15; see Running More Than One Replica.
serveandserve_with_addrcut off a slow peer. They run onServerunderServeConfig::default(), with a 30-second header-read timeout and a 75-second idle timeout (traffic in either direction counts, so an SSE stream with its 30-second keep-alive stays open). Their signatures are unchanged; for a ceiling, TLS or a graceful drain, useServerdirectly.- A header sent as several lines is one field. Every binding joins the
lines in order with
", "("; "forcookie), where each kept the last.A2A-Extensionson two lines activates both; a field that takes one value, such asAuthorization, reaches the interceptors as both values joined, so a bearer token sent on two lines is refused. - A
Content-Typeis read as a media type: the type and subtype before any;parameter, compared without regard to case.Application/JSONis accepted;application/json-rpcandapplication/json-patch+json, which a prefix match served, are refused withContentTypeNotSupportedError. - On HTTP+JSON the path's id is the request's. A body's
idortaskIdno longer replaces the path's, an empty path segment reaches its handler as an empty id and isInvalidParams, and the Axum router reads the body of:canceland:subscribe(a malformed one is400). - JSON-RPC follows three more rules of JSON-RPC 2.0. An
idthat is not a string, a number ornullis-32600; omittedparamsread as{}; andSendStreamingMessageorSubscribeToTaskinside a batch isUnsupportedOperationError(-32004), not-32602. - The WebSocket binding no longer routes
message/stream, the one v0.3 method name it still served; it is-32601, as on every other binding. - SLIMRPC refuses a call that declares no
A2A-VersionwithVersionNotSupportedError, as the HTTP and gRPC bindings do by default.SlimRpcServer::with_require_version(false)restores the old behaviour. - ListTasks follows the proto.
statusTimestampAfterincludes its bound ("greater than or equal to"), where every store excluded it, andtotalSizeis the number of tasks the filters match before pagination. - Listing or deleting the push configs of an unknown task is
TaskNotFound(404on HTTP+JSON,-32001on JSON-RPC,NOT_FOUNDon gRPC); it answered an empty list and success. Deleting a config that is already gone from a task that exists still succeeds.
These are the ones a gateway, a test or a client is most likely to meet. The
rest are under ### Behaviour Changes in the ## [0.15.0] section of
CHANGELOG.md.