Prefect

Latest version: v3.1.4

Safety actively analyzes 681748 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 29 of 59

2.10.7

Not secure
This release combines the previously separate flows and deployments UI pages into a single, holistic page that brings together information about flows and deployments, as well as recent and upcoming runs. You can now see the state of the most recent flow run for each flow and deployment, giving you a snapshot of the status of your workspace. In addition, you can now filter deployments by whether their schedule is active and the work pool to which flow runs are submitted. This release also introduces the new `on_crashed` hook for flows, allowing you to add client-side hooks that will be called when your flow crashes. This is useful for cases where you want to execute code without involving the Prefect API, and for custom handling on `CRASHED` terminal states. This callable hook will receive three arguments: `flow`, `flow_run`, and `state`.

Check out the [release notes](https://github.com/PrefectHQ/prefect/pull/9445) for more details.

2.10.6

Not secure
This release focuses on enhancing the deployment experience and streamlining project setup. You can now deploy multiple flows simultaneously using the improved `deployment.yaml` file. This release also features better run restart behavior, ensuring smooth transitions in various situations. Additional improvements include support for recursive flow calls, concurrent runs of the same flow, and several UI and CLI refinements. We've also enriched our documentation with an informative tutorial on developing custom workers. This release incorporates a critical fix for logs, addressing occasional delays in sending them to the API.

Check out [the release notes](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2106) for more details.

2.10.5

Not secure
This release includes some new features, such as a worker for each major cloud provider: a CloudRunWorker, ECSWorker, and AzureContainerWorker! 🎉 We're also releasing a new GitHub Action allowing you to automate the build process for deployments orchestrated by Prefect Cloud.

We've also included a number of enhancements, such as a widened flow run graph and `Details` tab on the Flow Runs page in the UI, a documentation refactor to provide more intuitive docs navigation, and much more!

Check out the [release notes](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2105) for more details.

2.10.4

Not secure
This release further refines Prefect 2.10 with enhancements for [project deployments](https://docs.prefect.io/latest/concepts/projects/#the-deployment-yaml-file) and [workers](https://docs.prefect.io/latest/concepts/work-pools/#worker-overview), fixes for flow run cancellation and the worker CLI, and more.

Check out [the release notes](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2104) for full details.

2.10.3

Not secure
This release builds on 2.10 to further improve the experience of setting up and deploying from [a prefect project](https://docs.prefect.io/latest/tutorials/projects/). In particular, initializing a project with a recipe now starts an interactive CLI experience that guides you to a correct setup. This experience can be avoided for programmatic initialization by providing all required fields for the recipe via CLI. For more information, see [the project documentation](https://docs.prefect.io/latest/concepts/projects/). We will continue to enhance the deployment experience as we receive feedback, so please keep it coming!

This release also includes [a critical fix](https://github.com/PrefectHQ/prefect/pull/9180) for Prefect logs that were sometimes delayed in being sent to the API.


Enhancements
- Rename `__root_path__` to `__development_base_path__` — https://github.com/PrefectHQ/prefect/pull/9136
- Include flow run and flow as related resources when emitting events via the events worker — https://github.com/PrefectHQ/prefect/pull/9129
- Cloud storage recipe improvements — https://github.com/PrefectHQ/prefect/pull/9145
- Use new sessions and transactions for each query during `CancellationCleanup` — https://github.com/PrefectHQ/prefect/pull/9124
- Stream `git` output during `git_clone_project` — https://github.com/PrefectHQ/prefect/pull/9149
- Update deployment defaults with project init — https://github.com/PrefectHQ/prefect/pull/9146
- Mock runtime via environment variable — https://github.com/PrefectHQ/prefect/pull/9156
- Wire up scheduling kwargs to deploy CLI — https://github.com/PrefectHQ/prefect/pull/9176
- Add deployment and flow filters to `/artifacts/filter` and `/artifacts/latest/filter` routes — https://github.com/PrefectHQ/prefect/pull/9089
- Add `/artifacts/latest/count` route — https://github.com/PrefectHQ/prefect/pull/9090
- add flow run to task run logging — https://github.com/PrefectHQ/prefect/pull/9170
- Add pragma statements automatically if sqlite — https://github.com/PrefectHQ/prefect/pull/9169
- Improved recipe initialization UX — https://github.com/PrefectHQ/prefect/pull/9158

Fixes
- Update `prefect deploy` to pull `flow_name` and `entrypoint` from deployment.yaml if specified — https://github.com/PrefectHQ/prefect/pull/9157
- Fix bug where non-zero status codes would be reported when deployed flow runs paused or failed — https://github.com/PrefectHQ/prefect/pull/9175
- Hide command when access token is provided and `git_clone_project` fails — https://github.com/PrefectHQ/prefect/pull/9150
- Fix bug where log worker only sent logs to API on flush rather than on an interval — https://github.com/PrefectHQ/prefect/pull/9180
- Fix apply artifact collection filter — https://github.com/PrefectHQ/prefect/pull/9153

Documentation
- Adds artifacts to api-ref — https://github.com/PrefectHQ/prefect/pull/9143
- Expands upon project step documentation — https://github.com/PrefectHQ/prefect/pull/9151
- small project doc fixes — https://github.com/PrefectHQ/prefect/pull/9161

Collections
- add prefect-spark-on-k8s-operator to integrations catalog list. — https://github.com/PrefectHQ/prefect/pull/9029

Contributors
* tardunge made their first contribution in https://github.com/PrefectHQ/prefect/pull/9029

**All changes**: https://github.com/PrefectHQ/prefect/compare/2.10.2...2.10.3

2.10.2

Not secure
Fixes a bug where deployments were not downloaded from remote storage blocks during flow runs.

See the [release notes](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2102) for details — don't forget to take a look at all the exciting 2.10 features.

Page 29 of 59

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.