Skip to content

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 22:42
· 31 commits to main since this release

Workflow names and descriptions

  • Optional name and description: a workflow can now carry them. They are saved only when set, so older files save unchanged.
  • Command line: prints the name before a run.
  • Editor: shows and edits both. Export names the file after the workflow, and import reads them back.

Setting one node's parameter

  • "node.parameter" keys: an override like "load.source" sets that parameter on one node only.
  • Accepted everywhere overrides are: run, stream, process, run_many, check, the command line's --set, and HTTP inputs.
  • Ambiguous bare names: a plain name that more than one node uses is refused, with a message listing the node.parameter keys that would say which.
  • Duplicates: two keys that reach the same parameter are refused.
  • file_parameter now returns a node.parameter key.

Prompts

  • Prompts marks a list of text prompts whose positions match each result's class_id.
  • Nodes: SAM 3, Grounding DINO, OWLv2, CLIP and SigLIP 2 take their text as Prompts.
  • Finding them: Workflow.prompt_parameters lists the prompt parameters as override keys, and the node catalogue flags them with "prompts": true.
  • Empty prompts are refused, instead of silently shifting every later class_id.

WorkflowError

  • One error type: every way a document can fail to be a workflow now raises WorkflowError, a subclass of ValueError.
  • Previously: an unknown node type raised KeyError and mismatched port types raised TypeError; both are now WorkflowError.
  • Bad overrides (the caller's mistake, not the file's) are still KeyError.
  • Command line: an invalid workflow file now gives a clean error instead of a traceback.

Full Changelog: v1.5.1...v1.6.0