fix: allow string form_data in CustomWebhookNotificationBlock
Enables sending raw string/bytes payloads via `form_data` field, which
is needed when forwarding pre-constructed JSON from automation bodies.
Previously `form_data` only accepted `dict[str, str]` for form-encoded
data. Now it accepts `str | dict[str, str]`:
- dict: form-encoded data (httpx `data=`)
- str: raw body content (httpx `content=`)
Closes #19949
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fix: prevent dictionary mutation during iteration in preprocess_schema
When processing schema definitions with block_type_slug where the
definition's title differs from the dict key, the code would add a new
key to the definitions dict while iterating over it, causing:
RuntimeError: dictionary changed size during iteration
This fix iterates over a snapshot of the dict values using list() to
allow safe modification during iteration.
Fixes #19935
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>