All Versions
59
Latest Version
Avg Release Cycle
7 days
Latest Release
-

Changelog History
Page 1

  • v2.3.2 Changes

    ✨ Enhancements

    πŸ›  Fixes

    Collections

    Contributors

  • v2.3.1 Changes

    ✨ Enhancements

    πŸ›  Fixes

    Collections

    Contributors

  • v2.3.0 Changes

    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 Task.map 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 Task.map in docstring β€” #6579
    • βž• Add details about flow run retention policies β€” #6577
    • πŸ›  Fix flow parameter name docstring in deployments β€” #6599

    Contributors

    Thanks to our external contributors!

    • @darrida
    • @jmg-duarte
    • @MSSandroid
  • v2.2.0 Changes

    Exciting New Features πŸŽ‰

    πŸ›  Fixes

  • v2.1.1 Changes

    πŸ›  Fixes

  • v2.1.0 Changes

    πŸš€ Build Deployments in Python

    πŸ“š The new, YAML-based deployment definition provides a simple, extensible foundation for our new deployment creation experience. Now, by popular demand, we're extending that experience to enable you to define deployments and build them from within Python. You can do so by defining a Deployment Python object, specifying the deployment options as properties of the object, then building and applying the object using methods of Deployment. See the documentation to learn more.

    Simplified Agents & Work Queues

    πŸ“š Agents and work queues give you control over where and how flow runs are executed. Now, creating an agent (and corresponding work queue) is even easier. Work queues now operate strictly by name, not by matching tags. Deployments, and the flow runs they generate, are explicitly linked to a single work queue, and the work queue is automatically created whenever a deployment references it. This means you no longer need to manually create a new work queue each time you want to want to route a deployment's flow runs separately. Agents can now pull from multiple work queues, and also automatically generate work queues that don't already exist. The result of these improvements is that most users will not have to interact directly with work queues at all, but advanced users can take advantage of them for increased control over how work is distributed to agents. These changes are fully backwards compatible. See the documentation to learn more.

    πŸ‘Œ Improvements and bug fixes

    πŸ†• New Collections

    Full Changelog: https://github.com/PrefectHQ/prefect/compare/2.0.4...2.1.0

  • v2.0.4 Changes

    πŸš€ Simplified deployments

    πŸš€ The deployment experience has been refined to remove extraneous artifacts and make configuration even easier. In particular:

    • πŸš€ prefect deployment build no longer generates a Β manifest.jsonΒ file. Instead, all of the relevant information is written to the deployment.yaml file.
    • πŸš€ Values in the deployment.yaml file are more atomic and explicit
    • Local file system blocks are no longer saved automatically
    • Infrastructure block values can now be overwritten with the new infra_overrides field

    πŸ’» Start custom flow runs from the UI

    πŸš€ Now, from the deployment page, in addition to triggering an immediate flow run with default parameter arguments, you can also create a custom run. A custom run enables you to configure the run's parameter arguments, start time, name, and more, all while otherwise using the same deployment configuration. The deployment itself will be unchanged and continue to generate runs on its regular schedule.

    πŸ‘Œ Improvements and bug fixes

    • ⏱ Made timeout errors messages on state changes more intuitive
    • βž• Added debug level logs for task run rehydration
    • βž• Added basic CLI functionality to inspect Blocks; more to come
    • βž• Added support for filtering on state name toΒ prefect flow-run ls
    • Refined autogenerated database migration output
  • v2.0.3 Changes

    πŸ“š This release contains a number of bug fixes and documentation improvements.

    Introducing prefect-dbt

    πŸš€ We've released prefect-dbt - a collection of Prefect integrations for working with dbt in your Prefect flows. This collection has been built as part of a partnership with dbt Labs to ensure that it follows best practices for working with dbt.

    πŸ‘Œ Improvements and bug fixes

    • Azure storage blocks can use .prefectignore
    • Resolved bugs and improved interface in the Orion client.
    • Resolved a bug in Azure storage blocks that would cause uploads to get stuck.
    • πŸ‘» Resolved a bug where calling a flow in a separate thread would raise an exception.
    • πŸš€ Resolved issues with loading flows from a deployment.
    • Corrected some erroneous type annotations.
    • πŸ‘ Better handling of database errors during state transition validation.
    • πŸ‘ Better sanitization of labels for Kubernetes Jobs.
    • πŸ›  Fixes --manifest-only flag of prefect deployment build command to ensure that using this flag, the manifest gets generated, but the upload to a storage location is skipped.
    • βž• Added support for multiple YAML deployment paths to the prefect deployment apply command.
  • v2.0.2 Changes

    πŸš€ This release implements a number of improvements and bug fixes in response to continued engagement by members of our community. Thanks, as always, to all who submitted ideas on how to make Prefect 2 even better.

    Introducing .prefectignore files

    .prefectignore files allow users to omit certain files or directories from their deployments. Similar to other .ignore files, the syntax supports pattern matching, so an entry of *.pyc will ensure all .pyc files are ignored by the deployment call when uploading to remote storage. Prefect provides a default .prefectignore file, but users can customize it to their needs.

    πŸ‘Œ Improvements and bug fixes

    • πŸ‘‰ Users can now leverage Azure storage blocks.
    • πŸ‘‰ Users can now submit bug reports and feature enhancements using our issue templates.
    • Block deletion is now more performant.
    • 🚚 Inconsistencies in UI button copy have been removed.
    • πŸš€ Error messaging is clearer in the deployment build CLI command.
    • πŸ”€ Resolved timeout errors that occurred when using async task functions inside synchronous flows.
  • v2.0.1 Changes

    πŸš€ The response to Prefect 2 has been overwhelming in the best way possible. Thank you to the many community members who tried it out and gave us feedback! Thanks in particular to the students at this week's Prefect Associate Certification Course (PACC) in San Jose for their thoughtful recommendations. This release is a compilation of enhancements and fixes that make for a more resilient, performant, and refined Prefect experience.

    πŸ‘Œ Improvements and bug fixes

    • πŸš€ Schedules set via the API or UI are now preserved when building deployments from the CLI
    • πŸ‘ JSON types are now coerced to none, following Javascript convention and supporting standards compatibility
    • πŸš€ The prefect deployment execute command has been removed to avoid confusion between running a flow locally from a Python script and running it by an agent using prefect deployment run
    • This repository now includes templates for pull requests and issues to make bug reports and community contributions easier
    • ⏱ The scheduler and flow-run-notifications LoopServices have been made more resilient
    • 🌲 Log inserts have been made more performant through smaller log batches
    • πŸ’» Local file system blocks created from the UI now point to the right base_path
    • πŸ‘Œ Support for unmapped values to Task.map has been added as requested by Club42 members
    • πŸš€ The deployment build command now supports an optional output flag to customize the name of the deployment.yaml file, to better support projects with multiple flows