Repository navigation
-
Breaking: the SDKs switch to the new forms of the commands API below. Browsers still accept the old
status,cancel,findandeventsAfterforms for now, so older SDKs keep working, and they mark those responses withx-steel-deprecated.statusandcancelare no longer commands. Usesessions.commandExecutions.retrieveandsessions.commandExecutions.cancel.dialogis no longer a command, and commands do not answer dialogs. A response still shows an open dialog indialog. Close it in the live view, or close its tab.findtakestarget, a CSS selector or a locator, in place ofby,value,nameandexact.{ by: "role", value: "button", name: "Save" }becomes{ target: { role: "button", name: "Save" } }.eventsAfter,eventsandepochare gone.epochChangedstays.
-
Added: a response has
idat the top, the same asexecution.id. -
Changed: each item of
resultsnames itscommandand has the fields of that command, typed asCommandResult. -
Changed: arguments that do not fit together, such as a
waitwith two conditions orget attrwithoutattribute, are refused with400before any command runs. -
Changed: an unexpected engine failure answers
500 internal_errorinstead of200witherror. Thex-should-retryheader says whether sending the request again is safe. -
Added: every SDK sends an
Idempotency-Keyheader on requests other thanGETand keeps it across automatic retries. A key you pass with a request replaces it. Rust takes one only onsessions.commands, asidempotency_key. -
Fixed: Rust follows the
x-should-retryheader, as the other SDKs do. -
Added
client.sessions.command_executions.cancel. -
Added
client.sessions.command_executions.retrieve. -
Updated the docs of the response of
client.sessions.commands. -
Breaking: Removed
client.sessions.commandsbodyeventsAfter. -
Breaking:
client.sessions.commandsbodycommandschanged its variants. -
Breaking:
client.sessions.commandsresponse changed from a union to an object. -
Breaking: Removed model
CommandEvents. -
Breaking:
Commandchanged its variants. -
Breaking: Removed
CommandDialog.accepted. -
Breaking: Removed
CommandDialog.by. -
Breaking: Removed
CommandDialog.text. -
Added model
CommandResult. -
Updated the generator and the runtimes.