docs/v3/release-notes/oss/version-3-4.mdx
Released on October 23, 2025
Enhancements ➕➕
Bug Fixes 🐞
MemoryLockManager serializable with cloudpickle by @desertaxle in #19246Development & Tidiness 🧹
generate-cli-docs to justfile by @desertaxle in #19245uv and gh as allowed tools for Claude in GitHub Actions by @desertaxle in #19210Documentation 📓
--limit argument documentation by @desertaxle in #19244pydantic-ai data analyst example by @desertaxle in #19209Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.24...3.4.25
Released on October 16, 2025
Enhancements ➕➕
--all flag to prefect automation delete by @zzstoatzz in #19164Experimental 🧪
Bug Fixes 🐞
ProcessPoolTaskRunner when submitting with wait_for by @desertaxle in #19172from_storage and afrom_storage by @zzstoatzz in #19179RunInput.with_initial_data to preserve type annotations by @zzstoatzz in #19176Development & Tidiness 🧹
websocket_connect import in proxy test script by @zzstoatzz in #19161prefect.states exception handlers to async_dispatch by @zzstoatzz in #19170Documentation 📓
prefect-aws==0.6.0 by @desertaxle in #19168build_docker_image accepts all Docker SDK kwargs by @zzstoatzz in #19194Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.23...3.4.24
Released on October 09, 2025
Enhancements ➕➕
prefect api command for direct API access by @chrisguidry in #19131Bug Fixes 🐞
timeout_async context manager by @desertaxle in #19101Development & Tidiness 🧹
Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.22...3.4.23
Released on October 03, 2025
Bug Fixes 🐞
pydantic 2.10 and Python 3.9 and 3.10 by @desertaxle in #19095Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.21...3.4.22
Released on October 02, 2025
Enhancements ➕➕
Bug Fixes 🐞
KeyError when running deployment without parameter schema by @zzstoatzz in #19055PREFECT_CLIENT_CUSTOM_HEADERS JSON string parsing by @zzstoatzz in #19052TTLCache for memory-based CausalOrdering to prevent memory leaks by @desertaxle in #19061application_name setting by @zzstoatzz in #19081Development & Tidiness 🧹
graphviz, bump typer, update lockfile by @zzstoatzz in #19051server.concurrency.initial_lease_timeout to server.concurrency.initial_deployment_lease_duration by @desertaxle in #19085parameter_openapi_schema to valid OpenAPI format by @zzstoatzz in #19072DeploymentCreate.parameter_openapi_schema field Optional by @zzstoatzz in #19089Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.20...3.4.21
Released on September 25, 2025
Enhancements ➕➕
Bug Fixes 🐞
FlowRunCancellingObserver by @desertaxle in #19017pydantic-settings 2.11+ compatibility warnings by @zzstoatzz in #19029Development & Tidiness 🧹
Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.19...3.4.20
Released on September 19, 2025
Enhancements ➕➕
deploy.py into a module by @zzstoatzz in #18925read_active_lease_ids by @zzstoatzz in #18973list_holders_for_limit to ConcurrencyLeaseStorage protocol by @zzstoatzz in #18970Bug Fixes 🐞
set_working_directory to return absolute path by @desertaxle in #18932wait() to monitor all futures concurrently with timeout by @zzstoatzz in #18960Development & Tidiness 🧹
prefect.yaml files by @desertaxle in #18941mdxify explicitly in CI by @desertaxle in #18954Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.18...3.4.19
Released on September 12, 2025
Enhancements ➕➕
Bug Fixes 🐞
FileExistsError in runner temp directory creation by @zzstoatzz in #18864Development & Tidiness 🧹
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.17...3.4.18
Released on September 05, 2025
Bug Fixes 🐞
Distributor and LogDistributor in Prefect API servers by @desertaxle in #18868Development & Tidiness 🧹
--ref flag to trigger OSS testbed image update by @desertaxle in #18863Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.16...3.4.17
Released on September 05, 2025
Enhancements ➕➕
write_path method in RemoteFileSystem to handle SMB UNC paths. by @tom21100227 in #18824Bug Fixes 🐞
.delay() serialization issue by @zzstoatzz in #18849result_async race condition using final state from waiter by @zzstoatzz in #18850git clone fails by @desertaxle in #18845Development & Tidiness 🧹
--refresh-package from mdxify use in api ref gen by @zzstoatzz in #18851Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.15...3.4.16
Released on August 29, 2025
New Features 🎉
Event emission from the command line with prefect event emit
Emit events directly from external systems with the new prefect event emit CLI command. Perfect for triggering deployment runs from CI/CD!
prefect event emit user.logged_in --resource-id user-123
prefect event emit order.shipped --resource-id order-456 --payload '{"tracking": "ABC123"}'
by @zzstoatzz in #18813
Enhancements ➕➕
schedule_after field to RunDeployment action for delayed execution by @chrisguidry in #18801Bug Fixes 🐞
_to_environment_variable_value by @vyagubov in #18817Development & Tidiness 🧹
prefect-aws images when triggered via workflow_call by @desertaxle in #18763ruff from 0.12.8 to 0.12.10 by @dependabot[bot] in #18768prefect-aws release by @desertaxle in #18792uv set up to integration package release by @desertaxle in #18793Documentation 📓
PREFECT_SERVER_EVENTS_CAUSAL_ORDERING to self-hosted docs by @zzstoatzz in #18774profiles_path rendering in settings ref by @rcash in #18772curl by @zzstoatzz in #18809Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.14...3.4.15
Released on August 21, 2025
New Features 🎉
Environment Migration with prefect transfer
Transfer your Prefect setup between backends with a single command! Idempotently migrate work pools, deployments, blocks, variables, and concurrency limits between self-hosted servers and Prefect Cloud.
Parallel task execution with ProcessPoolTaskRunner
This new task runner executes tasks in separate subprocesses and while maintaining run context so you get full observability while running in parallel. A great choice if you need parallelism, but aren't ready to start using dask or ray.
Enhancements ➕➕
count_flow_runs to prefect client by @hanhwanglim in #18713Bug Fixes 🐞
prefect_default notification type by @zzstoatzz in #18720Development & Tidiness 🧹
click by @desertaxle in #18731pre-push hook by @zzstoatzz in #18736Documentation 📓
ProcessPoolTaskRunner docs and ThreadPoolTaskRunner examples by @zzstoatzz in #18734Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.13...3.4.14
Released on August 14, 2025
Bug Fixes 🐞
Documentation 📓
pyproject.toml by @alastairtree in #18689Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.12...3.4.13
Released on August 08, 2025
Bug Fixes 🐞
to_deployment by @zzstoatzz in #18647Development & Tidiness 🧹
Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.11...3.4.12
Released on July 31, 2025
Enhancements ➕➕
uv if available by @desertaxle in #18618Bug Fixes 🐞
Integrations & Dependencies 🤝
prefect-azure
PREFECT_API_AUTH_STRING to secure environment variables for ACI worker by @desertaxle in #18624prefect-aws
PREFECT_API_AUTH_STRING as a secret to ECS tasks by @desertaxle in #18620prefect-dbt
prefect version for prefect-dbt by @desertaxle in #18623prefect-gcp
CloudRunV2Worker for Prefect API key/auth string by @desertaxle in #18594CloudRunWorker for Prefect API credentials by @desertaxle in #18608prefect-kubernetes
Development & Tidiness 🧹
Documentation 📓
mdxify version by @zzstoatzz in #18568--include-inheritance to SDK reference docs builds by @kevingrismore in #18529Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.10...3.4.11
Released on July 22, 2025
Enhancements ➕➕
concurrency context manager to use leases by @desertaxle in #18522concurrency context manager to use leases by @desertaxle in #18535Integrations & Dependencies 🤝
Documentation 📓
PREFECT_API_KEY in ecs guide by @zzstoatzz in #18547Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.9...3.4.10
Released on July 17, 2025
Enhancements ➕➕
Bug Fixes 🐞
pydantic lower pin to 2.10.1 by @desertaxle in #18533Development & Tidiness 🧹
no-commit-to-branch hook to prevent accidental commits to main by @desertaxle in #18504Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.8...3.4.9
Released on July 10, 2025
Enhancements ➕➕
prefect automation create command by @zzstoatzz in #18452Bug Fixes 🐞
pull_steps when no storage on deployment by @zzstoatzz in #18446Integrations & Dependencies 🤝
Development & Tidiness 🧹
Documentation 📓
dbt-core==0.7.1 by @kevingrismore in #18380Uncategorized
RetryFailedFlows orchestration policy to clear retry type on exhausted retries by @desertaxle in #18462dbt_project.yml by @kevingrismore in #18465Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.7...3.4.8
Released on June 26, 2025
Enhancements ➕➕
not_any_ filter for DeploymentFilterId by @zzstoatzz in #18344pause_deployment and resume_deployment client methods by @zzstoatzz in #18336Bug Fixes 🐞
TimeoutError in result_async when accessing results from delay by @zzstoatzz in #18280assets for with_options by @jesse-c in #18353Development & Tidiness 🧹
fetch kwarg from docstring and overloads by @zzstoatzz in #18311Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.6...3.4.7
Released on June 11, 2025
📰 Check out Prefect Assets!
Bug Fixes 🐞
config validation for nested and constrained settings by @zzstoatzz in #18260Development & Tidiness 🧹
Documentation 📓
--no-prompt by @zzstoatzz in #18261Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.5...3.4.6
Released on June 07, 2025
To learn more, register for next week's webinar here!
New Features 💅
Asset + [@materialize](https://github.com/materialize)ing tasks by @jakekaplan in #18230asset.referenced events on materialization only by @jakekaplan in #18252DaskTaskRunner by @jakekaplan in #18241RayTaskRunner by @jakekaplan in #18242Bug Fixes 🐞
occurred in forwarded prefect events by @zzstoatzz in #18226prefect-redis: fix min group id and deprecation warning by @zzstoatzz in #18215Development & Tidiness 🧹
uv sync -U by @zzstoatzz in #18251Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.4...3.4.5
Released on May 29, 2025
Enhancements ✨
Bug Fixes 🐞
CancellationCleanup service by @chrisguidry in #18158None metadata in prefect version by @zzstoatzz in #18190extra_hosts kwarg by @zzstoatzz in #18192Development & Tidiness 🧹
from_template_and_values from ECS worker by @kevingrismore in #18201Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.3...3.4.4
Released on May 22, 2025
Enhancements ➕➕
Bug Fixes 🐞
AttributeError during equality check after args/kwargs deletion by @zzstoatzz in #18110Development & Tidiness 🧹
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.2...3.4.3
Released on May 19, 2025
Enhancements ➕➕
[@classmethod](https://github.com/classmethod) and [@staticmethod](https://github.com/staticmethod) flows by @vyagubov in #18065Bug Fixes 🐞
RedisLockManager picklable for Ray/Dask compatibility by @zzstoatzz in #18018PREFECT_TASK_DEFAULT_RETRY_DELAY_SECONDS by @zzstoatzz in #18043Integrations & Dependencies 🤝
jsonschema lower bound to 4.18+ by @zzstoatzz in #18036uuid7 implementation by @desertaxle in #18046prefect-kubernetes
kopf scanning for prefect-kubernetes observer by @desertaxle in #18013prefect-docker
prefect-shell
prefect-shell by @zzstoatzz in #18002Development & Tidiness 🧹
prefect-client smoke tests against local server by @desertaxle in #18067Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.1...3.4.2
Released on May 08, 2025
This release also ships with version 0.6.0 of prefect-kubernetes, featuring a revamped Kubernetes worker. The updated worker is more stateless, providing improved resiliency, enhanced event emission, and better crash detection capabilities. See #18004 for more details.
Enhancements ➕➕
ANDed related resources in queries and triggers by @chrisguidry in #18003Runner to receive cancellation signals via websocket by @desertaxle in #17973flow.submit to be non-blocking for some infrastructure types by @desertaxle in #17992Bug Fixes 🐞
Runner to use a long-lived EventsClient by @desertaxle in #17986FileNotFoundError in find_uv_bin by @zzstoatzz in #17993Integrations & Dependencies 🤝
Development & Tidiness 🧹
.with_options when used with a classmethod flow by @vilhenad in #17647Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.4.0...3.4.1
Released on May 02, 2025
This release removes the deprecated flow run notifications feature. Existing notification policies will be automatically migrated to automations when the server starts after upgrading. Notifications will continue to work as expected—no user action is required.
Enhancements ➕➕
git_clone pull step by @kevingrismore in #17933flow.deploy() by @kevingrismore in #17966Bug Fixes 🐞
wait_for_flow_run by @zzstoatzz in #17930parameters validator to DeploymentCreateFlowRun by @zzstoatzz in #17938ConcurrentTaskRunner, wait_for, and tag concurrency limits by @zzstoatzz in #17943extra="forbid" config on WorkPoolStorageConfiguration by @desertaxle in #17960Development & Tidiness 🧹
uv.lock and fix ECS provisioner test errors by @desertaxle in #17928logfire dependency group for performance exploration by @zzstoatzz in #17860astral-sh/setup-uv from 5 to 6 by @dependabot in #17906whenever requirement from <0.8.0,>=0.7.3 to >=0.7.3,<0.9.0 by @dependabot in #17962prefect-client by @desertaxle in #17967<24.3,>=21.3 to >=21.3,<25.1 by @dependabot in #17871Documentation 📓
Full Changelog: https://github.com/PrefectHQ/prefect/compare/3.3.7...3.4.0