Skip to content

Release 2.16.4

Compare
Choose a tag to compare
@zhen0 zhen0 released this 14 Mar 21:22
· 1890 commits to main since this release
e3e7df9

Release 2.16.4

Flow Run Graph updates

The Flow Run Graph has been updated to display additional layers of information! Interactive and real-time state changes and artifacts are now visible in context on the graph.

The Prefect flow run graph

These new layers are available for opt-in usage via the PREFECT_EXPERIMENTAL_ENABLE_ARTIFACTS_ON_FLOW_RUN_GRAPH and PREFECT_EXPERIMENTAL_ENABLE_STATES_ON_FLOW_RUN_GRAPH settings.

Agents

A year ago, we released workers as a replacement for agents. Workers significantly enhance the experience of deploying flows and simplify the specification of each flow's infrastructure and runtime environment.

With this release we are adding a six month (September 14) deprecation warning to agents and related concepts. Please note that:

  • Deprecation will not impact or break any work running with agents and agent-related concepts - although we encourage users to upgrade to workers because they provide a better deployment experience, you can continue to use existing agents and related concepts after deprecation
  • After September 14, Prefect Cloud users will not be able to create new agent work pools or infrastructure blocks
  • After September 14, new minor versions of the Prefect Python package will not include agents

Like agents, workers support creating deployments through the Prefect CLI and through Python, but require different syntax. For more information, please refer to the Upgrade from Agents to Workers guide.

Enhancements

  • Give better client-side feedback on websocket authT/authZ issues - #12221
  • Allow table artifact cells to render markdown content - #2190
  • Add an 'AzureBlobStorageContainer' block - #139
  • API for task run counts by state - #12244
  • Improved UI handling of custom flow run states. Badges for a state with a custom name will now more closely resemble their underlying state - PrefectHQ/prefect-ui-library#2210 and PrefectHQ/prefect-ui-library#2208

Fixes

  • Fix support for legacy schedule in build_from_flow - #12257
  • Remove extra field from create endpoints - #12240
  • Prevent invalid link problem for prefect deployment run - #12267
  • Hydrate run input when resuming a flow run - #12259
  • Fix state select in notifications #2216
  • Adds porting of network configuration to generated base job templates #392

Experimental

  • Expose serve method on tasks - #12239
  • Avoid relative module path problem with subscription keys - #12227

Deprecations

  • Deprecate PrefectAgent and prefect agent command group - #12273
  • Deprecate Infrastructrue blocks - #12282
  • Deprecate Deployment class and deployment build and apply commands - #12283
  • Deprecate the packaging module - #12291
  • Deprecate storage blocks with implementations in Prefect integration packages - #12299
  • Do not create default-agent-pool in empty state server - #12214

Typing

  • Refactor: Inject Client - #12258
  • Fix: Variables methods type-hinting - #12278

Documentation

  • Fix formatting in concept -> work-pools.md - #12230
  • Add get_run_logger to imports in interactive workflow examples - #12284
  • Add on_running state change hook to State -> Concepts docs - #12293
  • Fix some argument names in deploy guide - #12301

New Contributors

Full Changelog: 2.16.3...2.16.4