Skip to content

Releases: PrefectHQ/prefect

Weekly Release Candidate 3.0.0rc13

26 Jul 17:38
530521d
Compare
Choose a tag to compare
Pre-release

What's Changed

Development & Tidiness 🧹

Uncategorized

New Contributors

Full Changelog: 3.0.0rc12...3.0.0rc13

Weekly Release Candidate 3.0.0rc12

25 Jul 18:00
d077fcb
Compare
Choose a tag to compare
Pre-release

What's Changed

Enhancements

Fixes

Documentation

Uncategorized

New Contributors

Full Changelog: 3.0.0rc11...3.0.0rc12

2.19.9: Sync or Swim

25 Jul 19:12
0e5fa90
Compare
Choose a tag to compare

This PR continues Prefect's 2.0 lineage as we prepare for a major 3.0 release. This release is particularly special with respect to 3.0 as it adds warnings to APIs or interfaces that will need updating in 3.0.

There are many internal APIs in Prefect that can be run both synchronously and asynchronously depending on the runtime context in which they are called. If you've ever encountered the error AttributeError: 'coroutine' object has no attribute when loading a Block then you know what I'm referring to. In 3.0 we have updated the internal logic for switching between synchronous/asynchronous modes in an attempt to provide clearer guidelines and improved performance.

If you ever encounter such an error, you can now use the special _sync keyword argument to explicitly enforce the mode of execution you'd prefer:

my_block = Block.load("example/block", _sync=True)

my_block = await Block.load("example/block", _sync=False)

When this kwarg is not provided, Prefect makes an educated guess as to whether a coroutine should be returned to await or whether to run the logic synchronously on your behalf.

New Features 🎉

Bug Fixes 🐞

Development & Tidiness 🧹

Full Changelog: 2.19.8...2.19.9

Weekly Release Candidate 3.0.0rc11

18 Jul 13:03
6604ec9
Compare
Choose a tag to compare
Pre-release

What's Changed

Exciting New Features 🎉

Enhancements

Fixes

Documentation

Integrations

  • Use correct paths in GcsBucket.put/get_directory by @rooperuu in #14432
  • Depend on Cloud Run Execution state for timeout enforcement by @kevingrismore in #14497
  • Made Azure ACI infra names consistent regardless of flow name length by @bjorhn in #14333

New Contributors

Full Changelog: 3.0.0rc10...3.0.0rc11

Release 2.19.8

11 Jul 18:29
478e89d
Compare
Choose a tag to compare

Release 2.19.8

Enhancements

  • Allow loading flows from an entrypoint when dependencies are missing — #14548

Fixes

  • Handle join edge case in ParameterTypeError.from_validation_error#14420
  • Respect --ui/--no-ui flag on prefect server start#14520
  • Append task run futures only when entering task run engine from flow run context — #14439

Integrations

  • Depend on Cloud Run Execution state for timeout enforcement 2.x — #14554
  • Handle case where AwsClientParameters is a dict#14438
  • Added print_func for run_namespaced_job#14463
  • Use correct paths in GcsBucket.put/get_directory#14537
  • Cache Kubernetes client — #14535

New Contributors

Release 3.0.0rc10

03 Jul 18:41
200cf21
Compare
Choose a tag to compare
Release 3.0.0rc10 Pre-release
Pre-release

What's Changed

Enhancements

  • Prompt user to set PREFECT_API_URL when starting server if not set — #14294
  • Emit task run urls when creating/submitting background tasks — #14407
  • Support nested tasks in flow run graph — #14271
  • Infer task result persistence from other settings — #14336
  • Improve cancellation of submitted task runs in interactive flow runs — #14383

