Enhancements ➕➕
- Add
--output jsonsupport toflow lscommand by @Br1an67 in #20907 - Fix
match_relatedtype hints and add Python examples forDeploymentEventTriggerby @devin-ai-integration[bot] in #20902 - Support multihost Postgres connection strings in LISTEN/NOTIFY listener by @devin-ai-integration[bot] in #20926
- Move event trimming from
EventPersisterto docket-baseddb_vacuumservice by @tom21100227 in #20811 - Add
--output jsontotask-run ls,work-pool ls, andconcurrency-limit lsby @zzstoatzz in #20967 - Add
--output jsonsupport toblock inspectandblock type inspectby @zzstoatzz in #20981 - Add
--output jsonsupport toflow-run logsandtask-run logsby @zzstoatzz in #20982 - Add
--output jsonsupport toserver services lsby @jellyfish0316 in #20983 - Add
--output jsonsupport tocloud workspaceandwebhookcommands by @zzstoatzz in #20984 - Add
--output jsonsupport towork-queue lsandpreviewby @zzstoatzz in #20985 - Add
--output jsonsupport towork-pool previewby @zzstoatzz in #20986 - Add
--output jsonsupport toprofile lsandconfig viewby @zzstoatzz in #20987 - Add composite index on
task_run(state_type, start_time)by @desertaxle in #20940 - Defer task worker import in CLI
taskcommand by @zzstoatzz in #20925 - Lazy-load top-level CLI command registration by @zzstoatzz in #20930
- Add centralized exit code hint registry by @desertaxle in #20959
- Add
PREFECT_CLIENT_SERVER_VERSION_CHECK_ENABLEDsetting by @devin-ai-integration[bot] in #20973 - Cache serialized context and env vars in
ProcessPoolTaskRunner.submit()by @devin-ai-integration[bot] in #20972
Bug Fixes 🐞
- Fix
postgres_listenerto preserve Kerberos/GSSAPI and TLS connection params by @devin-ai-integration[bot] in #20890 - Fix non-deterministic flow scanning in
prefect deployby @ashwanth0110 in #20874 - Remove Panel border from
work-pool createsample code output by @Br1an67 in #20906 - Fix broken link in
PrefectHTTPStatusErrormessage by @devin-ai-integration[bot] in #20938 - Prevent Rich console from word-wrapping CLI JSON output by @zzstoatzz in #20947
- Fix database reset failing on PostgreSQL with orphaned
state_idreferences by @devin-ai-integration[bot] in #20941 - Mark followers as seen and clean up lost follower Redis keys by @devin-ai-integration[bot] in #20955
- Fix expiration check on in-memory cache hits in
ResultStore._read/_areadby @devin-ai-integration[bot] in #20988
Development & Tidiness 🧹
- Add clearer CLI benchmark regression gating feedback by @zzstoatzz in #20916
- Fix flaky test: mock
git_cloneinpip_install_reqstest by @devin-ai-integration[bot] in #20949 - Add apt retry configuration to Dockerfile to handle transient network errors by @devin-ai-integration[bot] in #20943
Documentation 📓
- Document prebuilt integration images and version pinning for workers by @rcash in #20893
- Improve MCP discoverability in existing docs IA by @gabcoyne in #20660
- Update rate limit docs to match unified limits by @zangell44 in #20927
- Add
pull_with_blockYAML example to Bitbucket integration docs by @toroleapinc in #20935 - Add missing
PREFECT_API_URLenv var in the self-hosted Docker Compose file by @Kiskadee-dev in #20897 - Add note about server default limit for client queries by @audreydng in #20909
- Document that deployment steps are just Python functions by @Sagargupta16 in #20956
- Minor cleanup from custom steps clarification by @zzstoatzz in #20963
Full Changelog: 3.6.20...3.6.21