Prefect v2.3.0 Release Notes

  • Exciting New Features πŸŽ‰

    • βž• Add support for deploying flows stored in Docker images β€” #6574
    • βž• Add support for deploying flows stored on GitHub β€” #6598
    • βž• Add file system block for reading directories from GitHub β€” #6517
    • βž• Add a context manager to disable the flow and task run loggers for testing β€” #6575
    • βž• Add task run pages to the UI β€” #6570

    ✨ Enhancements

    • βž• Add "cloud" to prefect version server type display β€” #6523
    • πŸ‘‰ Use the parent flow run client for child flow runs if available β€” #6526
    • βž• Add display of Prefect version when starting agent β€” #6545
    • βž• Add type hints to state predicates, e.g. is_completed() β€” #6561
    • βž• Add error when sync compatible methods are used incorrectly β€” #6565
    • πŸ‘Œ Improve performance of task run submission β€” #6527
    • πŸ‘Œ Improve performance of flow run serialization for /flow_runs/filter endpoint β€” #6553
    • βž• Add field to states with untrackable dependencies due to result types β€” #6472
    • ⚑️ Update iterable detection to exclude strings and bytes β€” #6582
    • βž• Add a version attribute to the block schema model β€” #6491
    • βž• Add better error handling in the telemetry service β€” #6124
    • ⚑️ Update the Docker entrypoint display for the Prefect image β€” #655
    • βž• Add a block creation link toΒ prefect block type ls β€” #6493
    • πŸ‘ Allow customization of notifications of queued flow runs β€” #6538
    • Avoid duplicate saves of storage blocks as anonymous blocks β€” #6550
    • βœ‚ Remove save of agent default infrastructure blocks β€” #6550
    • βž• Add aΒ --skip-uploadΒ flag toΒ prefect deployment buildΒ β€” #6560
    • βž• Add a --upload flag to prefect deployment apply β€” #6560
    • βž• Add the ability to specify relative sub-paths when working with remote storage for deployments β€” #6518
    • Prevent non-UUID slugs from raising errors on /block_document endpoints β€” #6541
    • πŸ‘Œ Improve Docker image tag parsing to support the full Moby specification β€” #6564

      πŸ›  Fixes

    • Set uvicorn --app-dir when starting Orion to avoid module collisions β€” #6547

    • πŸš€ Resolve issue with Python-based deployments having incorrect entrypoint paths β€” #6554

    • πŸ›  Fix Docker image tag parsing when ports are included β€” #6567

    • ⚑️ Update Kubernetes Job to use args instead of command to respect image entrypoints β€” #6581

      • Warning: If you are using a custom image with an entrypoint that does not allow passthrough of commands, flow runs will fail.
    • πŸ›  Fix edge case in sync_compatible detection when using AnyIO task groups β€” #6602

    • βž• Add check for infrastructure and storage block capabilities during deployment build β€” #6535

    • πŸ›  Fix issue where deprecated work queue pages showed multiple deprecation notices β€” #6531

    • πŸ›  Fix path issues with RemoteFileSystem and Windows β€” #6620

    • Fix a bug where RemoteFileSystem.put_directory did not respect local_path β€” #6620

    πŸ“š Documentation

    • βž• Add tutorials for creating and using storage and infrastructure blocks β€” #6608
    • ⚑️ Update tutorial for running flows in Docker β€” #6612
    • βž• Add example of calling a task from a task β€” #6501
    • πŸ“š Update database documentation for Postgres to clarify required plugins β€” #6566
    • βž• Add example of using in docstring β€” #6579
    • βž• Add details about flow run retention policies β€” #6577
    • πŸ›  Fix flow parameter name docstring in deployments β€” #6599


    Thanks to our external contributors!

    • @darrida
    • @jmg-duarte
    • @MSSandroid