This release builds on 2.10 to further improve the experience of setting up and deploying from a prefect project. 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. We will continue to enhance the deployment experience as we receive feedback, so please keep it coming!
This release also includes a critical fix for Prefect logs that were sometimes delayed in being sent to the API.
Enhancements
- Rename
__root_path__
to__development_base_path__
— #9136 - Include flow run and flow as related resources when emitting events via the events worker — #9129
- Cloud storage recipe improvements — #9145
- Use new sessions and transactions for each query during
CancellationCleanup
— #9124 - Stream
git
output duringgit_clone_project
— #9149 - Update deployment defaults with project init — #9146
- Mock runtime via environment variable — #9156
- Wire up scheduling kwargs to deploy CLI — #9176
- Add deployment and flow filters to
/artifacts/filter
and/artifacts/latest/filter
routes — #9089 - Add
/artifacts/latest/count
route — #9090 - add flow run to task run logging — #9170
- Add pragma statements automatically if sqlite — #9169
- Improved recipe initialization UX — #9158
Fixes
- Update
prefect deploy
to pullflow_name
andentrypoint
from deployment.yaml if specified — #9157 - Fix bug where non-zero status codes would be reported when deployed flow runs paused or failed — #9175
- Hide command when access token is provided and
git_clone_project
fails — #9150 - Fix bug where log worker only sent logs to API on flush rather than on an interval — #9180
- Fix apply artifact collection filter — #9153
Documentation
- Adds artifacts to api-ref — #9143
- Expands upon project step documentation — #9151
- small project doc fixes — #9161
Collections
- add prefect-spark-on-k8s-operator to integrations catalog list. — #9029
Contributors
All changes: 2.10.2...2.10.3