3.3.7 - Model Behavior
Released on April 28, 2025 Enhancements ➕➕ Bug Fixes 🐞- Fix errors in
task-run ls
CLI by @desertaxle in #17903 - Fix
human_friendly_diff
when used with offset timezone by @zzstoatzz in #17927 - Fix scheduled run execution via
prefect-client
and add smoke test by @desertaxle in #17920
3.3.6 - One flow, many roads
Released on April 24, 2025 Direct submission of workflows to dynamic infrastructure is in beta! We’re pleased to announce the beta release of new infrastructure decorators enabling the submission of workflows directly to dynamic infrastructure. This feature enables you to easily execute workflows on various infrastructure environments without the need for multiple deployments or managing persistent workers. This simplifies workflow definitions and enhances portability. Here’s a small example of the new@kubernetes
decorator in action:
- Add option to serve all tasks in a module by @zzstoatzz in #17858
- feat: Add support for a new
resolve_futures_to_results
function by @Andrew-S-Rosen in #17869 - Add global concurrency id to the create and update route for deployments by @cbelsole in #17826
- Add
submit
method to infrastructure-bound flows by @desertaxle in #17896 - Add deployment version info to
prefect deploy
by @kevingrismore in #17466 - Add infrastructure decorators by @desertaxle in #17863
- Link submitted flows to their parent flow by @desertaxle in #17894
- Add
@docker
decorator by @desertaxle in #17878 - Add
with_options
implementation toInfrastructureBoundFlow
by @desertaxle in #17900
- Update
pydantic-settings
version pin by @desertaxle in #17853 - Propagates the currently triggering event (if any) for composite triggers by @chrisguidry in #17854
- Polishes the experience with inferring versioning by @chrisguidry in #17901
- Fix warning on reconnect by @mslavoshevskii in #17876
- Move decorated function discovery out of the cli by @zzstoatzz in #17840
- Add initial documentation for submitting workflows directly to dynamic infrastructure by @desertaxle in #17861
- Fix dead integration link by @zzstoatzz in #17831
- Nginx sample config + note about client API key/auth string precedence by @ColinMaudry in #17810
3.3.5 - Don’t block, just commit
Released on April 17, 2025 Enhancements ➕➕- Add async interface for transactions by @desertaxle in #17794
- Use platform-independent method in telemetry instrumentation by @zzstoatzz in #17824
- Respect auth for websockets by @zzstoatzz in #17741
- Fixes
Runner
command handling for Windows by @desertaxle in #17839
- Fix null
Scheduling
case in Vertex worker by @kevingrismore in #17835 - Update @prefecthq/prefect-design to version 2.14.23 by @marvin-robot in #17845
- Update @prefecthq/prefect-ui-library to version 3.12.1 by @marvin-robot in #17847
- Improve schema and documentation generation pre-commit steps by @zzstoatzz in #17800
- Fix typing errors by @zzstoatzz in #17841
- Add default version when the version cannot be found by @teocns in #17802
- Update background tasks docs and add guide by @zzstoatzz in #17783
- Update
prefect:managed
docs by @jakekaplan in #17808 - Quickstart docs by @aaazzam in #17726
- Update deployment and remote code storage docs by @zzstoatzz in #17819
- Add terraform example for deployment trigger by @parkedwards in #17829
- Update sync/async example in
prefect-slack
by @zzstoatzz in #17832 - Clean up dbt integration docs by @kevingrismore in #17838
- Add experimental bundle steps for Azure Blob Storage by @desertaxle in #17825
- Add
.submit
method toBaseWorker
by @desertaxle in #17828 - Add
InfrastructureBoundFlow
class andbind_flow_to_infrastructure
function by @desertaxle in #17833 - Add CLI to configure GCS storage for a work pool by @desertaxle in #17836
- Add CLI to configure Azure Blob Storage for a work pool by @desertaxle in #17837
3.3.4 - Support for 3.13 in All Integrations - A Triskaidekaphobe’s Worst Nightmare
Released on April 11, 2025 Enhancements ➕➕- Added support for embedding image in mail by @lavishkhandelwal in #17790
- allow configuring
RecentDeploymentScheduler
loop interval by @zzstoatzz in #17795
- Avoid deleting runs where execution has been attempted or are past their scheduled start date by @desertaxle in #17769
- Update event occurred + related resource indexes for Postgres by @desertaxle in #17731
- Fix readiness_result type to match expected Process type by @Igort4 in #17771
- deprecate runner webserver machinery by @zzstoatzz in #17775
- Only prompt to save if file does not exist by @cicdw in #17519
- update classifiers and matrix generation for integrations 3.13 support by @zzstoatzz in #17791
- avoid unexpected pre-commit diffs from local to CI by @zzstoatzz in #17779
- Update @prefecthq/prefect-ui-library to version 3.11.55 by @marvin-robot in #17786
- Update @prefecthq/prefect-ui-library to version 3.12.0 by @marvin-robot in #17801
- Add GCS bundle upload and execute steps by @desertaxle in #17781
3.3.3 - Where were you at midnight UTC on January 1st, 1 AD?
Released on April 05, 2025 Includes a fix for a bug loading the flow run graph caused by an incorrect timezone-naive default. Enhancements ➕➕ Bug Fixes 🐞prefect-dask
: fix stringcluster_class
instantiation by @zzstoatzz in #17737- Include timezone in default
since
value for flow run graph v2 endpoint by @desertaxle in #17747
- Add deployment branch schemas and client methods by @zangell44 in #17715
3.3.2 - Just Pumping My GitHub Stats Again
Released on April 03, 2025 Bug Fixes 🐞- Update
Cron
day_or
default to matchcroniter
default by @desertaxle in #17675 - Use platform independent datetime in
prefect version
by @zzstoatzz in #17692 - Fix
redis
locking by @zzstoatzz in #17679 - fix improper reuse of client context in new thread by @zzstoatzz in #17719
- Fix
pydantic
deprecation warnings by @zzstoatzz in #17698 - Bumps Jinja2 to address CVE-2025-27516 by @chrisguidry in #17697
- use official
uv
lock pre-commit by @zzstoatzz in #17662 - update
self.model_fields
->type(self).model_fields
by @zzstoatzz in #17681 - chore(deps): bump helm/kind-action from 1.8.0 to 1.12.0 by @dependabot in #17395
- update pin for
prefect-ray
by @zzstoatzz in #17680 - switch to stdlib datetime by @zzstoatzz in #17694
- Omit UI routes from the REST API reference docs by @desertaxle in #17716
- Update README with new community and contribution details by @radhigulati in #17706
- Includes
Deployment
versioning info in flow run execution event by @chrisguidry in #17701 - Add version and branching info to
DeploymentCreate
andDeploymentUpdate
by @zangell44 in #17711
3.3.1
Released on April 01, 2025 Alleviates a potential errorValueError: Must provide start_date as a datetime
caused by changes to deprecation utils in #17577.
Enhancements ➕➕
Bug Fixes 🐞
- Fixes class instance tasks and flows when called directly on a class by @desertaxle in #17660
- Update
DaskTaskRunner
to lazily load the Dask client by @desertaxle in #17648 - handle
targeted_retries=0
inrun_dbt_cloud_job
by @zzstoatzz in #17663 - temporarily allow
str
ordatetime
forgenerate_deprecation_message
by @zzstoatzz in #17671
- Add logic to handle cancel_scope None by @cicdw in #17659
- include 3.13 tags in matrix by @zzstoatzz in #17666
- chore(prefect-client): allow indefinite retries during maintenance by @parkedwards in #17667
3.3.0 - Whenever, wherever
Released on March 31, 2025 We’re excited to announce Python 3.13 support! To accommodate Python 3.13, we’ve switched frompendulum
to whenever
for handling date/time functionality. This change currently applies only when installing prefect
with Python 3.13; environments using Python 3.12 and below will continue using pendulum
. We plan to fully transition to whenever for all Python versions in a future release.
Additionally, this release cleans up deprecated features whose deprecation periods have ended. For detailed information on removed functionalities, see #17632.
Enhancements ➕➕
- Add Python 3.13 support by @desertaxle in #17577
- Remove extra
getattr
calls invisit_collection
forpydantic
objects by @zzstoatzz in #17636 - Handle all
emit_event
errors and log them by @cicdw in #17658 - Update UI file permissions by @happysalada in #17644
- Explicitly disallow async rollback hooks until supported by @zzstoatzz in #17638
- Remove code past its marked deprecation date by @desertaxle in #17632
- Update @prefecthq/prefect-ui-library to version 3.11.54 by @marvin-robot in #17640
- Update rich requirement from
<14.0,>=11.0
to>=11.0,<15.0
by @dependabot in #17651
- Fix broken link in docs for settings reference documentation by @rcash in #17639
- Fix Google Cloud run worker guide link by @rcash in #17642