Skip to content

v0.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:46
  • Breaking: the SDKs switch to the new forms of the commands API below. Browsers still accept the old status, cancel, find and eventsAfter forms for now, so older SDKs keep working, and they mark those responses with x-steel-deprecated.

    • status and cancel are no longer commands. Use sessions.commandExecutions.retrieve and sessions.commandExecutions.cancel.
    • dialog is no longer a command, and commands do not answer dialogs. A response still shows an open dialog in dialog. Close it in the live view, or close its tab.
    • find takes target, a CSS selector or a locator, in place of by, value, name and exact. { by: "role", value: "button", name: "Save" } becomes { target: { role: "button", name: "Save" } }.
    • eventsAfter, events and epoch are gone. epochChanged stays.
  • Added: a response has id at the top, the same as execution.id.

  • Changed: each item of results names its command and has the fields of that command, typed as CommandResult.

  • Changed: arguments that do not fit together, such as a wait with two conditions or get attr without attribute, are refused with 400 before any command runs.

  • Changed: an unexpected engine failure answers 500 internal_error instead of 200 with error. The x-should-retry header says whether sending the request again is safe.

  • Added: every SDK sends an Idempotency-Key header on requests other than GET and keeps it across automatic retries. A key you pass with a request replaces it. Rust takes one only on sessions.commands, as idempotency_key.

  • Fixed: Rust follows the x-should-retry header, 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.commands body eventsAfter.

  • Breaking: client.sessions.commands body commands changed its variants.

  • Breaking: client.sessions.commands response changed from a union to an object.

  • Breaking: Removed model CommandEvents.

  • Breaking: Command changed its variants.

  • Breaking: Removed CommandDialog.accepted.

  • Breaking: Removed CommandDialog.by.

  • Breaking: Removed CommandDialog.text.

  • Added model CommandResult.

  • Updated the generator and the runtimes.