Fixes

  • Remove terminal warning when deploying with triggers with prefect deploy#14307
  • Fix prefect deploy breaks using a trigger with within#14338
  • Allow passing custom timeout exception type to disambiguate — #14352
  • Fix flow run timeline event dots not being interactive — #14357
  • Fix error when returning from task and flows with cache_result_in_memory=False#14359
  • Handle multi-line dynamic flow names — #14380
  • Change default for BitBucketCredentials URL field — #13302
  • Fixes bug where assignments inside functions are evaluated when running prefect deploy#14405
  • Handle join edge case in ParameterTypeError.from_validation_error#14419
  • Fix error in flow-run CLI log printing and escape special characters — #14469
  • Save absolute paths with no block IDs by default — #14355
  • Resolve two log injection security alerts — #14373
  • Remove unnecessary fields on result schemas — #14362
  • Correct our Cloud UI URL inference for Prefect development environments — #14367
  • Fix clicking "parent flow run" from a flow run with a grandparent navigates to the grandparent — #14471

Documentation

  • Improve formatting of output and update links — #14335
  • Fix broken links and removes extra divs — #14342
  • Update button in docs to Enterprise from Custom — #14344
  • Update workspaces docs — #14350
  • Fix indentation and invalid trigger spec. — #14351
  • Update screenshots for Cloud docs other than workspaces — #14354
  • Point to main for migration script in upgrade doc — #14365
  • Refactor and reorganize the 3.0 docs in the Deploy section — #14313
  • Add more direct recommendations to worker upgrade guide — #14395
  • Minor edits to "upgrade to Prefect 3" doc — #14411
  • Update import path for for run_deployment in docs code examples — #14424
  • Refresh Deployment overview and add note on run_deployment sdk use — #14425
  • Add vale style guide for manual linting and updates docs to remove style guide errors — #14421
  • Update deferred tasks example — #14436
  • Update result documentation — #14394
  • Add more docs style improvements from Vale — #14454
  • Update Prefect 3 upgrade page to include database migration — #14468
  • Update validator usage for pydantic 2 in RunInput examples — #14473
  • Add upgrade to Prefect 3 Guide — #14237
  • Remove unnecessary code group from upgrade guide — #14314
  • Simplify schedules page — #14315
  • Finalize results doc — #14460
  • Cleanup contribution docs — #14398
  • Cleanup audit logs page — #14372
  • Improve manage accounts documentation titles — #14381
  • Update README — #14326
  • Improve landing page documentation — #14316
  • Update logged example flow to use wait on future not on task — #14317
  • Update configuring profiles and settings documentation — #14339

UI

All changes: 3.0.0rc9...3.0.0rc10

Release 2.19.7

28 Jun 16:28
60f0512
Compare
Choose a tag to compare

Fixes

  • Fix bug where assignments inside functions are evaluated when running prefect deploy - #14403
  • Allow uvicorn>0.29.0 - #14370

Documentation

  • Add Prefect 3 announcement bar to 2.x docs - #14248
  • Update Prefect intro in 2.19.x docs - #14376
  • Update docs edit pencil icon link to route to 2.x branch in GitHub - #14378

All changes: 2.19.6...2.19.7

Release 3.0.0rc9

24 Jun 21:54
b75631a
Compare
Choose a tag to compare
Release 3.0.0rc9 Pre-release
Pre-release

What's Changed

Fixes

Documentation

Uncategorized

New Contributors

Full Changelog: 3.0.0rc8...3.0.0rc9

Release 2.19.6

24 Jun 15:24
9d938fe
Compare
Choose a tag to compare

Enhancements

  • Enable deploying from local paths with Flow.deploy - #13981

Fixes

  • Fix concurrency timeout scoping - #14183
  • Fix deployment and work queue statuses - #14097
  • Fix resolution of block documents in job_variables in a prefect.yaml before saving server-side - #14156

Documentation

  • Fix typo in Cloud Run V2 worker navigation link - #14170

Full Changelog: 2.19.5...2.19.6

Nightly Release Candidate 3.0.0rc8

22 Jun 08:02
883fcb0
Compare
Choose a tag to compare
Pre-release

What's Changed

Enhancements

Fixes

Documentation

  • Update install instructions for remaining integration libraries by @discdiver in #14215

Uncategorized

Full Changelog: 3.0.0rc7...3.0.0rc8