All releases
Apache Airflow
Apache Airflowv3.4.0

Apache Airflow 3.4 — Task Loops and Non-Python Dags

Airflow 3.4 introduces Task Loops (AIP-111), a Dag importer for non-Python Dags, graceful Dag pausing by draining active runs, and a move to psycopg3 as the default Postgres driver.

Share:XLinkedInWhatsApp

What's New

  • 1Task Loops — a decorated task group can repeat a runtime-determined number of times using .loop(), with an until condition and max_iterations bound
  • 2Dag importer for non-Python Dags, alongside new Go, Java and TypeScript SDKs released this month
  • 3Gracefully pause Dags by draining active runs
  • 4psycopg3 is now the default Postgres driver
  • 5CI and production images are now based on Docker Hardened Images and Debian 13
  • 6Custom graph colors return via ui_color and ui_fgcolor

Breaking Changes

  • Support for Python 3.10 has been removed
  • The deprecated Dataset alias has been removed from the airflow module
  • Asset-triggered Dags now create one run per event by default
  • The POST /assets/{asset_id}/materialize endpoint now requires a JSON request body
  • Custom XCom backends that override serialize_value must implement store_value to support task loops
  • airflow.utils.email is deprecated in favor of the SMTP provider

Upgrade Notes

This release adds a migration that stores new XCom rows in an xcom_v2 table. Upgrading was tested on a 300M-row XCom table and does not read XCom data, but downgrading to a version earlier than 3.4.0 can be slow because those rows must be copied back. Review the full list of significant changes in the official release notes before upgrading.