2.20.2
版本发布时间: 2024-08-16 02:20:38
PrefectHQ/prefect最新发布版本:3.0.0rc20(2024-08-30 02:00:42)
2.20.2: Save the Environment (Variables)
This release contains many bug fixes and small enhancements; two that I want to highlight are:
-
a fix to
KubernetesJob.publish_as_work_pool
: this method helps users migrate from agents to workers by exposing a method to convert an infrastructure block to a structured work pool. Work Pools allow for better governance of infrastructure, and will be easier to observe and audit than agents. - a fix to how environment variables on work pools are handled: specifically, users who provided per-flow-run environment variable overrides found that any other environment variables explicitly set on their work pool or deployment were being removed. This fix ensures that all environment variable configuration is carefully merged, preventing the loss of any variables at runtime.
New Features 🎉
- Flow version in runtime by @zzstoatzz in https://github.com/PrefectHQ/prefect/pull/14898
Bug Fixes 🐞
- Allow for null command when building k8s job by @cicdw in https://github.com/PrefectHQ/prefect/pull/14920
- First order deep merge of flow run overrides with deployment overrides by @cicdw in https://github.com/PrefectHQ/prefect/pull/14923
- Avoid raising errors on database passwords that contain a
$
character by @desertaxle in https://github.com/PrefectHQ/prefect/pull/14888
Development & Tidiness 🧹
- Smoke test
prefect-client
across all supported Python versions by @desertaxle in https://github.com/PrefectHQ/prefect/pull/14872 - Update 2.x codeowners by @cicdw in https://github.com/PrefectHQ/prefect/pull/14891
- Docker step caching 2.x by @zzstoatzz in https://github.com/PrefectHQ/prefect/pull/14894
Integrations & Dependencies 🤝
- allow passing
stream_output
to dbt tasks by @zzstoatzz in https://github.com/PrefectHQ/prefect/pull/14866
Full Changelog: https://github.com/PrefectHQ/prefect/compare/2.20.1...2.20.2