Prefect v2.0.b16 Release Notes

  • ๐Ÿš€ Simplified, declarative deployments

    ๐Ÿš€ Prefect 2.0's deployments are a powerful way to encapsulate a flow, its required infrastructure, its schedule, its parameters, and more. Now, you can create deployments simply, with just two commands:

    1. prefect deployment build ./path/to/flow/file.py:name_of_flow_obj --name "Deployment Name" produces two files:
      • A manifest file, containing workflow-specific information such as the code location, the name of the entrypoint flow, and flow parameters
      • A deployment.yaml file - a complete specification of the metadata and configuration for the deployment such as the name, tags, and description ๐Ÿš€ 3. prefect deployment apply ./deployment.yaml creates or updates a deployment with the Orion server

    ๐Ÿ“š Once the deployment is created with the Orion server, it can now be edited via the UI! See the Deployments documentation to learn more.

    ๐Ÿ‘Œ Improvements and bug fixes

    • โšก๏ธ The Dask and Ray tutorials have been updated to reflect recent changes
    • โšก๏ธ The Blocks concept doc has been updated to reflect recent enhancements and includes additional examples
    • โšก๏ธ The Storage concept doc has been updated to reflect recent enhancements
    • โฑ All IntervalSchedules now require both an anchor date and a timezone
    • The new S3 file system block enables you to read and write data as a file on Amazon S3
    • The new GCS file system block allows you to read and write data as a file on Google Cloud Storage