Prefect v2.0.b7 Release Notes

  • ๐Ÿ’ฅ This release includes a number of important improvements and bug fixes in response to continued feedback from the community. Note that this release makes a breaking change to the Blocks API, making the 2.0b7 Orion server incompatible with previous Orion client versions.```

    ๐Ÿ‘Œ Improvements

    • โž• Added the color select to the Orion UI in OSS (enabling users to change their state color scheme) for the UI.
    • โž• Added anonymous blocks, allowing Prefect to dynamically store blocks for you without cluttering your workspace.
    • ๐ŸŽ Performance improvements to the service that marks flows runs as late.
    • โž• Added the ability for flow names to include underscores for use in DeploymentSpecs.
    • Split Ray and Dask task runners into their own collections.
    • โœ‚ Removed delays to agent shutdown on keyboard interrupt.
    • โž• Added informative messaging when an agent is reading from a paused work queue.
    • ๐Ÿ‘Œ Improved task naming conventions for tasks defined using lambda functions

    ๐Ÿ“š Documentation improvements

    • โšก๏ธ Updated screenshots and description of workflows to reflect new UI
    • Revised and extended Prefect Cloud quickstart tutorial
    • โž• Added deployments page
    • โž• Added documentation for prefect cloud workspace set command

    Collections

    Note that the Dask and Ray task runners have been moved out of the Prefect core library to reduce the number of dependencies we require for most use cases. Install from the command line with pip install prefect-dask and import with from prefect_dask.task_runners import DaskTaskRunner.

    ๐Ÿ› Bug fixes

    • ๐Ÿ Allow Orion UI to run on Windows
    • ๐Ÿ›  Fixed a bug in terminal state data handling that caused timeouts
    • ๐Ÿš€ Disabled flow execution during deployment creation to prevent accidental execution.
    • ๐Ÿ›  Fixed a bug where Pydantic models being passed to Prefect tasks would drop extra keys and private attributes.
    • ๐Ÿ›  Fixed a bug where the KubernetesFlowRunner was not serializable.