Repository navigation
Enhancements ➕➕
- Speed up event trigger matching by indexing exact related-resource names by @chuqCTC in #23323
- Edit all parameters as JSON when copying a run to a new run by @devin-ai-integration in #23861
- Add
prefect.runtime.get_logger()for logging inside and outside Prefect runs by @devin-ai-integration in #24019 - Support non-root users in the official Docker image by @devin-ai-integration in #24027
- Edit
RRULEschedules in the V2 schedule dialog by @devin-ai-integration in #24012 - Add Quick Run and Custom Run to the flow's Deployments tab by @Babyy-dev in #24015
- Append
worker_idandworker_nameto self-hosted flow run log CSV exports for a total of seven columns; update readers that unpack five positional fields to read by header — by @devin-ai-integration in #24022 - Resolve API route dependencies on the event loop; custom FastAPI apps that mount Prefect routers directly should key overrides on async variants such as
aprovide_database_interface,aget_created_by, andprovide_worker_lookups. Apps built withcreate_apporcreate_api_appare unaffected thanks to #24091 — by @fatih-acar in #23279 - Use route names for OpenAPI operation IDs; regenerate REST clients from the updated schema — by @devin-ai-integration in #24010
Bug Fixes 🐞
- Run database vacuum tasks one at a time on the maintenance pool by @ShikhJohari in #23742
- Support opt-in aggregation of nested collections of states when determining a final run state by @Nacl-HCl in #23474
- Keep the client transition ID on states substituted by rejecting rules by @devin-ai-integration in #23977
- Acquire SQLite write lock up front for worker heartbeats by @devin-ai-integration in #23953
- Recover
TaskRunWaiterwhen its events subscription ends by @devin-ai-integration in #23628 - Keep mixed day-and-time
IntervalSchedulerefills aligned with the original series across daylight saving time changes by @devin-ai-integration in #23731 - Stop concurrent requests from invalidating each other's CSRF tokens by @yukiyan in #23667
- Apply V2 color modes to state colors by @zzstoatzz in #23804
- Stop pointing users at removed
prefect agent startforprefect-agentpools by @devin-ai-integration in #24014 - Only initialize Amplitude in UI v2 when server analytics are enabled by @devin-ai-integration in #24052
- Stop Escape from opening the flow run graph in fullscreen by @burrows99 in #24046
- Keep inline event flushes alive when the database raises
CancelledErrorby @devin-ai-integration in #24033 - Substitute variable and inline block placeholders in a single pass by @devin-ai-integration in #24031
- Begin SQLite write transactions up front when services and resume set run states by @mansur-akhmadi in #23979
- Preserve values for untyped parameters in V2 schema forms by @devin-ai-integration in #24054
- Don't wait for service creation in
QueueService.drain_allby @devin-ai-integration in #24049 - Reject negative
--limitand--offsetvalues in CLI list commands by @DanShinde in #24042 - Show every tag inline when the last tag is narrower than the overflow counter by @burrows99 in #24045
- Stop the async flow engine from blocking its event loop on the suspension observer by @fatih-acar in #23274
- Honor async flow engine overrides of
setup_flow_run_suspension_request()by @devin-ai-integration in #24090 - Require
key=valuefor--paramand--job-variablearguments toprefect deployment run; add the equals sign to existing commands that omit it — by @harshit3355 in #24035 - Exceptions that escape the flow engine outside user code now end the flow run in
Crashedby @devin-ai-integration in #23679 - Paused deployment schedules stay paused on redeploy instead of being reactivated by @dayan02dev in #23869
- Reject nonpositive
INTERVALvalues onRRULEorEXRULEdeployment schedule writes with HTTP 422; existing schedules with invalid intervals remain readable and replaceable — by @devin-ai-integration in #24080 - Creating or updating a tag-based concurrency limit with a negative value is now rejected by @DanShinde in #24041
Integrations & Dependencies 🤝
- Refresh the Python and UI dependency lockfiles by @gaker in #24020
- Support
websockets17 inprefectandprefect-clientby @prefect-renovate in #24067 - Widen the
cachetoolsrange to>=5.3,<9forprefectandprefect-clientby @devin-ai-integration in #24079
Development & Tidiness 🧹
- Fix
ReactiveTriggersstop race during startup by @devin-ai-integration in #24021 - Fix flaky
test_keeps_polling_while_setup_hangsobserver test by @devin-ai-integration in #23950 - Fix flaky subscriber setup cancellation tests by @devin-ai-integration in #23881
- Read repository-hosted block logos from the local checkout in
BlockStandardTestSuiteby @devin-ai-integration in #24073 - Fix flaky
Retry-Aftersleep assertions in concurrency service tests by @devin-ai-integration in #24040 - Fix flaky artifacts empty-state and concurrency limits E2E tests by @devin-ai-integration in #23951
- Fix flaky
test_gracefully_handles_errors_during_changesby @devin-ai-integration in #24092 - Stabilize worker cleanup lease-deadline tests by @devin-ai-integration in #24093
- Fix flaky
test_create_schedule_respects_max_future_timeby @devin-ai-integration in #24075 - Reduce state cross-products in orchestration rule tests by @devin-ai-integration in #24007
- Store text files with LF line endings by @gaker in #24023
- Trim redundant test matrices and fix a V1 concurrency mock test by @devin-ai-integration in #24074
- Add regression tests for
TagBadgeGroupoverflow by @devin-ai-integration in #24084 - Trim orchestration policy and schedule tests and delete same-file duplicates by @devin-ai-integration in #24082
Documentation 📓
- Document
registry_credentialsfor the Kubernetes worker by @polwayne in #23852 - Fix dead worker and Docker networking links by @farisbasha in #23954
- Clarify completed runs, concurrency leases, and automation retries by @devin-ai-integration in #23997
- Explain how ACLs and workspace roles combine in Prefect Cloud by @zangell44 in #24028
- Document that paused schedules stay paused on redeploy by @devin-ai-integration in #24076
- Document the minimum
RRULEinterval of1on create and update by @devin-ai-integration in #24081 - Announce that the V1 UI remains available in 3.9.5 and will be removed in Prefect 3.10 — by @devin-ai-integration in #24072
Full Changelog: 3.9.4...3.9.5