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 #14898
Bug Fixes ๐
- Allow for null command when building k8s job by @cicdw in #14920
- First order deep merge of flow run overrides with deployment overrides by @cicdw in #14923
- Avoid raising errors on database passwords that contain a
$
character by @desertaxle in #14888
Development & Tidiness ๐งน
- Smoke test
prefect-client
across all supported Python versions by @desertaxle in #14872 - Update 2.x codeowners by @cicdw in #14891
- Docker step caching 2.x by @zzstoatzz in #14894
Integrations & Dependencies ๐ค
- allow passing
stream_output
to dbt tasks by @zzstoatzz in #14866
Full Changelog: 2.20.1...2.20.2