Released on January 15, 2026
This release introduces prefect sdk generate a new CLI command that generates fully-typed, custom Python SDKs from the deployments in your workspace or self-hosted server, making it easy to trigger your deployments from other workflows with confidence.
To see how it works, check out the Prefect docs. This functionality is currently in beta, so try it out and open a GitHub issue if you have feedback!
New Features ๐
- Add
prefect sdk generateCLI command for generating custom deployment SDKs from existing deployments by @desertaxle in #20150, #20158, #20167, #20172, #20173
Enhancements โโ
- Add JSON output to
prefect variable lsCLI command by @xeniumcode in #20192 - Add JSON output to
prefect global-concurrency-limit lsCLI command by @xeniumcode in #20194 - Add JSON output to
prefect artifactCLI commands by @xeniumcode in #20193 - Add JSON output to
prefect block lsCLI command by @xeniumcode in #20195 - Add JSON output to
prefect block type lsCLI command by @xeniumcode in #20196 - Add JSON output to
prefect deployment scheduleCLI commands by @xeniumcode in #20197 - Add JSON output to
prefect deploymentCLI commands by @xeniumcode in #20198 - Migrate
pause,suspend,resume, andrun_inputfrom@sync_compatibleto@async_dispatchby @devin-ai-integration[bot] in #20178 - Add
forceparameter toChangeFlowRunStateandflow_run_idJinja filter by @zzstoatzz in #20112 - Link
automation.action.*events toautomation.triggeredevent by @chrisguidry in #20227 - Add
DISABLEDto clientDeploymentStatusenum for Cloud compatibility by @chrisguidry in #20244
Bug Fixes ๐
- Fix flow run cancellation handling bugs by @joshuastagner in #20143
- Fix race condition in filesystem lease storage with atomic writes by @devin-ai-integration[bot] in #20153
- Add task keys to docket calls in API handlers to prevent duplicate execution by @desertaxle in #20210
- Support ISO 8601 duration strings for interval schedules in
prefect.yamlby @zzstoatzz in #20238 - Disable Docket result storage to prevent memory bloat by @desertaxle in #20253
- Preserve the
updatedcolumn value of deployments when marking them as ready by @vkrot-innio in #19936
Development & Tidiness ๐งน
- Add
arun_deploymentand replace@sync_compatiblewith@async_dispatchby @desertaxle in #20160 - Patch correct method in
test_concurrency_respects_timeoutby @devin-ai-integration[bot] in #20185 - Fix flaky test by reducing
slot_decay_per_secondto prevent race condition by @devin-ai-integration[bot] in #20208 - Remove incorrect docstrings from CLI ls commands by @zzstoatzz in #20206
- Add Claude command frontmatter by @zzstoatzz in #20224
- Enable multi-checker type safety tests with mypy, pyright, and ty by @zzstoatzz in #20159
- Migrate
concurrency/v1from@sync_compatibleto@async_dispatchby @zzstoatzz in #20225 - Migrate
blocks/core.pyfrom@sync_compatibleto@async_dispatchby @devin-ai-integration[bot] in #20226 - Stale item cleanup enhancements by @bdalpe in #20145
- Add plan label to exclude from release notes by @zzstoatzz in #20182
- Auto-label PRs that touch
plans/directory by @zzstoatzz in #20183 - Disable migrations and block registration for multi-worker test by @devin-ai-integration[bot] in #20179
- Fix plan label to only apply when all changed files are in
plans/by @desertaxle in #20207
Documentation ๐
- Add ECS base job template customization guide by @zzstoatzz in #20249
- Fix MDX parsing error in events CLI documentation by @desertaxle in #20252
- Add documentation for
prefect sdk generateCLI by @desertaxle in #20241
Full Changelog: 3.6.10...3.6.11