PrefectHQ
prefect
BlogDocsChangelog

fix: allow string form_data in CustomWebhookNotificationBlock

#19953Merged
Comparing
fix-custom-webhook-string-form-data
(
7eff69a
) with
main
(
5f83d24
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
600.3 µs601.6 µs

Ignored

bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.7 ms107.3 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+1%
32.7 ms32.3 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+3%
170.3 ms165.8 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-39%
14.4 ms23.6 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
5.8 ms5.8 ms

Commits

Click on a commit to change the comparison range
Base
main
5f83d24
-0.1%
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>
7eff69a
1 day ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs