NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1072 most downloaded on PyPI
Programmatically author, schedule and monitor data pipelines
Last release 13 days ago
17 Sep 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
4 versions withdrawn
withdrawn after publishing
9 years old
300 releases · first in 2017
Remove deprecated Airflow 2.x modules and legacy imports
We are thrilled to announce the release of Apache Airflow 3.1.0, an update that puts humans at the center of data workflows.
Read more about what 3.1.0 brings in https://airflow.apache.org/blog/airflow-3.1.0/
📦 PyPI: https://pypi.org/project/apache-airflow/3.1.0/
📚 Core Airflow Docs: https://airflow.apache.org/docs/apache-airflow/3.1.0/
📚 Task SDK Docs: https://airflow.apache.org/docs/task-sdk/1.1.0/
🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.1.0/release_notes.html
🚏 Constraints: https://github.com/apache/airflow/tree/constraints-3.1.0
Apache Airflow 3.1.0 represents an extraordinary community effort, showcasing the vibrant ecosystem that drives this project forward with 163 contributors making this release possible across 1,400+ commits.
<img width="1600" height="775" alt="favorite" src="https://github.com/user-attachments/assets/0dec07d2-56b6-4b02-adcc-6431d89fa52c" /> <img width="1871" height="1118" alt="gantt" src="https://github.com/user-attachments/assets/3a53106f-352c-477c-9398-f2f7c5ae8b16" />
SQLAlchemy 2.0 support with various compatibility fixes for Python 3.13 (#52233, #52518, #54940)psycopg3 postgres driver (#52976)XCom browsing with filtering and improved navigation (#54049)HITLOperator, ApprovalOperator, HITLEntryOperator) for human decision workflows (#52868)has_import_errors filter to Core API GET /dags endpoint (#54563)/plugins API with warnings for invalid plugins (#55673)dag_display_name aliases for improved API consistency (#50332, #50065, #50014, #49933, #49641)XCom validation to prevent empty keys in XCom.set() and XCom.get() operations (#46929)iframe_views to backend plugin support (#51003)QUEUED runs with null start_date (#52668)ti_successes and related metrics in Airflow 3.0 Task SDK (#55322)clearTaskInstances API: Restore include_past/future support on UI (#54416)XCom access in DAG processor callbacks for notifiers (#55542)default_timezone is not UTC (#54431)lineno of logger calls are present in Task Logs (#55581)serialized_dag table (#54972)LocalExecutor race condition where tasks could start before database state was committed (#56010)dag_stale_not_seen_duration (#55601, #55684)dag_id column in DAG Runs and Task Instances pages for better navigation (#55648)--preview flag from ruff check instructions for Airflow 3 upgrade path (#55516)One column per quarter.
Airflow 3.1 introduces Human-in-the-Loop (HITL) functionality that enables workflows to pause and wait for human decision-making. This powerful feature is particularly valuable for AI/ML workflows, content moderation, and approval processes where human judgment is essential.
HITL tasks pause execution in a deferred state while waiting for human input via the Airflow UI. Users with appropriate roles can see pending tasks, review context (including XCom data and DAG parameters), and complete actions through intuitive web forms. The feature also supports API-driven interactions for custom UIs and notification integration.
For detailed usage instructions, see /tutorial/hitl.
Note: HITL operators require apache-airflow-providers-standard package and Airflow 3.1+.
Airflow 3.1 advances the decoupling of the Task SDK from Airflow Core through improved DAG serialization with versioned contracts. While complete code separation is planned for Airflow 3.2.0, the serialization foundation enables independent upgrades when components are deployed separately.
For DAG Authors: Import constructs from airflow.sdk namespace:
from airflow.sdk import DAG, task, asset
Access to latest authoring features with forward compatibility
Reduced dependency on server-side Airflow versions
For Platform Teams: Foundation for independent upgrades:
Schema compliance ensures compatibility across versions
Deployment flexibility when components are separated
Reduced coordination overhead between development and operations teams
For technical details on the serialization contract, see /administration-and-deployment/dag-serialization.
Deadline Alerts provide proactive monitoring for DAG execution by automatically triggering notifications when time thresholds are exceeded. This helps ensure SLA compliance and timely completion of critical workflows.
Configure deadline monitoring by specifying:
Reference point: Choose from DAG run queued time, logical date, or fixed datetime
Interval: Time threshold relative to the reference point (positive or negative)
Callback: Response action using Airflow Notifiers or custom functions
Example use cases:
Alert if a daily ETL hasn't completed 1 hour after its scheduled time
Notify stakeholders 30 minutes before a critical deadline
Escalate when resource-constrained DAGs remain queued too long
Current Limitations: Deadline Alerts currently support only asynchronous callbacks (AsyncCallback). Support for synchronous callbacks (SyncCallback) is planned for a future release.
For configuration details and examples, see /howto/deadline-alerts.
Warning
Deadline Alerts are experimental in 3.1 and may change in future versions based on user feedback.
Airflow 3.1 delivers comprehensive internationalization (i18n) support, making the web interface accessible to users worldwide. The React-based UI now supports 17 languages with robust translation infrastructure.
Supported Languages:
Arabic
Catalan
Dutch
English
French
German
Hebrew
Hindi
Hungarian
Italian
Korean
Polish
Portuguese
Simplified Chinese
Spanish
Traditional Chinese
Turkish
The translation system includes automated completeness checking and clear contribution guidelines for community translators.
Airflow 3.1 introduces a modern plugin architecture enabling rich integrations through React components and external views. This extensibility framework allows organizations to embed custom dashboards, monitoring tools, and domain-specific interfaces directly within the Airflow UI.
New Plugin Capabilities:
React Apps: Full-featured React applications integrated into Airflow navigation
External Views: Embed external web applications via iframe with seamless authentication
Dashboard Integration: Custom widgets and panels for operational dashboards
Menu Integration: Add custom navigation items and organize tools logically
Developer Experience:
Hot reloading during development with airflow-react-plugin dev tools
TypeScript support and modern React patterns
Standardized plugin loading and validation
Comprehensive documentation and boilerplate generation
This plugin system replaces legacy Flask-based approaches with modern web standards, improving performance, maintainability, and user experience.
For more details and examples, see /howto/custom-view-plugin.
Airflow 3.1 brings significant UI improvements including rebuilt Calendar and Gantt chart views for the modern React UI, comprehensive filtering capabilities, and a refreshed visual design system.
Visual Design Improvements
The UI now features an updated color palette leveraging Chakra UI semantic tokens, providing better consistency, accessibility, and theme support across the interface. This modernization improves readability and creates a more cohesive visual experience throughout Airflow.
Rebuilt Views and Enhanced Filtering
The Calendar and Gantt views from Airflow 2.x have been rebuilt for the modern React UI, along with enhanced filtering capabilities across all views. These improvements provide better performance and a more consistent user experience with the rest of the modern Airflow interface.
DAG Dashboard Organization
Users can now pin and favorite DAGs for better dashboard organization, making it easier to find and prioritize frequently used workflows. This feature is particularly valuable for teams managing large numbers of DAGs, providing quick access to critical workflows without searching through extensive DAG lists.
Airflow 3.1 introduces a new streaming API endpoint that allows applications to watch DAG runs until completion, enabling more responsive integration patterns for real-time and inference workflows.
New Streaming Endpoint: The /dags/{dag_id}/dagRuns/{dag_run_id}/wait endpoint repeatedly emits JSON updates at specified intervals until the DAG run reaches a finished state.
# Watch a DAG run with 2-second polling interval, including XCom results
curl -X GET "http://localhost:8080/api/v2/dags/ml_pipeline/dagRuns/manual_2024_01_15/wait?result=inference_task" \
-H "Accept: application/x-ndjson"
This enables use cases like:
ML Inference Monitoring: Trigger inference DAGs and wait for completion before returning results
Real-time Processing: Monitor event-driven workflows with immediate response requirements
API Integration: Build responsive services that react to DAG completion without polling
Synchronous Workflows: Create quasi-synchronous behavior for workflows that need immediate feedback
ALL_DONE_MIN_ONE_SUCCESS: This rule triggers when all upstream tasks are done (success, failed) and at least one has succeeded, filling a gap between existing trigger rules for complex workflow patterns. Skipped upstream tasks work as usually - they skip downstream task.
DAG parsing duration is now exposed in the UI, providing better visibility into DAG processing performance and helping identify parsing bottlenecks. This information is displayed alongside other DAG metadata to assist with performance optimization.
Support for Python 3.9 has been removed, as it has reached end-of-life. Airflow 3.1.0 requires Python 3.10, 3.11, 3.12 or 3.13.
Webserver Configuration Reorganization
Several webserver configuration options have been moved to the api section for better organization:
[webserver] log_fetch_timeout_sec → [api] log_fetch_timeout_sec
[webserver] hide_paused_dags_by_default → [api] hide_paused_dags_by_default
[webserver] page_size → [api] page_size
[webserver] default_wrap → [api] default_wrap
[webserver] require_confirmation_dag_change → [api] require_confirmation_dag_change
[webserver] auto_refresh_interval → [api] auto_refresh_interval
Unused configuration options have been removed:
[webserver] instance_name_has_markup
[webserver] warn_deployment_exposure
API Server Logging Configuration
The API server configuration option [api] access_logfile has been replaced with [api] log_config to align with uvicorn's logging configuration. The new option accepts a path to a logging configuration file compatible with logging.config.fileConfig, providing more flexible logging configuration.
Security Improvement: XCom Deserialization
The enable_xcom_deserialize_support configuration option has been removed as a security improvement. This option previously allowed deserializing unknown objects in the API, which posed a security risk due to potential remote code execution vulnerabilities when deserializing arbitrary Python objects.
The XCom display improvements now handle showing non-native XComs (like custom objects, Assets, datetime objects) in a human-readable way through safer methods that don't require deserializing unknown objects in the API server. This provides better user experience when viewing XCom data in the Airflow UI while eliminating the security risk.
Asset API Key Rename
The consuming_dags key in asset API responses has been renamed to scheduled_dags to better reflect its purpose. This key contains only DAGs that use the asset in their schedule argument, not all DAGs that technically use the asset.
Removed Functions
The following functions have been removed from the task-sdk (airflow.sdk.definitions.taskgroup) and moved to server-side API services:
get_task_group_children_getter
task_group_to_dict
These functions are now internal to Airflow's API layer and should not be imported directly by users.
The default number of API server workers ([api] workers) has been reduced from 4 to 1.
With FastAPI, sync code runs in external thread pools, making multiple workers within a single process less necessary. Additionally, with uvicorn's spawn behavior instead of fork, there is no shared copy-on-write memory between workers, so horizontal scaling with multiple API server instances is now the recommended approach for better resource utilization and fault isolation.
A good starting point for the number of workers is to set it to the number of CPU cores available. If you do have multiple CPU cores available for the API server, consider deploying multiple API server instances instead of increasing the number of workers.
Most users should not notice the difference, but it is now possible to emit structured log key/value pairs from tasks.
If your class subclasses LoggingMixin (which all BaseHook and BaseOperator do -- i.e. all hooks and operators) then self.log is now a structloglogger.
The advantage of using structured logging is that it is much easier to find specific information about log message, especially when using a central store such as OpenSearch/Elastic/Splunk etc. You don't have to make any changes, but you can now take advantage of this.
# Inside a Task/Hook etc.
# Before:
# self.log.info("Registering adapter %r", item.name)
# Now:
self.log.info("Registering adapter", name=item.name)
This will produce a log that (in the UI) will look something like this:
[2025-09-16 10:36:13] INFO - Registering adapter name="adapter1"
or in JSON (i.e. the log files on disk):
{"timestamp": "2025-09-16T10:36:13Z", "log_level": "info", "event": "Registering adapter", "name": "adapter1"}
You can also use structlog loggers at the top level of modules etc, and stdlib both continue to work:
import logging
import structlog
log1 = logging.getLogger(__name__)
log2 = strcutlog.get_logger(__name__)
log1.info("Loading something from %s", __name__)
log2.info("Loading something", source=__name__)
(You can't add arbitrary key/value pairs to stdlib, but the normal percent-formatter approaches still work fine.)
The deserializer interface in airflow.serialization.serializers has changed for improved security.
Before 3.1.0:
def deserialize(classname: str, version: int, data: Any)
Starting with 3.1.0:
def deserialize(cls: type, version: int, data: Any)
The class loading is now handled in serde.py, and the deserializer receives the loaded class directly rather than a classname string. This update avoids the use of import_string in the deserializer, making deserialization more secure.
Add Calendar and Gantt chart views to modern React UI with enhanced filtering (#54252, #51667)
Add Python 3.13 support for Airflow runtime and dependencies (#46891)
Add SQLAlchemy 2.0 support with various compatibility fixes for Python 3.13 (#52233, #52518, #54940)
Add support for the psycopg3 postgres driver (#52976)
Add ability to track & display user who triggers DAG runs (#51738, #53510, #54164, #55112)
Add toggle for log grouping in task log viewer for better organization (#51146)
Add tag filtering improvements with Any/All selection options (#51162)
Add comprehensive filtering for DAG runs, task instances, and audit logs (#53652, #54210, #55082)
Add XCom browsing with filtering and improved navigation (#54049)
Add bulk task instance actions and deletion endpoints (#50443, #50165, #50235)
Add DAG run deletion functionality through UI (#50368)
Add test connection button for connection validation (#51055)
Add hyperlink support for URLs in XCom values (#54288)
Add pool column to task instances list and improve pool integration (#51185, #51031)
Add drag-and-drop log grouping and improved log visualization (#51146)
Add color support for XCom JSON display (#51323)
Add configuration column to DAG runs page (#51270)
Add enhanced note visibility and management in task headers (#51764, #54163)
Introduce React plugin system (AIP-68) for modern UI extensions (#52255)
Add support for external view plugins via iframe integration (#51003, #51889)
Add dashboard integration capabilities for custom React apps (#54131, #54144)
Add comprehensive plugin development tools and documentation (#53643)
Implement complete HITL operator suite (HITLOperator, ApprovalOperator, HITLEntryOperator) for human decision workflows (#52868)
Add HITL UI integration with role-based access and form handling (#53035)
Add HITL API endpoints with filtering and query support (#53376, #53923)
Add HITL utility functions for generating URLs to required actions page (#54827)
Improve HITL user experience with bug fixes, UI enhancements, and data model consistency (#55463, #55539, #55575, #55546, #55543, #55536, #55535)
Add ordering and filtering support for HITL details endpoints (#55217)
Add "No Response Received" required action state (#55149)
Add operator filter for HITL task instances (#54773)
Implement deadline alert system for proactive DAG monitoring (AIP-86) (#53951, #53903, #53201, #55086)
Add configurable reference points and notification callbacks (#50677, #50093)
Add deadline calculation and tracking in DAG execution lifecycle (#51638, #50925)
Add comprehensive UI translation support for 16 languages (#51266, #51038, #51219, #50929, #50981, #51793 and more)
Add right-to-left (RTL) layout support for Arabic and Hebrew (#51376)
Add language selection interface and browser preference detection (#51369)
Add translation completeness validation and automated checks (#51166, #51131)
Add calendar data API endpoints for DAG execution visualization (#52748)
Add endpoint to watch DAG runs until completion (#51920, #53346)
Add DAG run ID pattern search functionality (#52437)
Add multi-sorting capabilities for improved data navigation (#53408)
Add bulk connection deletion API and UI (#51201)
Add task group detail pages across DAG runs (#50412, #50309)
Add asset event tracking with last event timestamps (#50060, #50279)
Add has_import_errors filter to Core API GET /dags endpoint (#54563)
Add dag_version filter to get_dag_runs endpoint (#54882)
Add pattern search for event log endpoint (#55114)
Add dry_run support with consistent audit log handling (#55116)
Add utility functions for generic filter counting (#54817)
Add keyboard navigation for Grid view interface (#51784)
Add improved error handling for plugin import failures (#49643)
Add plugin validation in /plugins API with warnings for invalid plugins (#55673)
Improve accessibility for screen readers and assistive technologies with proper language detection (#55839)
Add enhanced variable management with upsert operations (#48547)
Add favorites/pinning support for DAG dashboard organization (#51264)
Add system theme support with automatic OS preference detection (#52649)
Add hotkey shortcut to toggle between Grid and Graph views (#54667)
Add queued DAGs filter button to DAGs page (#55052)
Add DAG parsing duration visibility in UI (#54752)
Add owner links support in DAG Header UI for better navigation (#50627)
Add dag_display_name aliases for improved API consistency (#50332, #50065, #50014, #49933, #49641)
Add enhanced search capabilities with SearchParamsKeys constants (#55218)
Add ALL_DONE_MIN_ONE_SUCCESS trigger rule for flexible task dependencies (#53959)
Add fail_when_dag_is_paused parameter to TriggerDagRunOperator for better control (#48214)
Add XCom validation to prevent empty keys in XCom.set() and XCom.get() operations (#46929)
Add collapsible plugin menu when multiple plugins are present (#55265)
Add external view plugin categories (admin, browse, docs, user) (#52737)
Add iframe plugins integration to DAG pages (#52795)
Add plugin error display in UI with comprehensive error handling (#49643, #49436)
Add collapsible failed task logs to prevent React error overflow (#54377)
Add dynamic legend system for calendar view (#55155)
Add React UI for Edge functionality (#53563)
Add pending actions display to DAG UI (#55041)
Add description field for filter parameters (#54903)
Add Catalan language support to Airflow UI (#55013)
Add Hungarian language support to Airflow UI (#54716)
Add map_index validation in categorize_task_instances (#54791)
Add Grid view UX improvements (#54846)
Add HITL UX improvements for better user experience (#54990)
Add async support for Notifiers (AIP-86) (#53831)
Add filtering capabilities for tasks view (#54484)
Add asset-based filtering support to DAG API endpoint (#54263)
Add iframe plugins to navigation (#51706)
Add RTL (right-to-left) layout support for Arabic and Hebrew (#51376)
Add test connection button to UI (#51055)
Add task instance bulk actions endpoint (#50443)
Add connection bulk deletion functionality (#51201)
Add pool column to task instances list (#51185)
Add iframe_views to backend plugin support (#51003)
Add keyboard shortcuts to clear and mark state for task instances and DAG runs (#50885)
Add deadline relationship to DAG runs and deadline model (#50925, #50093)
Add DAG run deletion UI (#50368)
Add task instance deletion UI and endpoint (#50235, #50165)
Switch all airflow logging to structlog (#52651, #55434, #55431, #55638)
Add Filter Bar to Audit Log (#55487)
Add Filters UI for Asset View (#54640)
Update color palette and leverage Chakra semantic tokens (#53981, #55739)
Improve calendar view UI with enhanced tooltips and visual fixes (#55476)
Fix DAG list filtering to include QUEUED runs with null start_date (#52668)
Fix XCom deletion failure for mapped task instances through bulk deletion API (#51850)
Fix XCom deletion failure for mapped task instances (#54954)
Fix task timeout handling within task SDK (#54089)
Fix task instance tries API duplicate entries (#50597)
Fix connection validation and type checking during construction (#54759)
Fix mapped task instance index display in Task Instances tab (#55363)
Fix Gantt chart state mismatch with Grid view (#55300)
Fix Gantt chart status color display issues (#55296)
Fix XCom mapping for dynamically-mapped task groups (#51556)
Fix missing ti_successes and related metrics in Airflow 3.0 Task SDK (#55322)
Fix bulk operation permissions for connection, pool and variable (#55278)
Fix clearTaskInstances API: Restore include_past/future support on UI (#54416)
Fix migration when XCom has NaN values (#53812)
Fix HITL related UI schema generated by prek hooks (#55204)
Fix consistent no-log handling for tasks with try_number=0 in API and UI (#55035)
Fix timezone conversion in datetime trigger parameters (#54593)
Fix audit log payload for DAG pause/unpause actions (#55091)
Fix pushing None as an XCom value (#55080)
Fix scheduler processing of cleared running tasks stuck in RESTARTING state (#55084)
Fix XCom deletion failure for mapped task instances (#54954)
Fix outgoing graph edges should exit opposite of incoming edges (#54789)
Fix external links in Navigation buttons (#52220)
Fix Error when viewing DAG details of a no longer configured bundle (#52086)
Fix compatibility with new numpy and pandas versions (#52071)
Fix connection recovery from URI when host has protocol (#51953)
Fix last DAG run not showing on DAG listing (#51115)
Fix task instance tries API returning duplicate entries (#50597)
Fix Graph view vanishing and loading issues (#53886, #54756)
Fix rendered template display formatting for better readability (#53657)
Fix Grid view expand/collapse button functionality (#54257)
Fix tooltip visibility and positioning issues (#53913)
Fix grid keyboard navigation focus management (#54271)
Fix plugin registration for invalid objects and middleware registration (#55264, #55399)
Fix external links for plugins with undefined URL routes (#55221)
Fix language display consistency and flag representation (#51560, #51177)
Fix RTL layout rendering for Arabic and Hebrew interfaces (#51853)
Fix graph export cropping when view is partial (#55012)
Fix log viewer "Toggle Source" to hide only source fields, not all structured log fields (#55474)
Output on stdout/stderr from within tasks is now filterable in the Sources list in the UI log view (#55508)
Redact JWT tokens in task logs (#55499)
Fix grid view to handle long task name (#55332)
Allow slash characters in Variable keys similar to Airflow 2.x (#55324)
Fix Grid cache invalidation for multi-run task operations (#55504)
Fix Gantt chart rendering issues (#55554)
Fix XCom access in DAG processor callbacks for notifiers (#55542)
Fix alignment of arrows in RTL mode for right-to-left languages (#55619)
Fix connection form extras not inferring correct type in UI (#55492)
Fix incorrect log timestamps in UI when default_timezone is not UTC (#54431)
Fix handling of priority_weight for DAG processor callbacks (#55436)
Fix pointless requests from Gantt view when there is no Run ID (#55668)
Ensure filename and lineno of logger calls are present in Task Logs (#55581)
Fix DAG disappearing after callback execution in stale detection (#55698)
Fix DB downgrade to Airflow 2 when fab tables exists (#55738)
Fix UI stats endpoint causing dashboard loading issues (#55733)
Fix unintended console output when DAG not found in serialized_dag table (#54972)
Fix scheduler handling of orphaned tasks from Airflow 2 during upgrade (#55848)
Fix logging format to respect existing configuration during upgrade to prevent unexpected log format changes (#55824)
Fix Grid view crashes when DAG version information is missing (#55771)
Fix compatibility for custom triggers migrating from Airflow 2.x that use synchronous connection calls (#55799)
Fix DAG runs triggered from UI incorrectly marked as REST API triggers instead of UI triggers (#54650)
Fix XCom API responses failing when encountering non-serializable objects by falling back to string representation (#55880)
Fix asset queue display in UI showing incorrect timestamps for deleted queue events (#54652)
Fix SQLite database migrations failing due to foreign key constraint handling (#55883)
Fix DAG deserialization failure when using non-default weight_rule values like 'absolute' (#55906)
Fix async connection retrieval in triggerer context preventing event loop blocking (#55812)
Fix Airflow downgrade compatibility by handling serialized DAG format conversion from v3 to v2 (#55975)
Fix 'All Log Levels' filter not working in task log viewer (#55851)
Fix Grid view scrollbar overlapping issues on Firefox browser (#55960)
Fix Gantt chart misalignment with Grid view layout (#55995)
Fix Grid view task names being extremely collapsed and unreadable when displaying many DAG runs (#55997)
Fix LocalExecutor race condition where tasks could start before database state was committed (#56010)
Move secrets masker to shared distribution for better modularity (#54449)
Move email notifications from scheduler to DAG processor for better architecture (#55238)
Add graph UI load optimization with latest run info endpoint (#53429)
Optimize UI bundle size by moving translations to dynamic loading (#51735)
Relocate Task SDK components for improved separation (#55174, #54795)
Refactor trigger rule utilities and weight rule consolidation (#54797, #53393)
Remove deprecated Airflow 2.x modules and legacy imports (#50482)
Clean up unused code and improve module organization (#52176, #52173, #53031)
Add SQLAlchemy 2.0 CI support for future compatibility (#52233)
Improve test fixtures and SDK communication testing (#54795, #50603)
Add translation completeness linting and validation tools (#51166)
Upgrade to latest versions of important dependencies (#55350)
Move webserver configuration options to API section (#50693, #50656)
Improve DAG bundle handling and versioning support (#47592)
Add database management CLI tools for external database operations (#50657)
Add comprehensive HITL operator documentation and examples (#54618)
Add guards for registering middlewares from plugins (#55399)
Optimize Gantt group expansion with de-bouncing and deferred rendering (#55334)
Differentiate between triggers and watchers currently running for better visibility (#55376)
Removed unused config: dag_stale_not_seen_duration (#55601, #55684)
Update UI's query client strategy for improved performance (#55528)
Unify datetime format across the UI for consistency (#55572)
Mark React Apps as Experimental for Airflow 3.1 release (#55478)
Improve OOM error messaging for clearer task failure diagnosis (#55602)
Display responder username for better audit trail in HITL workflows (#55509)
The constraint file do not contain developer dependencies anymore (#53631)
Add hyperlinks to dag_id column in DAG Runs and Task Instances pages for better navigation (#55648)
Add responsive web design (RWD) support to Grid view (#55745)
Add comprehensive Human-in-the-Loop operator tutorial and examples (#54618)
Add deadline alerts configuration and usage documentation (#53727)
Make term Dag consistent in docs task-sdk (#55100)
Add migration guide for upgrading from legacy SLA functionality to deadline alerts (#55743)
Add DAG bundles triggerer limitation documentation (#55232)
Add deadline alerts usage guides and best practices (#53727)
Remove --preview flag from ruff check instructions for Airflow 3 upgrade path (#55516)
Add documentation for context parameter (#55377)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Point deprecation warning in Variable methods to specific alternatives
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.6/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.6/ 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.6/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.6/installation/installing-from-sources.html 🐳 Docker Image: "docker pull apache/airflow:3.0.6" 🚏 Constraints: https://github.com/apache/airflow/tree/constraints-3.0.6
TriggerDagRunLink broken page when clicking "Triggered DAG" button (#54760)task_queued_timeout not working after first DAG run by properly resetting queued_by_job_id (#54604)KRB5CCNAME env) when running tasks with user impersonation (#54672)max_active_tasks persisting after removal from DAG code (#54639)axios UI dependency from 1.8.0 to 1.11.0 (#54733)pluggy to 1.6.0 (#54728, #54730)get_parsing_context function (#54802)Full Changelog: https://github.com/apache/airflow/compare/3.0.5...3.0.6
Nothing published for this version
Nothing published for this version
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.5/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.5/ 🛠️ Release Notes: https://airflow
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.5/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.5/ 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.5/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.5/installation/installing-from-sources.html 🐳 Docker Image: "docker pull apache/airflow:3.0.5" 🚏 Constraints: https://github.com/apache/airflow/tree/constraints-3.0.5
get_previous_dagrun functionality for task context (#53655)DetachedInstanceError when processing executor events (#54334)DetachedInstanceError when accessing DagRun.created_dag_version (#54362)"/" in the name in the UI (#54268)extra field in connections UI and API (#53963, #54034, #54235)MappedOperators within TaskGroups (#53532)XCom backends not being used when BaseXCom.get_all() is called (#53814)xcom_pull ignoring include_prior_dates parameter when map_indexes is not specified (#53809)AttributeError when reading logs for previous task attempts with TaskInstanceHistory (#54114)end_date and duration by populating TaskInstance data before invoking callbacks (#54458)AssetEvent queries in scheduler to maintain consistent event processing order (#52231)map_index for upstream tasks (#54249)common.messaging to 1.0.3 (#54176)dag.log (#54463)Full Changelog: https://github.com/apache/airflow/compare/3.0.4...3.0.5
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add deprecation notice for using Connection from models in favor of SDK approach
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.4/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.4/ 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.4/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.4/installation/installing-from-sources.html 🐳 Docker Image: "docker pull apache/airflow:3.0.4" 🚏 Constraints: https://github.com/apache/airflow/tree/constraints-3.0.4
DetachedInstanceError crashes (#53838) (#53858)on_kill functionality not working when tasks are killed externally in TaskSDK (#53718) (#53832)task_success_overtime configuration option not being configurable (#53342) (#53351)group_by clause in event logs query for performance (#53733) (#53807)apps flags for API server command configuration (#52929) (#53775)BaseOperator.executor attribute (#53496) (#53519)start_from_trigger functionality (#53744) (#53750)~= used in requires-python configuration (#52985) (#52987)Full Changelog: https://github.com/apache/airflow/compare/3.0.3...3.0.4
Nothing published for this version
Nothing published for this version
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.3/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.3/ 🛠️ Release Notes: https://airflow
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.3/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.3/ 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.3/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.3/installation/installing-from-sources.html 🐳 Docker Image: "docker pull apache/airflow:3.0.3" 🚏 Constraints: https://github.com/apache/airflow/tree/constraints-3.0.3
xcom_pull to cover different scenarios for mapped tasks (#51568)run_as_user) support for task execution (#51780)exception to context for task callbacks (#52066)EOF is missed (#51180) (#51970)EventsTimetable's description during serialization (#51926)EOF detection of subprocesses in Dag Processor (#51895)dag.test (#51673)dag.test consistent with airflow dags test CLI command (#51476)No Status Filter (#52154)MappedOperator (#52681)AssetEventOperations.get to use alias_name when specified (#52324)start_from_trigger is True (#52873)example_external_task_parent_deferrable.py imports (#52957)no_status and duration for grid summaries (#53092)ti.log_url not in Task Context (#50376)XCom.get_all() method (#53102)connections_test CLI to use Connection instead of BaseHook (#51834) (#51917)libcst 1.8.1 for Python 3.9 (#51609)Full Changelog: https://github.com/apache/airflow/compare/3.0.2...3.0.3
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add backwards compatibility shim and deprecation warning for EmailOperator
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.2/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.2/ 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.2/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.2/installation/installing-from-sources.html
sys.path in task runner (#51318)sys.path in dag processor (#50385)SIGSEGV signals during DAG file imports (#51171)dag.test() (#51182)ForwardRef error by reordering discriminated union definitions (#50688)BaseNotifier (#50340)upstream_mapped_index when xcom access is needed (#50641)/run API endpoint for older Task SDK clientsFlexibleForm component (#50845)+1 more when tags exceed the display limit by one (#50669)default_args handling in operator .partial() to prevent TypeError when unused keys are present (#50525)airflow tasks clear command (#49631)--local flag in dag list and dag list-import-errors CLI commands (#49380)DagProcessor stats log to show the correct parse duration (#50316)get_log API (#50547)logical_date check when validating inlets and outlets (#51464)ti update state and set task to fail if exception encountered (#51295)example_dags in standard provider to example_dags in sources (#51275)airflow-core package (#51192)task.test to Task SDK (#50827)dag.test to Task SDK (#50300,#50419)ti.run to Task SDK execution path (#50141)airflow dags test from local files (#50420)execution_time module (#50940)dagrun value for list display (#50834)secret_key config to api section (#50839)webserver configs to fab provider (#50774,#50269,#50208,#50896)dag_run nullable in Details page (#50719)ab_user table (#50343)owner_links field to DAGDetailsResponse for enhanced owner metadata in the API (#50557)AssetAlias for alias in Asset Metadata example (#50768)schedule_interval in tutorial dags (#50947)PythonOperator in tutorial dag (#50962)Full Changelog: https://github.com/apache/airflow/compare/3.0.1...3.0.2
Nothing published for this version
Nothing published for this version
Fix a few SqlAlchemy deprecation warnings
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.1/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.1/index.html 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.1/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.1/installation/installing-from-sources.html
dag_code records with no serialized dag (#49478)dag_code and serialized_dag tables on 3.0 upgrade (#49563)scheduler_interval field on downgrade (#49583)base_url in api server (#49545)max_active_tis_per_dag is not respected by dynamically mapped tasks (#49708)SimpleAuthManager (#49697)(#49866)bundle_version to DagRun response (#49726)task_ids in xcom_pull the same as multiple when provided as part of a list (#49692)DAGModel stale and associate bundle on import errors to aid migration from 2.10.5 (#49769)pip with avoiding resolution too deep issues in Python 3.12 (#49853)BashSensor (#49935)map_index_template on task completion (#49809)ContinuousTimetable false triggering when last run ends in future (#45175)Stats (#50088)TaskGroup (#49996)mapIndex to clear the relevant task instances. (#50256)STRAIGHT_JOIN prefix for MySQL query optimization in get_sorted_triggers (#46303)sqlalchemy[asyncio] extra is in core deps (#49452)HANDLER_SUPPORTS_TRIGGERER (#49370)gitpython as a core dependency (#49537)@babel/runtime from 7.26.0 to 7.27.0 (#49479)get_current_context (#49630)RunBackfillForm (#49609)backfill_id (#49691)(#49716)SimpleAllAdminMiddleware to allow api usage without auth header in request (#49599)react-router and react-router-dom from 7.4.0 to 7.5.2 (#49742)root_dag_id in dagbag and restore logic (#49668)airflow.cfg files across all containers in default docker-compose.yaml (#49681)/airflow-core (#49512)apache-airflow meta package (#49846)@task.kuberenetes_cmd (#46913)vite from 5.4.17 to 5.4.19 for Airflow UI (#49162)(#50074)map_index filter option to GetTICount and GetTaskStates (#49818)stats ui endpoint (#49985)state attribute to RuntimeTaskInstance for easier ti.state access in Task Context (#50031)dag_run_conf to RunBackfillForm (#49763)dateInterval validation and error handling (#50072)Task Instances [{map_index}] tab to mapped task details (#50085)security/api.rst (#49675)max_consecutive_failed_dag_runs default value to zero in TaskSDK dag (#49795) (#49803)example_params_ui_tutorial) (#49905)Full Changelog: https://github.com/apache/airflow/compare/3.0.0...3.0.1
Nothing published for this version
📣 We are proud to announce the General Availability of Apache Airflow® 3.0, the most significant release in the project’s history.
📣 We are proud to announce the General Availability of Apache Airflow® 3.0, the most significant release in the project’s history.
Airflow 3.0 builds on the foundation of Airflow 2 and introduces a new service-oriented architecture, a modern React-based UI, enhanced security, and a host of long-requested features such as DAG versioning, improved backfills, event-driven scheduling, and support for remote execution.
You can read more about what 3.0 brings in https://airflow.apache.org/blog/airflow-three-point-oh-is-here/.
📦 PyPI: https://pypi.org/project/apache-airflow/3.0.0/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/3.0.0 🛠️ Release Notes: https://airflow.apache.org/docs/apache-airflow/3.0.0/release_notes.html 🪶 Sources: https://airflow.apache.org/docs/apache-airflow/3.0.0/installation/installing-from-sources.html
This is the result of 300+ developers within the Airflow community working together tirelessly for many months! A huge thank you to all of them for their contributions.
Resources
We are proud to announce the General Availability of Apache Airflow 3.0 — the most significant release in the project's history. This version introduces a service-oriented architecture, a stable DAG authoring interface, expanded support for event-driven and ML workflows, and a fully modernized UI built on React. Airflow 3.0 reflects years of community investment and lays the foundation for the next era of scalable, modular orchestration.
Service-Oriented Architecture: A new Task Execution API and airflow api-server enable task execution in remote environments with improved isolation and flexibility (AIP-72).
Edge Executor: A new executor that supports distributed, event-driven, and edge-compute workflows (AIP-69), now generally available.
Stable Authoring Interface: DAG authors should now use the new airflow.sdk namespace to import core DAG constructs like @dag, @task, and DAG.
Scheduler-Managed Backfills: Backfills are now scheduled and tracked like regular DAG runs, with native UI and API support (AIP-78).
DAG Versioning: Airflow now tracks structural changes to DAGs over time, enabling inspection of historical DAG definitions via the UI and API (AIP-66).
Asset-Based Scheduling: The dataset model has been renamed and redesigned as assets, with a new @asset decorator and cleaner event-driven DAG definition (AIP-74, AIP-75).
Support for ML and AI Workflows: DAGs can now run with logical_date=None, enabling use cases such as model inference, hyperparameter tuning, and non-interval workflows (AIP-83).
Removal of Legacy Features: SLAs, SubDAGs, DAG and Xcom pickling, and several internal context variables have been removed. Use the upgrade tools to detect deprecated usage.
Split CLI and API Changes: The CLI has been split into airflow and airflowctl (AIP-81), and REST API now defaults to logical_date=None when triggering a new DAG run.
Modern React UI: A complete UI overhaul built on React and FastAPI includes version-aware views, backfill management, and improved DAG and task introspection (AIP-38, AIP-84).
Migration Tooling: Use ruff and airflow config update to validate DAGs and configurations. Upgrade requires Airflow 2.7 or later and Python 3.9–3.12.
Airflow 3.0 introduces the most significant set of changes since the 2.0 release, including architectural shifts, new execution models, and improvements to DAG authoring and scheduling.
Airflow now supports a service-oriented architecture, enabling tasks to be executed remotely via a new Task Execution API. This API decouples task execution from the scheduler and introduces a stable contract for running tasks outside of Airflow's traditional runtime environment.
To support this, Airflow introduces the Task SDK — a lightweight runtime environment for running Airflow tasks in external systems such as containers, edge environments, or other runtimes. This lays the groundwork for language-agnostic task execution and brings improved isolation, portability, and extensibility to Airflow-based workflows.
Airflow 3.0 also introduces a new airflow.sdk namespace that exposes the core authoring interfaces for defining DAGs and tasks. DAG authors should now import objects like DAG, @dag, and @task from airflow.sdk rather than internal modules. This new namespace provides a stable, forward-compatible interface for DAG authoring across future versions of Airflow.
Airflow 3.0 introduces the Edge Executor as a generally available feature, enabling execution of tasks in distributed or remote compute environments. Designed for event-driven and edge-compute use cases, the Edge Executor integrates with the Task Execution API to support task orchestration beyond the traditional Airflow runtime. This advancement facilitates hybrid and cross-environment orchestration patterns, allowing task workers to operate closer to data or application layers.
Backfills are now fully managed by the scheduler, rather than being launched as separate command-line jobs. This change unifies backfill logic with regular DAG execution and ensures that backfill runs follow the same scheduling, versioning, and observability models as other DAG runs.
Airflow 3.0 also introduces native UI and REST API support for initiating and monitoring backfills, making them more accessible and easier to integrate into automated workflows. These improvements lay the foundation for smarter, safer historical reprocessing — now available directly through the Airflow UI and API.
Airflow 3.0 introduces native DAG versioning. DAG structure changes (e.g., renamed tasks, dependency shifts) are now tracked directly in the metadata database. This allows users to inspect historical DAG structures through the UI and API, and lays the foundation for safer backfills, improved observability, and runtime-determined DAG logic.
Note: DAG bundles are not initialized in the triggerer. In practice, this means that triggers cannot come from a DAG bundle. This is because the triggerer does not deal with changes in trigger code over time, as everything happens in the main process. Triggers can come from anywhere else on sys.path instead.
Airflow 3.0 ships with a completely redesigned user interface built on React and FastAPI. This modern architecture improves responsiveness, enables more consistent navigation across views, and unlocks new UI capabilities — including support for DAG versioning, asset-centric DAG definitions, and more intuitive filtering and search.
The new UI replaces the legacy Flask-based frontend and introduces a foundation for future extensibility and community contributions.
The concept of Datasets has been renamed to Assets, unifying terminology with common practices in the modern data ecosystem. The internal model has also been reworked to better support future features like asset partitions and validations.
The @asset decorator and related changes to the DAG parser enable clearer, asset-centric DAG definitions, allowing Airflow to more naturally support event-driven and data-aware scheduling patterns.
This renaming impacts modules, classes, functions, configuration keys, and internal models. Key changes include:
Dataset → Asset
DatasetEvent → AssetEvent
DatasetAlias → AssetAlias
airflow.datasets.* → airflow.sdk.*
airflow.timetables.simple.DatasetTriggeredTimetable → airflow.timetables.simple.AssetTriggeredTimetable
airflow.timetables.datasets.DatasetOrTimeSchedule → airflow.timetables.assets.AssetOrTimeSchedule
airflow.listeners.spec.dataset.on_dataset_created → airflow.listeners.spec.asset.on_asset_created
airflow.listeners.spec.dataset.on_dataset_changed → airflow.listeners.spec.asset.on_asset_changed
core.dataset_manager_class → core.asset_manager_class
core.dataset_manager_kwargs → core.asset_manager_kwargs
Airflow 3.0 removes the legacy schedule_interval and timetable parameters. DAGs must now use the unified schedule field for all time- and event-based scheduling logic. This simplifies DAG definition and improves consistency across scheduling paradigms.
Airflow 3.0 changes the default behavior for new DAGs by setting catchup_by_default = False in the configuration file. This means DAGs that do not explicitly set catchup=... will no longer backfill missed intervals by default. This change reduces confusion for new users and better reflects the growing use of on-demand and event-driven workflows.
The default DAG schedule has been changed to None from @once.
Task code can no longer directly access the metadata database. Interactions with DAG state, task history, or DAG runs must be performed via the Airflow REST API or exposed context. This change improves architectural separation and enables remote execution.
Airflow no longer supports triggering DAG runs with a logical date in the future. This change aligns with the logical execution model and removes ambiguity in backfills and event-driven DAGs. Use logical_date=None to trigger runs with the current timestamp.
For DAG runs triggered by an Asset event or through the REST API without specifying a logical_date, Airflow now sets logical_date=None by default. These DAG runs do not have a data interval, and attempting to access data_interval_start, data_interval_end, or logical_date from the task context will raise a KeyError.
DAG authors should use dag_run.logical_date and perform appropriate checks or fallbacks if supporting multiple trigger types. This change improves consistency with event-driven semantics but may require updates to existing DAGs that assume these values are always present.
Airflow 3.0 refines task callback behavior to improve clarity and consistency. In particular, on_success_callback is no longer executed when a task is marked as SKIPPED, aligning it more closely with expected semantics.
Several default configuration values have been updated in Airflow 3.0 to better reflect modern usage patterns and simplify onboarding:
catchup_by_default is now set to False by default. DAGs will not automatically backfill unless explicitly configured to do so.
create_cron_data_intervals is now set to False by default. As a result, cron expressions will be interpreted using the CronTriggerTimetable instead of the legacy CronDataIntervalTimetable. This only affects DAGs that pass a bare cron string to schedule=; DAGs that pass an explicit timetable instance are unaffected. If you rely on the data interval semantics (data_interval_start / data_interval_end, or templated values like ds / ts derived from logical_date), set create_cron_data_intervals=True explicitly before the upgrade. Flipping the value later, after Airflow 3 DAG runs already exist, will skip one scheduled run on each affected DAG to avoid colliding with the previous run's logical_date.
SimpleAuthManager is now the default auth_manager. To continue using Flask AppBuilder-based authentication, install the apache-airflow-providers-fab provider and explicitly set auth_manager = airflow.providers.fab.auth_manager.FabAuthManager.
These changes represent the most significant evolution of the Airflow platform since the release of 2.0 — setting the stage for more scalable, event-driven, and language-agnostic orchestration in the years ahead.
Airflow 3.0 introduces several important improvements and behavior changes in how DAGs and tasks are scheduled, prioritized, and executed.
Airflow 3.0 now requires the standalone DAG processor to parse DAGs. This dedicated process improves scheduler performance, isolation, and observability. It also simplifies architecture by clearly separating DAG parsing from scheduling logic. This change may affect custom deployments that previously used embedded DAG parsing.
The priority_weight value on a task is now capped by the number of available pool slots. This ensures that resource availability remains the primary constraint in task execution order, preventing high-priority tasks from starving others when resource contention exists.
Teardown tasks will now be executed even when a DAG run is terminated early. This ensures that cleanup logic is respected, improving reliability for workflows that use teardown tasks to manage ephemeral infrastructure, temporary files, or downstream notifications.
Scheduler components now use run_with_db_retries to handle transient database issues more gracefully. This enhances Airflow's fault tolerance in high-volume environments and reduces the likelihood of scheduler restarts due to temporary database connection problems.
Airflow 3.0 fixes a bug that caused incorrect task statistics to be reported for dynamic task mapping. Stats now accurately reflect the number of mapped task instances and their statuses, improving observability and debugging for dynamic workflows.
SequentialExecutor was primarily used for local testing but is now redundant, as LocalExecutor supports SQLite with WAL mode and provides better performance with parallel execution. Users should switch to LocalExecutor or CeleryExecutor as alternatives.
Airflow 3.0 includes several changes that improve consistency, clarity, and long-term stability for DAG authors.
Airflow 3.0 introduces a new, stable public API for DAG authoring under the airflow.sdk namespace, available via the apache-airflow-task-sdk package.
The goal of this change is to decouple DAG authoring from Airflow internals (Scheduler, API Server, etc.), providing a forward-compatible, stable interface for writing and maintaining DAGs across Airflow versions.
DAG authors should now import core constructs from airflow.sdk rather than internal modules.
Key Imports from airflow.sdk:
Classes:
Asset
BaseNotifier
BaseOperator
BaseOperatorLink
BaseSensorOperator
Connection
Context
DAG
EdgeModifier
Label
ObjectStoragePath
Param
TaskGroup
Variable
Decorators and Functions:
@asset
@dag
@setup
@task
@task_group
@teardown
chain
chain_linear
cross_downstream
get_current_context
get_parsing_context
For an exhaustive list of available classes, decorators, and functions, check airflow.sdk.__all__.
All DAGs should update imports to use airflow.sdk instead of referencing internal Airflow modules directly. Legacy import paths (e.g., airflow.models.dag.DAG, airflow.decorator.task) are deprecated and will be removed in a future Airflow version. Some additional utilities and helper functions that DAGs sometimes use from airflow.utils.* and others will be progressively migrated to the Task SDK in future minor releases.
These future changes aim to complete the decoupling of DAG authoring constructs from internal Airflow services. DAG authors should expect continued improvements to airflow.sdk with no backwards-incompatible changes to existing constructs.
For example, update:
# Old (Airflow 2.x)
from airflow.models import DAG
from airflow.decorators import task
# New (Airflow 3.x)
from airflow.sdk import DAG, task
The DAG argument fail_stop has been renamed to fail_fast for improved clarity. This parameter controls whether a DAG run should immediately stop execution when a task fails. DAG authors should update any code referencing fail_stop to use the new name.
Several legacy context variables have been removed or may no longer be available in certain types of DAG runs, including:
conf
execution_date
dag_run.external_trigger
In asset-triggered and manually triggered DAG runs with logical_date=None, data interval fields such as data_interval_start and data_interval_end may not be present in the task context. DAG authors should use explicit references such as dag_run.logical_date and conditionally check for the presence of interval-related fields where applicable.
Internal task context functions such as get_parsing_context have been moved to a more appropriate location (e.g., airflow.models.taskcontext). DAG authors using these utilities directly should update import paths accordingly.
The TriggerRule.ALWAYS rule can no longer be used with teardown tasks or tasks that are expected to honor upstream dependency semantics. DAG authors should ensure that teardown logic is defined with the appropriate trigger rules for consistent task resolution behavior.
A new utility function, create_asset_aliases(), allows DAG authors to define reusable aliases for frequently referenced Assets. This improves modularity and reuse across DAG files and is particularly helpful for teams adopting asset-centric DAGs.
The Operator Extra links, which can be defined either via plugins or custom operators now do not execute any user code in the Airflow UI, but instead push the "full" links to XCom backend and the link is fetched from the XCom backend when viewing task details, for example from grid view.
Example for users with custom links class:
@attr.s(auto_attribs=True)
class CustomBaseIndexOpLink(BaseOperatorLink):
"""Custom Operator Link for Google BigQuery Console."""
index: int = attr.ib()
@property
def name(self) -> str:
return f"BigQuery Console #{self.index + 1}"
@property
def xcom_key(self) -> str:
return f"bigquery_{self.index + 1}"
def get_link(self, operator, *, ti_key):
search_queries = XCom.get_one(
task_id=ti_key.task_id, dag_id=ti_key.dag_id, run_id=ti_key.run_id, key="search_query"
)
return f"https://console.cloud.google.com/bigquery?j={search_query}"
The link has an xcom_key defined, which is how it will be stored in the XCOM backend, with key as xcom_key and value as the entire link, this case: https://console.cloud.google.com/bigquery?j=search
Operator (including Sensors), Executors & Hooks can no longer be registered or imported via Airflow's plugin mechanism. These types of classes are just treated as plain Python classes by Airflow, so there is no need to register them with Airflow. They can be imported directly from their respective provider packages.
Before:
from airflow.hooks.my_plugin import MyHook
You should instead import it as:
from my_plugin import MyHook
Airflow 3.0 expands the types of DAGs that can be expressed by removing the constraint that each DAG run must correspond to a unique data interval. This change, introduced in AIP-83, enables support for workflows that don't operate on a fixed schedule — such as model training, hyperparameter tuning, and inference tasks.
These ML- and AI-oriented DAGs often run ad hoc, are triggered by external systems, or need to execute multiple times with different parameters over the same dataset. By allowing multiple DAG runs with logical_date=None, Airflow now supports these scenarios natively without requiring workarounds.
Airflow 3.0 introduces several configuration and interface updates that improve consistency, clarify ownership of core utilities, and remove legacy behaviors that were no longer aligned with modern usage patterns.
Airflow no longer silently updates configuration options that retain deprecated default values. Users are now required to explicitly set any config values that differ from the current defaults. This change improves transparency and prevents unintentional behavior changes during upgrades.
Several configuration defaults have changed in Airflow 3.0 to better reflect modern usage patterns:
The default value of catchup_by_default is now False. DAGs will not backfill missed intervals unless explicitly configured to do so.
The default value of create_cron_data_intervals is now False. Cron expressions are now interpreted using the CronTriggerTimetable instead of the legacy CronDataIntervalTimetable. This change simplifies interval logic and aligns with the future direction of Airflow's scheduling system. Set this flag explicitly before upgrading from Airflow 2 if you rely on data interval semantics; flipping it later (after Airflow 3 DAG runs exist) will skip one scheduled run per affected DAG.
Several core components have been moved to more intuitive or stable locations:
The SecretsMasker class has been relocated to airflow.sdk.execution_time.secrets_masker.
The ObjectStoragePath utility previously located under airflow.io is now available via airflow.sdk.
These changes simplify imports and reflect broader efforts to stabilize utility interfaces across the Airflow codebase.
Asset event mappings in the task context are improved to better support asset use cases, including new features introduced in AIP-74.
Events of an asset or asset alias are now accessed directly by a concrete object to avoid ambiguity. Using a str to access events is no longer supported. Use an Asset or AssetAlias object, or Asset.ref to refer to an entity explicitly instead, such as:
outlet_events[Asset.ref(name="myasset")] # Get events for asset named "myasset". outlet_events[AssetAlias(name="myalias")] # Get events for asset alias named "myalias".
Alternatively, two helpers for_asset and for_asset_alias are added as shortcuts:
outlet_events.for_asset(name="myasset") # Get events for asset named "myasset". outlet_events.for_asset_alias(name="myalias") # Get events for asset alias named "myalias".
The internal representation of asset event triggers now also includes an explicit uri field, simplifying traceability and aligning with the broader asset-aware execution model introduced in Airflow 3.0. DAG authors interacting directly with inlet_events may need to update logic that assumes the previous structure.
In Airflow 2, the xcom_pull() method allowed pulling XComs by key without specifying task_ids, despite the fact that the underlying DB model defines task_id as part of the XCom primary key. This created ambiguity: if two tasks pushed XComs with the same key, xcom_pull() would pull whichever one happened to be first, leading to unpredictable behavior.
Airflow 3 resolves this inconsistency by requiring task_ids when pulling by key. This change aligns with the task-scoped nature of XComs as defined by the schema, ensuring predictable and consistent behavior.
DAG Authors should update their dags to use task_ids if their dags used xcom_pull without task_ids such as:
kwargs["ti"].xcom_pull(key="key")
Should be updated to:
kwargs["ti"].xcom_pull(task_ids="task1", key="key")
As part of the deprecation cleanup, several legacy configuration options have been removed. These include:
[scheduler] allow_trigger_in_future
[scheduler] use_job_schedule
[scheduler] use_local_tz
[scheduler] processor_poll_interval
[logging] dag_processor_manager_log_location
[logging] dag_processor_manager_log_stdout
[logging] log_processor_filename_template
All the webserver configurations have also been removed since API server now replaces webserver, so the configurations like below have no effect:
[webserver] allow_raw_html_descriptions
[webserver] cookie_samesite
[webserver] error_logfile
[webserver] access_logformat
[webserver] web_server_master_timeout
etc
Several configuration options previously located under the [webserver] section have been moved to the new ``[api]`` section. The following configuration keys have been moved:
[webserver] web_server_host → [api] host
[webserver] web_server_port → [api] port
[webserver] workers → [api] workers
[webserver] web_server_worker_timeout → [api] worker_timeout
[webserver] web_server_ssl_cert → [api] ssl_cert
[webserver] web_server_ssl_key → [api] ssl_key
[webserver] access_logfile → [api] access_logfile
The following DAG parsing configuration options were moved to the new ``[dag_processor]`` section:
[core] dag_file_processor_timeout → [dag_processor] dag_file_processor_timeout
[scheduler] parsing_processes → [dag_processor] parsing_processes
[scheduler] file_parsing_sort_mode → [dag_processor] file_parsing_sort_mode
[scheduler] max_callbacks_per_loop → [dag_processor] max_callbacks_per_loop
[scheduler] min_file_process_interval → [dag_processor] min_file_process_interval
[scheduler] stale_dag_threshold → [dag_processor] stale_dag_threshold
[scheduler] print_stats_interval → [dag_processor] print_stats_interval
Users should review their airflow.cfg files or use the airflow config lint command to identify outdated or removed options.
Airflow 3.0 includes improved support for upgrade validation. Use the following tools to proactively catch incompatible configs or deprecated usage patterns:
airflow config lint: Identifies removed or invalid config keys
ruff check --select AIR30 --preview: Flags removed interfaces and common migration issues
Airflow 3.0 introduces changes to both the CLI and REST API interfaces to better align with service-oriented deployments and event-driven workflows.
The Airflow CLI has been split into two distinct interfaces:
The core airflow CLI now handles only local functionality (e.g., airflow tasks test, airflow dags list).
Remote functionality, including triggering DAGs or managing connections in service-mode environments, is now handled by a separate CLI called airflowctl, distributed via the apache-airflow-client package.
This change improves security and modularity for deployments that use Airflow in a distributed or API-first context.
The legacy REST API v1, previously built with Connexion and Marshmallow, has been replaced by a modern FastAPI-based REST API v2.
This new implementation improves performance, aligns more closely with web standards, and provides a consistent developer experience across the API and UI.
Key changes include stricter validation (422 errors instead of 400), the removal of the execution_date parameter in favor of logical_date, and more consistent query parameter handling.
The v2 API is now the stable, fully supported interface for programmatic access to Airflow, and also powers the new UI - achieving full feature parity between the UI and API.
For details, see the Airflow REST API v2 documentation.
The behavior of the POST /dags/{dag_id}/dagRuns endpoint has changed. If a logical_date is not explicitly provided when triggering a DAG via the REST API, it now defaults to None.
This aligns with event-driven DAGs and manual runs in Airflow 3.0, but may break backward compatibility with scripts or tools that previously relied on Airflow auto-generating a timestamped logical_date.
Several deprecated CLI arguments and commands that were marked for removal in earlier versions have now been cleaned up in Airflow 3.0. Run airflow --help to review the current set of available commands and arguments.
Deprecated --ignore-depends-on-past cli option is replaced by --depends-on-past ignore.
--tree flag for airflow tasks list command is removed. The format of the output with that flag can be expensive to generate and extremely large, depending on the DAG. airflow dag show is a better way to visualize the relationship of tasks in a DAG.
Changing dag_id from flag (-d, --dag-id) to a positional argument in the dags list-runs CLI command.
The airflow db init and airflow db upgrade commands have been removed. Use airflow db migrate instead to initialize or migrate the metadata database. If you would like to create default connections use airflow connections create-default-connections.
airflow api-server has replaced airflow webserver cli command.
Airflow 3.0 completes the migration of several core operators, sensors, hooks, and triggers into the new apache-airflow-providers-standard package. This package now includes commonly used components such as:
PythonOperator, BashOperator
ExternalTaskSensor, FileSensor
ShortCircuitOperator, LatestOnlyOperator
SubprocessHook, FilesystemHook
DateTimeTrigger, TimeDeltaTrigger, FileTrigger
These operators, sensors, hooks, and triggers were previously bundled inside airflow-core but are now treated as provider-managed components to improve modularity, testability, and lifecycle independence.
This change enables more consistent versioning across providers and prepares Airflow for a future where all integrations — including "standard" ones — follow the same interface model.
To maintain compatibility with existing DAGs, the apache-airflow-providers-standard package is installable on both Airflow 2.x and 3.x. Users upgrading from Airflow 2.x are encouraged to begin updating import paths and testing provider installation in advance of the upgrade.
Legacy imports such as airflow.operators.python.PythonOperator are deprecated and will be removed soon. They should be replaced with:
from airflow.providers.standard.operators.python import PythonOperator
The SimpleHttpOperator has been migrated to apache-airflow-providers-http and renamed to HttpOperator
Airflow 3.0 introduces a modernized user experience that complements the new React-based UI architecture (see Significant Changes). Several areas of the interface have been enhanced to improve visibility, consistency, and navigability.
The Airflow Home page now provides a high-level operational overview of your environment. It includes health checks for core components (Scheduler, Triggerer, DAG Processor), summary stats for DAG and task instance states, and a real-time feed of asset-triggered events. This view helps users quickly identify pipeline health, recent activity, and potential failures.
The DAG List page has been refreshed with a cleaner layout and improved responsiveness. Users can browse DAGs by name, tags, or owners. While full-text search has not yet been integrated, filters and navigation have been refined for clarity in large deployments.
The Graph and Grid views now display task information in the context of the DAG version that was used at runtime. This improves traceability for DAGs that evolve over time and provides more accurate debugging of historical runs.
The Graph view now supports visualizing the full chain of asset and task dependencies, including assets consumed or produced across DAG boundaries. This allows users to inspect upstream and downstream lineage in a unified view, making it easier to trace data flows, debug triggering behavior, and understand conditional dependencies between assets and tasks.
The "Code" tab now displays the exact DAG source as parsed by the scheduler for the selected DAG version. This allows users to inspect the precise code that was executed, even for historical runs, and helps debug issues related to versioned DAG changes.
Task log access has been streamlined across views. Logs are now easier to access from both the Grid and Task Instance pages, with cleaner formatting and reduced visual noise.
New UI components support asset-centric DAGs and backfill workflows:
Asset definitions are now visible from the DAG details page, allowing users to inspect upstream and downstream asset relationships.
Backfills can be triggered and monitored directly from the UI, including support for scheduler-managed backfills introduced in Airflow 3.0.
These improvements make Airflow more accessible to operators, data engineers, and stakeholders working across both time-based and event-driven workflows.
A number of deprecated features, modules, and interfaces have been removed in Airflow 3.0, completing long-standing migrations and cleanups.
Users are encouraged to review the following removals to ensure compatibility:
SubDag support has been removed entirely, including the SubDagOperator, related CLI and API interfaces. TaskGroups are now the recommended alternative for nested DAG structures.
SLAs have been removed: The legacy SLA feature, including SLA callbacks and metrics, has been removed. A more flexible replacement mechanism, DeadlineAlerts, is planned for a future version of Airflow. Users who relied on SLA-based notifications should consider implementing custom alerting using task-level success/failure hooks or external monitoring integrations.
Pickling support has been removed: All legacy features related to DAG pickling have been fully removed. This includes the PickleDag CLI/API, as well as implicit behaviors around store_serialized_dags = False. DAGs must now be serialized using the JSON-based serialization system. Ensure any custom Python objects used in DAGs are JSON-serializable.
Context parameter cleanup: Several previously available context variables have been removed from the task execution context, including conf, execution_date, and dag_run.external_trigger. These values are either no longer applicable or have been renamed (e.g., use dag_run.logical_date instead of execution_date). DAG authors should ensure that templated fields and Python callables do not reference these deprecated keys.
Deprecated core imports have been fully removed. Any use of airflow.operators.*, airflow.hooks.*, or similar legacy import paths should be updated to import from their respective providers.
Configuration cleanup: Several legacy config options have been removed, including:
scheduler.allow_trigger_in_future: DAG runs can no longer be triggered with a future logical date. Use logical_date=None instead.
scheduler.use_job_schedule and scheduler.use_local_tz have also been removed. These options were deprecated and no longer had any effect.
Deprecated utility methods such as those in airflow.utils.helpers, airflow.utils.process_utils, and airflow.utils.timezone have been removed. Equivalent functionality can now be found in the standard Python library or Airflow provider modules.
Removal of deprecated CLI flags and behavior: Several CLI entrypoints and arguments that were marked for removal in earlier versions have been cleaned up.
To assist with the upgrade, tools like ruff (e.g., rule AIR302) and airflow config lint can help identify obsolete imports and configuration keys. These utilities are recommended for locating and resolving common incompatibilities during migration. Please see Upgrade Guide for more information.
The following table summarizes user-facing features removed in 3.0 and their recommended replacements. Not all of these are called out individually above.
Feature |
Replacement / Notes |
|---|---|
SubDagOperator / SubDAGs |
Use TaskGroups |
SLA callbacks / metrics |
Deadline Alerts (planned post-3.0) |
DAG Pickling |
Use JSON serialization; pickling is no longer supported |
Xcom Pickling |
Use custom Xcom backend; pickling is no longer supported |
execution_date context var |
Use dag_run.logical_date |
conf and dag_run.external_trigger |
Removed from context; use DAG params or dag_run APIs |
Core EmailOperator |
Use EmailOperator from the smtp provider |
none_failed_or_skipped rule |
Use none_failed_min_one_success |
dummy trigger rule |
Use always |
fail_stop argument |
Use fail_fast |
store_serialized_dags=False |
DAGs are always serialized; config has no effect |
Deprecated core imports |
Import from appropriate provider package |
SequentialExecutor & DebugExecutor |
Use LocalExecutor for testing |
.airflowignore regex |
Uses glob syntax by default |
Airflow 3 was designed with migration in mind. Many Airflow 2 DAGs will work without changes, especially if deprecation warnings were addressed in earlier releases. To support the upgrade, Airflow 3 includes validation tools such as ruff and airflow config update, as well as a simplified startup model.
For a step-by-step upgrade process, see the Upgrade Guide.
To upgrade to Airflow 3.0, you must be running Airflow 2.7 or later.
Airflow 3.0 supports the following Python versions:
Python 3.9
Python 3.10
Python 3.11
Python 3.12
Earlier versions of Airflow or Python are not supported due to architectural changes and updated dependency requirements.
Airflow now includes a Ruff-based linter with custom rules to detect DAG patterns and interfaces that are no longer compatible with Airflow 3.0. These checks are packaged under the AIR30x rule series. Example usage:
ruff check dags/ --select AIR301 --preview
ruff check dags/ --select AIR301 --fix --preview
These checks can automatically fix many common issues such as renamed arguments, removed imports, or legacy context variable usage.
Airflow 3.0 introduces a new utility to validate and upgrade your Airflow configuration file:
airflow config update
airflow config update --fix
This utility detects removed or deprecated configuration options and, if desired, updates them in-place.
Additional validation is available via:
airflow config lint
This command surfaces obsolete configuration keys and helps align your environment with Airflow 3.0 requirements.
As with previous major releases, the Airflow 3.0 upgrade includes schema changes to the metadata database. Before upgrading, it is strongly recommended that you back up your database and optionally run:
airflow db clean
to remove old task instance, log, or XCom data. To apply the new schema:
airflow db migrate
Airflow components are now started explicitly. For example:
airflow api-server # Replaces airflow webserver
airflow dag-processor # Required in all environments
These changes reflect Airflow's new service-oriented architecture.
Upgrade Guide
Airflow 3.0 represents more than a year of collaboration across hundreds of contributors and dozens of organizations. We thank everyone who helped shape this release through design discussions, code contributions, testing, documentation, and community feedback. For full details, migration guidance, and upgrade best practices, refer to the official Upgrade Guide and join the conversation on the Airflow dev and user mailing lists.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
…The core option is deprecated in Airflow 2.11.2. Both options are removed in Airflow 3 as historical templates are supported and does not cause low-se…
Fix Task Instances list view rendering raw HTML instead of clickable links for Dag Id, Task Id, and Run Id columns. (#62533)
In 2.11.1 by mistake core.use_historical_filename_templates was read by Airflow instead of logging.use_historical_filename_templates. The core option is deprecated in Airflow 2.11.2. Both options are removed in Airflow 3 as historical templates are supported and does not cause low-severity security issue in Airflow 3. (#62647)
gracefully handle 404 from worker log server for historical retry attempts (#63002)
task_instance_mutation_hook receives a TI with run_id set (#62999)
fix missing logs in UI for tasks in UP_FOR_RETRY and UP_FOR_RESCHEDULE states (#54547) (#62877)
Fixing 500 error on webserver after upgrading to FAB provider 1.5.4 (#62412)
Lazily import fs and package_index hook in providers manager #52117 (#62356)
Upgrade airflow UI to latest reasonable dependencies. (#63158)
Bump the core-ui-package-updates group across 1 directory with 87 updates (#61091)
bump filelock (#62952)
Limit Celery Provider to not install 3.17.0 as it breaks airflow 2.11 (#63046)
Bump the pip-dependency-updates group across 3 directories with 5 updates (#62808)
Upgrade to latest released build dependencies (#62613)
Nothing published for this version
…the security of the system and prevent potential vulnerabilities in case the potential of executing arbitrary code in webserver is important for Airfl…
Support for Python 3.9 has been removed, as it has reached end-of-life. Airflow 2.11.1 requires Python 3.10, 3.11, or 3.12. Note that this is unusual to remove Python version support in patch-level release of Airflow, but since Python 3.9 is already end-of-life, many libraries do not support it any more, and Airflow 2.11.1 is focused on improving security by upgrading dependencies, so we decided to remove Python 3.9 support in this patch release, to improve security of the release. Python 3.10 and 3.11 had almost no backward-incompatible changes, so you should be able to upgrade to Python 3.10 or 3.11 easily. If you were using Python 3.9 before, it is recommended to first upgrade Python version in existing installation and then upgrade to Airflow 2.11.1.
In Airflow 3.0, the timer_unit_consistency setting in the metrics section will be enabled by default and setting itself will be removed. This will standardize all timer and timing metrics to milliseconds across all metric loggers.
Users Integrating with Datadog, OpenTelemetry, or other metric backends should enable this setting. For users, using statsd, this change will not affect you.
If you need backward compatibility, you can leave this setting disabled temporarily, but enabling timer_unit_consistency is encouraged to future-proof your metrics setup. (#39908)
When you change the log template in Airflow 2.11.1, the historical log templates are not retrieved. This means that if you have existing logs that were generated using a different log template, they will not be accessible using the new log template.
This change is due to potential security issues that could arise from retrieving historical log templates, which allow Dag Authors to execute arbitrary code in webserver when retrieving logs. By disabling the retrieval of historical log templates, Airflow 2.11.1 aims to enhance the security of the system and prevent potential vulnerabilities in case the potential of executing arbitrary code in webserver is important for Airflow deployment.
Users who need to access historical logs generated with a different log template will need to manually update their log files to match the naming of their historical log files with the latest log template configured in Airflow configuration, or they can set the "core.use_historical_filename_templates" configuration option to True to enable the retrieval of historical log templates, if they are fine with the Dag Authors being able to execute arbitrary code in webserver when retrieving logs. (#61880)
Airflow 2.11.1 includes updates to a number of dependencies including connexion, Flask-Session, Werkzeug, that were not possible to upgrade before, because the dependencies did not have compatible versions with Airflow 2.11.0, but we worked together with the community to update them. Many thanks to connexion team and a number of community members to help with the updates so that we could upgrade to newer versions and get rid of some dependency versions that had known security vulnerabilities (#51681)
Add proxy values to be masked by secrets manager (#61906)
Masking details while creating connections using json & uri (#61882)
Fix redaction of illegal args (#61883)
Fix stuck queued tasks by calling executor fail method and invoking failure callbacks (#53038)
Fix recursion depth error in _redact_exception_with_context (#61797)
Avoid warning when passing none as dataset alias (#61791)
Add pool name validation to avoid XSS from the DAG file (#61732)
Prevent scheduler to crash due to RecursionError when making a SQL query (#55778)
Fix root logger level cache invalidation in LoggerMutationHelper (#61644)
update null event values to empty string in downgrade for migration revision_id d75389605139 (#57131)
Fix WeightRule spec (#53947)
Correctly treat request on reschedule sensors as resetting after each reschedule (#51410) (#52638)
Allow more empty loops before stopping log streaming (#52614) (#52636)
Ensuring XCom return value can be mapped for dynamically-mapped @task_group's (#51668)
Fix archival for cascading deletes by archiving dependent tables first (#51952) (#52211)
Stop streaming task logs if end of log mark is missing (#51904)
Fix bad width w/no options in multi-select DAG parameter (#51516)
Fix remove filter button visibility in Pools list page (#51161)
Fix delete button visibility in search filters (#51100)
Fix migration from 2.2.0 to 2.11.0 for Sqlite (#50745)
Check if stand alone dag processor is active in get_health endpoint (#48612)
Nothing published for this version
Nothing published for this version
Emit warning for deprecated BaseOperatorLink.get_link signature
DeltaTriggerTimetable for trigger-based scheduling (#47074)This change introduces DeltaTriggerTimetable, a new built-in timetable that complements the existing suite of Airflow timetables by supporting delta-based trigger schedules without relying on data intervals.
Airflow currently has two major types of timetables:
CronDataIntervalTimetable, DeltaDataIntervalTimetable)CronTriggerTimetable)However, there was no equivalent trigger-based option for delta intervals like timedelta(days=1).
As a result, even simple schedules like schedule=timedelta(days=1) were interpreted through a data interval
lens—adding unnecessary complexity for users who don't care about upstream/downstream data dependencies.
This feature is backported to Airflow 2.11.0 to help users begin transitioning before upgrading to Airflow 3.0.
schedule=timedelta(...) still defaults to DeltaDataIntervalTimetable.[scheduler] create_delta_data_intervals (default: True) allows opting in to DeltaTriggerTimetable.False, meaning DeltaTriggerTimetable becomes the default for timedelta schedules.By flipping this config in 2.11, users can preview and adopt the new scheduling behavior in advance — minimizing surprises during upgrade.
Previously, Airflow reported timing metrics in milliseconds for StatsD but in seconds for other backends
such as OpenTelemetry and Datadog. This inconsistency made it difficult to interpret or compare
timing metrics across systems.
Airflow 2.11 introduces a new config option:
[metrics] timer_unit_consistency (default: False in 2.11, True and dropped in Airflow 3.0).When enabled, all timing metrics are consistently reported in milliseconds, regardless of the backend.
This setting has become mandatory and always True in Airflow 3.0 (the config will be removed), so
enabling it in 2.11 allows users to migrate early and avoid surprises during upgrade.
This release introduces several changes to help users prepare for upgrading to Airflow 3:
execution_date now also include a logical_date field. Airflow 3 drops execution_date entirely in favor of logical_date (#44283)airflow config lint and airflow config update commands in 2.11 to help audit and migrate configs for Airflow 3.0. (#45736, #50353, #46757)Support for Python 3.8 has been removed, as it has reached end-of-life. Airflow 2.11 requires Python 3.9, 3.10, 3.11, or 3.12.
DeltaTriggerTimetable (#47074)airflow config update and airflow config lint changes to ease migration to Airflow 3 (#45736, #50353)ti.log_url timestamp format from "%Y-%m-%dT%H:%M:%S%z" to "%Y-%m-%dT%H:%M:%S.%f%z" (#50306)airflow.cfg contains a random fernet_key and secret_key (#47755)rendered_map_index via internal api (#49057)TaskInstancePydantic into TaskInstance (#48571)log_url property on TaskInstancePydantic (Internal API) (#50560)TypeError when deserializing task with execution_timeout set to None (#46822)check_query_exists returns a bool (#46707)/xcom/list got exception when applying filter on the value column (#46053)logical_date to models using execution_date (#44283)BaseOperatorLink.get_link signature (#46448)airflow.cfg variable (#48084)XCom docs to show examples of pushing multiple XComs (#46284, #47068)Nothing published for this version
Deprecate conf from Task Context
Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure or other resources, they were also skipped and thus resources could stay allocated.
As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown tasks are executed. Teardown tasks are skipped if the setup was also skipped.
As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled if the DAG is directly set to "failed" or "success".
trigger_rule=TriggerRule.ALWAYS in a task-generated mapping within bare tasks (#44751)ONE_DONE) in a mapped task group (#44937)FileTaskHandler only read from default executor (#46000)skip_if and run_if decorators before TaskFlow virtualenv tasks are run (#41832) (#45680)rendered_map_index (#45109) (#45122)max_form_parts, max_form_memory_size (#46243) (#45749)execute safeguard mechanism (#44646) (#46280)conf from Task Context (#44993)Nothing published for this version
Raise deprecation warning when accessing inlet or outlet events through str
priority_weight is capped in 32-bit signed integer ranges (#43611)Some database engines are limited to 32-bit integer values. As some users reported errors in
weight rolled-over to negative values, we decided to cap the value to the 32-bit integer. Even
if internally in python smaller or larger values to 64 bit are supported, priority_weight is
capped and only storing values from -2147483648 to 2147483647.
trigger_rule="always" in a dynamic mapped task (#43810)trigger_rule=TriggerRule.ALWAYS in a task-generated mapping within bare tasks (#44751)Nothing published for this version
Improves the handling of value masking when setting Airflow variables for enhanced security.
No significant changes.
stringified objects to UI via xcom if pickling is active (#42388) (#42486)selectinload instead of joinedload (#40487) (#42351)TrySelector for Mapped Tasks in Logs and Details Grid Panel (#43566)scheduler_loop_duration (#42886) (#43544)dompurify from 2.2.9 to 2.5.6 in /airflow/www (#42263) (#42270)4.5.2 (#43309) (#43318)Nothing published for this version
Nothing published for this version
Deprecate --tree flag for tasks list cli command
No significant changes.
renderedTemplates as keys to skip camelCasing (#42206) (#42208)camelcase xcom entries (#42182) (#42187)0.2.4 as it breaks our integration (#42101)LibCST (#42089)--tree flag for tasks list cli command (#41965)security_model.rst to clear unauthenticated endpoints exceptions (#42085)Nothing published for this version
Remove deprecation warning for cgitb in Plugins Manager
No significant changes.
tojson filter to example_inlet_event_extra example dag (#41890)keycloak (#41791)Nothing published for this version
…occur when the DAG is active. While this is a breaking change, the previous behavior is considered a bug.
Previously, when a DAG is paused or removed, incoming dataset events would still trigger it, and the DAG would run when it is unpaused or added back in a DAG file. This has been changed; a DAG's dataset schedule can now only be satisfied by events that occur when the DAG is active. While this is a breaking change, the previous behavior is considered a bug.
The behavior of time-based scheduling is unchanged, including the timetable part
of DatasetOrTimeSchedule.
try_number is no longer incremented during task execution (#39336)Previously, the try number (try_number) was incremented at the beginning of task execution on the worker. This was problematic for many reasons.
For one it meant that the try number was incremented when it was not supposed to, namely when resuming from reschedule or deferral. And it also resulted in
the try number being "wrong" when the task had not yet started. The workarounds for these two issues caused a lot of confusion.
Now, instead, the try number for a task run is determined at the time the task is scheduled, and does not change in flight, and it is never decremented. So after the task runs, the observed try number remains the same as it was when the task was running; only when there is a "new try" will the try number be incremented again.
One consequence of this change is, if users were "manually" running tasks (e.g. by calling ti.run() directly, or command line airflow tasks run),
try number will no longer be incremented. Airflow assumes that tasks are always run after being scheduled by the scheduler, so we do not regard this as a breaking change.
/logout endpoint in FAB Auth Manager is now CSRF protected (#40145)The /logout endpoint's method in FAB Auth Manager has been changed from GET to POST in all existing
AuthViews (AuthDBView, AuthLDAPView, AuthOAuthView, AuthOIDView, AuthRemoteUserView), and
now includes CSRF protection to enhance security and prevent unauthorized logouts.
This new feature adds capability for Apache Airflow to emit 1) airflow system traces of scheduler, triggerer, executor, processor 2) DAG run traces for deployed DAG runs in OpenTelemetry format. Previously, only metrics were supported which emitted metrics in OpenTelemetry. This new feature will add richer data for users to use OpenTelemetry standard to emit and send their trace data to OTLP compatible endpoints.
(@skip_if, @run_if) to make it simple to apply whether or not to skip a Task. (#41116)This feature adds a decorator to make it simple to skip a Task.
Previously known as hybrid executors, this new feature allows Airflow to use multiple executors concurrently. DAGs, or even individual tasks, can be configured
to use a specific executor that suits its needs best. A single DAG can contain tasks all using different executors. Please see the Airflow documentation for
more details. Note: This feature is still experimental. See documentation on Executor <https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/index.html#using-multiple-executors-concurrently>_ for a more detailed description.
Airflow integrates Scarf to collect basic usage data during operation. Deployments can opt-out of data collection by setting the [usage_data_collection]enabled option to False, or the SCARF_ANALYTICS=false environment variable.
See FAQ on this <https://airflow.apache.org/docs/apache-airflow/stable/faq.html#does-airflow-collect-any-telemetry-data>_ for more information.
accessors to read dataset events defined as inlet (#39367)dag test (#40010)endDate in task instance tooltip. (#39547)accessors to read dataset events defined as inlet (#39367, #39893)run_if & skip_if decorators (#41116)renderedjson component (#40964)get_extra_dejson method with nested parameter which allows you to specify if you want the nested json as string to be also deserialized (#39811)__getattr__ to task decorator stub (#39425)RemovedIn20Warning in airflow task command (#39244)db migrate error messages (#39268)suppress_and_warn warning (#39263)declarative_base from sqlalchemy.orm instead of sqlalchemy.ext.declarative (#39134)on_task_instance_failed access to the error that caused the failure (#38155)output_processor parameter to BashProcessor (#40843)never_fail in BaseSensor (#40915)start_date (#40878)external_task_group_id to WorkflowTrigger (#39617)BaseSensorOperator introduce skip_policy parameter (#40924)__init__ (#41086)OTel Traces (#40874)pydocstyle rules to pyproject.toml (#40569)pydocstyle rule D213 in ruff. (#40448, #40464)Dag.test() to run with an executor if desired (#40205)AirflowInternalRuntimeError for raise non catchable errors (#38778)pytest to 8.0+ (#39450)back_populates between DagScheduleDatasetReference.dag and DagModel.schedule_dataset_references (#39392)B028 (no-explicit-stacklevel) in core (#39123)ImportError to ParseImportError for avoid shadowing with builtin exception (#39116)SubDagOperator examples warnings (#39057)model_dump instead of dict for serialize Pydantic V2 model (#38933)ws from 7.5.5 to 7.5.10 in /airflow/www (#40288)filesystems and dataset-uris to "how to create your own provider" page (#40801)otel_on to True in example airflow.cfg (#40712)task_id from send_email to send_email_notification in taskflow.rst (#41060)Nothing published for this version
Nothing published for this version
Nothing published for this version
Add [webserver]update_fab_perms to deprecated configs
scheduled_duration and queued_duration changed (#37936)scheduled_duration and queued_duration metrics are now emitted in milliseconds instead of seconds.
By convention all statsd metrics should be emitted in milliseconds, this is later expected in e.g. prometheus statsd-exporter.
Experimental support for OpenTelemetry was added in 2.7.0 since then fixes and improvements were added and now we announce the feature as stable.
[webserver]update_fab_perms to deprecated configs (#40317)httpx to requests in file_task_handler (#39799)SchedulerJobRunner._process_executor_events (#40563)Your coding agent can read these notes before it upgrades. Set up the MCP server →